From 4838f192ec6b95fae56ae3d2929d0c4965249efe Mon Sep 17 00:00:00 2001 From: Fernando Sobreira Date: Tue, 13 Jul 2021 23:54:41 -0300 Subject: [PATCH 01/53] Add proposal withdraw --- cmd/README.md | 5 ++-- cmd/subcommands/proposal.go | 57 ++++++++++++++++++++++++++++++++++++- go.sum | 39 ------------------------- pkg/client/proposal.go | 26 +++++++++++++++++ 4 files changed, 85 insertions(+), 42 deletions(-) diff --git a/cmd/README.md b/cmd/README.md index e19713a34..b58bde270 100644 --- a/cmd/README.md +++ b/cmd/README.md @@ -20,8 +20,9 @@ - [ ] update sr - [x] update brokerage - [ ] proposal - - [ ] create + [x] proposal + - [x] create + - [x] withdraw - [x] vote proposal - [x] list proposals diff --git a/cmd/subcommands/proposal.go b/cmd/subcommands/proposal.go index 4d940f4cd..815eece00 100644 --- a/cmd/subcommands/proposal.go +++ b/cmd/subcommands/proposal.go @@ -133,6 +133,61 @@ func proposalSub() []*cobra.Command { }, } + cmdProposalWithdraw := &cobra.Command{ + Use: "withdraw", + Short: "Withdraw network proposal", + Args: cobra.ExactArgs(1), + RunE: func(cmd *cobra.Command, args []string) error { + if signerAddress.String() == "" { + return fmt.Errorf("no signer specified") + } + + id, err := strconv.ParseInt(args[0], 10, 64) + if err != nil { + return err + } + + tx, err := conn.ProposalWithdraw(signerAddress.String(), id) + if err != nil { + return err + } + var ctrlr *transaction.Controller + if useLedgerWallet { + account := keystore.Account{Address: signerAddress.GetAddress()} + ctrlr = transaction.NewController(conn, nil, &account, tx.Transaction, opts) + } else { + ks, acct, err := store.UnlockedKeystore(signerAddress.String(), passphrase) + if err != nil { + return err + } + ctrlr = transaction.NewController(conn, ks, acct, tx.Transaction, opts) + } + if err = ctrlr.ExecuteTransaction(); err != nil { + return err + } + + if noPrettyOutput { + fmt.Println(tx, ctrlr.Receipt, ctrlr.Result) + return nil + } + + result := make(map[string]interface{}) + result["from"] = signerAddress.String() + result["txID"] = common.BytesToHexString(tx.GetTxid()) + result["blockNumber"] = ctrlr.Receipt.BlockNumber + result["message"] = string(ctrlr.Result.Message) + result["receipt"] = map[string]interface{}{ + "fee": ctrlr.Receipt.Fee, + "netFee": ctrlr.Receipt.Receipt.NetFee, + "netUsage": ctrlr.Receipt.Receipt.NetUsage, + } + + asJSON, _ := json.Marshal(result) + fmt.Println(common.JSONPrettyFormat(string(asJSON))) + return nil + }, + } + cmdProposalCreate := &cobra.Command{ Use: "create", Short: "Approve network proposal", @@ -208,7 +263,7 @@ func proposalSub() []*cobra.Command { cmdProposalCreate.Flags().StringSliceVar(&proposalList, "params", []string{}, "ID:VALUE,ID:VALUE") - return []*cobra.Command{cmdProposalList, cmdProposalApprove, cmdProposalCreate} + return []*cobra.Command{cmdProposalList, cmdProposalApprove, cmdProposalWithdraw, cmdProposalCreate} } func init() { diff --git a/go.sum b/go.sum index f66712328..79f48ebb1 100644 --- a/go.sum +++ b/go.sum @@ -15,9 +15,7 @@ github.com/Azure/go-autorest/tracing v0.5.0/go.mod h1:r/s2XiOKccPW3HrqB+W0TQzfbt github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6 h1:fLjPD/aNc3UIOA6tDi6QXUemppXK3P9BI7mr2hd6gx8= github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg= -github.com/VictoriaMetrics/fastcache v1.5.7 h1:4y6y0G8PRzszQUYIQHHssv/jgPHAb5qQuuDNdCbyAgw= github.com/VictoriaMetrics/fastcache v1.5.7/go.mod h1:ptDBkNMQI4RtmVo8VS/XwRY6RoTu1dAWCbrk+6WsEM8= github.com/aead/siphash v1.0.1/go.mod h1:Nywa3cDsYNNK3gaciGTWPwHt0wlpNV15vwmswBAUSII= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= @@ -30,13 +28,11 @@ github.com/aristanetworks/goarista v0.0.0-20170210015632-ea17b1a17847/go.mod h1: github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= github.com/aws/aws-sdk-go v1.25.48/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= -github.com/beorn7/perks v1.0.0 h1:HWo1m869IqiPhD389kmkxeTalrjNbbJTC8LXupb+sl0= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= github.com/btcsuite/btcd v0.0.0-20171128150713-2e60448ffcc6/go.mod h1:Dmm/EzmjnCiweXmzRIAiUWCInVmPgjkzgv5k4tVyXiQ= github.com/btcsuite/btcd v0.20.1-beta h1:Ik4hyJqN8Jfyv3S4AGBOmyouMsYE3EdYODkMbQjwPGw= github.com/btcsuite/btcd v0.20.1-beta/go.mod h1:wVuoA8VJLEcwgqHBwHmzLRazpKxTv13Px/pDuV7OomQ= github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f/go.mod h1:TdznJufoqS23FtqVCzL0ZqgP5MqXbb4fg/WgDys70nA= -github.com/btcsuite/btcutil v0.0.0-20190425235716-9e5f4b9a998d h1:yJzD/yFppdVCf6ApMkVy8cUxV0XrxdP9rVf6D87/Mng= github.com/btcsuite/btcutil v0.0.0-20190425235716-9e5f4b9a998d/go.mod h1:+5NJ2+qvTyV9exUAL/rxXi3DcLg2Ts+ymUAY5y4NvMg= github.com/btcsuite/go-socks v0.0.0-20170105172521-4720035b7bfd/go.mod h1:HHNXQzUsZCxOoE+CPiyCTO6x34Zs86zZUiwtpXoGdtg= github.com/btcsuite/goleveldb v0.0.0-20160330041536-7834afc9e8cd/go.mod h1:F+uVaaLLH7j4eDXPRvw78tMflu7Ie2bzYOH4Y8rRKBY= @@ -45,9 +41,7 @@ github.com/btcsuite/websocket v0.0.0-20150119174127-31079b680792/go.mod h1:ghJtE github.com/btcsuite/winsvc v1.0.0/go.mod h1:jsenWakMcC0zFBFurPLEAyrnc/teJEM1O46fmI40EZs= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/cespare/cp v0.1.0/go.mod h1:SOGHArjBr4JWaSDEVpWpo/hNg6RoKrls6Oh40hiwW+s= -github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= -github.com/cespare/xxhash/v2 v2.1.1 h1:6MnRN8NT7+YBpUIWxHtefFZOKTAPgGjpQSxqLNn0+qY= github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cloudflare/cloudflare-go v0.10.2-0.20190916151808-a80f83b9add9/go.mod h1:1MxXX1Ux4x6mqPmjkUgTP1CdXIBXKX7T+Jk9Gxrmx+U= @@ -85,16 +79,12 @@ github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL github.com/fatih/structs v1.1.0 h1:Q7juDM0QtcnhCpeyLGQKyg4TOIghuNXrkL32pHAUMxo= github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M= github.com/fjl/memsize v0.0.0-20180418122429-ca190fb6ffbc/go.mod h1:VvhXpOYNQvB+uIk2RvXzuaQtkQJzzIx6lSBe1xv7hi0= -github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff/go.mod h1:x7DCsMOv1taUwEWCzT4cmDeAkigA5/QCwUodaVOe8Ww= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/go-kit/kit v0.8.0 h1:Wz+5lgoB0kkuqLEc6NVmwRknTKP6dTGbSqvhZtBI/j0= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= -github.com/go-logfmt/logfmt v0.4.0 h1:MP4Eh7ZCb31lleYCFuwm0oe4/YGak+5l1vA2NOE80nA= github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= -github.com/go-ole/go-ole v1.2.1 h1:2lOsA72HgjxAuMlKpFiCbHTvu44PIVkZ5hqm3RSdI/E= github.com/go-ole/go-ole v1.2.1/go.mod h1:7FAglXiTm7HKlQRDeOQ6ZNUHidzCWXuZWq/1dTyBNF8= github.com/go-sourcemap/sourcemap v2.1.2+incompatible/go.mod h1:F8jJfvm2KbVjc5NqelyYJmf/v5J0dwNLS2mL4sNA1Jg= github.com/go-stack/stack v1.8.0 h1:5SgMzNM5HxrEjV0ww2lTmX6E2Izsfxas4+YHWRs3Lsk= @@ -112,27 +102,20 @@ github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= -github.com/golang/protobuf v1.4.0 h1:oOuy+ugB+P/kBdUnG5QaMXSIyJ1q38wWSojYCb3z5VQ= github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= -github.com/golang/protobuf v1.4.1 h1:ZFgWrT+bLgsYPirOnRfKLYJLvssAegOj/hgyMFdJZe0= github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= github.com/golang/protobuf v1.4.2 h1:+Z5KGCizgyZCbGh1KZqA0fcLLkwbsjIzS4aV2v7wJX0= github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/snappy v0.0.1 h1:Qgr9rKW7uDUkrbSmQeiDsGa8SjGyCOGtuasMWwvp2P4= github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/golang/snappy v0.0.2-0.20200707131729-196ae77b8a26 h1:lMm2hD9Fy0ynom5+85/pbdkiYcBqM1JWmhpAXLmy0fw= github.com/golang/snappy v0.0.2-0.20200707131729-196ae77b8a26/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/google/btree v1.0.0 h1:0udJVsspx3VBr5FwtLhQQtuAsVc79tTq0ocGIPAU6qo= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.4.0 h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.0 h1:/QaMHBdZ26BB3SSst0Iwl10Epc+xhTquomWX0oZEB6w= github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/uuid v1.0.0 h1:b4Gk+7WdP/d3HZH8EJsZpvV7EtDOgaZLtnaNGIu1adA= github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2 h1:EVhdT+1Kseyi1/pUmXKaFxYsDNy9RQYkMWRH68J/W7Y= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= @@ -142,12 +125,9 @@ github.com/graph-gophers/graphql-go v0.0.0-20191115155744-f33e81362277/go.mod h1 github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= -github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc= github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= -github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/holiman/uint256 v1.1.1/go.mod h1:y4ga/t+u+Xwd7CpDgZESaRcWy0I7XMlTMA25ApIH5Jw= -github.com/hpcloud/tail v1.0.0 h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/huin/goupnp v1.0.0/go.mod h1:n9v9KO1tAxYH82qOn+UTIFQDmx5n1Zxd/ClZDMX7Bnc= github.com/huin/goutil v0.0.0-20170803182201-1ca381bf3150/go.mod h1:PpLOETDnJ0o3iZrZfqZzyLl6l7F3c6L1oWn7OICBi6o= @@ -168,7 +148,6 @@ github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvW github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/kkdai/bstream v0.0.0-20161212061736-f391b8402d23/go.mod h1:J+Gs4SYgM6CZQHDETBtE9HaSEkGmuNXF86RwHhHUvq4= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 h1:T+h1c/A9Gawja4Y9mFVWj2vyii2bbUNDw3kt9VxK2EY= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= @@ -188,11 +167,9 @@ github.com/mattn/go-isatty v0.0.11 h1:FxPOTFNqGkuDUGi3H/qkUbQO4ZiBa2brKq5r0l8TGe github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= github.com/mattn/go-runewidth v0.0.3/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= -github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= -github.com/mitchellh/mapstructure v1.1.2 h1:fmNYVwqnSfB9mZU6OS2O6GsXM+wcskZDuKQzvN1EDeE= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/naoina/go-stringutil v0.1.0/go.mod h1:XJ2SJL9jCtBh+P9q5btrd/Ylo8XwT/h1USek5+NqSA0= @@ -201,9 +178,7 @@ github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn github.com/olekukonko/tablewriter v0.0.1/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= github.com/olekukonko/tablewriter v0.0.2-0.20190409134802-7e037d187b0c/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.7.0 h1:WSHQ+IS43OoUrWtD1/bbclrwK8TTH5hzp+umCiuxHgs= github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/gomega v1.4.3 h1:RE1xgDvH7imwFD45h+u2SgIfERHlS2yNG4DObb5BSKU= github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= github.com/pborman/uuid v0.0.0-20170112150404-1b00554d8222/go.mod h1:VyrYX9gd7irzKovcSS6BIIEwPRkP2Wm2m9ufcdFSJ34= @@ -218,17 +193,13 @@ github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINE github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= -github.com/prometheus/client_golang v0.9.3 h1:9iH4JKXLzFbOAdtqv/a+j8aewx2Y8lAjAydhbaScPF8= github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4 h1:gQz4mCbXsO+nc9n1hCxHcGA3Zx3Eo+UHZoInFGUIXNM= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= -github.com/prometheus/common v0.4.0 h1:7etb9YClo3a6HjLzfl6rIQaU+FDfi0VSX39io3aQ+DM= github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084 h1:sofwID9zm4tzrgykg80hfFph1mryUeLRsUfoocVVmRY= github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/tsdb v0.6.2-0.20190402121629-4f204dcbc150/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= @@ -243,7 +214,6 @@ github.com/russross/blackfriday/v2 v2.0.1 h1:lPqVAte+HuHNfhJ/0LC98ESWRz8afy9tM/0 github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/shengdoushi/base58 v1.0.0 h1:tGe4o6TmdXFJWoI31VoSWvuaKxf0Px3gqa3sUWhAxBs= github.com/shengdoushi/base58 v1.0.0/go.mod h1:m5uIILfzcKMw6238iWAhP4l3s5+uXyF3+bJKUNhAL9I= -github.com/shirou/gopsutil v2.20.5+incompatible h1:tYH07UPoQt0OCQdgWWMgYHy3/a9bcxNpBIysykNIP7I= github.com/shirou/gopsutil v2.20.5+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA= github.com/shurcooL/sanitized_anchor_name v1.0.0 h1:PdmoCO6wvbs+7yrJyMORt4/BmY5IYyJwS/kOiWx8mHo= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= @@ -251,7 +221,6 @@ github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPx github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= -github.com/spf13/cast v1.3.0 h1:oget//CVOEoFewqQxwr0Ej5yjygnqGkvggSE/gB35Q8= github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cobra v1.0.0 h1:6m/oheQuQ13N9ks4hubMG6BnvwOeaJrqSPLahSnczz8= github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE= @@ -261,19 +230,15 @@ github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE= github.com/status-im/keycard-go v0.0.0-20190316090335-8537d3370df4/go.mod h1:RZLeN1LMWmRsyYjvAu+I6Dm9QmlDaIIt+Y+4Kd7Tp+Q= -github.com/steakknife/bloomfilter v0.0.0-20180922174646-6819c0d2a570 h1:gIlAHnH1vJb5vwEjIp5kBj/eu99p/bl0Ay2goiPe5xE= github.com/steakknife/bloomfilter v0.0.0-20180922174646-6819c0d2a570/go.mod h1:8OR4w3TdeIHIh1g6EMY5p0gVNOovcWC+1vpc7naMuAw= -github.com/steakknife/hamming v0.0.0-20180906055917-c99c65617cd3 h1:njlZPzLwU639dk2kqnCPPv+wNjq7Xb6EfUxe/oX0/NM= github.com/steakknife/hamming v0.0.0-20180906055917-c99c65617cd3/go.mod h1:hpGUWaI9xL8pRQCTXQgocU38Qw1g0Us7n5PxxTwTCYU= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1 h1:nOGnQDM7FYENwehXlg/kFVnos3rEvtKTjRvOWSzb6H4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/syndtr/goleveldb v1.0.1-0.20190923125748-758128399b1d h1:gZZadD8H+fF+n9CmNhYL1Y0dJB+kLOmKd7FbPJLeGHs= github.com/syndtr/goleveldb v1.0.1-0.20190923125748-758128399b1d/go.mod h1:9OrXJhf154huy1nPWmuSrkgjPUtUNhA+Zmy+6AESzuA= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tyler-smith/go-bip39 v1.0.1-0.20181017060643-dbb3b84ba2ef/go.mod h1:sJ5fKU0s6JVwZjjcUEX2zFOnvq0ASQ2K9Zr6cf67kNs= @@ -375,12 +340,10 @@ google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLY google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= -google.golang.org/protobuf v1.21.0 h1:qdOKuR/EIArgaWNjetjgTzgVTAZ+S/WXVrq9HW9zimw= google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.24.0 h1:UhZDfRO8JRQru4/+LlLE0BRKGF8L+PICnvYZmx/fEGA= google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= google.golang.org/protobuf v1.25.0 h1:Ejskq+SyPohKW+1uil0JJMtmHCgJPJ/qWTxr8qp+R4c= google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= @@ -389,12 +352,10 @@ gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8 gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= -gopkg.in/fsnotify.v1 v1.4.7 h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce/go.mod h1:5AcXVHNjg+BDxry382+8OKon8SEWiKktQR07RKPsv1c= gopkg.in/olebedev/go-duktape.v3 v3.0.0-20200619000410-60c24ae608a6/go.mod h1:uAJfkITjFhyEEuUfm7bsmCZRbW5WRq8s9EY8HZ6hCns= gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= -gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= gopkg.in/urfave/cli.v1 v1.20.0/go.mod h1:vuBzUtMdQeixQj8LVd+/98pzhxNGQoyuPBlsXHOQNO0= gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= diff --git a/pkg/client/proposal.go b/pkg/client/proposal.go index 59cf8a467..04a4ad17a 100644 --- a/pkg/client/proposal.go +++ b/pkg/client/proposal.go @@ -71,3 +71,29 @@ func (g *GrpcClient) ProposalApprove(from string, id int64, confirm bool) (*api. } return tx, nil } + +func (g *GrpcClient) ProposalWithdraw(from string, id int64) (*api.TransactionExtention, error) { + var err error + + contract := &core.ProposalDeleteContract{ + ProposalId: id, + } + if contract.OwnerAddress, err = common.DecodeCheck(from); err != nil { + return nil, err + } + + ctx, cancel := g.getContext() + defer cancel() + + tx, err := g.Client.ProposalDelete(ctx, contract) + if err != nil { + return nil, err + } + if proto.Size(tx) == 0 { + return nil, fmt.Errorf("bad transaction") + } + if tx.GetResult().GetCode() != 0 { + return nil, fmt.Errorf("%s", tx.GetResult().GetMessage()) + } + return tx, nil +} From 19ee5084e4e18bb42b7725585f3c9e82c6735d3d Mon Sep 17 00:00:00 2001 From: Fernando Sobreira Date: Tue, 10 Aug 2021 15:14:14 -0300 Subject: [PATCH 02/53] Check if hex value --- pkg/abi/abi.go | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/pkg/abi/abi.go b/pkg/abi/abi.go index ce8d6e908..54fcad9a9 100644 --- a/pkg/abi/abi.go +++ b/pkg/abi/abi.go @@ -8,6 +8,7 @@ import ( "math/big" "reflect" "strconv" + "strings" eABI "github.com/ethereum/go-ethereum/accounts/abi" eCommon "github.com/ethereum/go-ethereum/common" @@ -79,7 +80,13 @@ func convertToInt(ty eABI.Type, v interface{}) interface{} { v = uint64(tmp) } } else { - v, _ = new(big.Int).SetString(v.(string), 10) + s := v.(string) + // check for hex char + if strings.HasPrefix(s, "0x") { + v, _ = new(big.Int).SetString(s[2:], 16) + } else { + v, _ = new(big.Int).SetString(s, 10) + } } return v } @@ -124,7 +131,13 @@ func GetPaddedParam(param []Param) ([]byte, error) { reflect.TypeOf(v).Elem().Kind() == reflect.String { tmp := make([]*big.Int, 0) for _, s := range v.([]string) { - value, _ := new(big.Int).SetString(s, 10) + var value *big.Int + // check for hex char + if strings.HasPrefix(s, "0x") { + value, _ = new(big.Int).SetString(s[2:], 16) + } else { + value, _ = new(big.Int).SetString(s, 10) + } tmp = append(tmp, value) } v = tmp From 1edf01a92cad4eb6451305ff9fcaf23871d58c75 Mon Sep 17 00:00:00 2001 From: Fernando Sobreira Date: Tue, 10 Aug 2021 15:21:14 -0300 Subject: [PATCH 03/53] update abi tests --- pkg/abi/abi_test.go | 65 +++++++++++++++++++++++++++------------------ 1 file changed, 39 insertions(+), 26 deletions(-) diff --git a/pkg/abi/abi_test.go b/pkg/abi/abi_test.go index cedd6ffc7..f971b5fe2 100644 --- a/pkg/abi/abi_test.go +++ b/pkg/abi/abi_test.go @@ -1,12 +1,16 @@ package abi import ( + "encoding/hex" + "fmt" "math/big" "testing" + + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" ) func TestABIParam(t *testing.T) { - //b, err := GetPaddedParam([]Param{{"address[2]": []string{"TEvHMZWyfjCAdDJEKYxYVL8rRpigddLC1R", "TEvHMZWyfjCAdDJEKYxYVL8rRpigddLC1R"}}}) ss, _ := new(big.Int).SetString("100000000000000000000", 10) b, err := GetPaddedParam([]Param{ {"string": "KLV Test Token"}, @@ -14,43 +18,52 @@ func TestABIParam(t *testing.T) { {"uint8": uint8(6)}, {"uint256": ss}, }) - if err != nil { - t.Errorf(" %+v", err) - } - if len(b) != 256 { - t.Errorf("Wrong length %d/%d", len(b), 256) - } + require.Nil(t, err) + assert.Len(t, b, 256, fmt.Sprintf("Wrong length %d/%d", len(b), 256)) + b, err = GetPaddedParam([]Param{ {"string": "KLV Test Token"}, {"string": "KLV"}, {"uint8": "6"}, {"uint256": ss.String()}, }) - if err != nil { - t.Errorf(" %+v", err) - } - if len(b) != 256 { - t.Errorf("Wrong length %d/%d", len(b), 256) - } + require.Nil(t, err) + assert.Len(t, b, 256, fmt.Sprintf("Wrong length %d/%d", len(b), 256)) } func TestABIParamArray(t *testing.T) { b, err := GetPaddedParam([]Param{{"address[2]": []string{"TEvHMZWyfjCAdDJEKYxYVL8rRpigddLC1R", "TEvHMZWyfjCAdDJEKYxYVL8rRpigddLC1R"}}}) - if err != nil { - t.Errorf(" %+v", err) - } - if len(b) != 64 { - t.Errorf("Wrong length %d/%d", len(b), 64) - } - + require.Nil(t, err) + assert.Len(t, b, 64, fmt.Sprintf("Wrong length %d/%d", len(b), 64)) } func TestABIParamArrayUint256(t *testing.T) { b, err := GetPaddedParam([]Param{{"uint256[2]": []string{"100000000000000000000", "200000000000000000000"}}}) - if err != nil { - t.Errorf(" %+v", err) - } - if len(b) != 64 { - t.Errorf("Wrong length %d/%d", len(b), 64) - } + require.Nil(t, err) + assert.Len(t, b, 64, fmt.Sprintf("Wrong length %d/%d", len(b), 64)) + assert.Equal(t, "0000000000000000000000000000000000000000000000056bc75e2d6310000000000000000000000000000000000000000000000000000ad78ebc5ac6200000", hex.EncodeToString(b)) +} + +func TestABIParamArrayBytes(t *testing.T) { + + param, err := LoadFromJSON(fmt.Sprintf(` + [ + {"bytes32": "0001020001020001020001020001020001020001020001020001020001020001"} + ] + `)) + require.Nil(t, err) + b, err := GetPaddedParam(param) + require.Nil(t, err) + assert.Len(t, b, 32, fmt.Sprintf("Wrong length %d/%d", len(b), 64)) + assert.Equal(t, "0001020001020001020001020001020001020001020001020001020001020001", hex.EncodeToString(b)) +} + +func TestABI_HEXuint256(t *testing.T) { + b, err := GetPaddedParam([]Param{ + {"uint256": "43981"}, + {"uint256": "0xABCD"}, + }) + require.Nil(t, err) + assert.Len(t, b, 64, fmt.Sprintf("Wrong length %d/%d", len(b), 256)) + assert.Equal(t, "000000000000000000000000000000000000000000000000000000000000abcd000000000000000000000000000000000000000000000000000000000000abcd", hex.EncodeToString(b)) } From 5e7851010bdaa9388fb877f0c1b4d744e0a1bfc7 Mon Sep 17 00:00:00 2001 From: Fernando Sobreira Date: Tue, 10 Aug 2021 15:22:48 -0300 Subject: [PATCH 04/53] update eth lib --- go.mod | 2 +- go.sum | 58 ++++++++++++++++++++++++++++++++++++++++++++++------------ 2 files changed, 47 insertions(+), 13 deletions(-) diff --git a/go.mod b/go.mod index 35306e94e..81958f82b 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/araddon/dateparse v0.0.0-20200409225146-d820a6159ab1 github.com/btcsuite/btcd v0.20.1-beta github.com/deckarep/golang-set v1.7.1 - github.com/ethereum/go-ethereum v1.9.20 + github.com/ethereum/go-ethereum v1.9.25 github.com/fatih/color v1.9.0 github.com/fatih/structs v1.1.0 github.com/golang/protobuf v1.4.2 diff --git a/go.sum b/go.sum index 79f48ebb1..17ac61a99 100644 --- a/go.sum +++ b/go.sum @@ -14,6 +14,7 @@ github.com/Azure/go-autorest/logger v0.1.0/go.mod h1:oExouG+K6PryycPJfVSxi/koC6L github.com/Azure/go-autorest/tracing v0.5.0/go.mod h1:r/s2XiOKccPW3HrqB+W0TQzfbtp2fGCgRFtBroKn4Dk= github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg= github.com/VictoriaMetrics/fastcache v1.5.7/go.mod h1:ptDBkNMQI4RtmVo8VS/XwRY6RoTu1dAWCbrk+6WsEM8= @@ -65,14 +66,15 @@ github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZm github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= github.com/dlclark/regexp2 v1.2.0/go.mod h1:2pZnwuY/m+8K6iRw6wQdMtk+rH5tNGR1i55kozfMjCc= github.com/docker/docker v1.4.2-0.20180625184442-8e610b2b55bf/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= -github.com/dop251/goja v0.0.0-20200219165308-d1232e640a87/go.mod h1:Mw6PkjjMXWbTj+nnj4s3QPXq1jaT0s5pC0iFD4+BOAA= +github.com/dop251/goja v0.0.0-20200721192441-a695b0cdd498/go.mod h1:Mw6PkjjMXWbTj+nnj4s3QPXq1jaT0s5pC0iFD4+BOAA= +github.com/dvyukov/go-fuzz v0.0.0-20200318091601-be3528f3a813/go.mod h1:11Gm+ccJnvAhCNLlf5+cS9KjtbaD5I5zaZpFMsTHWTw= github.com/edsrzf/mmap-go v0.0.0-20160512033002-935e0e8a636c/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/ethereum/go-ethereum v1.9.20 h1:kk/J5OIoaoz3DRrCXznz3RGi212mHHXwzXlY/ZQxcj0= -github.com/ethereum/go-ethereum v1.9.20/go.mod h1:JSSTypSMTkGZtAdAChH2wP5dZEvPGh3nUTuDpH+hNrg= +github.com/ethereum/go-ethereum v1.9.25 h1:mMiw/zOOtCLdGLWfcekua0qPrJTe7FVIiHJ4IKNTfR0= +github.com/ethereum/go-ethereum v1.9.25/go.mod h1:vMkFiYLHI4tgPw4k2j4MHKoovchFE8plZ0M9VMk4/oM= github.com/fatih/color v1.3.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.9.0 h1:8xPHl4/q1VyqGIPif1F+1V3Y3lSmrq01EabUW3CoW5s= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= @@ -80,6 +82,7 @@ github.com/fatih/structs v1.1.0 h1:Q7juDM0QtcnhCpeyLGQKyg4TOIghuNXrkL32pHAUMxo= github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M= github.com/fjl/memsize v0.0.0-20180418122429-ca190fb6ffbc/go.mod h1:VvhXpOYNQvB+uIk2RvXzuaQtkQJzzIx6lSBe1xv7hi0= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= +github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff/go.mod h1:x7DCsMOv1taUwEWCzT4cmDeAkigA5/QCwUodaVOe8Ww= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= @@ -96,7 +99,6 @@ github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4er github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.2-0.20190517061210-b285ee9cfc6c/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= @@ -107,7 +109,7 @@ github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QD github.com/golang/protobuf v1.4.2 h1:+Z5KGCizgyZCbGh1KZqA0fcLLkwbsjIzS4aV2v7wJX0= github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/golang/snappy v0.0.2-0.20200707131729-196ae77b8a26/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/golang/snappy v0.0.3-0.20201103224600-674baa8c7fc3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= @@ -115,6 +117,7 @@ github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMyw github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.0 h1:/QaMHBdZ26BB3SSst0Iwl10Epc+xhTquomWX0oZEB6w= github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/gofuzz v1.1.1-0.20200604201612-c04b05f3adfa/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2 h1:EVhdT+1Kseyi1/pUmXKaFxYsDNy9RQYkMWRH68J/W7Y= @@ -135,6 +138,7 @@ github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NH github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= github.com/influxdata/influxdb v1.2.3-0.20180221223340-01288bdb0883/go.mod h1:qZna6X/4elxqT3yI9iZYdZrWWdeFOOprn86kgg4+IzY= github.com/jackpal/go-nat-pmp v1.0.2-0.20160603034137-1fa385a6f458/go.mod h1:QPH045xvCAeXUZOxsnwmrtiCoxIr9eob+4orBN1SBKc= +github.com/jedisct1/go-minisign v0.0.0-20190909160543-45766022959e/go.mod h1:G1CVv03EnqU1wYL2dFwXxW2An0az9JTl/ZsqXQeBlkU= github.com/jessevdk/go-flags v0.0.0-20141203071132-1679536dcc89/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= @@ -174,12 +178,17 @@ github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/naoina/go-stringutil v0.1.0/go.mod h1:XJ2SJL9jCtBh+P9q5btrd/Ylo8XwT/h1USek5+NqSA0= github.com/naoina/toml v0.1.2-0.20170918210437-9fafd6967416/go.mod h1:NBIhNtsFMo3G2szEBne+bO4gS192HuIYRqfvOWb4i1E= +github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= github.com/olekukonko/tablewriter v0.0.1/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= github.com/olekukonko/tablewriter v0.0.2-0.20190409134802-7e037d187b0c/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= +github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= +github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= +github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= github.com/pborman/uuid v0.0.0-20170112150404-1b00554d8222/go.mod h1:VyrYX9gd7irzKovcSS6BIIEwPRkP2Wm2m9ufcdFSJ34= github.com/pborman/uuid v1.2.1 h1:+ZZIw58t/ozdjRaXh/3awHfmWRbzYxJoAdNJxe/3pvw= @@ -239,7 +248,7 @@ github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UV github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1 h1:nOGnQDM7FYENwehXlg/kFVnos3rEvtKTjRvOWSzb6H4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/syndtr/goleveldb v1.0.1-0.20190923125748-758128399b1d/go.mod h1:9OrXJhf154huy1nPWmuSrkgjPUtUNhA+Zmy+6AESzuA= +github.com/syndtr/goleveldb v1.0.1-0.20200815110645-5c35d600f0ca/go.mod h1:u2MKkTVTVJWe5D1rCvame8WqhBd88EuIwODJZ1VHCPM= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tyler-smith/go-bip39 v1.0.1-0.20181017060643-dbb3b84ba2ef/go.mod h1:sJ5fKU0s6JVwZjjcUEX2zFOnvq0ASQ2K9Zr6cf67kNs= github.com/tyler-smith/go-bip39 v1.0.2 h1:+t3w+KwLXO6154GNJY+qUtIxLTmFjfUmpguQT1OlOT8= @@ -265,16 +274,26 @@ golang.org/x/crypto v0.0.0-20170930174604-9419663f5a44/go.mod h1:6SG95UA2DQfeDnf golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190909091759-094676da4a83/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a h1:vclmkQCjlDX5OydZ9wv8rBCcS0QyQY66Mpf/7BZbInM= golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190731235908-ec7cb31e5a56/go.mod h1:JhuoJpWY28nO4Vef9tZUw9qufEGTyX1+7lmHxV5q5G4= +golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= +golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/lint v0.0.0-20190930215403-16217165b5de h1:5hukYrvBGR8/eNkX5mdUezrA6JiaEZDtJb9Ei+1LlBs= golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= +golang.org/x/mobile v0.0.0-20200801112145-973feb4309de/go.mod h1:skQtrUTUwhdJvXM/2KKJzY8pDgNr9I/FOMqDVRPBUS4= golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= +golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= +golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= +golang.org/x/mod v0.1.1-0.20191209134235-331c550502dd/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -286,8 +305,10 @@ golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200625001655-4c5254603344 h1:vGXIOMxbNfDTk/aXCmfdLgkrSV+Z2tcbze+pEc3v5W4= -golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200813134508-3edf25e44fcc/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20200822124328-c89045814202 h1:VvcQYSHwXgi7W+TpUR6A9g6Up98WAHf3f/ulnJ62IyA= +golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -302,26 +323,38 @@ golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5h golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd h1:xhmwyvizuTgC2qz7ZlMluP20uW+C3Rm0FD/WLDX8884= +golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200814200057-3d37ad5750ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200824131525-c12d262b63d8 h1:AvbQYmiaaaza3cW3QXRyPo5kYgpFIzOAfeAAN7m3qQ4= +golang.org/x/sys v0.0.0-20200824131525-c12d262b63d8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= +golang.org/x/text v0.3.3 h1:cokOdA+Jmi5PJGXLlLllQSgYigAEfHXJAERHVMaCc2k= +golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5 h1:hKsoRgsbwY1NafxrwTs+k64bikrLBkAgPir1TNCj3Zs= golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20200117012304-6edc0a871e69 h1:yBHHx+XZqXJBm6Exke3N7V9gnlsyXxoCPEb1yVenjfk= +golang.org/x/tools v0.0.0-20200117012304-6edc0a871e69/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= +golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= @@ -361,6 +394,7 @@ gopkg.in/urfave/cli.v1 v1.20.0/go.mod h1:vuBzUtMdQeixQj8LVd+/98pzhxNGQoyuPBlsXHO gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.3.0 h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU= gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= From 8167173e86358cb468aef154741f651ced1c6771 Mon Sep 17 00:00:00 2001 From: wonderzack Date: Tue, 12 Oct 2021 15:25:34 +0800 Subject: [PATCH 05/53] - Import Mutex locks the import to prevent two insertions from racing --- pkg/keystore/keystore.go | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/pkg/keystore/keystore.go b/pkg/keystore/keystore.go index 33defdbbe..cbecc70e8 100644 --- a/pkg/keystore/keystore.go +++ b/pkg/keystore/keystore.go @@ -26,7 +26,6 @@ import ( crand "crypto/rand" "crypto/sha256" "errors" - "fmt" "os" "path/filepath" "reflect" @@ -46,6 +45,10 @@ var ( ErrLocked = NewAuthNeededError("password or unlock") ErrNoMatch = errors.New("no key for given address or file") ErrDecrypt = errors.New("could not decrypt key with given passphrase") + + // ErrAccountAlreadyExists is returned if an account attempted to import is + // already present in the keystore. + ErrAccountAlreadyExists = errors.New("account already exists") ) // KeyStoreType is the reflect type of a keystore backend. @@ -69,7 +72,9 @@ type KeyStore struct { updateScope event.SubscriptionScope // Subscription scope tracking current live listeners updating bool // Whether the event notification loop is running - mu sync.RWMutex + mu sync.RWMutex + importMu sync.Mutex // Import Mutex locks the import to prevent two insertions from racing + } type unlocked struct { @@ -460,14 +465,27 @@ func (ks *KeyStore) Import(keyJSON []byte, passphrase, newPassphrase string) (Ac if err != nil { return Account{}, err } + ks.importMu.Lock() + defer ks.importMu.Unlock() + + if ks.cache.hasAddress(key.Address) { + return Account{ + Address: key.Address, + }, ErrAccountAlreadyExists + } return ks.importKey(key, newPassphrase) } // ImportECDSA stores the given key into the key directory, encrypting it with the passphrase. func (ks *KeyStore) ImportECDSA(priv *ecdsa.PrivateKey, passphrase string) (Account, error) { + ks.importMu.Lock() + defer ks.importMu.Unlock() + key := newKeyFromECDSA(priv) if ks.cache.hasAddress(key.Address) { - return Account{}, fmt.Errorf("account already exists") + return Account{ + Address: key.Address, + }, ErrAccountAlreadyExists } return ks.importKey(key, passphrase) } From 867e25f429a7dae4e26cf1830edbe37a8d5b7c7f Mon Sep 17 00:00:00 2001 From: Fernando Sobreira Date: Tue, 2 Nov 2021 15:26:55 -0300 Subject: [PATCH 06/53] update modules --- go.mod | 36 +++-- go.sum | 425 ++++++++++++++++++++++++++++++++++++++++++++++++--------- 2 files changed, 388 insertions(+), 73 deletions(-) diff --git a/go.mod b/go.mod index 81958f82b..78846a6e8 100644 --- a/go.mod +++ b/go.mod @@ -1,15 +1,15 @@ module github.com/fbsobreira/gotron-sdk -go 1.14 +go 1.17 require ( github.com/araddon/dateparse v0.0.0-20200409225146-d820a6159ab1 - github.com/btcsuite/btcd v0.20.1-beta + github.com/btcsuite/btcd v0.22.0-beta github.com/deckarep/golang-set v1.7.1 - github.com/ethereum/go-ethereum v1.9.25 + github.com/ethereum/go-ethereum v1.10.11 github.com/fatih/color v1.9.0 github.com/fatih/structs v1.1.0 - github.com/golang/protobuf v1.4.2 + github.com/golang/protobuf v1.4.3 github.com/karalabe/hid v1.0.0 github.com/mitchellh/go-homedir v1.1.0 github.com/pborman/uuid v1.2.1 @@ -17,13 +17,33 @@ require ( github.com/rjeczalik/notify v0.9.2 github.com/shengdoushi/base58 v1.0.0 github.com/spf13/cobra v1.0.0 - github.com/spf13/pflag v1.0.5 // indirect - github.com/stretchr/testify v1.5.1 + github.com/stretchr/testify v1.7.0 github.com/tyler-smith/go-bip39 v1.0.2 go.uber.org/zap v1.15.0 - golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a + golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 google.golang.org/genproto v0.0.0-20200825200019-8632dd797987 google.golang.org/grpc v1.37.0 google.golang.org/protobuf v1.25.0 - gopkg.in/yaml.v2 v2.3.0 + gopkg.in/yaml.v2 v2.4.0 +) + +require ( + github.com/cpuguy83/go-md2man/v2 v2.0.0 // indirect + github.com/davecgh/go-spew v1.1.1 // indirect + github.com/go-stack/stack v1.8.0 // indirect + github.com/google/uuid v1.1.5 // indirect + github.com/inconshreveable/mousetrap v1.0.0 // indirect + github.com/mattn/go-colorable v0.1.8 // indirect + github.com/mattn/go-isatty v0.0.12 // indirect + github.com/pmezard/go-difflib v1.0.0 // indirect + github.com/russross/blackfriday/v2 v2.0.1 // indirect + github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect + github.com/spf13/pflag v1.0.5 // indirect + go.uber.org/atomic v1.6.0 // indirect + go.uber.org/multierr v1.5.0 // indirect + golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d // indirect + golang.org/x/sys v0.0.0-20211102061401-a2f17f7b995c // indirect + golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 // indirect + golang.org/x/text v0.3.6 // indirect + gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect ) diff --git a/go.sum b/go.sum index 17ac61a99..129061fd8 100644 --- a/go.sum +++ b/go.sum @@ -1,4 +1,23 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= +cloud.google.com/go v0.43.0/go.mod h1:BOSR3VbTLkk6FDC/TcffxP4NF/FFBGA5ku+jvKOP7pg= +cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= +cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= +cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= +cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= +cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= +cloud.google.com/go v0.51.0/go.mod h1:hWtGJ6gnXH+KgDv+V0zFGDvpi07n3z8ZNj3T1RW0Gcw= +cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= +cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= +cloud.google.com/go/bigtable v1.2.0/go.mod h1:JcVAOl45lrTmQfLj7T6TxyMzIN/3FGGcFm+2xVAli2o= +cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= +cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= +cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= +cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= +cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= +collectd.org v0.3.0/go.mod h1:A/8DzQBkF6abtvrT2j/AU/4tiBgJWYyh0y/oB/4MlWE= +dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/Azure/azure-pipeline-go v0.2.1/go.mod h1:UGSo8XybXnIGZ3epmeBw7Jdz+HiUVpqIlpz/HKHylF4= github.com/Azure/azure-pipeline-go v0.2.2/go.mod h1:4rQ/NZncSvGqNkkOsNpOU1tgoNuIlp9AfUH5G1tvCHc= github.com/Azure/azure-storage-blob-go v0.7.0/go.mod h1:f9YQKtsG1nMisotuTPpO0tjNuEjKRYAcJU8/ydDI++4= @@ -15,38 +34,59 @@ github.com/Azure/go-autorest/tracing v0.5.0/go.mod h1:r/s2XiOKccPW3HrqB+W0TQzfbt github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= +github.com/DATA-DOG/go-sqlmock v1.3.3/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg= -github.com/VictoriaMetrics/fastcache v1.5.7/go.mod h1:ptDBkNMQI4RtmVo8VS/XwRY6RoTu1dAWCbrk+6WsEM8= +github.com/VictoriaMetrics/fastcache v1.6.0/go.mod h1:0qHz5QP0GMX4pfmMA/zt5RgfNuXJrTP0zS7DqpHGGTw= github.com/aead/siphash v1.0.1/go.mod h1:Nywa3cDsYNNK3gaciGTWPwHt0wlpNV15vwmswBAUSII= +github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156/go.mod h1:Cb/ax3seSYIx7SuZdm2G2xzfwmv3TPSk2ucNfQESPXM= +github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8= +github.com/apache/arrow/go/arrow v0.0.0-20191024131854-af6fa24be0db/go.mod h1:VTxUBvSJ3s3eHAg65PNgrsn5BtqCRPdmyXh6rAfdxN0= github.com/araddon/dateparse v0.0.0-20200409225146-d820a6159ab1 h1:TEBmxO80TM04L8IuMWk77SGL1HomBmKTdzdJLLWznxI= github.com/araddon/dateparse v0.0.0-20200409225146-d820a6159ab1/go.mod h1:SLqhdZcd+dF3TEVL2RMoob5bBP5R1P1qkox+HtCBgGI= -github.com/aristanetworks/goarista v0.0.0-20170210015632-ea17b1a17847 h1:rtI0fD4oG/8eVokGVPYJEW1F88p1ZNgXiEIs9thEE4A= -github.com/aristanetworks/goarista v0.0.0-20170210015632-ea17b1a17847/go.mod h1:D/tb0zPVXnP7fmsLZjtdUhSsumbK/ij54UXjjVgMGxQ= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= -github.com/aws/aws-sdk-go v1.25.48/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= +github.com/aws/aws-sdk-go-v2 v1.2.0/go.mod h1:zEQs02YRBw1DjK0PoJv3ygDYOFTre1ejlJWl8FwAuQo= +github.com/aws/aws-sdk-go-v2/config v1.1.1/go.mod h1:0XsVy9lBI/BCXm+2Tuvt39YmdHwS5unDQmxZOYe8F5Y= +github.com/aws/aws-sdk-go-v2/credentials v1.1.1/go.mod h1:mM2iIjwl7LULWtS6JCACyInboHirisUUdkBPoTHMOUo= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.0.2/go.mod h1:3hGg3PpiEjHnrkrlasTfxFqUsZ2GCk/fMUn4CbKgSkM= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.0.2/go.mod h1:45MfaXZ0cNbeuT0KQ1XJylq8A6+OpVV2E5kvY/Kq+u8= +github.com/aws/aws-sdk-go-v2/service/route53 v1.1.1/go.mod h1:rLiOUrPLW/Er5kRcQ7NkwbjlijluLsrIbu/iyl35RO4= +github.com/aws/aws-sdk-go-v2/service/sso v1.1.1/go.mod h1:SuZJxklHxLAXgLTc1iFXbEWkXs7QRTQpCLGaKIprQW0= +github.com/aws/aws-sdk-go-v2/service/sts v1.1.1/go.mod h1:Wi0EBZwiz/K44YliU0EKxqTCJGUfYTWXrrBwkq736bM= +github.com/aws/smithy-go v1.1.0/go.mod h1:EzMw8dbp/YJL4A5/sbhGddag+NPT7q084agLbB9LgIw= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= -github.com/btcsuite/btcd v0.0.0-20171128150713-2e60448ffcc6/go.mod h1:Dmm/EzmjnCiweXmzRIAiUWCInVmPgjkzgv5k4tVyXiQ= -github.com/btcsuite/btcd v0.20.1-beta h1:Ik4hyJqN8Jfyv3S4AGBOmyouMsYE3EdYODkMbQjwPGw= +github.com/bmizerany/pat v0.0.0-20170815010413-6226ea591a40/go.mod h1:8rLXio+WjiTceGBHIoTvn60HIbs7Hm7bcHjyrSqYB9c= +github.com/boltdb/bolt v1.3.1/go.mod h1:clJnj/oiGkjum5o1McbSZDSLxVThjynRyGBgiAx27Ps= github.com/btcsuite/btcd v0.20.1-beta/go.mod h1:wVuoA8VJLEcwgqHBwHmzLRazpKxTv13Px/pDuV7OomQ= +github.com/btcsuite/btcd v0.22.0-beta h1:LTDpDKUM5EeOFBPM8IXpinEcmZ6FWfNZbE3lfrfdnWo= +github.com/btcsuite/btcd v0.22.0-beta/go.mod h1:9n5ntfhhHQBIhUvlhDvD3Qg6fRUj4jkN0VB8L8svzOA= github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f/go.mod h1:TdznJufoqS23FtqVCzL0ZqgP5MqXbb4fg/WgDys70nA= github.com/btcsuite/btcutil v0.0.0-20190425235716-9e5f4b9a998d/go.mod h1:+5NJ2+qvTyV9exUAL/rxXi3DcLg2Ts+ymUAY5y4NvMg= +github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce/go.mod h1:0DVlHczLPewLcPGEIeUEzfOJhqGPQ0mJJRDBtD307+o= github.com/btcsuite/go-socks v0.0.0-20170105172521-4720035b7bfd/go.mod h1:HHNXQzUsZCxOoE+CPiyCTO6x34Zs86zZUiwtpXoGdtg= github.com/btcsuite/goleveldb v0.0.0-20160330041536-7834afc9e8cd/go.mod h1:F+uVaaLLH7j4eDXPRvw78tMflu7Ie2bzYOH4Y8rRKBY= +github.com/btcsuite/goleveldb v1.0.0/go.mod h1:QiK9vBlgftBg6rWQIj6wFzbPfRjiykIEhBH4obrXJ/I= github.com/btcsuite/snappy-go v0.0.0-20151229074030-0bdef8d06723/go.mod h1:8woku9dyThutzjeg+3xrA5iCpBRH8XEEg3lh6TiUghc= +github.com/btcsuite/snappy-go v1.0.0/go.mod h1:8woku9dyThutzjeg+3xrA5iCpBRH8XEEg3lh6TiUghc= github.com/btcsuite/websocket v0.0.0-20150119174127-31079b680792/go.mod h1:ghJtEyQwv5/p4Mg4C0fgbePVuGr935/5ddU9Z3TmDRY= github.com/btcsuite/winsvc v1.0.0/go.mod h1:jsenWakMcC0zFBFurPLEAyrnc/teJEM1O46fmI40EZs= +github.com/c-bata/go-prompt v0.2.2/go.mod h1:VzqtzE2ksDBcdln8G7mk2RX9QyGjH+OVqOCSiVIqS34= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/cespare/cp v0.1.0/go.mod h1:SOGHArjBr4JWaSDEVpWpo/hNg6RoKrls6Oh40hiwW+s= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= +github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= +github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cloudflare/cloudflare-go v0.10.2-0.20190916151808-a80f83b9add9/go.mod h1:1MxXX1Ux4x6mqPmjkUgTP1CdXIBXKX7T+Jk9Gxrmx+U= +github.com/cloudflare/cloudflare-go v0.14.0/go.mod h1:EnwdgGMaFOruiPZRFSgn+TsQ3hQ7C/YWzIGLeu5c304= github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= +github.com/consensys/bavard v0.1.8-0.20210406032232-f3452dc9b572/go.mod h1:Bpd0/3mZuaj6Sj+PqrmIquiOKy397AKGThQPaGzNXAQ= +github.com/consensys/gnark-crypto v0.4.1-0.20210426202927-39ac3d4b3f1f/go.mod h1:815PAHg3wvysy0SyIqanF8gZ0Y1wjk/hrDHD/iT88+Q= github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= @@ -55,6 +95,9 @@ github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfc github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= github.com/cpuguy83/go-md2man/v2 v2.0.0 h1:EoUDS0afbrsXAZ9YQ9jdu/mZ2sXgT1/2yyNng4PGlyM= github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= +github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/cyberdelia/templates v0.0.0-20141128023046-ca7fffd4298c/go.mod h1:GyV+0YP4qX0UQ7r2MoYZ+AvYDp12OF5yg4q8rGnyNh4= +github.com/dave/jennifer v1.2.0/go.mod h1:fIb+770HOpJ2fmN9EPPKOqm1vMGhB+TwXKMZhrIygKg= github.com/davecgh/go-spew v0.0.0-20171005155431-ecdeabc65495/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= @@ -62,41 +105,65 @@ github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs github.com/deckarep/golang-set v0.0.0-20180603214616-504e848d77ea/go.mod h1:93vsz/8Wt4joVM7c2AVqh+YRMiUSc14yDtF28KmMOgQ= github.com/deckarep/golang-set v1.7.1 h1:SCQV0S6gTtp6itiFrTqI+pfmJ4LN85S1YzhDf9rTHJQ= github.com/deckarep/golang-set v1.7.1/go.mod h1:93vsz/8Wt4joVM7c2AVqh+YRMiUSc14yDtF28KmMOgQ= +github.com/decred/dcrd/lru v1.0.0/go.mod h1:mxKOwFd7lFjN2GZYsiz/ecgqR6kkYAl+0pz0tEMk218= +github.com/deepmap/oapi-codegen v1.6.0/go.mod h1:ryDa9AgbELGeB+YEXE1dR53yAjHwFvE9iAUlWl9Al3M= +github.com/deepmap/oapi-codegen v1.8.2/go.mod h1:YLgSKSDv/bZQB7N4ws6luhozi3cEdRktEqrX88CvjIw= github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= +github.com/dgryski/go-bitstream v0.0.0-20180413035011-3522498ce2c8/go.mod h1:VMaSuZ+SZcx/wljOQKvp5srsbCiKDEb6K2wC4+PiBmQ= github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= -github.com/dlclark/regexp2 v1.2.0/go.mod h1:2pZnwuY/m+8K6iRw6wQdMtk+rH5tNGR1i55kozfMjCc= +github.com/dlclark/regexp2 v1.4.1-0.20201116162257-a2a8dda75c91/go.mod h1:2pZnwuY/m+8K6iRw6wQdMtk+rH5tNGR1i55kozfMjCc= github.com/docker/docker v1.4.2-0.20180625184442-8e610b2b55bf/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= -github.com/dop251/goja v0.0.0-20200721192441-a695b0cdd498/go.mod h1:Mw6PkjjMXWbTj+nnj4s3QPXq1jaT0s5pC0iFD4+BOAA= -github.com/dvyukov/go-fuzz v0.0.0-20200318091601-be3528f3a813/go.mod h1:11Gm+ccJnvAhCNLlf5+cS9KjtbaD5I5zaZpFMsTHWTw= -github.com/edsrzf/mmap-go v0.0.0-20160512033002-935e0e8a636c/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= +github.com/dop251/goja v0.0.0-20211011172007-d99e4b8cbf48/go.mod h1:R9ET47fwRVRPZnOGvHxxhuZcbrMCuiqOz3Rlrh4KSnk= +github.com/dop251/goja_nodejs v0.0.0-20210225215109-d91c329300e7/go.mod h1:hn7BA7c8pLvoGndExHudxTDKZ84Pyvv+90pbBjbTz0Y= +github.com/eclipse/paho.mqtt.golang v1.2.0/go.mod h1:H9keYFcgq3Qr5OUJm/JZI/i6U7joQ8SYLhZwfeOo6Ts= +github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/ethereum/go-ethereum v1.9.25 h1:mMiw/zOOtCLdGLWfcekua0qPrJTe7FVIiHJ4IKNTfR0= -github.com/ethereum/go-ethereum v1.9.25/go.mod h1:vMkFiYLHI4tgPw4k2j4MHKoovchFE8plZ0M9VMk4/oM= -github.com/fatih/color v1.3.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= +github.com/ethereum/go-ethereum v1.10.11 h1:KKIcwpmur9iTaVbR2dxlHu+peHVhU+/KX//NWvT1n9U= +github.com/ethereum/go-ethereum v1.10.11/go.mod h1:W3yfrFyL9C1pHcwY5hmRHVDaorTiQxhYBkKyu5mEDHw= +github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.9.0 h1:8xPHl4/q1VyqGIPif1F+1V3Y3lSmrq01EabUW3CoW5s= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= github.com/fatih/structs v1.1.0 h1:Q7juDM0QtcnhCpeyLGQKyg4TOIghuNXrkL32pHAUMxo= github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M= -github.com/fjl/memsize v0.0.0-20180418122429-ca190fb6ffbc/go.mod h1:VvhXpOYNQvB+uIk2RvXzuaQtkQJzzIx6lSBe1xv7hi0= +github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5/go.mod h1:VvhXpOYNQvB+uIk2RvXzuaQtkQJzzIx6lSBe1xv7hi0= +github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff/go.mod h1:x7DCsMOv1taUwEWCzT4cmDeAkigA5/QCwUodaVOe8Ww= +github.com/getkin/kin-openapi v0.53.0/go.mod h1:7Yn5whZr5kJi6t+kShccXS8ae1APpYTW6yheSwk8Yi4= +github.com/getkin/kin-openapi v0.61.0/go.mod h1:7Yn5whZr5kJi6t+kShccXS8ae1APpYTW6yheSwk8Yi4= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= +github.com/glycerine/go-unsnap-stream v0.0.0-20180323001048-9f0cb55181dd/go.mod h1:/20jfyN9Y5QPEAprSgKAUr+glWDY39ZiUEAYOEv5dsE= +github.com/glycerine/goconvey v0.0.0-20190410193231-58a59202ab31/go.mod h1:Ogl1Tioa0aV7gstGFO7KhffUsb9M4ydbEbbxpcEDc24= +github.com/go-chi/chi/v5 v5.0.0/go.mod h1:BBug9lr0cqtdAhsu6R4AAdvufI0/XBzAQSsUqJpoZOs= +github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= +github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= github.com/go-ole/go-ole v1.2.1/go.mod h1:7FAglXiTm7HKlQRDeOQ6ZNUHidzCWXuZWq/1dTyBNF8= -github.com/go-sourcemap/sourcemap v2.1.2+incompatible/go.mod h1:F8jJfvm2KbVjc5NqelyYJmf/v5J0dwNLS2mL4sNA1Jg= +github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= +github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= +github.com/go-sourcemap/sourcemap v2.1.3+incompatible/go.mod h1:F8jJfvm2KbVjc5NqelyYJmf/v5J0dwNLS2mL4sNA1Jg= +github.com/go-sql-driver/mysql v1.4.1/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= github.com/go-stack/stack v1.8.0 h1:5SgMzNM5HxrEjV0ww2lTmX6E2Izsfxas4+YHWRs3Lsk= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= +github.com/gofrs/uuid v3.3.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= +github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= +github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k= +github.com/golang/geo v0.0.0-20190916061304-5b978397cfec/go.mod h1:QZ0nwyI2jOfgRAoBvP+ab5aRr7c9x7lhGEJrKvBwjWI= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= @@ -106,131 +173,211 @@ github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrU github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= -github.com/golang/protobuf v1.4.2 h1:+Z5KGCizgyZCbGh1KZqA0fcLLkwbsjIzS4aV2v7wJX0= github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/golang/snappy v0.0.3-0.20201103224600-674baa8c7fc3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/golang/protobuf v1.4.3 h1:JjCZWpVbqXDqFVmTfYWEVTMIYrL/NPdPSCHPJ0T/raM= +github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/golangci/lint-1 v0.0.0-20181222135242-d2cdd8c08219/go.mod h1:/X8TswGSh1pIozq4ZwCfxS0WA5JGXguxk94ar/4c87Y= +github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/flatbuffers v1.11.0/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.0 h1:/QaMHBdZ26BB3SSst0Iwl10Epc+xhTquomWX0oZEB6w= +github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.4 h1:L8R9j+yAqZuZjsqh/z+F1NCffTKKLShY6zXTItVIZ8M= +github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/gofuzz v1.1.1-0.20200604201612-c04b05f3adfa/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= +github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.1.2 h1:EVhdT+1Kseyi1/pUmXKaFxYsDNy9RQYkMWRH68J/W7Y= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.1.5 h1:kxhtnfFVi+rYdOALN0B3k9UT86zVJKfBimRaciULW4I= +github.com/google/uuid v1.1.5/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= +github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= +github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= +github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= -github.com/gorilla/websocket v1.4.1-0.20190629185528-ae1634f6a989/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= -github.com/graph-gophers/graphql-go v0.0.0-20191115155744-f33e81362277/go.mod h1:9CQHMSxwO4MprSdzoIEobiHpoLtHm77vfxsvsIN5Vuc= +github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/graph-gophers/graphql-go v0.0.0-20201113091052-beb923fada29/go.mod h1:9CQHMSxwO4MprSdzoIEobiHpoLtHm77vfxsvsIN5Vuc= github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= -github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= +github.com/hashicorp/go-bexpr v0.1.10/go.mod h1:oxlubA2vC/gFVfX1A6JGp7ls7uCDlfJn732ehYYg+g0= +github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/holiman/uint256 v1.1.1/go.mod h1:y4ga/t+u+Xwd7CpDgZESaRcWy0I7XMlTMA25ApIH5Jw= +github.com/holiman/bloomfilter/v2 v2.0.3/go.mod h1:zpoh+gs7qcpqrHr3dB55AMiJwo0iURXE7ZOP9L9hSkA= +github.com/holiman/uint256 v1.2.0/go.mod h1:y4ga/t+u+Xwd7CpDgZESaRcWy0I7XMlTMA25ApIH5Jw= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= -github.com/huin/goupnp v1.0.0/go.mod h1:n9v9KO1tAxYH82qOn+UTIFQDmx5n1Zxd/ClZDMX7Bnc= +github.com/huin/goupnp v1.0.2/go.mod h1:0dxJBVBHqTMjIUMkESDTNgOOx/Mw5wYIfyFmdzSamkM= github.com/huin/goutil v0.0.0-20170803182201-1ca381bf3150/go.mod h1:PpLOETDnJ0o3iZrZfqZzyLl6l7F3c6L1oWn7OICBi6o= +github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= -github.com/influxdata/influxdb v1.2.3-0.20180221223340-01288bdb0883/go.mod h1:qZna6X/4elxqT3yI9iZYdZrWWdeFOOprn86kgg4+IzY= +github.com/influxdata/flux v0.65.1/go.mod h1:J754/zds0vvpfwuq7Gc2wRdVwEodfpCFM7mYlOw2LqY= +github.com/influxdata/influxdb v1.8.3/go.mod h1:JugdFhsvvI8gadxOI6noqNeeBHvWNTbfYGtiAn+2jhI= +github.com/influxdata/influxdb-client-go/v2 v2.4.0/go.mod h1:vLNHdxTJkIf2mSLvGrpj8TCcISApPoXkaxP8g9uRlW8= +github.com/influxdata/influxql v1.1.1-0.20200828144457-65d3ef77d385/go.mod h1:gHp9y86a/pxhjJ+zMjNXiQAA197Xk9wLxaz+fGG+kWk= +github.com/influxdata/line-protocol v0.0.0-20180522152040-32c6aa80de5e/go.mod h1:4kt73NQhadE3daL3WhR5EJ/J2ocX0PZzwxQ0gXJ7oFE= +github.com/influxdata/line-protocol v0.0.0-20200327222509-2487e7298839/go.mod h1:xaLFMmpvUxqXtVkUJfg9QmT88cDaCJ3ZKgdZ78oO8Qo= +github.com/influxdata/line-protocol v0.0.0-20210311194329-9aa0e372d097/go.mod h1:xaLFMmpvUxqXtVkUJfg9QmT88cDaCJ3ZKgdZ78oO8Qo= +github.com/influxdata/promql/v2 v2.12.0/go.mod h1:fxOPu+DY0bqCTCECchSRtWfc+0X19ybifQhZoQNF5D8= +github.com/influxdata/roaring v0.4.13-0.20180809181101-fc520f41fab6/go.mod h1:bSgUQ7q5ZLSO+bKBGqJiCBGAl+9DxyW63zLTujjUlOE= +github.com/influxdata/tdigest v0.0.0-20181121200506-bf2b5ad3c0a9/go.mod h1:Js0mqiSBE6Ffsg94weZZ2c+v/ciT8QRHFOap7EKDrR0= +github.com/influxdata/usage-client v0.0.0-20160829180054-6d3895376368/go.mod h1:Wbbw6tYNvwa5dlB6304Sd+82Z3f7PmVZHVKU637d4po= github.com/jackpal/go-nat-pmp v1.0.2-0.20160603034137-1fa385a6f458/go.mod h1:QPH045xvCAeXUZOxsnwmrtiCoxIr9eob+4orBN1SBKc= github.com/jedisct1/go-minisign v0.0.0-20190909160543-45766022959e/go.mod h1:G1CVv03EnqU1wYL2dFwXxW2An0az9JTl/ZsqXQeBlkU= github.com/jessevdk/go-flags v0.0.0-20141203071132-1679536dcc89/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= -github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= +github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= +github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= +github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= github.com/jrick/logrotate v1.0.0/go.mod h1:LNinyqDIJnpAur+b8yyulnQw/wDuN1+BYKlTRt3OuAQ= -github.com/julienschmidt/httprouter v1.1.1-0.20170430222011-975b5c4c7c21/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= +github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= +github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= +github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= +github.com/jsternberg/zap-logfmt v1.0.0/go.mod h1:uvPs/4X51zdkcm5jXl5SYoN+4RK21K8mysFmDaM/h+o= +github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= +github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= +github.com/jwilder/encoding v0.0.0-20170811194829-b4e1701a28ef/go.mod h1:Ct9fl0F6iIOGgxJ5npU/IUOhOhqlVrGjyIZc8/MagT0= github.com/karalabe/hid v1.0.0 h1:+/CIMNXhSU/zIJgnIvBD2nKHxS/bnRHhhs9xBryLpPo= github.com/karalabe/hid v1.0.0/go.mod h1:Vr51f8rUOLYrfrWDFlV12GGQgM5AT8sVh+2fY4MPeu8= -github.com/karalabe/usb v0.0.0-20190919080040-51dc0efba356/go.mod h1:Od972xHfMJowv7NGVDiWVxk2zxnWgjLlJzE+F4F7AGU= +github.com/karalabe/usb v0.0.0-20211005121534-4c5740d64559/go.mod h1:Od972xHfMJowv7NGVDiWVxk2zxnWgjLlJzE+F4F7AGU= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= +github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/kkdai/bstream v0.0.0-20161212061736-f391b8402d23/go.mod h1:J+Gs4SYgM6CZQHDETBtE9HaSEkGmuNXF86RwHhHUvq4= +github.com/klauspost/compress v1.4.0/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A= +github.com/klauspost/cpuid v0.0.0-20170728055534-ae7887de9fa5/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= +github.com/klauspost/crc32 v0.0.0-20161016154125-cb6bfca970f6/go.mod h1:+ZoRqAPRLkC4NPOvfYeR5KNOrY6TD+/sAC3HXPZgDYg= +github.com/klauspost/pgzip v1.0.2-0.20170402124221-0bf5dcad4ada/go.mod h1:Ch1tH69qFZu15pkjo5kYi6mth2Zzwzt50oCQKQE9RUs= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= -github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI= +github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= +github.com/labstack/echo/v4 v4.2.1/go.mod h1:AA49e0DZ8kk5jTOOCKNuPR6oTnBS0dYiM4FW1e6jwpg= +github.com/labstack/gommon v0.3.0/go.mod h1:MULnywXg0yavhxWKc+lOruYdAhDwPK9wf0OL7NoOu+k= +github.com/leanovate/gopter v0.2.9/go.mod h1:U2L/78B+KVFIx2VmW6onHJQzXtFb+p5y3y2Sh+Jxxv8= +github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= -github.com/mattn/go-colorable v0.1.0/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= -github.com/mattn/go-colorable v0.1.4 h1:snbPLB8fVfU9iwbbo30TPtbLRzwWu6aJS6Xh4eaaviA= +github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/matryer/moq v0.0.0-20190312154309-6cfb0558e1bd/go.mod h1:9ELz6aaclSIGnZBoaSLZ3NAl1VTufbOrXBPvtcy6WiQ= +github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= +github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= +github.com/mattn/go-colorable v0.1.7/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= +github.com/mattn/go-colorable v0.1.8 h1:c1ghPdyEDarC70ftn0y+A/Ee++9zz8ljHG1b13eJ0s8= +github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-ieproxy v0.0.0-20190610004146-91bb50d98149/go.mod h1:31jz6HNzdxOmlERGGEc4v/dMssOfmp2p5bT/okiKFFc= github.com/mattn/go-ieproxy v0.0.0-20190702010315-6dee0af9227d/go.mod h1:31jz6HNzdxOmlERGGEc4v/dMssOfmp2p5bT/okiKFFc= -github.com/mattn/go-isatty v0.0.5-0.20180830101745-3fb116b82035/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= +github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= -github.com/mattn/go-isatty v0.0.11 h1:FxPOTFNqGkuDUGi3H/qkUbQO4ZiBa2brKq5r0l8TGeM= +github.com/mattn/go-isatty v0.0.9/go.mod h1:YNRxwqDuOph6SZLI9vUUz6OYw3QyUt7WiY2yME+cCiQ= github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= +github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY= +github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/mattn/go-runewidth v0.0.3/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= -github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= +github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= +github.com/mattn/go-sqlite3 v1.11.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= +github.com/mattn/go-tty v0.0.0-20180907095812-13ff1204f104/go.mod h1:XPvLUNfbS4fJH25nqRHfWLMa1ONC8Amw+mIA639KxkE= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= +github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= +github.com/mitchellh/pointerstructure v1.2.0/go.mod h1:BRAsLI5zgXmw97Lf6s25bs8ohIXc3tViBH44KcwB2g4= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/mschoch/smat v0.0.0-20160514031455-90eadee771ae/go.mod h1:qAyveg+e4CE+eKJXWVjKXM4ck2QobLqTDytGJbLLhJg= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/naoina/go-stringutil v0.1.0/go.mod h1:XJ2SJL9jCtBh+P9q5btrd/Ylo8XwT/h1USek5+NqSA0= github.com/naoina/toml v0.1.2-0.20170918210437-9fafd6967416/go.mod h1:NBIhNtsFMo3G2szEBne+bO4gS192HuIYRqfvOWb4i1E= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= -github.com/olekukonko/tablewriter v0.0.1/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= -github.com/olekukonko/tablewriter v0.0.2-0.20190409134802-7e037d187b0c/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= +github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= +github.com/onsi/gomega v1.4.1/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= +github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= +github.com/opentracing/opentracing-go v1.0.3-0.20180606204148-bd9c31933947/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= -github.com/pborman/uuid v0.0.0-20170112150404-1b00554d8222/go.mod h1:VyrYX9gd7irzKovcSS6BIIEwPRkP2Wm2m9ufcdFSJ34= +github.com/paulbellamy/ratecounter v0.2.0/go.mod h1:Hfx1hDpSGoqxkVVpBi/IlYD7kChlfo5C6hzIHwPqfFE= github.com/pborman/uuid v1.2.1 h1:+ZZIw58t/ozdjRaXh/3awHfmWRbzYxJoAdNJxe/3pvw= github.com/pborman/uuid v1.2.1/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= +github.com/peterh/liner v1.0.1-0.20180619022028-8c1271fcf47f/go.mod h1:xIteQHvHuaLYG9IFj6mSxM0fCKrs34IrEQUhOYuGPHc= github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7/go.mod h1:CRroGNssyjTd/qIG2FyxByd2S8JEAZXBl4qUrZf8GS0= +github.com/philhofer/fwd v1.0.0/go.mod h1:gk3iGcWd9+svBvR0sR+KPcfE+RNWozjowpeBVG3ZVNU= +github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/term v0.0.0-20180730021639-bffc007b7fd5/go.mod h1:eCbImbZ95eXtAUIbLAuAVnBnwf83mjf6QIVH8SHYwqQ= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= +github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= +github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= +github.com/prometheus/common v0.6.0/go.mod h1:eBmuwkDJBwy6iBfxCBob6t6dR6ENT/y+J+Zk0j9GMYc= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/tsdb v0.6.2-0.20190402121629-4f204dcbc150/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= +github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= +github.com/retailnext/hllpp v1.0.1-0.20180308014038-101a6d2f8b52/go.mod h1:RDpi1RftBQPUCDRw6SmxeaREsAaRKnOclghuzp/WRzc= github.com/rjeczalik/notify v0.9.1/go.mod h1:rKwnCoCGeuQnwBtTSPL9Dad03Vh2n40ePRrjvIXnJho= github.com/rjeczalik/notify v0.9.2 h1:MiTWrPj55mNDHEiIX5YUSKefw/+lCQVoAFmD6oQm5w8= github.com/rjeczalik/notify v0.9.2/go.mod h1:aErll2f0sUX9PXZnVNyeiObbmTlk5jnMoCa4QEjJeqM= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/rs/cors v0.0.0-20160617231935-a62a804a8a00/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= -github.com/rs/xhandler v0.0.0-20160618193221-ed27b6fd6521/go.mod h1:RvLn4FgxWubrpZHtQLnOf6EwhN2hEMusxZOhcW9H3UQ= +github.com/rs/cors v1.7.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= github.com/russross/blackfriday/v2 v2.0.1 h1:lPqVAte+HuHNfhJ/0LC98ESWRz8afy9tM/0RK8m9o+Q= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/segmentio/kafka-go v0.1.0/go.mod h1:X6itGqS9L4jDletMsxZ7Dz+JFWxM6JHfPOCvTvk+EJo= +github.com/segmentio/kafka-go v0.2.0/go.mod h1:X6itGqS9L4jDletMsxZ7Dz+JFWxM6JHfPOCvTvk+EJo= +github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= github.com/shengdoushi/base58 v1.0.0 h1:tGe4o6TmdXFJWoI31VoSWvuaKxf0Px3gqa3sUWhAxBs= github.com/shengdoushi/base58 v1.0.0/go.mod h1:m5uIILfzcKMw6238iWAhP4l3s5+uXyF3+bJKUNhAL9I= -github.com/shirou/gopsutil v2.20.5+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA= +github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA= github.com/shurcooL/sanitized_anchor_name v1.0.0 h1:PdmoCO6wvbs+7yrJyMORt4/BmY5IYyJwS/kOiWx8mHo= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= +github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= +github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= +github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/cobra v1.0.0 h1:6m/oheQuQ13N9ks4hubMG6BnvwOeaJrqSPLahSnczz8= github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= @@ -239,26 +386,38 @@ github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE= github.com/status-im/keycard-go v0.0.0-20190316090335-8537d3370df4/go.mod h1:RZLeN1LMWmRsyYjvAu+I6Dm9QmlDaIIt+Y+4Kd7Tp+Q= -github.com/steakknife/bloomfilter v0.0.0-20180922174646-6819c0d2a570/go.mod h1:8OR4w3TdeIHIh1g6EMY5p0gVNOovcWC+1vpc7naMuAw= -github.com/steakknife/hamming v0.0.0-20180906055917-c99c65617cd3/go.mod h1:hpGUWaI9xL8pRQCTXQgocU38Qw1g0Us7n5PxxTwTCYU= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.2.0/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= -github.com/stretchr/testify v1.5.1 h1:nOGnQDM7FYENwehXlg/kFVnos3rEvtKTjRvOWSzb6H4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/syndtr/goleveldb v1.0.1-0.20200815110645-5c35d600f0ca/go.mod h1:u2MKkTVTVJWe5D1rCvame8WqhBd88EuIwODJZ1VHCPM= +github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= +github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc= +github.com/tinylib/msgp v1.0.2/go.mod h1:+d+yLhGm8mzTaHzB+wgMYrodPfmZrzkirds8fDWklFE= +github.com/tklauser/go-sysconf v0.3.5/go.mod h1:MkWzOF4RMCshBAMXuhXJs64Rte09mITnppBXY/rYEFI= +github.com/tklauser/numcpus v0.2.2/go.mod h1:x3qojaO3uyYt0i56EW/VUYs7uBvdl2fkfZFu0T9wgjM= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tyler-smith/go-bip39 v1.0.1-0.20181017060643-dbb3b84ba2ef/go.mod h1:sJ5fKU0s6JVwZjjcUEX2zFOnvq0ASQ2K9Zr6cf67kNs= github.com/tyler-smith/go-bip39 v1.0.2 h1:+t3w+KwLXO6154GNJY+qUtIxLTmFjfUmpguQT1OlOT8= github.com/tyler-smith/go-bip39 v1.0.2/go.mod h1:sJ5fKU0s6JVwZjjcUEX2zFOnvq0ASQ2K9Zr6cf67kNs= github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= -github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= -github.com/wsddn/go-ecdh v0.0.0-20161211032359-48726bab9208/go.mod h1:IotVbo4F+mw0EzQ08zFqg7pK3FebNXpaMsRy2RT+Ees= +github.com/urfave/cli/v2 v2.3.0/go.mod h1:LJmUH05zAU44vOAcrfzZQKsZbVcdbOG8rtL3/XcUArI= +github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= +github.com/valyala/fasttemplate v1.0.1/go.mod h1:UQGH1tvbgY+Nz5t2n7tXsz52dQxojPUpymEIMZ47gx8= +github.com/valyala/fasttemplate v1.2.1/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= +github.com/willf/bitset v1.1.3/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4= github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= +github.com/xlab/treeprint v0.0.0-20180616005107-d6fb6747feb6/go.mod h1:ce1O1j6UtZfjr22oyGxGLbauSBp2YVXpARAosm7dHBg= github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= +github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= +go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= +go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= +go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.6.0 h1:Ezj3JGmsOnG1MoRWQkPBsKLe9DwWD9QeXzTRzzldNVk= go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= @@ -267,6 +426,7 @@ go.uber.org/multierr v1.5.0 h1:KCa4XfM8CWFCpxXRGok+Q0SS/0XBhMDbHHGABQLvD2A= go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU= go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee h1:0mgffUl7nfd+FpvXMVz4IDEaUSmT1ysygQC7qYo7sG4= go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= +go.uber.org/zap v1.9.1/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.15.0 h1:ZZCA22JRF2gQE5FoNmhmrf7jeJJ2uhqDUNRYKm8dvmM= go.uber.org/zap v1.15.0/go.mod h1:Mb2vm2krFEG5DV0W9qcHBYFtp/Wku1cvYaqPsS/WYfc= @@ -274,46 +434,88 @@ golang.org/x/crypto v0.0.0-20170930174604-9419663f5a44/go.mod h1:6SG95UA2DQfeDnf golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190909091759-094676da4a83/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20200115085410-6d4e4cb37c7d/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a h1:vclmkQCjlDX5OydZ9wv8rBCcS0QyQY66Mpf/7BZbInM= golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= +golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= +golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 h1:7I4JAnoQBe7ZtJcBaYHi5UtiO8tQHbUSXxL+pnGRANg= +golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190731235908-ec7cb31e5a56/go.mod h1:JhuoJpWY28nO4Vef9tZUw9qufEGTyX1+7lmHxV5q5G4= +golang.org/x/exp v0.0.0-20190125153040-c74c464bbbf2/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= +golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= +golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= +golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= +golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190930215403-16217165b5de h1:5hukYrvBGR8/eNkX5mdUezrA6JiaEZDtJb9Ei+1LlBs= +golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f h1:J5lckAjkw6qYlOZNj90mLYNTEKDvWeuc1yieZ8qUzUE= +golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= -golang.org/x/mobile v0.0.0-20200801112145-973feb4309de/go.mod h1:skQtrUTUwhdJvXM/2KKJzY8pDgNr9I/FOMqDVRPBUS4= +golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.1.1-0.20191209134235-331c550502dd/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.4.2 h1:Gz96sIWK3OalVv/I/qNygP42zyoKp3xptRVCWRFEBvo= +golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/net v0.0.0-20180719180050-a680a1efc54d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181011144130-49bb7cea24b1/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= +golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= +golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200813134508-3edf25e44fcc/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200822124328-c89045814202 h1:VvcQYSHwXgi7W+TpUR6A9g6Up98WAHf3f/ulnJ62IyA= golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20210220033124-5f55cee0dc0d/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d h1:20cMwl2fHAzkJMEA+8J4JgqBQcQGzbisXo31MIeenXI= +golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -322,50 +524,132 @@ golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5h golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200107162124-548cf772de50/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200814200057-3d37ad5750ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200824131525-c12d262b63d8 h1:AvbQYmiaaaza3cW3QXRyPo5kYgpFIzOAfeAAN7m3qQ4= -golang.org/x/sys v0.0.0-20200824131525-c12d262b63d8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200826173525-f9321e4c35a6/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210316164454-77fc1eacc6aa/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210324051608-47abb6519492/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210420205809-ac73e9fd8988/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210816183151-1e6c022a8912/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211102061401-a2f17f7b995c h1:QOfDMdrf/UwlVR0UBq2Mpr58UzNtvgJRXA4BgPfFACs= +golang.org/x/sys v0.0.0-20211102061401-a2f17f7b995c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= +golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 h1:v+OssWQX+hTHEmOBgwxdZxK4zHq3yOs8F9J7mk0PY8E= +golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= -golang.org/x/text v0.3.3 h1:cokOdA+Jmi5PJGXLlLllQSgYigAEfHXJAERHVMaCc2k= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.6 h1:aRYxNxv6iGQlyVaZmk6ZgYEDa+Jg18DxebPSrd6bg1M= +golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20201208040808-7e3f01d25324/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190206041539-40960b6deb8e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20200117012304-6edc0a871e69 h1:yBHHx+XZqXJBm6Exke3N7V9gnlsyXxoCPEb1yVenjfk= -golang.org/x/tools v0.0.0-20200117012304-6edc0a871e69/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200108203644-89082a384178/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.1.0 h1:po9/4sTYwZU9lPhi1tOrb4hCv3qrhiQ77LZfGa2OjwY= +golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +gonum.org/v1/gonum v0.0.0-20180816165407-929014505bf4/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo= +gonum.org/v1/gonum v0.0.0-20181121035319-3f7ecaa7e8ca/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo= +gonum.org/v1/gonum v0.6.0/go.mod h1:9mxDZsDKxgMAuccQkewq682L+0eCu4dCN2yonUJTCLU= +gonum.org/v1/netlib v0.0.0-20181029234149-ec6d1f5cefe6/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= +gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= +gonum.org/v1/plot v0.0.0-20190515093506-e2840ee46a6b/go.mod h1:Wt8AAjI+ypCyYX3nZBvf6cAIx93T+c/OS2HFAYskSZc= +google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= +google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= +google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= +google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190716160619-c506a9f90610/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= +google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200108215221-bd8f9a0ef82f/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= google.golang.org/genproto v0.0.0-20200825200019-8632dd797987 h1:PDIOdWxZ8eRizhKa1AAvY53xsvLB1cWorMjslvY3VA8= google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= +google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= +google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc v1.37.0 h1:uSZWeQJX5j11bIQ4AJoj+McDBo29cY1MCoC1wO3ts+c= google.golang.org/grpc v1.37.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= @@ -382,8 +666,9 @@ google.golang.org/protobuf v1.25.0 h1:Ejskq+SyPohKW+1uil0JJMtmHCgJPJ/qWTxr8qp+R4 google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce/go.mod h1:5AcXVHNjg+BDxry382+8OKon8SEWiKktQR07RKPsv1c= @@ -394,11 +679,21 @@ gopkg.in/urfave/cli.v1 v1.20.0/go.mod h1:vuBzUtMdQeixQj8LVd+/98pzhxNGQoyuPBlsXHO gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.3.0 h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU= +gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= +gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.1-2019.2.3 h1:3JgtbtFHMiCmsznwGVTUWbgGov+pVqnlf1dEJTNAXeM= honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= +honnef.co/go/tools v0.1.3 h1:qTakTkI6ni6LFD5sBwwsdSO+AQqbSIxOauHTTQKZ/7o= +honnef.co/go/tools v0.1.3/go.mod h1:NgwopIslSNH47DimFoV78dnkksY2EFtX0ajyb3K/las= +rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= +rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= From 79dee6c56f13f1ab73395596ac4a0caf436d796b Mon Sep 17 00:00:00 2001 From: Fernando Sobreira Date: Tue, 2 Nov 2021 15:32:33 -0300 Subject: [PATCH 07/53] remove GCO flag --- Makefile | 3 --- 1 file changed, 3 deletions(-) diff --git a/Makefile b/Makefile index 32c70c94f..760e50496 100644 --- a/Makefile +++ b/Makefile @@ -13,9 +13,6 @@ uname := $(shell uname) env := GO111MODULE=on -DIR := ${CURDIR} -export CGO_LDFLAGS=-L$(DIR)/bin/lib -Wl,-rpath -Wl,${ORIGIN}/lib - all: $(env) go build -o $(cli) -ldflags="$(ldflags)" cmd/main.go From f93fd74324e6b63802e915f7b9aa662500d62c97 Mon Sep 17 00:00:00 2001 From: sibelly Date: Mon, 31 Oct 2022 13:45:54 -0400 Subject: [PATCH 08/53] Adds mac file to gitignore --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 033cd8c76..1217cbab3 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ tonctl-docs bin .idea/ *.key -scripts/* \ No newline at end of file +scripts/* +.DS_Store \ No newline at end of file From de1b197b4677948ee97ea87ba732a654d51b7ded Mon Sep 17 00:00:00 2001 From: sibelly Date: Mon, 31 Oct 2022 22:43:12 -0400 Subject: [PATCH 09/53] Fixes typo --- pkg/client/trc20.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/client/trc20.go b/pkg/client/trc20.go index 073b728c2..99b9a606b 100644 --- a/pkg/client/trc20.go +++ b/pkg/client/trc20.go @@ -161,7 +161,7 @@ func (g *GrpcClient) TRC20ContractBalance(addr, contractAddress string) (*big.In return r, nil } -// TRC20Send send toke to address +// TRC20Send send token to address func (g *GrpcClient) TRC20Send(from, to, contract string, amount *big.Int, feeLimit int64) (*api.TransactionExtention, error) { addrB, err := address.Base58ToAddress(to) if err != nil { From dbce1da26ca766a9f274ea9557227fbf82ea950b Mon Sep 17 00:00:00 2001 From: sibelly Date: Mon, 31 Oct 2022 22:44:45 -0400 Subject: [PATCH 10/53] Test Get Account to fix rewards, WIP --- pkg/client/account_test.go | 43 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 pkg/client/account_test.go diff --git a/pkg/client/account_test.go b/pkg/client/account_test.go new file mode 100644 index 000000000..1d8005491 --- /dev/null +++ b/pkg/client/account_test.go @@ -0,0 +1,43 @@ +package client_test + +import ( + "fmt" + "os" + "testing" + + "github.com/fbsobreira/gotron-sdk/pkg/client" + "github.com/stretchr/testify/require" + "google.golang.org/grpc" +) + +var ( + conn *client.GrpcClient + apiKey = "622ec85e-7406-431d-9caf-0a19501469a4" + address = "grpc.trongrid.io:50051" +) + +func TestMain(m *testing.M) { + opts := make([]grpc.DialOption, 0) + opts = append(opts, grpc.WithInsecure()) + + conn = client.NewGrpcClient(address) + + if err := conn.Start(opts...); err != nil { + _ = fmt.Errorf("Error connecting GRPC Client: %v", err) + } + + conn.SetAPIKey(apiKey) + + exitVal := m.Run() + os.Exit(exitVal) +} + +func TestTRXTRC20Rewards(t *testing.T) { + acc, err := conn.GetAccount("TPpw7soPWEDQWXPCGUMagYPryaWrYR5b3b") + require.Nil(t, err) + + fmt.Println("=========== ", acc) + + acc2, _ := conn.GetAccount("TGj1Ej1qRzL9feLTLhjwgxXF4Ct6GTWg2U") + fmt.Println("=========== ", acc2) +} From 358119d0a4051cc178828d347f7d2f9e03208260 Mon Sep 17 00:00:00 2001 From: sibelly Date: Tue, 1 Nov 2022 13:34:30 -0400 Subject: [PATCH 11/53] Finishes fix for rewards and allowance --- cmd/subcommands/account.go | 4 ++-- pkg/account/model.go | 1 + pkg/client/account.go | 3 ++- pkg/client/account_test.go | 23 ++++++++++++++--------- 4 files changed, 19 insertions(+), 12 deletions(-) diff --git a/cmd/subcommands/account.go b/cmd/subcommands/account.go index 3918055ef..9b224aa16 100644 --- a/cmd/subcommands/account.go +++ b/cmd/subcommands/account.go @@ -51,8 +51,8 @@ func accountSub() []*cobra.Command { result["address"] = addr.String() result["type"] = acc.GetType() result["balance"] = float64(acc.GetBalance()) / 1000000 - result["allowance"] = float64(acc.GetAllowance()+rewards) / 1000000 - result["rewards"] = float64(acc.GetAllowance()) / 1000000 + result["allowance"] = float64(acc.GetAllowance()) / 1000000 + result["rewards"] = float64(rewards) / 1000000 asJSON, _ := json.Marshal(result) fmt.Println(common.JSONPrettyFormat(string(asJSON))) return nil diff --git a/pkg/account/model.go b/pkg/account/model.go index ea3f8e776..eb85f8be0 100644 --- a/pkg/account/model.go +++ b/pkg/account/model.go @@ -33,4 +33,5 @@ type Account struct { BWUsed int64 `json:"bandwidthUsed"` EnergyTotal int64 `json:"energyTotal"` EnergyUsed int64 `json:"energyUsed"` + Rewards int64 `json:"rewards"` } diff --git a/pkg/client/account.go b/pkg/client/account.go index 560687e3d..b66c777e1 100644 --- a/pkg/client/account.go +++ b/pkg/client/account.go @@ -204,7 +204,7 @@ func (g *GrpcClient) GetAccountDetailed(addr string) (*account.Account, error) { Name: string(acc.GetAccountName()), ID: string(acc.GetAccountId()), Balance: acc.GetBalance(), - Allowance: acc.GetAllowance() + rewards, + Allowance: acc.GetAllowance(), LastWithdraw: acc.LatestWithdrawTime, IsWitness: acc.IsWitness, IsElected: acc.IsCommittee, @@ -218,6 +218,7 @@ func (g *GrpcClient) GetAccountDetailed(addr string) (*account.Account, error) { BWUsed: accR.GetFreeNetUsed() + accR.GetNetUsed(), EnergyTotal: accR.GetEnergyLimit(), EnergyUsed: accR.GetEnergyUsed(), + Rewards: rewards, } return accDet, nil diff --git a/pkg/client/account_test.go b/pkg/client/account_test.go index 1d8005491..d2fafaa9a 100644 --- a/pkg/client/account_test.go +++ b/pkg/client/account_test.go @@ -11,16 +11,18 @@ import ( ) var ( - conn *client.GrpcClient - apiKey = "622ec85e-7406-431d-9caf-0a19501469a4" - address = "grpc.trongrid.io:50051" + conn *client.GrpcClient + apiKey = "622ec85e-7406-431d-9caf-0a19501469a4" + tronAddress = "grpc.trongrid.io:50051" + accountAddress = "TPpw7soPWEDQWXPCGUMagYPryaWrYR5b3b" + accountAddressWitness = "TGj1Ej1qRzL9feLTLhjwgxXF4Ct6GTWg2U" ) func TestMain(m *testing.M) { opts := make([]grpc.DialOption, 0) opts = append(opts, grpc.WithInsecure()) - conn = client.NewGrpcClient(address) + conn = client.NewGrpcClient(tronAddress) if err := conn.Start(opts...); err != nil { _ = fmt.Errorf("Error connecting GRPC Client: %v", err) @@ -32,12 +34,15 @@ func TestMain(m *testing.M) { os.Exit(exitVal) } -func TestTRXTRC20Rewards(t *testing.T) { - acc, err := conn.GetAccount("TPpw7soPWEDQWXPCGUMagYPryaWrYR5b3b") +func TestGetAccountDetailed(t *testing.T) { + acc, err := conn.GetAccountDetailed(accountAddress) require.Nil(t, err) + require.NotNil(t, acc.Allowance) + require.NotNil(t, acc.Rewards) - fmt.Println("=========== ", acc) + acc2, err := conn.GetAccountDetailed(accountAddressWitness) + require.Nil(t, err) + require.NotNil(t, acc2.Allowance) + require.NotNil(t, acc2.Rewards) - acc2, _ := conn.GetAccount("TGj1Ej1qRzL9feLTLhjwgxXF4Ct6GTWg2U") - fmt.Println("=========== ", acc2) } From c4daceb828f02b51e5082153c669e71d43899496 Mon Sep 17 00:00:00 2001 From: Xana Rahmani Date: Tue, 1 Nov 2022 21:41:31 +0330 Subject: [PATCH 12/53] ERC20 Approve (#28) * Add new method for call approve function in contract * Fixed TRC20Approve Bug --- pkg/client/trc20.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pkg/client/trc20.go b/pkg/client/trc20.go index 99b9a606b..771a9a33a 100644 --- a/pkg/client/trc20.go +++ b/pkg/client/trc20.go @@ -15,6 +15,7 @@ import ( const ( trc20TransferMethodSignature = "0xa9059cbb" + trc20ApproveMethodSignature = "0x095ea7b3" trc20TransferEventSignature = "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef" trc20NameSignature = "0x06fdde03" trc20SymbolSignature = "0x95d89b41" @@ -172,3 +173,15 @@ func (g *GrpcClient) TRC20Send(from, to, contract string, amount *big.Int, feeLi req += common.Bytes2Hex(ab) return g.TRC20Call(from, contract, req, false, feeLimit) } + +// TRC20Approve approve token to address +func (g *GrpcClient) TRC20Approve(from, to, contract string, amount *big.Int, feeLimit int64) (*api.TransactionExtention, error) { + addrB, err := address.Base58ToAddress(to) + if err != nil { + return nil, err + } + ab := common.LeftPadBytes(amount.Bytes(), 32) + req := trc20ApproveMethodSignature + "0000000000000000000000000000000000000000000000000000000000000000"[len(addrB.Hex())-4:] + addrB.Hex()[4:] + req += common.Bytes2Hex(ab) + return g.TRC20Call(from, contract, req, false, feeLimit) +} From 3e50b8eeeb0800c604316ff95b9c39b594d8f78d Mon Sep 17 00:00:00 2001 From: zeropool <1285055670@qq.com> Date: Tue, 14 Feb 2023 23:34:18 +0800 Subject: [PATCH 13/53] Update block.go (#47) --- pkg/client/block.go | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/pkg/client/block.go b/pkg/client/block.go index d3be73148..2d8bd4fd7 100644 --- a/pkg/client/block.go +++ b/pkg/client/block.go @@ -6,6 +6,7 @@ import ( "github.com/fbsobreira/gotron-sdk/pkg/common" "github.com/fbsobreira/gotron-sdk/pkg/proto/api" "github.com/fbsobreira/gotron-sdk/pkg/proto/core" + "google.golang.org/grpc" ) // GetNowBlock return TIP block @@ -30,7 +31,8 @@ func (g *GrpcClient) GetBlockByNum(num int64) (*api.BlockExtention, error) { ctx, cancel := g.getContext() defer cancel() - result, err := g.Client.GetBlockByNum2(ctx, numMessage) + maxSizeOption := grpc.MaxCallRecvMsgSize(32 * 10e6) + result, err := g.Client.GetBlockByNum2(ctx, numMessage, maxSizeOption) if err != nil { return nil, fmt.Errorf("Get block by num: %v", err) @@ -44,10 +46,11 @@ func (g *GrpcClient) GetBlockInfoByNum(num int64) (*api.TransactionInfoList, err numMessage := new(api.NumberMessage) numMessage.Num = num + maxSizeOption := grpc.MaxCallRecvMsgSize(32 * 10e6) ctx, cancel := g.getContext() defer cancel() - result, err := g.Client.GetTransactionInfoByBlockNum(ctx, numMessage) + result, err := g.Client.GetTransactionInfoByBlockNum(ctx, numMessage, maxSizeOption) if err != nil { return nil, fmt.Errorf("Get block info by num: %v", err) @@ -69,7 +72,8 @@ func (g *GrpcClient) GetBlockByID(id string) (*core.Block, error) { ctx, cancel := g.getContext() defer cancel() - return g.Client.GetBlockById(ctx, blockID) + maxSizeOption := grpc.MaxCallRecvMsgSize(32 * 10e6) + return g.Client.GetBlockById(ctx, blockID, maxSizeOption) } // GetBlockByLimitNext return list of block start/end @@ -81,7 +85,8 @@ func (g *GrpcClient) GetBlockByLimitNext(start, end int64) (*api.BlockListExtent ctx, cancel := g.getContext() defer cancel() - return g.Client.GetBlockByLimitNext2(ctx, blockLimit) + maxSizeOption := grpc.MaxCallRecvMsgSize(32 * 10e6) + return g.Client.GetBlockByLimitNext2(ctx, blockLimit, maxSizeOption) } // GetBlockByLatestNum return block list till num @@ -92,5 +97,6 @@ func (g *GrpcClient) GetBlockByLatestNum(num int64) (*api.BlockListExtention, er ctx, cancel := g.getContext() defer cancel() - return g.Client.GetBlockByLatestNum2(ctx, numMessage) + maxSizeOption := grpc.MaxCallRecvMsgSize(32 * 10e6) + return g.Client.GetBlockByLatestNum2(ctx, numMessage, maxSizeOption) } From ed66bde84781778c96724243ab735af01c7dac16 Mon Sep 17 00:00:00 2001 From: Fernando Sobreira Date: Fri, 17 Feb 2023 05:48:49 -0500 Subject: [PATCH 14/53] update tron protocol (#51) --- gen-proto.sh | 9 +- pkg/proto/api/api.pb.go | 16074 ++++++---------- pkg/proto/api/api_grpc.pb.go | 7823 ++++++++ pkg/proto/api/zksnark.pb.go | 93 +- pkg/proto/api/zksnark_grpc.pb.go | 105 + pkg/proto/core/Discover.pb.go | 9 +- pkg/proto/core/Tron.pb.go | 9288 ++++++--- pkg/proto/core/TronInventoryItems.pb.go | 9 +- pkg/proto/core/account_contract.pb.go | 533 +- pkg/proto/core/asset_issue_contract.pb.go | 895 +- pkg/proto/core/balance_contract.pb.go | 1588 +- pkg/proto/core/common.pb.go | 151 +- .../core/contract/account_contract.pb.go | 444 - .../core/contract/asset_issue_contract.pb.go | 767 - .../core/contract/balance_contract.pb.go | 435 - pkg/proto/core/contract/common.pb.go | 137 - .../core/contract/exchange_contract.pb.go | 486 - .../core/contract/proposal_contract.pb.go | 332 - pkg/proto/core/contract/shield_contract.pb.go | 1096 -- pkg/proto/core/contract/smart_contract.pb.go | 1125 -- .../core/contract/storage_contract.pb.go | 384 - .../core/contract/vote_asset_contract.pb.go | 183 - .../core/contract/witness_contract.pb.go | 395 - pkg/proto/core/exchange_contract.pb.go | 589 +- pkg/proto/core/market_contract.pb.go | 264 + pkg/proto/core/proposal_contract.pb.go | 403 +- pkg/proto/core/shield_contract.pb.go | 1317 +- pkg/proto/core/smart_contract.pb.go | 1517 +- pkg/proto/core/storage_contract.pb.go | 465 +- pkg/proto/core/vote_asset_contract.pb.go | 211 +- pkg/proto/core/witness_contract.pb.go | 479 +- pkg/proto/util/completeTx.pb.go | 62 +- proto/tron | 2 +- proto/util/completeTx.proto | 2 +- 34 files changed, 26379 insertions(+), 21293 deletions(-) create mode 100644 pkg/proto/api/api_grpc.pb.go create mode 100644 pkg/proto/api/zksnark_grpc.pb.go delete mode 100644 pkg/proto/core/contract/account_contract.pb.go delete mode 100644 pkg/proto/core/contract/asset_issue_contract.pb.go delete mode 100644 pkg/proto/core/contract/balance_contract.pb.go delete mode 100644 pkg/proto/core/contract/common.pb.go delete mode 100644 pkg/proto/core/contract/exchange_contract.pb.go delete mode 100644 pkg/proto/core/contract/proposal_contract.pb.go delete mode 100644 pkg/proto/core/contract/shield_contract.pb.go delete mode 100644 pkg/proto/core/contract/smart_contract.pb.go delete mode 100644 pkg/proto/core/contract/storage_contract.pb.go delete mode 100644 pkg/proto/core/contract/vote_asset_contract.pb.go delete mode 100644 pkg/proto/core/contract/witness_contract.pb.go create mode 100644 pkg/proto/core/market_contract.pb.go diff --git a/gen-proto.sh b/gen-proto.sh index ea98c7ca9..86c59da38 100755 --- a/gen-proto.sh +++ b/gen-proto.sh @@ -1,5 +1,8 @@ #!/bin/bash -protoc -I=./proto/tron -I/usr/lib -I./proto/googleapis --go_out=plugins=grpc,paths=source_relative:./pkg/proto ./proto/tron/core/*.proto ./proto/tron/core/contract/*.proto -protoc -I=./proto/tron -I/usr/lib -I./proto/googleapis --go_out=plugins=grpc,paths=source_relative:./pkg/proto ./proto/tron/api/*.proto + +INCLUDES="-I=./proto/tron -I/usr/lib -I./proto/googleapis" +FLAGS="--go_out=./pkg/proto --go_opt paths=source_relative --go-grpc_out=./pkg/proto --go-grpc_opt=paths=source_relative" + +protoc ${INCLUDES} ${FLAGS} ./proto/tron/core/*.proto ./proto/tron/core/contract/*.proto ./proto/tron/api/*.proto mkdir -p ./pkg/proto/util -protoc -I=./proto/tron -I./proto/util -I/usr/lib -I./proto/googleapis --go_out=plugins=grpc,paths=source_relative:./pkg/proto/util ./proto/util/*.proto \ No newline at end of file +protoc ${INCLUDES} -I=./proto/util --go_out=./pkg/proto/util --go_opt paths=source_relative ./proto/util/*.proto \ No newline at end of file diff --git a/pkg/proto/api/api.pb.go b/pkg/proto/api/api.pb.go index 1b50701da..3deb26ab2 100644 --- a/pkg/proto/api/api.pb.go +++ b/pkg/proto/api/api.pb.go @@ -1,19 +1,14 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.21.0-devel -// protoc v3.11.4 +// protoc-gen-go v1.28.0 +// protoc v3.21.12 // source: api/api.proto package api import ( - context "context" core "github.com/fbsobreira/gotron-sdk/pkg/proto/core" - proto "github.com/golang/protobuf/proto" _ "google.golang.org/genproto/googleapis/api/annotations" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -27,10 +22,6 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -// This is a compile-time assertion that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 - type ReturnResponseCode int32 const ( @@ -165,7 +156,7 @@ func (x TransactionSignWeight_ResultResponseCode) Number() protoreflect.EnumNumb // Deprecated: Use TransactionSignWeight_ResultResponseCode.Descriptor instead. func (TransactionSignWeight_ResultResponseCode) EnumDescriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{35, 0, 0} + return file_api_api_proto_rawDescGZIP(), []int{44, 0, 0} } type TransactionApprovedList_ResultResponseCode int32 @@ -217,7 +208,7 @@ func (x TransactionApprovedList_ResultResponseCode) Number() protoreflect.EnumNu // Deprecated: Use TransactionApprovedList_ResultResponseCode.Descriptor instead. func (TransactionApprovedList_ResultResponseCode) EnumDescriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{36, 0, 0} + return file_api_api_proto_rawDescGZIP(), []int{45, 0, 0} } type Return struct { @@ -620,17 +611,16 @@ func (x *TransactionList) GetTransaction() []*core.Transaction { return nil } -type DelegatedResourceMessage struct { +type TransactionIdList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - FromAddress []byte `protobuf:"bytes,1,opt,name=fromAddress,proto3" json:"fromAddress,omitempty"` - ToAddress []byte `protobuf:"bytes,2,opt,name=toAddress,proto3" json:"toAddress,omitempty"` + TxId []string `protobuf:"bytes,1,rep,name=txId,proto3" json:"txId,omitempty"` } -func (x *DelegatedResourceMessage) Reset() { - *x = DelegatedResourceMessage{} +func (x *TransactionIdList) Reset() { + *x = TransactionIdList{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -638,13 +628,13 @@ func (x *DelegatedResourceMessage) Reset() { } } -func (x *DelegatedResourceMessage) String() string { +func (x *TransactionIdList) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DelegatedResourceMessage) ProtoMessage() {} +func (*TransactionIdList) ProtoMessage() {} -func (x *DelegatedResourceMessage) ProtoReflect() protoreflect.Message { +func (x *TransactionIdList) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -656,35 +646,29 @@ func (x *DelegatedResourceMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DelegatedResourceMessage.ProtoReflect.Descriptor instead. -func (*DelegatedResourceMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use TransactionIdList.ProtoReflect.Descriptor instead. +func (*TransactionIdList) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{8} } -func (x *DelegatedResourceMessage) GetFromAddress() []byte { - if x != nil { - return x.FromAddress - } - return nil -} - -func (x *DelegatedResourceMessage) GetToAddress() []byte { +func (x *TransactionIdList) GetTxId() []string { if x != nil { - return x.ToAddress + return x.TxId } return nil } -type DelegatedResourceList struct { +type DelegatedResourceMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - DelegatedResource []*core.DelegatedResource `protobuf:"bytes,1,rep,name=delegatedResource,proto3" json:"delegatedResource,omitempty"` + FromAddress []byte `protobuf:"bytes,1,opt,name=fromAddress,proto3" json:"fromAddress,omitempty"` + ToAddress []byte `protobuf:"bytes,2,opt,name=toAddress,proto3" json:"toAddress,omitempty"` } -func (x *DelegatedResourceList) Reset() { - *x = DelegatedResourceList{} +func (x *DelegatedResourceMessage) Reset() { + *x = DelegatedResourceMessage{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -692,13 +676,13 @@ func (x *DelegatedResourceList) Reset() { } } -func (x *DelegatedResourceList) String() string { +func (x *DelegatedResourceMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DelegatedResourceList) ProtoMessage() {} +func (*DelegatedResourceMessage) ProtoMessage() {} -func (x *DelegatedResourceList) ProtoReflect() protoreflect.Message { +func (x *DelegatedResourceMessage) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -710,29 +694,35 @@ func (x *DelegatedResourceList) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DelegatedResourceList.ProtoReflect.Descriptor instead. -func (*DelegatedResourceList) Descriptor() ([]byte, []int) { +// Deprecated: Use DelegatedResourceMessage.ProtoReflect.Descriptor instead. +func (*DelegatedResourceMessage) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{9} } -func (x *DelegatedResourceList) GetDelegatedResource() []*core.DelegatedResource { +func (x *DelegatedResourceMessage) GetFromAddress() []byte { if x != nil { - return x.DelegatedResource + return x.FromAddress } return nil } -// Gossip node list -type NodeList struct { +func (x *DelegatedResourceMessage) GetToAddress() []byte { + if x != nil { + return x.ToAddress + } + return nil +} + +type DelegatedResourceList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` + DelegatedResource []*core.DelegatedResource `protobuf:"bytes,1,rep,name=delegatedResource,proto3" json:"delegatedResource,omitempty"` } -func (x *NodeList) Reset() { - *x = NodeList{} +func (x *DelegatedResourceList) Reset() { + *x = DelegatedResourceList{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -740,13 +730,13 @@ func (x *NodeList) Reset() { } } -func (x *NodeList) String() string { +func (x *DelegatedResourceList) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NodeList) ProtoMessage() {} +func (*DelegatedResourceList) ProtoMessage() {} -func (x *NodeList) ProtoReflect() protoreflect.Message { +func (x *DelegatedResourceList) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -758,29 +748,28 @@ func (x *NodeList) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use NodeList.ProtoReflect.Descriptor instead. -func (*NodeList) Descriptor() ([]byte, []int) { +// Deprecated: Use DelegatedResourceList.ProtoReflect.Descriptor instead. +func (*DelegatedResourceList) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{10} } -func (x *NodeList) GetNodes() []*Node { +func (x *DelegatedResourceList) GetDelegatedResource() []*core.DelegatedResource { if x != nil { - return x.Nodes + return x.DelegatedResource } return nil } -// Gossip node -type Node struct { +type GetAvailableUnfreezeCountRequestMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Address *Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` } -func (x *Node) Reset() { - *x = Node{} +func (x *GetAvailableUnfreezeCountRequestMessage) Reset() { + *x = GetAvailableUnfreezeCountRequestMessage{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -788,13 +777,13 @@ func (x *Node) Reset() { } } -func (x *Node) String() string { +func (x *GetAvailableUnfreezeCountRequestMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Node) ProtoMessage() {} +func (*GetAvailableUnfreezeCountRequestMessage) ProtoMessage() {} -func (x *Node) ProtoReflect() protoreflect.Message { +func (x *GetAvailableUnfreezeCountRequestMessage) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -806,30 +795,28 @@ func (x *Node) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Node.ProtoReflect.Descriptor instead. -func (*Node) Descriptor() ([]byte, []int) { +// Deprecated: Use GetAvailableUnfreezeCountRequestMessage.ProtoReflect.Descriptor instead. +func (*GetAvailableUnfreezeCountRequestMessage) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{11} } -func (x *Node) GetAddress() *Address { +func (x *GetAvailableUnfreezeCountRequestMessage) GetOwnerAddress() []byte { if x != nil { - return x.Address + return x.OwnerAddress } return nil } -// Gossip node address -type Address struct { +type GetAvailableUnfreezeCountResponseMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Host []byte `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` - Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` + Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` } -func (x *Address) Reset() { - *x = Address{} +func (x *GetAvailableUnfreezeCountResponseMessage) Reset() { + *x = GetAvailableUnfreezeCountResponseMessage{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -837,13 +824,13 @@ func (x *Address) Reset() { } } -func (x *Address) String() string { +func (x *GetAvailableUnfreezeCountResponseMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Address) ProtoMessage() {} +func (*GetAvailableUnfreezeCountResponseMessage) ProtoMessage() {} -func (x *Address) ProtoReflect() protoreflect.Message { +func (x *GetAvailableUnfreezeCountResponseMessage) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -855,33 +842,30 @@ func (x *Address) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Address.ProtoReflect.Descriptor instead. -func (*Address) Descriptor() ([]byte, []int) { +// Deprecated: Use GetAvailableUnfreezeCountResponseMessage.ProtoReflect.Descriptor instead. +func (*GetAvailableUnfreezeCountResponseMessage) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{12} } -func (x *Address) GetHost() []byte { - if x != nil { - return x.Host - } - return nil -} - -func (x *Address) GetPort() int32 { +func (x *GetAvailableUnfreezeCountResponseMessage) GetCount() int64 { if x != nil { - return x.Port + return x.Count } return 0 } -type EmptyMessage struct { +//GetCanDelegatedMaxSize +type CanDelegatedMaxSizeRequestMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` + OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` } -func (x *EmptyMessage) Reset() { - *x = EmptyMessage{} +func (x *CanDelegatedMaxSizeRequestMessage) Reset() { + *x = CanDelegatedMaxSizeRequestMessage{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -889,13 +873,13 @@ func (x *EmptyMessage) Reset() { } } -func (x *EmptyMessage) String() string { +func (x *CanDelegatedMaxSizeRequestMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EmptyMessage) ProtoMessage() {} +func (*CanDelegatedMaxSizeRequestMessage) ProtoMessage() {} -func (x *EmptyMessage) ProtoReflect() protoreflect.Message { +func (x *CanDelegatedMaxSizeRequestMessage) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -907,21 +891,35 @@ func (x *EmptyMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use EmptyMessage.ProtoReflect.Descriptor instead. -func (*EmptyMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use CanDelegatedMaxSizeRequestMessage.ProtoReflect.Descriptor instead. +func (*CanDelegatedMaxSizeRequestMessage) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{13} } -type NumberMessage struct { +func (x *CanDelegatedMaxSizeRequestMessage) GetType() int32 { + if x != nil { + return x.Type + } + return 0 +} + +func (x *CanDelegatedMaxSizeRequestMessage) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +type CanDelegatedMaxSizeResponseMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Num int64 `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"` + MaxSize int64 `protobuf:"varint,1,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"` } -func (x *NumberMessage) Reset() { - *x = NumberMessage{} +func (x *CanDelegatedMaxSizeResponseMessage) Reset() { + *x = CanDelegatedMaxSizeResponseMessage{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -929,13 +927,13 @@ func (x *NumberMessage) Reset() { } } -func (x *NumberMessage) String() string { +func (x *CanDelegatedMaxSizeResponseMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NumberMessage) ProtoMessage() {} +func (*CanDelegatedMaxSizeResponseMessage) ProtoMessage() {} -func (x *NumberMessage) ProtoReflect() protoreflect.Message { +func (x *CanDelegatedMaxSizeResponseMessage) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -947,28 +945,30 @@ func (x *NumberMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use NumberMessage.ProtoReflect.Descriptor instead. -func (*NumberMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use CanDelegatedMaxSizeResponseMessage.ProtoReflect.Descriptor instead. +func (*CanDelegatedMaxSizeResponseMessage) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{14} } -func (x *NumberMessage) GetNum() int64 { +func (x *CanDelegatedMaxSizeResponseMessage) GetMaxSize() int64 { if x != nil { - return x.Num + return x.MaxSize } return 0 } -type BytesMessage struct { +//GetCanWithdrawUnfreezeAmount +type CanWithdrawUnfreezeAmountRequestMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` } -func (x *BytesMessage) Reset() { - *x = BytesMessage{} +func (x *CanWithdrawUnfreezeAmountRequestMessage) Reset() { + *x = CanWithdrawUnfreezeAmountRequestMessage{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -976,13 +976,13 @@ func (x *BytesMessage) Reset() { } } -func (x *BytesMessage) String() string { +func (x *CanWithdrawUnfreezeAmountRequestMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*BytesMessage) ProtoMessage() {} +func (*CanWithdrawUnfreezeAmountRequestMessage) ProtoMessage() {} -func (x *BytesMessage) ProtoReflect() protoreflect.Message { +func (x *CanWithdrawUnfreezeAmountRequestMessage) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -994,29 +994,35 @@ func (x *BytesMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use BytesMessage.ProtoReflect.Descriptor instead. -func (*BytesMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use CanWithdrawUnfreezeAmountRequestMessage.ProtoReflect.Descriptor instead. +func (*CanWithdrawUnfreezeAmountRequestMessage) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{15} } -func (x *BytesMessage) GetValue() []byte { +func (x *CanWithdrawUnfreezeAmountRequestMessage) GetOwnerAddress() []byte { if x != nil { - return x.Value + return x.OwnerAddress } return nil } -type TimeMessage struct { +func (x *CanWithdrawUnfreezeAmountRequestMessage) GetTimestamp() int64 { + if x != nil { + return x.Timestamp + } + return 0 +} + +type CanWithdrawUnfreezeAmountResponseMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - BeginInMilliseconds int64 `protobuf:"varint,1,opt,name=beginInMilliseconds,proto3" json:"beginInMilliseconds,omitempty"` - EndInMilliseconds int64 `protobuf:"varint,2,opt,name=endInMilliseconds,proto3" json:"endInMilliseconds,omitempty"` + Amount int64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` } -func (x *TimeMessage) Reset() { - *x = TimeMessage{} +func (x *CanWithdrawUnfreezeAmountResponseMessage) Reset() { + *x = CanWithdrawUnfreezeAmountResponseMessage{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1024,13 +1030,13 @@ func (x *TimeMessage) Reset() { } } -func (x *TimeMessage) String() string { +func (x *CanWithdrawUnfreezeAmountResponseMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*TimeMessage) ProtoMessage() {} +func (*CanWithdrawUnfreezeAmountResponseMessage) ProtoMessage() {} -func (x *TimeMessage) ProtoReflect() protoreflect.Message { +func (x *CanWithdrawUnfreezeAmountResponseMessage) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1042,36 +1048,29 @@ func (x *TimeMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use TimeMessage.ProtoReflect.Descriptor instead. -func (*TimeMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use CanWithdrawUnfreezeAmountResponseMessage.ProtoReflect.Descriptor instead. +func (*CanWithdrawUnfreezeAmountResponseMessage) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{16} } -func (x *TimeMessage) GetBeginInMilliseconds() int64 { - if x != nil { - return x.BeginInMilliseconds - } - return 0 -} - -func (x *TimeMessage) GetEndInMilliseconds() int64 { +func (x *CanWithdrawUnfreezeAmountResponseMessage) GetAmount() int64 { if x != nil { - return x.EndInMilliseconds + return x.Amount } return 0 } -type BlockLimit struct { +// Gossip node list +type NodeList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - StartNum int64 `protobuf:"varint,1,opt,name=startNum,proto3" json:"startNum,omitempty"` - EndNum int64 `protobuf:"varint,2,opt,name=endNum,proto3" json:"endNum,omitempty"` + Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` } -func (x *BlockLimit) Reset() { - *x = BlockLimit{} +func (x *NodeList) Reset() { + *x = NodeList{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1079,13 +1078,13 @@ func (x *BlockLimit) Reset() { } } -func (x *BlockLimit) String() string { +func (x *NodeList) String() string { return protoimpl.X.MessageStringOf(x) } -func (*BlockLimit) ProtoMessage() {} +func (*NodeList) ProtoMessage() {} -func (x *BlockLimit) ProtoReflect() protoreflect.Message { +func (x *NodeList) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1097,36 +1096,29 @@ func (x *BlockLimit) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use BlockLimit.ProtoReflect.Descriptor instead. -func (*BlockLimit) Descriptor() ([]byte, []int) { +// Deprecated: Use NodeList.ProtoReflect.Descriptor instead. +func (*NodeList) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{17} } -func (x *BlockLimit) GetStartNum() int64 { - if x != nil { - return x.StartNum - } - return 0 -} - -func (x *BlockLimit) GetEndNum() int64 { +func (x *NodeList) GetNodes() []*Node { if x != nil { - return x.EndNum + return x.Nodes } - return 0 + return nil } -type TransactionLimit struct { +// Gossip node +type Node struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TransactionId []byte `protobuf:"bytes,1,opt,name=transactionId,proto3" json:"transactionId,omitempty"` - LimitNum int64 `protobuf:"varint,2,opt,name=limitNum,proto3" json:"limitNum,omitempty"` + Address *Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` } -func (x *TransactionLimit) Reset() { - *x = TransactionLimit{} +func (x *Node) Reset() { + *x = Node{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1134,13 +1126,13 @@ func (x *TransactionLimit) Reset() { } } -func (x *TransactionLimit) String() string { +func (x *Node) String() string { return protoimpl.X.MessageStringOf(x) } -func (*TransactionLimit) ProtoMessage() {} +func (*Node) ProtoMessage() {} -func (x *TransactionLimit) ProtoReflect() protoreflect.Message { +func (x *Node) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1152,37 +1144,30 @@ func (x *TransactionLimit) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use TransactionLimit.ProtoReflect.Descriptor instead. -func (*TransactionLimit) Descriptor() ([]byte, []int) { +// Deprecated: Use Node.ProtoReflect.Descriptor instead. +func (*Node) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{18} } -func (x *TransactionLimit) GetTransactionId() []byte { +func (x *Node) GetAddress() *Address { if x != nil { - return x.TransactionId + return x.Address } return nil } -func (x *TransactionLimit) GetLimitNum() int64 { - if x != nil { - return x.LimitNum - } - return 0 -} - -type AccountPaginated struct { +// Gossip node address +type Address struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Account *core.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` - Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` - Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` + Host []byte `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` + Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` } -func (x *AccountPaginated) Reset() { - *x = AccountPaginated{} +func (x *Address) Reset() { + *x = Address{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1190,13 +1175,13 @@ func (x *AccountPaginated) Reset() { } } -func (x *AccountPaginated) String() string { +func (x *Address) String() string { return protoimpl.X.MessageStringOf(x) } -func (*AccountPaginated) ProtoMessage() {} +func (*Address) ProtoMessage() {} -func (x *AccountPaginated) ProtoReflect() protoreflect.Message { +func (x *Address) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1208,44 +1193,33 @@ func (x *AccountPaginated) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use AccountPaginated.ProtoReflect.Descriptor instead. -func (*AccountPaginated) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{19} +// Deprecated: Use Address.ProtoReflect.Descriptor instead. +func (*Address) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{19} } -func (x *AccountPaginated) GetAccount() *core.Account { +func (x *Address) GetHost() []byte { if x != nil { - return x.Account + return x.Host } return nil } -func (x *AccountPaginated) GetOffset() int64 { - if x != nil { - return x.Offset - } - return 0 -} - -func (x *AccountPaginated) GetLimit() int64 { +func (x *Address) GetPort() int32 { if x != nil { - return x.Limit + return x.Port } return 0 } -type TimePaginatedMessage struct { +type EmptyMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - TimeMessage *TimeMessage `protobuf:"bytes,1,opt,name=timeMessage,proto3" json:"timeMessage,omitempty"` - Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` - Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` } -func (x *TimePaginatedMessage) Reset() { - *x = TimePaginatedMessage{} +func (x *EmptyMessage) Reset() { + *x = EmptyMessage{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1253,13 +1227,13 @@ func (x *TimePaginatedMessage) Reset() { } } -func (x *TimePaginatedMessage) String() string { +func (x *EmptyMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*TimePaginatedMessage) ProtoMessage() {} +func (*EmptyMessage) ProtoMessage() {} -func (x *TimePaginatedMessage) ProtoReflect() protoreflect.Message { +func (x *EmptyMessage) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1271,50 +1245,21 @@ func (x *TimePaginatedMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use TimePaginatedMessage.ProtoReflect.Descriptor instead. -func (*TimePaginatedMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use EmptyMessage.ProtoReflect.Descriptor instead. +func (*EmptyMessage) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{20} } -func (x *TimePaginatedMessage) GetTimeMessage() *TimeMessage { - if x != nil { - return x.TimeMessage - } - return nil -} - -func (x *TimePaginatedMessage) GetOffset() int64 { - if x != nil { - return x.Offset - } - return 0 -} - -func (x *TimePaginatedMessage) GetLimit() int64 { - if x != nil { - return x.Limit - } - return 0 -} - -//deprecated -type AccountNetMessage struct { +type NumberMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - FreeNetUsed int64 `protobuf:"varint,1,opt,name=freeNetUsed,proto3" json:"freeNetUsed,omitempty"` - FreeNetLimit int64 `protobuf:"varint,2,opt,name=freeNetLimit,proto3" json:"freeNetLimit,omitempty"` - NetUsed int64 `protobuf:"varint,3,opt,name=NetUsed,proto3" json:"NetUsed,omitempty"` - NetLimit int64 `protobuf:"varint,4,opt,name=NetLimit,proto3" json:"NetLimit,omitempty"` - AssetNetUsed map[string]int64 `protobuf:"bytes,5,rep,name=assetNetUsed,proto3" json:"assetNetUsed,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - AssetNetLimit map[string]int64 `protobuf:"bytes,6,rep,name=assetNetLimit,proto3" json:"assetNetLimit,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - TotalNetLimit int64 `protobuf:"varint,7,opt,name=TotalNetLimit,proto3" json:"TotalNetLimit,omitempty"` - TotalNetWeight int64 `protobuf:"varint,8,opt,name=TotalNetWeight,proto3" json:"TotalNetWeight,omitempty"` + Num int64 `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"` } -func (x *AccountNetMessage) Reset() { - *x = AccountNetMessage{} +func (x *NumberMessage) Reset() { + *x = NumberMessage{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1322,13 +1267,13 @@ func (x *AccountNetMessage) Reset() { } } -func (x *AccountNetMessage) String() string { +func (x *NumberMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*AccountNetMessage) ProtoMessage() {} +func (*NumberMessage) ProtoMessage() {} -func (x *AccountNetMessage) ProtoReflect() protoreflect.Message { +func (x *NumberMessage) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1340,105 +1285,91 @@ func (x *AccountNetMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use AccountNetMessage.ProtoReflect.Descriptor instead. -func (*AccountNetMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use NumberMessage.ProtoReflect.Descriptor instead. +func (*NumberMessage) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{21} } -func (x *AccountNetMessage) GetFreeNetUsed() int64 { +func (x *NumberMessage) GetNum() int64 { if x != nil { - return x.FreeNetUsed + return x.Num } return 0 } -func (x *AccountNetMessage) GetFreeNetLimit() int64 { - if x != nil { - return x.FreeNetLimit - } - return 0 -} +type BytesMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (x *AccountNetMessage) GetNetUsed() int64 { - if x != nil { - return x.NetUsed - } - return 0 + Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` } -func (x *AccountNetMessage) GetNetLimit() int64 { - if x != nil { - return x.NetLimit +func (x *BytesMessage) Reset() { + *x = BytesMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return 0 } -func (x *AccountNetMessage) GetAssetNetUsed() map[string]int64 { - if x != nil { - return x.AssetNetUsed - } - return nil +func (x *BytesMessage) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *AccountNetMessage) GetAssetNetLimit() map[string]int64 { - if x != nil { - return x.AssetNetLimit +func (*BytesMessage) ProtoMessage() {} + +func (x *BytesMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (x *AccountNetMessage) GetTotalNetLimit() int64 { - if x != nil { - return x.TotalNetLimit - } - return 0 +// Deprecated: Use BytesMessage.ProtoReflect.Descriptor instead. +func (*BytesMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{22} } -func (x *AccountNetMessage) GetTotalNetWeight() int64 { +func (x *BytesMessage) GetValue() []byte { if x != nil { - return x.TotalNetWeight + return x.Value } - return 0 + return nil } -type AccountResourceMessage struct { +type TimeMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - FreeNetUsed int64 `protobuf:"varint,1,opt,name=freeNetUsed,proto3" json:"freeNetUsed,omitempty"` - FreeNetLimit int64 `protobuf:"varint,2,opt,name=freeNetLimit,proto3" json:"freeNetLimit,omitempty"` - NetUsed int64 `protobuf:"varint,3,opt,name=NetUsed,proto3" json:"NetUsed,omitempty"` - NetLimit int64 `protobuf:"varint,4,opt,name=NetLimit,proto3" json:"NetLimit,omitempty"` - AssetNetUsed map[string]int64 `protobuf:"bytes,5,rep,name=assetNetUsed,proto3" json:"assetNetUsed,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - AssetNetLimit map[string]int64 `protobuf:"bytes,6,rep,name=assetNetLimit,proto3" json:"assetNetLimit,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - TotalNetLimit int64 `protobuf:"varint,7,opt,name=TotalNetLimit,proto3" json:"TotalNetLimit,omitempty"` - TotalNetWeight int64 `protobuf:"varint,8,opt,name=TotalNetWeight,proto3" json:"TotalNetWeight,omitempty"` - EnergyUsed int64 `protobuf:"varint,13,opt,name=EnergyUsed,proto3" json:"EnergyUsed,omitempty"` - EnergyLimit int64 `protobuf:"varint,14,opt,name=EnergyLimit,proto3" json:"EnergyLimit,omitempty"` - TotalEnergyLimit int64 `protobuf:"varint,15,opt,name=TotalEnergyLimit,proto3" json:"TotalEnergyLimit,omitempty"` - TotalEnergyWeight int64 `protobuf:"varint,16,opt,name=TotalEnergyWeight,proto3" json:"TotalEnergyWeight,omitempty"` - StorageUsed int64 `protobuf:"varint,21,opt,name=storageUsed,proto3" json:"storageUsed,omitempty"` - StorageLimit int64 `protobuf:"varint,22,opt,name=storageLimit,proto3" json:"storageLimit,omitempty"` + BeginInMilliseconds int64 `protobuf:"varint,1,opt,name=beginInMilliseconds,proto3" json:"beginInMilliseconds,omitempty"` + EndInMilliseconds int64 `protobuf:"varint,2,opt,name=endInMilliseconds,proto3" json:"endInMilliseconds,omitempty"` } -func (x *AccountResourceMessage) Reset() { - *x = AccountResourceMessage{} +func (x *TimeMessage) Reset() { + *x = TimeMessage{} if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[22] + mi := &file_api_api_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *AccountResourceMessage) String() string { +func (x *TimeMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*AccountResourceMessage) ProtoMessage() {} +func (*TimeMessage) ProtoMessage() {} -func (x *AccountResourceMessage) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[22] +func (x *TimeMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1449,135 +1380,106 @@ func (x *AccountResourceMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use AccountResourceMessage.ProtoReflect.Descriptor instead. -func (*AccountResourceMessage) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{22} +// Deprecated: Use TimeMessage.ProtoReflect.Descriptor instead. +func (*TimeMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{23} } -func (x *AccountResourceMessage) GetFreeNetUsed() int64 { +func (x *TimeMessage) GetBeginInMilliseconds() int64 { if x != nil { - return x.FreeNetUsed + return x.BeginInMilliseconds } return 0 } -func (x *AccountResourceMessage) GetFreeNetLimit() int64 { +func (x *TimeMessage) GetEndInMilliseconds() int64 { if x != nil { - return x.FreeNetLimit + return x.EndInMilliseconds } return 0 } -func (x *AccountResourceMessage) GetNetUsed() int64 { - if x != nil { - return x.NetUsed - } - return 0 +type BlockReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IdOrNum string `protobuf:"bytes,1,opt,name=id_or_num,json=idOrNum,proto3" json:"id_or_num,omitempty"` + Detail bool `protobuf:"varint,2,opt,name=detail,proto3" json:"detail,omitempty"` } -func (x *AccountResourceMessage) GetNetLimit() int64 { - if x != nil { - return x.NetLimit +func (x *BlockReq) Reset() { + *x = BlockReq{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return 0 } -func (x *AccountResourceMessage) GetAssetNetUsed() map[string]int64 { - if x != nil { - return x.AssetNetUsed - } - return nil +func (x *BlockReq) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *AccountResourceMessage) GetAssetNetLimit() map[string]int64 { - if x != nil { - return x.AssetNetLimit +func (*BlockReq) ProtoMessage() {} + +func (x *BlockReq) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (x *AccountResourceMessage) GetTotalNetLimit() int64 { - if x != nil { - return x.TotalNetLimit - } - return 0 +// Deprecated: Use BlockReq.ProtoReflect.Descriptor instead. +func (*BlockReq) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{24} } -func (x *AccountResourceMessage) GetTotalNetWeight() int64 { +func (x *BlockReq) GetIdOrNum() string { if x != nil { - return x.TotalNetWeight + return x.IdOrNum } - return 0 + return "" } -func (x *AccountResourceMessage) GetEnergyUsed() int64 { +func (x *BlockReq) GetDetail() bool { if x != nil { - return x.EnergyUsed + return x.Detail } - return 0 + return false } -func (x *AccountResourceMessage) GetEnergyLimit() int64 { - if x != nil { - return x.EnergyLimit - } - return 0 +type BlockLimit struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StartNum int64 `protobuf:"varint,1,opt,name=startNum,proto3" json:"startNum,omitempty"` + EndNum int64 `protobuf:"varint,2,opt,name=endNum,proto3" json:"endNum,omitempty"` } -func (x *AccountResourceMessage) GetTotalEnergyLimit() int64 { - if x != nil { - return x.TotalEnergyLimit +func (x *BlockLimit) Reset() { + *x = BlockLimit{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return 0 } -func (x *AccountResourceMessage) GetTotalEnergyWeight() int64 { - if x != nil { - return x.TotalEnergyWeight - } - return 0 -} - -func (x *AccountResourceMessage) GetStorageUsed() int64 { - if x != nil { - return x.StorageUsed - } - return 0 -} - -func (x *AccountResourceMessage) GetStorageLimit() int64 { - if x != nil { - return x.StorageLimit - } - return 0 -} - -type PaginatedMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` - Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` -} - -func (x *PaginatedMessage) Reset() { - *x = PaginatedMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PaginatedMessage) String() string { +func (x *BlockLimit) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PaginatedMessage) ProtoMessage() {} +func (*BlockLimit) ProtoMessage() {} -func (x *PaginatedMessage) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[23] +func (x *BlockLimit) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1588,52 +1490,51 @@ func (x *PaginatedMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PaginatedMessage.ProtoReflect.Descriptor instead. -func (*PaginatedMessage) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{23} +// Deprecated: Use BlockLimit.ProtoReflect.Descriptor instead. +func (*BlockLimit) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{25} } -func (x *PaginatedMessage) GetOffset() int64 { +func (x *BlockLimit) GetStartNum() int64 { if x != nil { - return x.Offset + return x.StartNum } return 0 } -func (x *PaginatedMessage) GetLimit() int64 { +func (x *BlockLimit) GetEndNum() int64 { if x != nil { - return x.Limit + return x.EndNum } return 0 } -type EasyTransferMessage struct { +type TransactionLimit struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - PassPhrase []byte `protobuf:"bytes,1,opt,name=passPhrase,proto3" json:"passPhrase,omitempty"` - ToAddress []byte `protobuf:"bytes,2,opt,name=toAddress,proto3" json:"toAddress,omitempty"` - Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` + TransactionId []byte `protobuf:"bytes,1,opt,name=transactionId,proto3" json:"transactionId,omitempty"` + LimitNum int64 `protobuf:"varint,2,opt,name=limitNum,proto3" json:"limitNum,omitempty"` } -func (x *EasyTransferMessage) Reset() { - *x = EasyTransferMessage{} +func (x *TransactionLimit) Reset() { + *x = TransactionLimit{} if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[24] + mi := &file_api_api_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *EasyTransferMessage) String() string { +func (x *TransactionLimit) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EasyTransferMessage) ProtoMessage() {} +func (*TransactionLimit) ProtoMessage() {} -func (x *EasyTransferMessage) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[24] +func (x *TransactionLimit) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1644,60 +1545,52 @@ func (x *EasyTransferMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use EasyTransferMessage.ProtoReflect.Descriptor instead. -func (*EasyTransferMessage) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{24} -} - -func (x *EasyTransferMessage) GetPassPhrase() []byte { - if x != nil { - return x.PassPhrase - } - return nil +// Deprecated: Use TransactionLimit.ProtoReflect.Descriptor instead. +func (*TransactionLimit) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{26} } -func (x *EasyTransferMessage) GetToAddress() []byte { +func (x *TransactionLimit) GetTransactionId() []byte { if x != nil { - return x.ToAddress + return x.TransactionId } return nil } -func (x *EasyTransferMessage) GetAmount() int64 { +func (x *TransactionLimit) GetLimitNum() int64 { if x != nil { - return x.Amount + return x.LimitNum } return 0 } -type EasyTransferAssetMessage struct { +type AccountPaginated struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - PassPhrase []byte `protobuf:"bytes,1,opt,name=passPhrase,proto3" json:"passPhrase,omitempty"` - ToAddress []byte `protobuf:"bytes,2,opt,name=toAddress,proto3" json:"toAddress,omitempty"` - AssetId string `protobuf:"bytes,3,opt,name=assetId,proto3" json:"assetId,omitempty"` - Amount int64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` + Account *core.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` + Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` + Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` } -func (x *EasyTransferAssetMessage) Reset() { - *x = EasyTransferAssetMessage{} +func (x *AccountPaginated) Reset() { + *x = AccountPaginated{} if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[25] + mi := &file_api_api_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *EasyTransferAssetMessage) String() string { +func (x *AccountPaginated) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EasyTransferAssetMessage) ProtoMessage() {} +func (*AccountPaginated) ProtoMessage() {} -func (x *EasyTransferAssetMessage) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[25] +func (x *AccountPaginated) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1708,66 +1601,59 @@ func (x *EasyTransferAssetMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use EasyTransferAssetMessage.ProtoReflect.Descriptor instead. -func (*EasyTransferAssetMessage) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{25} -} - -func (x *EasyTransferAssetMessage) GetPassPhrase() []byte { - if x != nil { - return x.PassPhrase - } - return nil +// Deprecated: Use AccountPaginated.ProtoReflect.Descriptor instead. +func (*AccountPaginated) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{27} } -func (x *EasyTransferAssetMessage) GetToAddress() []byte { +func (x *AccountPaginated) GetAccount() *core.Account { if x != nil { - return x.ToAddress + return x.Account } return nil } -func (x *EasyTransferAssetMessage) GetAssetId() string { +func (x *AccountPaginated) GetOffset() int64 { if x != nil { - return x.AssetId + return x.Offset } - return "" + return 0 } -func (x *EasyTransferAssetMessage) GetAmount() int64 { +func (x *AccountPaginated) GetLimit() int64 { if x != nil { - return x.Amount + return x.Limit } return 0 } -type EasyTransferByPrivateMessage struct { +type TimePaginatedMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - PrivateKey []byte `protobuf:"bytes,1,opt,name=privateKey,proto3" json:"privateKey,omitempty"` - ToAddress []byte `protobuf:"bytes,2,opt,name=toAddress,proto3" json:"toAddress,omitempty"` - Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` + TimeMessage *TimeMessage `protobuf:"bytes,1,opt,name=timeMessage,proto3" json:"timeMessage,omitempty"` + Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` + Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` } -func (x *EasyTransferByPrivateMessage) Reset() { - *x = EasyTransferByPrivateMessage{} +func (x *TimePaginatedMessage) Reset() { + *x = TimePaginatedMessage{} if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[26] + mi := &file_api_api_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *EasyTransferByPrivateMessage) String() string { +func (x *TimePaginatedMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EasyTransferByPrivateMessage) ProtoMessage() {} +func (*TimePaginatedMessage) ProtoMessage() {} -func (x *EasyTransferByPrivateMessage) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[26] +func (x *TimePaginatedMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1778,60 +1664,65 @@ func (x *EasyTransferByPrivateMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use EasyTransferByPrivateMessage.ProtoReflect.Descriptor instead. -func (*EasyTransferByPrivateMessage) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{26} +// Deprecated: Use TimePaginatedMessage.ProtoReflect.Descriptor instead. +func (*TimePaginatedMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{28} } -func (x *EasyTransferByPrivateMessage) GetPrivateKey() []byte { +func (x *TimePaginatedMessage) GetTimeMessage() *TimeMessage { if x != nil { - return x.PrivateKey + return x.TimeMessage } return nil } -func (x *EasyTransferByPrivateMessage) GetToAddress() []byte { +func (x *TimePaginatedMessage) GetOffset() int64 { if x != nil { - return x.ToAddress + return x.Offset } - return nil + return 0 } -func (x *EasyTransferByPrivateMessage) GetAmount() int64 { +func (x *TimePaginatedMessage) GetLimit() int64 { if x != nil { - return x.Amount + return x.Limit } return 0 } -type EasyTransferAssetByPrivateMessage struct { +//deprecated +type AccountNetMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - PrivateKey []byte `protobuf:"bytes,1,opt,name=privateKey,proto3" json:"privateKey,omitempty"` - ToAddress []byte `protobuf:"bytes,2,opt,name=toAddress,proto3" json:"toAddress,omitempty"` - AssetId string `protobuf:"bytes,3,opt,name=assetId,proto3" json:"assetId,omitempty"` - Amount int64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` + FreeNetUsed int64 `protobuf:"varint,1,opt,name=freeNetUsed,proto3" json:"freeNetUsed,omitempty"` + FreeNetLimit int64 `protobuf:"varint,2,opt,name=freeNetLimit,proto3" json:"freeNetLimit,omitempty"` + NetUsed int64 `protobuf:"varint,3,opt,name=NetUsed,proto3" json:"NetUsed,omitempty"` + NetLimit int64 `protobuf:"varint,4,opt,name=NetLimit,proto3" json:"NetLimit,omitempty"` + AssetNetUsed map[string]int64 `protobuf:"bytes,5,rep,name=assetNetUsed,proto3" json:"assetNetUsed,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + AssetNetLimit map[string]int64 `protobuf:"bytes,6,rep,name=assetNetLimit,proto3" json:"assetNetLimit,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + TotalNetLimit int64 `protobuf:"varint,7,opt,name=TotalNetLimit,proto3" json:"TotalNetLimit,omitempty"` + TotalNetWeight int64 `protobuf:"varint,8,opt,name=TotalNetWeight,proto3" json:"TotalNetWeight,omitempty"` } -func (x *EasyTransferAssetByPrivateMessage) Reset() { - *x = EasyTransferAssetByPrivateMessage{} +func (x *AccountNetMessage) Reset() { + *x = AccountNetMessage{} if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[27] + mi := &file_api_api_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *EasyTransferAssetByPrivateMessage) String() string { +func (x *AccountNetMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EasyTransferAssetByPrivateMessage) ProtoMessage() {} +func (*AccountNetMessage) ProtoMessage() {} -func (x *EasyTransferAssetByPrivateMessage) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[27] +func (x *AccountNetMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1842,128 +1733,108 @@ func (x *EasyTransferAssetByPrivateMessage) ProtoReflect() protoreflect.Message return mi.MessageOf(x) } -// Deprecated: Use EasyTransferAssetByPrivateMessage.ProtoReflect.Descriptor instead. -func (*EasyTransferAssetByPrivateMessage) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{27} +// Deprecated: Use AccountNetMessage.ProtoReflect.Descriptor instead. +func (*AccountNetMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{29} } -func (x *EasyTransferAssetByPrivateMessage) GetPrivateKey() []byte { +func (x *AccountNetMessage) GetFreeNetUsed() int64 { if x != nil { - return x.PrivateKey + return x.FreeNetUsed } - return nil + return 0 } -func (x *EasyTransferAssetByPrivateMessage) GetToAddress() []byte { +func (x *AccountNetMessage) GetFreeNetLimit() int64 { if x != nil { - return x.ToAddress + return x.FreeNetLimit } - return nil + return 0 } -func (x *EasyTransferAssetByPrivateMessage) GetAssetId() string { +func (x *AccountNetMessage) GetNetUsed() int64 { if x != nil { - return x.AssetId + return x.NetUsed } - return "" + return 0 } -func (x *EasyTransferAssetByPrivateMessage) GetAmount() int64 { +func (x *AccountNetMessage) GetNetLimit() int64 { if x != nil { - return x.Amount + return x.NetLimit } return 0 } -type EasyTransferResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Transaction *core.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` - Result *Return `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - Txid []byte `protobuf:"bytes,3,opt,name=txid,proto3" json:"txid,omitempty"` //transaction id = sha256(transaction.raw_data) -} - -func (x *EasyTransferResponse) Reset() { - *x = EasyTransferResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *EasyTransferResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EasyTransferResponse) ProtoMessage() {} - -func (x *EasyTransferResponse) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *AccountNetMessage) GetAssetNetUsed() map[string]int64 { + if x != nil { + return x.AssetNetUsed } - return mi.MessageOf(x) -} - -// Deprecated: Use EasyTransferResponse.ProtoReflect.Descriptor instead. -func (*EasyTransferResponse) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{28} + return nil } -func (x *EasyTransferResponse) GetTransaction() *core.Transaction { +func (x *AccountNetMessage) GetAssetNetLimit() map[string]int64 { if x != nil { - return x.Transaction + return x.AssetNetLimit } return nil } -func (x *EasyTransferResponse) GetResult() *Return { +func (x *AccountNetMessage) GetTotalNetLimit() int64 { if x != nil { - return x.Result + return x.TotalNetLimit } - return nil + return 0 } -func (x *EasyTransferResponse) GetTxid() []byte { +func (x *AccountNetMessage) GetTotalNetWeight() int64 { if x != nil { - return x.Txid + return x.TotalNetWeight } - return nil + return 0 } -type AddressPrKeyPairMessage struct { +type AccountResourceMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - PrivateKey string `protobuf:"bytes,2,opt,name=privateKey,proto3" json:"privateKey,omitempty"` + FreeNetUsed int64 `protobuf:"varint,1,opt,name=freeNetUsed,proto3" json:"freeNetUsed,omitempty"` + FreeNetLimit int64 `protobuf:"varint,2,opt,name=freeNetLimit,proto3" json:"freeNetLimit,omitempty"` + NetUsed int64 `protobuf:"varint,3,opt,name=NetUsed,proto3" json:"NetUsed,omitempty"` + NetLimit int64 `protobuf:"varint,4,opt,name=NetLimit,proto3" json:"NetLimit,omitempty"` + AssetNetUsed map[string]int64 `protobuf:"bytes,5,rep,name=assetNetUsed,proto3" json:"assetNetUsed,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + AssetNetLimit map[string]int64 `protobuf:"bytes,6,rep,name=assetNetLimit,proto3" json:"assetNetLimit,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + TotalNetLimit int64 `protobuf:"varint,7,opt,name=TotalNetLimit,proto3" json:"TotalNetLimit,omitempty"` + TotalNetWeight int64 `protobuf:"varint,8,opt,name=TotalNetWeight,proto3" json:"TotalNetWeight,omitempty"` + TotalTronPowerWeight int64 `protobuf:"varint,9,opt,name=TotalTronPowerWeight,proto3" json:"TotalTronPowerWeight,omitempty"` + TronPowerUsed int64 `protobuf:"varint,10,opt,name=tronPowerUsed,proto3" json:"tronPowerUsed,omitempty"` + TronPowerLimit int64 `protobuf:"varint,11,opt,name=tronPowerLimit,proto3" json:"tronPowerLimit,omitempty"` + EnergyUsed int64 `protobuf:"varint,13,opt,name=EnergyUsed,proto3" json:"EnergyUsed,omitempty"` + EnergyLimit int64 `protobuf:"varint,14,opt,name=EnergyLimit,proto3" json:"EnergyLimit,omitempty"` + TotalEnergyLimit int64 `protobuf:"varint,15,opt,name=TotalEnergyLimit,proto3" json:"TotalEnergyLimit,omitempty"` + TotalEnergyWeight int64 `protobuf:"varint,16,opt,name=TotalEnergyWeight,proto3" json:"TotalEnergyWeight,omitempty"` + StorageUsed int64 `protobuf:"varint,21,opt,name=storageUsed,proto3" json:"storageUsed,omitempty"` + StorageLimit int64 `protobuf:"varint,22,opt,name=storageLimit,proto3" json:"storageLimit,omitempty"` } -func (x *AddressPrKeyPairMessage) Reset() { - *x = AddressPrKeyPairMessage{} +func (x *AccountResourceMessage) Reset() { + *x = AccountResourceMessage{} if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[29] + mi := &file_api_api_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *AddressPrKeyPairMessage) String() string { +func (x *AccountResourceMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*AddressPrKeyPairMessage) ProtoMessage() {} +func (*AccountResourceMessage) ProtoMessage() {} -func (x *AddressPrKeyPairMessage) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[29] +func (x *AccountResourceMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1974,108 +1845,141 @@ func (x *AddressPrKeyPairMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use AddressPrKeyPairMessage.ProtoReflect.Descriptor instead. -func (*AddressPrKeyPairMessage) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{29} +// Deprecated: Use AccountResourceMessage.ProtoReflect.Descriptor instead. +func (*AccountResourceMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{30} } -func (x *AddressPrKeyPairMessage) GetAddress() string { +func (x *AccountResourceMessage) GetFreeNetUsed() int64 { if x != nil { - return x.Address + return x.FreeNetUsed } - return "" + return 0 } -func (x *AddressPrKeyPairMessage) GetPrivateKey() string { +func (x *AccountResourceMessage) GetFreeNetLimit() int64 { if x != nil { - return x.PrivateKey + return x.FreeNetLimit } - return "" + return 0 } -type TransactionExtention struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (x *AccountResourceMessage) GetNetUsed() int64 { + if x != nil { + return x.NetUsed + } + return 0 +} - Transaction *core.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` - Txid []byte `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"` //transaction id = sha256(transaction.raw_data) - ConstantResult [][]byte `protobuf:"bytes,3,rep,name=constant_result,json=constantResult,proto3" json:"constant_result,omitempty"` - Result *Return `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` +func (x *AccountResourceMessage) GetNetLimit() int64 { + if x != nil { + return x.NetLimit + } + return 0 } -func (x *TransactionExtention) Reset() { - *x = TransactionExtention{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *AccountResourceMessage) GetAssetNetUsed() map[string]int64 { + if x != nil { + return x.AssetNetUsed } + return nil } -func (x *TransactionExtention) String() string { - return protoimpl.X.MessageStringOf(x) +func (x *AccountResourceMessage) GetAssetNetLimit() map[string]int64 { + if x != nil { + return x.AssetNetLimit + } + return nil } -func (*TransactionExtention) ProtoMessage() {} +func (x *AccountResourceMessage) GetTotalNetLimit() int64 { + if x != nil { + return x.TotalNetLimit + } + return 0 +} -func (x *TransactionExtention) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *AccountResourceMessage) GetTotalNetWeight() int64 { + if x != nil { + return x.TotalNetWeight } - return mi.MessageOf(x) + return 0 } -// Deprecated: Use TransactionExtention.ProtoReflect.Descriptor instead. -func (*TransactionExtention) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{30} +func (x *AccountResourceMessage) GetTotalTronPowerWeight() int64 { + if x != nil { + return x.TotalTronPowerWeight + } + return 0 } -func (x *TransactionExtention) GetTransaction() *core.Transaction { +func (x *AccountResourceMessage) GetTronPowerUsed() int64 { if x != nil { - return x.Transaction + return x.TronPowerUsed } - return nil + return 0 } -func (x *TransactionExtention) GetTxid() []byte { +func (x *AccountResourceMessage) GetTronPowerLimit() int64 { if x != nil { - return x.Txid + return x.TronPowerLimit } - return nil + return 0 } -func (x *TransactionExtention) GetConstantResult() [][]byte { +func (x *AccountResourceMessage) GetEnergyUsed() int64 { if x != nil { - return x.ConstantResult + return x.EnergyUsed } - return nil + return 0 } -func (x *TransactionExtention) GetResult() *Return { +func (x *AccountResourceMessage) GetEnergyLimit() int64 { if x != nil { - return x.Result + return x.EnergyLimit } - return nil + return 0 } -type BlockExtention struct { +func (x *AccountResourceMessage) GetTotalEnergyLimit() int64 { + if x != nil { + return x.TotalEnergyLimit + } + return 0 +} + +func (x *AccountResourceMessage) GetTotalEnergyWeight() int64 { + if x != nil { + return x.TotalEnergyWeight + } + return 0 +} + +func (x *AccountResourceMessage) GetStorageUsed() int64 { + if x != nil { + return x.StorageUsed + } + return 0 +} + +func (x *AccountResourceMessage) GetStorageLimit() int64 { + if x != nil { + return x.StorageLimit + } + return 0 +} + +type PaginatedMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Transactions []*TransactionExtention `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` - BlockHeader *core.BlockHeader `protobuf:"bytes,2,opt,name=block_header,json=blockHeader,proto3" json:"block_header,omitempty"` - Blockid []byte `protobuf:"bytes,3,opt,name=blockid,proto3" json:"blockid,omitempty"` + Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` + Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` } -func (x *BlockExtention) Reset() { - *x = BlockExtention{} +func (x *PaginatedMessage) Reset() { + *x = PaginatedMessage{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2083,13 +1987,13 @@ func (x *BlockExtention) Reset() { } } -func (x *BlockExtention) String() string { +func (x *PaginatedMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*BlockExtention) ProtoMessage() {} +func (*PaginatedMessage) ProtoMessage() {} -func (x *BlockExtention) ProtoReflect() protoreflect.Message { +func (x *PaginatedMessage) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2101,42 +2005,37 @@ func (x *BlockExtention) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use BlockExtention.ProtoReflect.Descriptor instead. -func (*BlockExtention) Descriptor() ([]byte, []int) { +// Deprecated: Use PaginatedMessage.ProtoReflect.Descriptor instead. +func (*PaginatedMessage) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{31} } -func (x *BlockExtention) GetTransactions() []*TransactionExtention { - if x != nil { - return x.Transactions - } - return nil -} - -func (x *BlockExtention) GetBlockHeader() *core.BlockHeader { +func (x *PaginatedMessage) GetOffset() int64 { if x != nil { - return x.BlockHeader + return x.Offset } - return nil + return 0 } -func (x *BlockExtention) GetBlockid() []byte { +func (x *PaginatedMessage) GetLimit() int64 { if x != nil { - return x.Blockid + return x.Limit } - return nil + return 0 } -type BlockListExtention struct { +type EasyTransferMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Block []*BlockExtention `protobuf:"bytes,1,rep,name=block,proto3" json:"block,omitempty"` + PassPhrase []byte `protobuf:"bytes,1,opt,name=passPhrase,proto3" json:"passPhrase,omitempty"` + ToAddress []byte `protobuf:"bytes,2,opt,name=toAddress,proto3" json:"toAddress,omitempty"` + Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` } -func (x *BlockListExtention) Reset() { - *x = BlockListExtention{} +func (x *EasyTransferMessage) Reset() { + *x = EasyTransferMessage{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2144,13 +2043,13 @@ func (x *BlockListExtention) Reset() { } } -func (x *BlockListExtention) String() string { +func (x *EasyTransferMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*BlockListExtention) ProtoMessage() {} +func (*EasyTransferMessage) ProtoMessage() {} -func (x *BlockListExtention) ProtoReflect() protoreflect.Message { +func (x *EasyTransferMessage) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2162,28 +2061,45 @@ func (x *BlockListExtention) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use BlockListExtention.ProtoReflect.Descriptor instead. -func (*BlockListExtention) Descriptor() ([]byte, []int) { +// Deprecated: Use EasyTransferMessage.ProtoReflect.Descriptor instead. +func (*EasyTransferMessage) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{32} } -func (x *BlockListExtention) GetBlock() []*BlockExtention { +func (x *EasyTransferMessage) GetPassPhrase() []byte { if x != nil { - return x.Block + return x.PassPhrase } return nil } -type TransactionListExtention struct { +func (x *EasyTransferMessage) GetToAddress() []byte { + if x != nil { + return x.ToAddress + } + return nil +} + +func (x *EasyTransferMessage) GetAmount() int64 { + if x != nil { + return x.Amount + } + return 0 +} + +type EasyTransferAssetMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Transaction []*TransactionExtention `protobuf:"bytes,1,rep,name=transaction,proto3" json:"transaction,omitempty"` + PassPhrase []byte `protobuf:"bytes,1,opt,name=passPhrase,proto3" json:"passPhrase,omitempty"` + ToAddress []byte `protobuf:"bytes,2,opt,name=toAddress,proto3" json:"toAddress,omitempty"` + AssetId string `protobuf:"bytes,3,opt,name=assetId,proto3" json:"assetId,omitempty"` + Amount int64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` } -func (x *TransactionListExtention) Reset() { - *x = TransactionListExtention{} +func (x *EasyTransferAssetMessage) Reset() { + *x = EasyTransferAssetMessage{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2191,13 +2107,13 @@ func (x *TransactionListExtention) Reset() { } } -func (x *TransactionListExtention) String() string { +func (x *EasyTransferAssetMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*TransactionListExtention) ProtoMessage() {} +func (*EasyTransferAssetMessage) ProtoMessage() {} -func (x *TransactionListExtention) ProtoReflect() protoreflect.Message { +func (x *EasyTransferAssetMessage) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2209,29 +2125,51 @@ func (x *TransactionListExtention) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use TransactionListExtention.ProtoReflect.Descriptor instead. -func (*TransactionListExtention) Descriptor() ([]byte, []int) { +// Deprecated: Use EasyTransferAssetMessage.ProtoReflect.Descriptor instead. +func (*EasyTransferAssetMessage) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{33} } -func (x *TransactionListExtention) GetTransaction() []*TransactionExtention { +func (x *EasyTransferAssetMessage) GetPassPhrase() []byte { if x != nil { - return x.Transaction + return x.PassPhrase } return nil } -type BlockIncrementalMerkleTree struct { +func (x *EasyTransferAssetMessage) GetToAddress() []byte { + if x != nil { + return x.ToAddress + } + return nil +} + +func (x *EasyTransferAssetMessage) GetAssetId() string { + if x != nil { + return x.AssetId + } + return "" +} + +func (x *EasyTransferAssetMessage) GetAmount() int64 { + if x != nil { + return x.Amount + } + return 0 +} + +type EasyTransferByPrivateMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Number int64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` - MerkleTree *core.IncrementalMerkleTree `protobuf:"bytes,2,opt,name=merkleTree,proto3" json:"merkleTree,omitempty"` + PrivateKey []byte `protobuf:"bytes,1,opt,name=privateKey,proto3" json:"privateKey,omitempty"` + ToAddress []byte `protobuf:"bytes,2,opt,name=toAddress,proto3" json:"toAddress,omitempty"` + Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` } -func (x *BlockIncrementalMerkleTree) Reset() { - *x = BlockIncrementalMerkleTree{} +func (x *EasyTransferByPrivateMessage) Reset() { + *x = EasyTransferByPrivateMessage{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2239,13 +2177,13 @@ func (x *BlockIncrementalMerkleTree) Reset() { } } -func (x *BlockIncrementalMerkleTree) String() string { +func (x *EasyTransferByPrivateMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*BlockIncrementalMerkleTree) ProtoMessage() {} +func (*EasyTransferByPrivateMessage) ProtoMessage() {} -func (x *BlockIncrementalMerkleTree) ProtoReflect() protoreflect.Message { +func (x *EasyTransferByPrivateMessage) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2257,39 +2195,45 @@ func (x *BlockIncrementalMerkleTree) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use BlockIncrementalMerkleTree.ProtoReflect.Descriptor instead. -func (*BlockIncrementalMerkleTree) Descriptor() ([]byte, []int) { +// Deprecated: Use EasyTransferByPrivateMessage.ProtoReflect.Descriptor instead. +func (*EasyTransferByPrivateMessage) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{34} } -func (x *BlockIncrementalMerkleTree) GetNumber() int64 { +func (x *EasyTransferByPrivateMessage) GetPrivateKey() []byte { if x != nil { - return x.Number + return x.PrivateKey } - return 0 + return nil } -func (x *BlockIncrementalMerkleTree) GetMerkleTree() *core.IncrementalMerkleTree { +func (x *EasyTransferByPrivateMessage) GetToAddress() []byte { if x != nil { - return x.MerkleTree + return x.ToAddress } return nil } -type TransactionSignWeight struct { +func (x *EasyTransferByPrivateMessage) GetAmount() int64 { + if x != nil { + return x.Amount + } + return 0 +} + +type EasyTransferAssetByPrivateMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Permission *core.Permission `protobuf:"bytes,1,opt,name=permission,proto3" json:"permission,omitempty"` - ApprovedList [][]byte `protobuf:"bytes,2,rep,name=approved_list,json=approvedList,proto3" json:"approved_list,omitempty"` - CurrentWeight int64 `protobuf:"varint,3,opt,name=current_weight,json=currentWeight,proto3" json:"current_weight,omitempty"` - Result *TransactionSignWeight_Result `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` - Transaction *TransactionExtention `protobuf:"bytes,5,opt,name=transaction,proto3" json:"transaction,omitempty"` + PrivateKey []byte `protobuf:"bytes,1,opt,name=privateKey,proto3" json:"privateKey,omitempty"` + ToAddress []byte `protobuf:"bytes,2,opt,name=toAddress,proto3" json:"toAddress,omitempty"` + AssetId string `protobuf:"bytes,3,opt,name=assetId,proto3" json:"assetId,omitempty"` + Amount int64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` } -func (x *TransactionSignWeight) Reset() { - *x = TransactionSignWeight{} +func (x *EasyTransferAssetByPrivateMessage) Reset() { + *x = EasyTransferAssetByPrivateMessage{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2297,13 +2241,13 @@ func (x *TransactionSignWeight) Reset() { } } -func (x *TransactionSignWeight) String() string { +func (x *EasyTransferAssetByPrivateMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*TransactionSignWeight) ProtoMessage() {} +func (*EasyTransferAssetByPrivateMessage) ProtoMessage() {} -func (x *TransactionSignWeight) ProtoReflect() protoreflect.Message { +func (x *EasyTransferAssetByPrivateMessage) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2315,58 +2259,51 @@ func (x *TransactionSignWeight) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use TransactionSignWeight.ProtoReflect.Descriptor instead. -func (*TransactionSignWeight) Descriptor() ([]byte, []int) { +// Deprecated: Use EasyTransferAssetByPrivateMessage.ProtoReflect.Descriptor instead. +func (*EasyTransferAssetByPrivateMessage) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{35} } -func (x *TransactionSignWeight) GetPermission() *core.Permission { +func (x *EasyTransferAssetByPrivateMessage) GetPrivateKey() []byte { if x != nil { - return x.Permission + return x.PrivateKey } return nil } -func (x *TransactionSignWeight) GetApprovedList() [][]byte { +func (x *EasyTransferAssetByPrivateMessage) GetToAddress() []byte { if x != nil { - return x.ApprovedList + return x.ToAddress } return nil } -func (x *TransactionSignWeight) GetCurrentWeight() int64 { - if x != nil { - return x.CurrentWeight - } - return 0 -} - -func (x *TransactionSignWeight) GetResult() *TransactionSignWeight_Result { +func (x *EasyTransferAssetByPrivateMessage) GetAssetId() string { if x != nil { - return x.Result + return x.AssetId } - return nil + return "" } -func (x *TransactionSignWeight) GetTransaction() *TransactionExtention { +func (x *EasyTransferAssetByPrivateMessage) GetAmount() int64 { if x != nil { - return x.Transaction + return x.Amount } - return nil + return 0 } -type TransactionApprovedList struct { +type EasyTransferResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ApprovedList [][]byte `protobuf:"bytes,2,rep,name=approved_list,json=approvedList,proto3" json:"approved_list,omitempty"` - Result *TransactionApprovedList_Result `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` - Transaction *TransactionExtention `protobuf:"bytes,5,opt,name=transaction,proto3" json:"transaction,omitempty"` + Transaction *core.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` + Result *Return `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` + Txid []byte `protobuf:"bytes,3,opt,name=txid,proto3" json:"txid,omitempty"` //transaction id = sha256(transaction.rowdata) } -func (x *TransactionApprovedList) Reset() { - *x = TransactionApprovedList{} +func (x *EasyTransferResponse) Reset() { + *x = EasyTransferResponse{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2374,13 +2311,13 @@ func (x *TransactionApprovedList) Reset() { } } -func (x *TransactionApprovedList) String() string { +func (x *EasyTransferResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*TransactionApprovedList) ProtoMessage() {} +func (*EasyTransferResponse) ProtoMessage() {} -func (x *TransactionApprovedList) ProtoReflect() protoreflect.Message { +func (x *EasyTransferResponse) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2392,44 +2329,43 @@ func (x *TransactionApprovedList) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use TransactionApprovedList.ProtoReflect.Descriptor instead. -func (*TransactionApprovedList) Descriptor() ([]byte, []int) { +// Deprecated: Use EasyTransferResponse.ProtoReflect.Descriptor instead. +func (*EasyTransferResponse) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{36} } -func (x *TransactionApprovedList) GetApprovedList() [][]byte { +func (x *EasyTransferResponse) GetTransaction() *core.Transaction { if x != nil { - return x.ApprovedList + return x.Transaction } return nil } -func (x *TransactionApprovedList) GetResult() *TransactionApprovedList_Result { +func (x *EasyTransferResponse) GetResult() *Return { if x != nil { return x.Result } return nil } -func (x *TransactionApprovedList) GetTransaction() *TransactionExtention { +func (x *EasyTransferResponse) GetTxid() []byte { if x != nil { - return x.Transaction + return x.Txid } return nil } -type IvkDecryptParameters struct { +type AddressPrKeyPairMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` - EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` - Ivk []byte `protobuf:"bytes,3,opt,name=ivk,proto3" json:"ivk,omitempty"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + PrivateKey string `protobuf:"bytes,2,opt,name=privateKey,proto3" json:"privateKey,omitempty"` } -func (x *IvkDecryptParameters) Reset() { - *x = IvkDecryptParameters{} +func (x *AddressPrKeyPairMessage) Reset() { + *x = AddressPrKeyPairMessage{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2437,13 +2373,13 @@ func (x *IvkDecryptParameters) Reset() { } } -func (x *IvkDecryptParameters) String() string { +func (x *AddressPrKeyPairMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*IvkDecryptParameters) ProtoMessage() {} +func (*AddressPrKeyPairMessage) ProtoMessage() {} -func (x *IvkDecryptParameters) ProtoReflect() protoreflect.Message { +func (x *AddressPrKeyPairMessage) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2455,46 +2391,42 @@ func (x *IvkDecryptParameters) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use IvkDecryptParameters.ProtoReflect.Descriptor instead. -func (*IvkDecryptParameters) Descriptor() ([]byte, []int) { +// Deprecated: Use AddressPrKeyPairMessage.ProtoReflect.Descriptor instead. +func (*AddressPrKeyPairMessage) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{37} } -func (x *IvkDecryptParameters) GetStartBlockIndex() int64 { - if x != nil { - return x.StartBlockIndex - } - return 0 -} - -func (x *IvkDecryptParameters) GetEndBlockIndex() int64 { +func (x *AddressPrKeyPairMessage) GetAddress() string { if x != nil { - return x.EndBlockIndex + return x.Address } - return 0 + return "" } -func (x *IvkDecryptParameters) GetIvk() []byte { +func (x *AddressPrKeyPairMessage) GetPrivateKey() string { if x != nil { - return x.Ivk + return x.PrivateKey } - return nil + return "" } -type IvkDecryptAndMarkParameters struct { +type TransactionExtention struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` - EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` - Ivk []byte `protobuf:"bytes,5,opt,name=ivk,proto3" json:"ivk,omitempty"` - Ak []byte `protobuf:"bytes,3,opt,name=ak,proto3" json:"ak,omitempty"` - Nk []byte `protobuf:"bytes,4,opt,name=nk,proto3" json:"nk,omitempty"` + Transaction *core.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` + Txid []byte `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"` //transaction id = sha256(transaction.rowdata) + ConstantResult [][]byte `protobuf:"bytes,3,rep,name=constant_result,json=constantResult,proto3" json:"constant_result,omitempty"` + Result *Return `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` + EnergyUsed int64 `protobuf:"varint,5,opt,name=energy_used,json=energyUsed,proto3" json:"energy_used,omitempty"` + Logs []*core.TransactionInfo_Log `protobuf:"bytes,6,rep,name=logs,proto3" json:"logs,omitempty"` + InternalTransactions []*core.InternalTransaction `protobuf:"bytes,7,rep,name=internal_transactions,json=internalTransactions,proto3" json:"internal_transactions,omitempty"` + EnergyPenalty int64 `protobuf:"varint,8,opt,name=energy_penalty,json=energyPenalty,proto3" json:"energy_penalty,omitempty"` } -func (x *IvkDecryptAndMarkParameters) Reset() { - *x = IvkDecryptAndMarkParameters{} +func (x *TransactionExtention) Reset() { + *x = TransactionExtention{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2502,13 +2434,13 @@ func (x *IvkDecryptAndMarkParameters) Reset() { } } -func (x *IvkDecryptAndMarkParameters) String() string { +func (x *TransactionExtention) String() string { return protoimpl.X.MessageStringOf(x) } -func (*IvkDecryptAndMarkParameters) ProtoMessage() {} +func (*TransactionExtention) ProtoMessage() {} -func (x *IvkDecryptAndMarkParameters) ProtoReflect() protoreflect.Message { +func (x *TransactionExtention) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[38] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2520,58 +2452,78 @@ func (x *IvkDecryptAndMarkParameters) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use IvkDecryptAndMarkParameters.ProtoReflect.Descriptor instead. -func (*IvkDecryptAndMarkParameters) Descriptor() ([]byte, []int) { +// Deprecated: Use TransactionExtention.ProtoReflect.Descriptor instead. +func (*TransactionExtention) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{38} } -func (x *IvkDecryptAndMarkParameters) GetStartBlockIndex() int64 { +func (x *TransactionExtention) GetTransaction() *core.Transaction { if x != nil { - return x.StartBlockIndex + return x.Transaction } - return 0 + return nil } -func (x *IvkDecryptAndMarkParameters) GetEndBlockIndex() int64 { +func (x *TransactionExtention) GetTxid() []byte { if x != nil { - return x.EndBlockIndex + return x.Txid } - return 0 + return nil } -func (x *IvkDecryptAndMarkParameters) GetIvk() []byte { +func (x *TransactionExtention) GetConstantResult() [][]byte { if x != nil { - return x.Ivk + return x.ConstantResult } return nil } -func (x *IvkDecryptAndMarkParameters) GetAk() []byte { +func (x *TransactionExtention) GetResult() *Return { if x != nil { - return x.Ak + return x.Result } return nil } -func (x *IvkDecryptAndMarkParameters) GetNk() []byte { +func (x *TransactionExtention) GetEnergyUsed() int64 { if x != nil { - return x.Nk + return x.EnergyUsed + } + return 0 +} + +func (x *TransactionExtention) GetLogs() []*core.TransactionInfo_Log { + if x != nil { + return x.Logs } return nil } -type OvkDecryptParameters struct { +func (x *TransactionExtention) GetInternalTransactions() []*core.InternalTransaction { + if x != nil { + return x.InternalTransactions + } + return nil +} + +func (x *TransactionExtention) GetEnergyPenalty() int64 { + if x != nil { + return x.EnergyPenalty + } + return 0 +} + +type EstimateEnergyMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` - EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` - Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"` + Result *Return `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` + EnergyRequired int64 `protobuf:"varint,2,opt,name=energy_required,json=energyRequired,proto3" json:"energy_required,omitempty"` } -func (x *OvkDecryptParameters) Reset() { - *x = OvkDecryptParameters{} +func (x *EstimateEnergyMessage) Reset() { + *x = EstimateEnergyMessage{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2579,13 +2531,13 @@ func (x *OvkDecryptParameters) Reset() { } } -func (x *OvkDecryptParameters) String() string { +func (x *EstimateEnergyMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*OvkDecryptParameters) ProtoMessage() {} +func (*EstimateEnergyMessage) ProtoMessage() {} -func (x *OvkDecryptParameters) ProtoReflect() protoreflect.Message { +func (x *EstimateEnergyMessage) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2597,42 +2549,37 @@ func (x *OvkDecryptParameters) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use OvkDecryptParameters.ProtoReflect.Descriptor instead. -func (*OvkDecryptParameters) Descriptor() ([]byte, []int) { +// Deprecated: Use EstimateEnergyMessage.ProtoReflect.Descriptor instead. +func (*EstimateEnergyMessage) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{39} } -func (x *OvkDecryptParameters) GetStartBlockIndex() int64 { +func (x *EstimateEnergyMessage) GetResult() *Return { if x != nil { - return x.StartBlockIndex + return x.Result } - return 0 + return nil } -func (x *OvkDecryptParameters) GetEndBlockIndex() int64 { +func (x *EstimateEnergyMessage) GetEnergyRequired() int64 { if x != nil { - return x.EndBlockIndex + return x.EnergyRequired } return 0 } -func (x *OvkDecryptParameters) GetOvk() []byte { - if x != nil { - return x.Ovk - } - return nil -} - -type DecryptNotes struct { +type BlockExtention struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - NoteTxs []*DecryptNotes_NoteTx `protobuf:"bytes,1,rep,name=noteTxs,proto3" json:"noteTxs,omitempty"` + Transactions []*TransactionExtention `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` + BlockHeader *core.BlockHeader `protobuf:"bytes,2,opt,name=block_header,json=blockHeader,proto3" json:"block_header,omitempty"` + Blockid []byte `protobuf:"bytes,3,opt,name=blockid,proto3" json:"blockid,omitempty"` } -func (x *DecryptNotes) Reset() { - *x = DecryptNotes{} +func (x *BlockExtention) Reset() { + *x = BlockExtention{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2640,13 +2587,13 @@ func (x *DecryptNotes) Reset() { } } -func (x *DecryptNotes) String() string { +func (x *BlockExtention) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DecryptNotes) ProtoMessage() {} +func (*BlockExtention) ProtoMessage() {} -func (x *DecryptNotes) ProtoReflect() protoreflect.Message { +func (x *BlockExtention) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[40] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2658,28 +2605,42 @@ func (x *DecryptNotes) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DecryptNotes.ProtoReflect.Descriptor instead. -func (*DecryptNotes) Descriptor() ([]byte, []int) { +// Deprecated: Use BlockExtention.ProtoReflect.Descriptor instead. +func (*BlockExtention) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{40} } -func (x *DecryptNotes) GetNoteTxs() []*DecryptNotes_NoteTx { +func (x *BlockExtention) GetTransactions() []*TransactionExtention { if x != nil { - return x.NoteTxs + return x.Transactions } return nil } -type DecryptNotesMarked struct { +func (x *BlockExtention) GetBlockHeader() *core.BlockHeader { + if x != nil { + return x.BlockHeader + } + return nil +} + +func (x *BlockExtention) GetBlockid() []byte { + if x != nil { + return x.Blockid + } + return nil +} + +type BlockListExtention struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - NoteTxs []*DecryptNotesMarked_NoteTx `protobuf:"bytes,1,rep,name=noteTxs,proto3" json:"noteTxs,omitempty"` + Block []*BlockExtention `protobuf:"bytes,1,rep,name=block,proto3" json:"block,omitempty"` } -func (x *DecryptNotesMarked) Reset() { - *x = DecryptNotesMarked{} +func (x *BlockListExtention) Reset() { + *x = BlockListExtention{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2687,13 +2648,13 @@ func (x *DecryptNotesMarked) Reset() { } } -func (x *DecryptNotesMarked) String() string { +func (x *BlockListExtention) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DecryptNotesMarked) ProtoMessage() {} +func (*BlockListExtention) ProtoMessage() {} -func (x *DecryptNotesMarked) ProtoReflect() protoreflect.Message { +func (x *BlockListExtention) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2705,31 +2666,28 @@ func (x *DecryptNotesMarked) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DecryptNotesMarked.ProtoReflect.Descriptor instead. -func (*DecryptNotesMarked) Descriptor() ([]byte, []int) { +// Deprecated: Use BlockListExtention.ProtoReflect.Descriptor instead. +func (*BlockListExtention) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{41} } -func (x *DecryptNotesMarked) GetNoteTxs() []*DecryptNotesMarked_NoteTx { +func (x *BlockListExtention) GetBlock() []*BlockExtention { if x != nil { - return x.NoteTxs + return x.Block } return nil } -type Note struct { +type TransactionListExtention struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` - PaymentAddress string `protobuf:"bytes,2,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"` - Rcm []byte `protobuf:"bytes,3,opt,name=rcm,proto3" json:"rcm,omitempty"` // random 32 - Memo []byte `protobuf:"bytes,4,opt,name=memo,proto3" json:"memo,omitempty"` + Transaction []*TransactionExtention `protobuf:"bytes,1,rep,name=transaction,proto3" json:"transaction,omitempty"` } -func (x *Note) Reset() { - *x = Note{} +func (x *TransactionListExtention) Reset() { + *x = TransactionListExtention{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2737,13 +2695,13 @@ func (x *Note) Reset() { } } -func (x *Note) String() string { +func (x *TransactionListExtention) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Note) ProtoMessage() {} +func (*TransactionListExtention) ProtoMessage() {} -func (x *Note) ProtoReflect() protoreflect.Message { +func (x *TransactionListExtention) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[42] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2755,52 +2713,29 @@ func (x *Note) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Note.ProtoReflect.Descriptor instead. -func (*Note) Descriptor() ([]byte, []int) { +// Deprecated: Use TransactionListExtention.ProtoReflect.Descriptor instead. +func (*TransactionListExtention) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{42} } -func (x *Note) GetValue() int64 { - if x != nil { - return x.Value - } - return 0 -} - -func (x *Note) GetPaymentAddress() string { - if x != nil { - return x.PaymentAddress - } - return "" -} - -func (x *Note) GetRcm() []byte { - if x != nil { - return x.Rcm - } - return nil -} - -func (x *Note) GetMemo() []byte { +func (x *TransactionListExtention) GetTransaction() []*TransactionExtention { if x != nil { - return x.Memo + return x.Transaction } return nil } -type SpendNote struct { +type BlockIncrementalMerkleTree struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Note *Note `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"` - Alpha []byte `protobuf:"bytes,4,opt,name=alpha,proto3" json:"alpha,omitempty"` // random number for spend authority signature - Voucher *core.IncrementalMerkleVoucher `protobuf:"bytes,5,opt,name=voucher,proto3" json:"voucher,omitempty"` - Path []byte `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"` // path for cm from leaf to root in merkle tree + Number int64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` + MerkleTree *core.IncrementalMerkleTree `protobuf:"bytes,2,opt,name=merkleTree,proto3" json:"merkleTree,omitempty"` } -func (x *SpendNote) Reset() { - *x = SpendNote{} +func (x *BlockIncrementalMerkleTree) Reset() { + *x = BlockIncrementalMerkleTree{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2808,13 +2743,13 @@ func (x *SpendNote) Reset() { } } -func (x *SpendNote) String() string { +func (x *BlockIncrementalMerkleTree) String() string { return protoimpl.X.MessageStringOf(x) } -func (*SpendNote) ProtoMessage() {} +func (*BlockIncrementalMerkleTree) ProtoMessage() {} -func (x *SpendNote) ProtoReflect() protoreflect.Message { +func (x *BlockIncrementalMerkleTree) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[43] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2826,49 +2761,39 @@ func (x *SpendNote) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use SpendNote.ProtoReflect.Descriptor instead. -func (*SpendNote) Descriptor() ([]byte, []int) { +// Deprecated: Use BlockIncrementalMerkleTree.ProtoReflect.Descriptor instead. +func (*BlockIncrementalMerkleTree) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{43} } -func (x *SpendNote) GetNote() *Note { - if x != nil { - return x.Note - } - return nil -} - -func (x *SpendNote) GetAlpha() []byte { - if x != nil { - return x.Alpha - } - return nil -} - -func (x *SpendNote) GetVoucher() *core.IncrementalMerkleVoucher { +func (x *BlockIncrementalMerkleTree) GetNumber() int64 { if x != nil { - return x.Voucher + return x.Number } - return nil + return 0 } -func (x *SpendNote) GetPath() []byte { +func (x *BlockIncrementalMerkleTree) GetMerkleTree() *core.IncrementalMerkleTree { if x != nil { - return x.Path + return x.MerkleTree } return nil } -type ReceiveNote struct { +type TransactionSignWeight struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` + Permission *core.Permission `protobuf:"bytes,1,opt,name=permission,proto3" json:"permission,omitempty"` + ApprovedList [][]byte `protobuf:"bytes,2,rep,name=approved_list,json=approvedList,proto3" json:"approved_list,omitempty"` + CurrentWeight int64 `protobuf:"varint,3,opt,name=current_weight,json=currentWeight,proto3" json:"current_weight,omitempty"` + Result *TransactionSignWeight_Result `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` + Transaction *TransactionExtention `protobuf:"bytes,5,opt,name=transaction,proto3" json:"transaction,omitempty"` } -func (x *ReceiveNote) Reset() { - *x = ReceiveNote{} +func (x *TransactionSignWeight) Reset() { + *x = TransactionSignWeight{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2876,13 +2801,13 @@ func (x *ReceiveNote) Reset() { } } -func (x *ReceiveNote) String() string { +func (x *TransactionSignWeight) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ReceiveNote) ProtoMessage() {} +func (*TransactionSignWeight) ProtoMessage() {} -func (x *ReceiveNote) ProtoReflect() protoreflect.Message { +func (x *TransactionSignWeight) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[44] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2894,147 +2819,121 @@ func (x *ReceiveNote) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ReceiveNote.ProtoReflect.Descriptor instead. -func (*ReceiveNote) Descriptor() ([]byte, []int) { +// Deprecated: Use TransactionSignWeight.ProtoReflect.Descriptor instead. +func (*TransactionSignWeight) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{44} } -func (x *ReceiveNote) GetNote() *Note { +func (x *TransactionSignWeight) GetPermission() *core.Permission { if x != nil { - return x.Note + return x.Permission } return nil } -type PrivateParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TransparentFromAddress []byte `protobuf:"bytes,1,opt,name=transparent_from_address,json=transparentFromAddress,proto3" json:"transparent_from_address,omitempty"` - Ask []byte `protobuf:"bytes,2,opt,name=ask,proto3" json:"ask,omitempty"` - Nsk []byte `protobuf:"bytes,3,opt,name=nsk,proto3" json:"nsk,omitempty"` - Ovk []byte `protobuf:"bytes,4,opt,name=ovk,proto3" json:"ovk,omitempty"` - FromAmount int64 `protobuf:"varint,5,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"` - ShieldedSpends []*SpendNote `protobuf:"bytes,6,rep,name=shielded_spends,json=shieldedSpends,proto3" json:"shielded_spends,omitempty"` - ShieldedReceives []*ReceiveNote `protobuf:"bytes,7,rep,name=shielded_receives,json=shieldedReceives,proto3" json:"shielded_receives,omitempty"` - TransparentToAddress []byte `protobuf:"bytes,8,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` - ToAmount int64 `protobuf:"varint,9,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` -} - -func (x *PrivateParameters) Reset() { - *x = PrivateParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *TransactionSignWeight) GetApprovedList() [][]byte { + if x != nil { + return x.ApprovedList } + return nil } -func (x *PrivateParameters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PrivateParameters) ProtoMessage() {} - -func (x *PrivateParameters) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[45] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *TransactionSignWeight) GetCurrentWeight() int64 { + if x != nil { + return x.CurrentWeight } - return mi.MessageOf(x) -} - -// Deprecated: Use PrivateParameters.ProtoReflect.Descriptor instead. -func (*PrivateParameters) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{45} + return 0 } -func (x *PrivateParameters) GetTransparentFromAddress() []byte { +func (x *TransactionSignWeight) GetResult() *TransactionSignWeight_Result { if x != nil { - return x.TransparentFromAddress + return x.Result } return nil } -func (x *PrivateParameters) GetAsk() []byte { +func (x *TransactionSignWeight) GetTransaction() *TransactionExtention { if x != nil { - return x.Ask + return x.Transaction } return nil } -func (x *PrivateParameters) GetNsk() []byte { - if x != nil { - return x.Nsk - } - return nil +type TransactionApprovedList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ApprovedList [][]byte `protobuf:"bytes,2,rep,name=approved_list,json=approvedList,proto3" json:"approved_list,omitempty"` + Result *TransactionApprovedList_Result `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` + Transaction *TransactionExtention `protobuf:"bytes,5,opt,name=transaction,proto3" json:"transaction,omitempty"` } -func (x *PrivateParameters) GetOvk() []byte { - if x != nil { - return x.Ovk +func (x *TransactionApprovedList) Reset() { + *x = TransactionApprovedList{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (x *PrivateParameters) GetFromAmount() int64 { - if x != nil { - return x.FromAmount - } - return 0 +func (x *TransactionApprovedList) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *PrivateParameters) GetShieldedSpends() []*SpendNote { - if x != nil { - return x.ShieldedSpends +func (*TransactionApprovedList) ProtoMessage() {} + +func (x *TransactionApprovedList) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[45] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (x *PrivateParameters) GetShieldedReceives() []*ReceiveNote { +// Deprecated: Use TransactionApprovedList.ProtoReflect.Descriptor instead. +func (*TransactionApprovedList) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{45} +} + +func (x *TransactionApprovedList) GetApprovedList() [][]byte { if x != nil { - return x.ShieldedReceives + return x.ApprovedList } return nil } -func (x *PrivateParameters) GetTransparentToAddress() []byte { +func (x *TransactionApprovedList) GetResult() *TransactionApprovedList_Result { if x != nil { - return x.TransparentToAddress + return x.Result } return nil } -func (x *PrivateParameters) GetToAmount() int64 { +func (x *TransactionApprovedList) GetTransaction() *TransactionExtention { if x != nil { - return x.ToAmount + return x.Transaction } - return 0 + return nil } -type PrivateParametersWithoutAsk struct { +type IvkDecryptParameters struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TransparentFromAddress []byte `protobuf:"bytes,1,opt,name=transparent_from_address,json=transparentFromAddress,proto3" json:"transparent_from_address,omitempty"` - Ak []byte `protobuf:"bytes,2,opt,name=ak,proto3" json:"ak,omitempty"` - Nsk []byte `protobuf:"bytes,3,opt,name=nsk,proto3" json:"nsk,omitempty"` - Ovk []byte `protobuf:"bytes,4,opt,name=ovk,proto3" json:"ovk,omitempty"` - FromAmount int64 `protobuf:"varint,5,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"` - ShieldedSpends []*SpendNote `protobuf:"bytes,6,rep,name=shielded_spends,json=shieldedSpends,proto3" json:"shielded_spends,omitempty"` - ShieldedReceives []*ReceiveNote `protobuf:"bytes,7,rep,name=shielded_receives,json=shieldedReceives,proto3" json:"shielded_receives,omitempty"` - TransparentToAddress []byte `protobuf:"bytes,8,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` - ToAmount int64 `protobuf:"varint,9,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` + StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` + EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` + Ivk []byte `protobuf:"bytes,3,opt,name=ivk,proto3" json:"ivk,omitempty"` } -func (x *PrivateParametersWithoutAsk) Reset() { - *x = PrivateParametersWithoutAsk{} +func (x *IvkDecryptParameters) Reset() { + *x = IvkDecryptParameters{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3042,13 +2941,13 @@ func (x *PrivateParametersWithoutAsk) Reset() { } } -func (x *PrivateParametersWithoutAsk) String() string { +func (x *IvkDecryptParameters) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PrivateParametersWithoutAsk) ProtoMessage() {} +func (*IvkDecryptParameters) ProtoMessage() {} -func (x *PrivateParametersWithoutAsk) ProtoReflect() protoreflect.Message { +func (x *IvkDecryptParameters) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[46] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3060,86 +2959,46 @@ func (x *PrivateParametersWithoutAsk) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PrivateParametersWithoutAsk.ProtoReflect.Descriptor instead. -func (*PrivateParametersWithoutAsk) Descriptor() ([]byte, []int) { +// Deprecated: Use IvkDecryptParameters.ProtoReflect.Descriptor instead. +func (*IvkDecryptParameters) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{46} } -func (x *PrivateParametersWithoutAsk) GetTransparentFromAddress() []byte { - if x != nil { - return x.TransparentFromAddress - } - return nil -} - -func (x *PrivateParametersWithoutAsk) GetAk() []byte { - if x != nil { - return x.Ak - } - return nil -} - -func (x *PrivateParametersWithoutAsk) GetNsk() []byte { - if x != nil { - return x.Nsk - } - return nil -} - -func (x *PrivateParametersWithoutAsk) GetOvk() []byte { - if x != nil { - return x.Ovk - } - return nil -} - -func (x *PrivateParametersWithoutAsk) GetFromAmount() int64 { +func (x *IvkDecryptParameters) GetStartBlockIndex() int64 { if x != nil { - return x.FromAmount + return x.StartBlockIndex } return 0 } -func (x *PrivateParametersWithoutAsk) GetShieldedSpends() []*SpendNote { - if x != nil { - return x.ShieldedSpends - } - return nil -} - -func (x *PrivateParametersWithoutAsk) GetShieldedReceives() []*ReceiveNote { +func (x *IvkDecryptParameters) GetEndBlockIndex() int64 { if x != nil { - return x.ShieldedReceives + return x.EndBlockIndex } - return nil + return 0 } -func (x *PrivateParametersWithoutAsk) GetTransparentToAddress() []byte { +func (x *IvkDecryptParameters) GetIvk() []byte { if x != nil { - return x.TransparentToAddress + return x.Ivk } return nil } -func (x *PrivateParametersWithoutAsk) GetToAmount() int64 { - if x != nil { - return x.ToAmount - } - return 0 -} - -type SpendAuthSigParameters struct { +type IvkDecryptAndMarkParameters struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Ask []byte `protobuf:"bytes,1,opt,name=ask,proto3" json:"ask,omitempty"` - TxHash []byte `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` - Alpha []byte `protobuf:"bytes,3,opt,name=alpha,proto3" json:"alpha,omitempty"` + StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` + EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` + Ivk []byte `protobuf:"bytes,5,opt,name=ivk,proto3" json:"ivk,omitempty"` + Ak []byte `protobuf:"bytes,3,opt,name=ak,proto3" json:"ak,omitempty"` + Nk []byte `protobuf:"bytes,4,opt,name=nk,proto3" json:"nk,omitempty"` } -func (x *SpendAuthSigParameters) Reset() { - *x = SpendAuthSigParameters{} +func (x *IvkDecryptAndMarkParameters) Reset() { + *x = IvkDecryptAndMarkParameters{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3147,13 +3006,13 @@ func (x *SpendAuthSigParameters) Reset() { } } -func (x *SpendAuthSigParameters) String() string { +func (x *IvkDecryptAndMarkParameters) String() string { return protoimpl.X.MessageStringOf(x) } -func (*SpendAuthSigParameters) ProtoMessage() {} +func (*IvkDecryptAndMarkParameters) ProtoMessage() {} -func (x *SpendAuthSigParameters) ProtoReflect() protoreflect.Message { +func (x *IvkDecryptAndMarkParameters) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[47] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3165,45 +3024,58 @@ func (x *SpendAuthSigParameters) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use SpendAuthSigParameters.ProtoReflect.Descriptor instead. -func (*SpendAuthSigParameters) Descriptor() ([]byte, []int) { +// Deprecated: Use IvkDecryptAndMarkParameters.ProtoReflect.Descriptor instead. +func (*IvkDecryptAndMarkParameters) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{47} } -func (x *SpendAuthSigParameters) GetAsk() []byte { +func (x *IvkDecryptAndMarkParameters) GetStartBlockIndex() int64 { if x != nil { - return x.Ask + return x.StartBlockIndex + } + return 0 +} + +func (x *IvkDecryptAndMarkParameters) GetEndBlockIndex() int64 { + if x != nil { + return x.EndBlockIndex + } + return 0 +} + +func (x *IvkDecryptAndMarkParameters) GetIvk() []byte { + if x != nil { + return x.Ivk } return nil } -func (x *SpendAuthSigParameters) GetTxHash() []byte { +func (x *IvkDecryptAndMarkParameters) GetAk() []byte { if x != nil { - return x.TxHash + return x.Ak } return nil } -func (x *SpendAuthSigParameters) GetAlpha() []byte { +func (x *IvkDecryptAndMarkParameters) GetNk() []byte { if x != nil { - return x.Alpha + return x.Nk } return nil } -type NfParameters struct { +type OvkDecryptParameters struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` - Voucher *core.IncrementalMerkleVoucher `protobuf:"bytes,2,opt,name=voucher,proto3" json:"voucher,omitempty"` - Ak []byte `protobuf:"bytes,3,opt,name=ak,proto3" json:"ak,omitempty"` - Nk []byte `protobuf:"bytes,4,opt,name=nk,proto3" json:"nk,omitempty"` + StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` + EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` + Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"` } -func (x *NfParameters) Reset() { - *x = NfParameters{} +func (x *OvkDecryptParameters) Reset() { + *x = OvkDecryptParameters{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3211,13 +3083,13 @@ func (x *NfParameters) Reset() { } } -func (x *NfParameters) String() string { +func (x *OvkDecryptParameters) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NfParameters) ProtoMessage() {} +func (*OvkDecryptParameters) ProtoMessage() {} -func (x *NfParameters) ProtoReflect() protoreflect.Message { +func (x *OvkDecryptParameters) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[48] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3229,51 +3101,42 @@ func (x *NfParameters) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use NfParameters.ProtoReflect.Descriptor instead. -func (*NfParameters) Descriptor() ([]byte, []int) { +// Deprecated: Use OvkDecryptParameters.ProtoReflect.Descriptor instead. +func (*OvkDecryptParameters) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{48} } -func (x *NfParameters) GetNote() *Note { +func (x *OvkDecryptParameters) GetStartBlockIndex() int64 { if x != nil { - return x.Note - } - return nil -} - -func (x *NfParameters) GetVoucher() *core.IncrementalMerkleVoucher { - if x != nil { - return x.Voucher + return x.StartBlockIndex } - return nil + return 0 } -func (x *NfParameters) GetAk() []byte { +func (x *OvkDecryptParameters) GetEndBlockIndex() int64 { if x != nil { - return x.Ak + return x.EndBlockIndex } - return nil + return 0 } -func (x *NfParameters) GetNk() []byte { +func (x *OvkDecryptParameters) GetOvk() []byte { if x != nil { - return x.Nk + return x.Ovk } return nil } -type ExpandedSpendingKeyMessage struct { +type DecryptNotes struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Ask []byte `protobuf:"bytes,1,opt,name=ask,proto3" json:"ask,omitempty"` - Nsk []byte `protobuf:"bytes,2,opt,name=nsk,proto3" json:"nsk,omitempty"` - Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"` + NoteTxs []*DecryptNotes_NoteTx `protobuf:"bytes,1,rep,name=noteTxs,proto3" json:"noteTxs,omitempty"` } -func (x *ExpandedSpendingKeyMessage) Reset() { - *x = ExpandedSpendingKeyMessage{} +func (x *DecryptNotes) Reset() { + *x = DecryptNotes{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3281,13 +3144,13 @@ func (x *ExpandedSpendingKeyMessage) Reset() { } } -func (x *ExpandedSpendingKeyMessage) String() string { +func (x *DecryptNotes) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ExpandedSpendingKeyMessage) ProtoMessage() {} +func (*DecryptNotes) ProtoMessage() {} -func (x *ExpandedSpendingKeyMessage) ProtoReflect() protoreflect.Message { +func (x *DecryptNotes) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[49] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3299,43 +3162,28 @@ func (x *ExpandedSpendingKeyMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ExpandedSpendingKeyMessage.ProtoReflect.Descriptor instead. -func (*ExpandedSpendingKeyMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use DecryptNotes.ProtoReflect.Descriptor instead. +func (*DecryptNotes) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{49} } -func (x *ExpandedSpendingKeyMessage) GetAsk() []byte { - if x != nil { - return x.Ask - } - return nil -} - -func (x *ExpandedSpendingKeyMessage) GetNsk() []byte { - if x != nil { - return x.Nsk - } - return nil -} - -func (x *ExpandedSpendingKeyMessage) GetOvk() []byte { +func (x *DecryptNotes) GetNoteTxs() []*DecryptNotes_NoteTx { if x != nil { - return x.Ovk + return x.NoteTxs } return nil } -type ViewingKeyMessage struct { +type DecryptNotesMarked struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Ak []byte `protobuf:"bytes,1,opt,name=ak,proto3" json:"ak,omitempty"` - Nk []byte `protobuf:"bytes,2,opt,name=nk,proto3" json:"nk,omitempty"` + NoteTxs []*DecryptNotesMarked_NoteTx `protobuf:"bytes,1,rep,name=noteTxs,proto3" json:"noteTxs,omitempty"` } -func (x *ViewingKeyMessage) Reset() { - *x = ViewingKeyMessage{} +func (x *DecryptNotesMarked) Reset() { + *x = DecryptNotesMarked{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3343,13 +3191,13 @@ func (x *ViewingKeyMessage) Reset() { } } -func (x *ViewingKeyMessage) String() string { +func (x *DecryptNotesMarked) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ViewingKeyMessage) ProtoMessage() {} +func (*DecryptNotesMarked) ProtoMessage() {} -func (x *ViewingKeyMessage) ProtoReflect() protoreflect.Message { +func (x *DecryptNotesMarked) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[50] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3361,35 +3209,31 @@ func (x *ViewingKeyMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ViewingKeyMessage.ProtoReflect.Descriptor instead. -func (*ViewingKeyMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use DecryptNotesMarked.ProtoReflect.Descriptor instead. +func (*DecryptNotesMarked) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{50} } -func (x *ViewingKeyMessage) GetAk() []byte { - if x != nil { - return x.Ak - } - return nil -} - -func (x *ViewingKeyMessage) GetNk() []byte { +func (x *DecryptNotesMarked) GetNoteTxs() []*DecryptNotesMarked_NoteTx { if x != nil { - return x.Nk + return x.NoteTxs } return nil } -type IncomingViewingKeyMessage struct { +type Note struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Ivk []byte `protobuf:"bytes,1,opt,name=ivk,proto3" json:"ivk,omitempty"` + Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` + PaymentAddress string `protobuf:"bytes,2,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"` + Rcm []byte `protobuf:"bytes,3,opt,name=rcm,proto3" json:"rcm,omitempty"` // random 32 + Memo []byte `protobuf:"bytes,4,opt,name=memo,proto3" json:"memo,omitempty"` } -func (x *IncomingViewingKeyMessage) Reset() { - *x = IncomingViewingKeyMessage{} +func (x *Note) Reset() { + *x = Note{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3397,13 +3241,13 @@ func (x *IncomingViewingKeyMessage) Reset() { } } -func (x *IncomingViewingKeyMessage) String() string { +func (x *Note) String() string { return protoimpl.X.MessageStringOf(x) } -func (*IncomingViewingKeyMessage) ProtoMessage() {} +func (*Note) ProtoMessage() {} -func (x *IncomingViewingKeyMessage) ProtoReflect() protoreflect.Message { +func (x *Note) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[51] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3415,28 +3259,52 @@ func (x *IncomingViewingKeyMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use IncomingViewingKeyMessage.ProtoReflect.Descriptor instead. -func (*IncomingViewingKeyMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use Note.ProtoReflect.Descriptor instead. +func (*Note) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{51} } -func (x *IncomingViewingKeyMessage) GetIvk() []byte { +func (x *Note) GetValue() int64 { if x != nil { - return x.Ivk + return x.Value + } + return 0 +} + +func (x *Note) GetPaymentAddress() string { + if x != nil { + return x.PaymentAddress + } + return "" +} + +func (x *Note) GetRcm() []byte { + if x != nil { + return x.Rcm } return nil } -type DiversifierMessage struct { +func (x *Note) GetMemo() []byte { + if x != nil { + return x.Memo + } + return nil +} + +type SpendNote struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - D []byte `protobuf:"bytes,1,opt,name=d,proto3" json:"d,omitempty"` + Note *Note `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"` + Alpha []byte `protobuf:"bytes,4,opt,name=alpha,proto3" json:"alpha,omitempty"` // random number for spend authority signature + Voucher *core.IncrementalMerkleVoucher `protobuf:"bytes,5,opt,name=voucher,proto3" json:"voucher,omitempty"` + Path []byte `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"` // path for cm from leaf to root in merkle tree } -func (x *DiversifierMessage) Reset() { - *x = DiversifierMessage{} +func (x *SpendNote) Reset() { + *x = SpendNote{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3444,13 +3312,13 @@ func (x *DiversifierMessage) Reset() { } } -func (x *DiversifierMessage) String() string { +func (x *SpendNote) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DiversifierMessage) ProtoMessage() {} +func (*SpendNote) ProtoMessage() {} -func (x *DiversifierMessage) ProtoReflect() protoreflect.Message { +func (x *SpendNote) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[52] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3462,29 +3330,49 @@ func (x *DiversifierMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DiversifierMessage.ProtoReflect.Descriptor instead. -func (*DiversifierMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use SpendNote.ProtoReflect.Descriptor instead. +func (*SpendNote) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{52} } -func (x *DiversifierMessage) GetD() []byte { +func (x *SpendNote) GetNote() *Note { if x != nil { - return x.D + return x.Note } return nil } -type IncomingViewingKeyDiversifierMessage struct { +func (x *SpendNote) GetAlpha() []byte { + if x != nil { + return x.Alpha + } + return nil +} + +func (x *SpendNote) GetVoucher() *core.IncrementalMerkleVoucher { + if x != nil { + return x.Voucher + } + return nil +} + +func (x *SpendNote) GetPath() []byte { + if x != nil { + return x.Path + } + return nil +} + +type ReceiveNote struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Ivk *IncomingViewingKeyMessage `protobuf:"bytes,1,opt,name=ivk,proto3" json:"ivk,omitempty"` - D *DiversifierMessage `protobuf:"bytes,2,opt,name=d,proto3" json:"d,omitempty"` + Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` } -func (x *IncomingViewingKeyDiversifierMessage) Reset() { - *x = IncomingViewingKeyDiversifierMessage{} +func (x *ReceiveNote) Reset() { + *x = ReceiveNote{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3492,13 +3380,13 @@ func (x *IncomingViewingKeyDiversifierMessage) Reset() { } } -func (x *IncomingViewingKeyDiversifierMessage) String() string { +func (x *ReceiveNote) String() string { return protoimpl.X.MessageStringOf(x) } -func (*IncomingViewingKeyDiversifierMessage) ProtoMessage() {} +func (*ReceiveNote) ProtoMessage() {} -func (x *IncomingViewingKeyDiversifierMessage) ProtoReflect() protoreflect.Message { +func (x *ReceiveNote) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[53] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3510,37 +3398,37 @@ func (x *IncomingViewingKeyDiversifierMessage) ProtoReflect() protoreflect.Messa return mi.MessageOf(x) } -// Deprecated: Use IncomingViewingKeyDiversifierMessage.ProtoReflect.Descriptor instead. -func (*IncomingViewingKeyDiversifierMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use ReceiveNote.ProtoReflect.Descriptor instead. +func (*ReceiveNote) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{53} } -func (x *IncomingViewingKeyDiversifierMessage) GetIvk() *IncomingViewingKeyMessage { - if x != nil { - return x.Ivk - } - return nil -} - -func (x *IncomingViewingKeyDiversifierMessage) GetD() *DiversifierMessage { +func (x *ReceiveNote) GetNote() *Note { if x != nil { - return x.D + return x.Note } return nil } -type PaymentAddressMessage struct { +type PrivateParameters struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - D *DiversifierMessage `protobuf:"bytes,1,opt,name=d,proto3" json:"d,omitempty"` - PkD []byte `protobuf:"bytes,2,opt,name=pkD,proto3" json:"pkD,omitempty"` - PaymentAddress string `protobuf:"bytes,3,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"` + TransparentFromAddress []byte `protobuf:"bytes,1,opt,name=transparent_from_address,json=transparentFromAddress,proto3" json:"transparent_from_address,omitempty"` + Ask []byte `protobuf:"bytes,2,opt,name=ask,proto3" json:"ask,omitempty"` + Nsk []byte `protobuf:"bytes,3,opt,name=nsk,proto3" json:"nsk,omitempty"` + Ovk []byte `protobuf:"bytes,4,opt,name=ovk,proto3" json:"ovk,omitempty"` + FromAmount int64 `protobuf:"varint,5,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"` + ShieldedSpends []*SpendNote `protobuf:"bytes,6,rep,name=shielded_spends,json=shieldedSpends,proto3" json:"shielded_spends,omitempty"` + ShieldedReceives []*ReceiveNote `protobuf:"bytes,7,rep,name=shielded_receives,json=shieldedReceives,proto3" json:"shielded_receives,omitempty"` + TransparentToAddress []byte `protobuf:"bytes,8,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` + ToAmount int64 `protobuf:"varint,9,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` + Timeout int64 `protobuf:"varint,10,opt,name=timeout,proto3" json:"timeout,omitempty"` // timeout in seconds, it works only when it bigger than 0 } -func (x *PaymentAddressMessage) Reset() { - *x = PaymentAddressMessage{} +func (x *PrivateParameters) Reset() { + *x = PrivateParameters{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3548,13 +3436,13 @@ func (x *PaymentAddressMessage) Reset() { } } -func (x *PaymentAddressMessage) String() string { +func (x *PrivateParameters) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PaymentAddressMessage) ProtoMessage() {} +func (*PrivateParameters) ProtoMessage() {} -func (x *PaymentAddressMessage) ProtoReflect() protoreflect.Message { +func (x *PrivateParameters) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[54] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3566,51 +3454,100 @@ func (x *PaymentAddressMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PaymentAddressMessage.ProtoReflect.Descriptor instead. -func (*PaymentAddressMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use PrivateParameters.ProtoReflect.Descriptor instead. +func (*PrivateParameters) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{54} } -func (x *PaymentAddressMessage) GetD() *DiversifierMessage { +func (x *PrivateParameters) GetTransparentFromAddress() []byte { if x != nil { - return x.D + return x.TransparentFromAddress } return nil } -func (x *PaymentAddressMessage) GetPkD() []byte { +func (x *PrivateParameters) GetAsk() []byte { if x != nil { - return x.PkD + return x.Ask } return nil } -func (x *PaymentAddressMessage) GetPaymentAddress() string { +func (x *PrivateParameters) GetNsk() []byte { if x != nil { - return x.PaymentAddress + return x.Nsk } - return "" + return nil } -type ShieldedAddressInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (x *PrivateParameters) GetOvk() []byte { + if x != nil { + return x.Ovk + } + return nil +} - Sk []byte `protobuf:"bytes,1,opt,name=sk,proto3" json:"sk,omitempty"` - Ask []byte `protobuf:"bytes,2,opt,name=ask,proto3" json:"ask,omitempty"` - Nsk []byte `protobuf:"bytes,3,opt,name=nsk,proto3" json:"nsk,omitempty"` - Ovk []byte `protobuf:"bytes,4,opt,name=ovk,proto3" json:"ovk,omitempty"` - Ak []byte `protobuf:"bytes,5,opt,name=ak,proto3" json:"ak,omitempty"` - Nk []byte `protobuf:"bytes,6,opt,name=nk,proto3" json:"nk,omitempty"` - Ivk []byte `protobuf:"bytes,7,opt,name=ivk,proto3" json:"ivk,omitempty"` - D []byte `protobuf:"bytes,8,opt,name=d,proto3" json:"d,omitempty"` - PkD []byte `protobuf:"bytes,9,opt,name=pkD,proto3" json:"pkD,omitempty"` - PaymentAddress string `protobuf:"bytes,10,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"` +func (x *PrivateParameters) GetFromAmount() int64 { + if x != nil { + return x.FromAmount + } + return 0 } -func (x *ShieldedAddressInfo) Reset() { - *x = ShieldedAddressInfo{} +func (x *PrivateParameters) GetShieldedSpends() []*SpendNote { + if x != nil { + return x.ShieldedSpends + } + return nil +} + +func (x *PrivateParameters) GetShieldedReceives() []*ReceiveNote { + if x != nil { + return x.ShieldedReceives + } + return nil +} + +func (x *PrivateParameters) GetTransparentToAddress() []byte { + if x != nil { + return x.TransparentToAddress + } + return nil +} + +func (x *PrivateParameters) GetToAmount() int64 { + if x != nil { + return x.ToAmount + } + return 0 +} + +func (x *PrivateParameters) GetTimeout() int64 { + if x != nil { + return x.Timeout + } + return 0 +} + +type PrivateParametersWithoutAsk struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TransparentFromAddress []byte `protobuf:"bytes,1,opt,name=transparent_from_address,json=transparentFromAddress,proto3" json:"transparent_from_address,omitempty"` + Ak []byte `protobuf:"bytes,2,opt,name=ak,proto3" json:"ak,omitempty"` + Nsk []byte `protobuf:"bytes,3,opt,name=nsk,proto3" json:"nsk,omitempty"` + Ovk []byte `protobuf:"bytes,4,opt,name=ovk,proto3" json:"ovk,omitempty"` + FromAmount int64 `protobuf:"varint,5,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"` + ShieldedSpends []*SpendNote `protobuf:"bytes,6,rep,name=shielded_spends,json=shieldedSpends,proto3" json:"shielded_spends,omitempty"` + ShieldedReceives []*ReceiveNote `protobuf:"bytes,7,rep,name=shielded_receives,json=shieldedReceives,proto3" json:"shielded_receives,omitempty"` + TransparentToAddress []byte `protobuf:"bytes,8,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` + ToAmount int64 `protobuf:"varint,9,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` + Timeout int64 `protobuf:"varint,10,opt,name=timeout,proto3" json:"timeout,omitempty"` // timeout in seconds, it works only when it bigger than 0 +} + +func (x *PrivateParametersWithoutAsk) Reset() { + *x = PrivateParametersWithoutAsk{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3618,13 +3555,13 @@ func (x *ShieldedAddressInfo) Reset() { } } -func (x *ShieldedAddressInfo) String() string { +func (x *PrivateParametersWithoutAsk) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ShieldedAddressInfo) ProtoMessage() {} +func (*PrivateParametersWithoutAsk) ProtoMessage() {} -func (x *ShieldedAddressInfo) ProtoReflect() protoreflect.Message { +func (x *PrivateParametersWithoutAsk) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[55] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3636,95 +3573,93 @@ func (x *ShieldedAddressInfo) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ShieldedAddressInfo.ProtoReflect.Descriptor instead. -func (*ShieldedAddressInfo) Descriptor() ([]byte, []int) { +// Deprecated: Use PrivateParametersWithoutAsk.ProtoReflect.Descriptor instead. +func (*PrivateParametersWithoutAsk) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{55} } -func (x *ShieldedAddressInfo) GetSk() []byte { +func (x *PrivateParametersWithoutAsk) GetTransparentFromAddress() []byte { if x != nil { - return x.Sk + return x.TransparentFromAddress } return nil } -func (x *ShieldedAddressInfo) GetAsk() []byte { +func (x *PrivateParametersWithoutAsk) GetAk() []byte { if x != nil { - return x.Ask + return x.Ak } return nil } -func (x *ShieldedAddressInfo) GetNsk() []byte { +func (x *PrivateParametersWithoutAsk) GetNsk() []byte { if x != nil { return x.Nsk } return nil } -func (x *ShieldedAddressInfo) GetOvk() []byte { +func (x *PrivateParametersWithoutAsk) GetOvk() []byte { if x != nil { return x.Ovk } return nil } -func (x *ShieldedAddressInfo) GetAk() []byte { +func (x *PrivateParametersWithoutAsk) GetFromAmount() int64 { if x != nil { - return x.Ak + return x.FromAmount } - return nil + return 0 } -func (x *ShieldedAddressInfo) GetNk() []byte { +func (x *PrivateParametersWithoutAsk) GetShieldedSpends() []*SpendNote { if x != nil { - return x.Nk + return x.ShieldedSpends } return nil } -func (x *ShieldedAddressInfo) GetIvk() []byte { +func (x *PrivateParametersWithoutAsk) GetShieldedReceives() []*ReceiveNote { if x != nil { - return x.Ivk + return x.ShieldedReceives } return nil } -func (x *ShieldedAddressInfo) GetD() []byte { +func (x *PrivateParametersWithoutAsk) GetTransparentToAddress() []byte { if x != nil { - return x.D + return x.TransparentToAddress } return nil } -func (x *ShieldedAddressInfo) GetPkD() []byte { +func (x *PrivateParametersWithoutAsk) GetToAmount() int64 { if x != nil { - return x.PkD + return x.ToAmount } - return nil + return 0 } -func (x *ShieldedAddressInfo) GetPaymentAddress() string { +func (x *PrivateParametersWithoutAsk) GetTimeout() int64 { if x != nil { - return x.PaymentAddress + return x.Timeout } - return "" + return 0 } -type NoteParameters struct { +type SpendAuthSigParameters struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Ak []byte `protobuf:"bytes,1,opt,name=ak,proto3" json:"ak,omitempty"` - Nk []byte `protobuf:"bytes,2,opt,name=nk,proto3" json:"nk,omitempty"` - Note *Note `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"` - Txid []byte `protobuf:"bytes,4,opt,name=txid,proto3" json:"txid,omitempty"` - Index int32 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"` + Ask []byte `protobuf:"bytes,1,opt,name=ask,proto3" json:"ask,omitempty"` + TxHash []byte `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` + Alpha []byte `protobuf:"bytes,3,opt,name=alpha,proto3" json:"alpha,omitempty"` } -func (x *NoteParameters) Reset() { - *x = NoteParameters{} +func (x *SpendAuthSigParameters) Reset() { + *x = SpendAuthSigParameters{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3732,13 +3667,13 @@ func (x *NoteParameters) Reset() { } } -func (x *NoteParameters) String() string { +func (x *SpendAuthSigParameters) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NoteParameters) ProtoMessage() {} +func (*SpendAuthSigParameters) ProtoMessage() {} -func (x *NoteParameters) ProtoReflect() protoreflect.Message { +func (x *SpendAuthSigParameters) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[56] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3750,57 +3685,45 @@ func (x *NoteParameters) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use NoteParameters.ProtoReflect.Descriptor instead. -func (*NoteParameters) Descriptor() ([]byte, []int) { +// Deprecated: Use SpendAuthSigParameters.ProtoReflect.Descriptor instead. +func (*SpendAuthSigParameters) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{56} } -func (x *NoteParameters) GetAk() []byte { - if x != nil { - return x.Ak - } - return nil -} - -func (x *NoteParameters) GetNk() []byte { +func (x *SpendAuthSigParameters) GetAsk() []byte { if x != nil { - return x.Nk + return x.Ask } return nil } -func (x *NoteParameters) GetNote() *Note { +func (x *SpendAuthSigParameters) GetTxHash() []byte { if x != nil { - return x.Note + return x.TxHash } return nil } -func (x *NoteParameters) GetTxid() []byte { +func (x *SpendAuthSigParameters) GetAlpha() []byte { if x != nil { - return x.Txid + return x.Alpha } return nil } -func (x *NoteParameters) GetIndex() int32 { - if x != nil { - return x.Index - } - return 0 -} - -type SpendResult struct { +type NfParameters struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` + Voucher *core.IncrementalMerkleVoucher `protobuf:"bytes,2,opt,name=voucher,proto3" json:"voucher,omitempty"` + Ak []byte `protobuf:"bytes,3,opt,name=ak,proto3" json:"ak,omitempty"` + Nk []byte `protobuf:"bytes,4,opt,name=nk,proto3" json:"nk,omitempty"` } -func (x *SpendResult) Reset() { - *x = SpendResult{} +func (x *NfParameters) Reset() { + *x = NfParameters{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3808,13 +3731,13 @@ func (x *SpendResult) Reset() { } } -func (x *SpendResult) String() string { +func (x *NfParameters) String() string { return protoimpl.X.MessageStringOf(x) } -func (*SpendResult) ProtoMessage() {} +func (*NfParameters) ProtoMessage() {} -func (x *SpendResult) ProtoReflect() protoreflect.Message { +func (x *NfParameters) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[57] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3826,35 +3749,51 @@ func (x *SpendResult) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use SpendResult.ProtoReflect.Descriptor instead. -func (*SpendResult) Descriptor() ([]byte, []int) { +// Deprecated: Use NfParameters.ProtoReflect.Descriptor instead. +func (*NfParameters) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{57} } -func (x *SpendResult) GetResult() bool { +func (x *NfParameters) GetNote() *Note { if x != nil { - return x.Result + return x.Note } - return false + return nil } -func (x *SpendResult) GetMessage() string { +func (x *NfParameters) GetVoucher() *core.IncrementalMerkleVoucher { if x != nil { - return x.Message + return x.Voucher } - return "" + return nil } -type TransactionInfoList struct { +func (x *NfParameters) GetAk() []byte { + if x != nil { + return x.Ak + } + return nil +} + +func (x *NfParameters) GetNk() []byte { + if x != nil { + return x.Nk + } + return nil +} + +type ExpandedSpendingKeyMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TransactionInfo []*core.TransactionInfo `protobuf:"bytes,1,rep,name=transactionInfo,proto3" json:"transactionInfo,omitempty"` + Ask []byte `protobuf:"bytes,1,opt,name=ask,proto3" json:"ask,omitempty"` + Nsk []byte `protobuf:"bytes,2,opt,name=nsk,proto3" json:"nsk,omitempty"` + Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"` } -func (x *TransactionInfoList) Reset() { - *x = TransactionInfoList{} +func (x *ExpandedSpendingKeyMessage) Reset() { + *x = ExpandedSpendingKeyMessage{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[58] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3862,13 +3801,13 @@ func (x *TransactionInfoList) Reset() { } } -func (x *TransactionInfoList) String() string { +func (x *ExpandedSpendingKeyMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*TransactionInfoList) ProtoMessage() {} +func (*ExpandedSpendingKeyMessage) ProtoMessage() {} -func (x *TransactionInfoList) ProtoReflect() protoreflect.Message { +func (x *ExpandedSpendingKeyMessage) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[58] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3880,44 +3819,58 @@ func (x *TransactionInfoList) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use TransactionInfoList.ProtoReflect.Descriptor instead. -func (*TransactionInfoList) Descriptor() ([]byte, []int) { +// Deprecated: Use ExpandedSpendingKeyMessage.ProtoReflect.Descriptor instead. +func (*ExpandedSpendingKeyMessage) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{58} } -func (x *TransactionInfoList) GetTransactionInfo() []*core.TransactionInfo { +func (x *ExpandedSpendingKeyMessage) GetAsk() []byte { if x != nil { - return x.TransactionInfo + return x.Ask } return nil } -type TransactionSignWeight_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (x *ExpandedSpendingKeyMessage) GetNsk() []byte { + if x != nil { + return x.Nsk + } + return nil +} - Code TransactionSignWeight_ResultResponseCode `protobuf:"varint,1,opt,name=code,proto3,enum=protocol.TransactionSignWeight_ResultResponseCode" json:"code,omitempty"` - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` +func (x *ExpandedSpendingKeyMessage) GetOvk() []byte { + if x != nil { + return x.Ovk + } + return nil } -func (x *TransactionSignWeight_Result) Reset() { - *x = TransactionSignWeight_Result{} +type ViewingKeyMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ak []byte `protobuf:"bytes,1,opt,name=ak,proto3" json:"ak,omitempty"` + Nk []byte `protobuf:"bytes,2,opt,name=nk,proto3" json:"nk,omitempty"` +} + +func (x *ViewingKeyMessage) Reset() { + *x = ViewingKeyMessage{} if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[63] + mi := &file_api_api_proto_msgTypes[59] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *TransactionSignWeight_Result) String() string { +func (x *ViewingKeyMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*TransactionSignWeight_Result) ProtoMessage() {} +func (*ViewingKeyMessage) ProtoMessage() {} -func (x *TransactionSignWeight_Result) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[63] +func (x *ViewingKeyMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[59] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3928,51 +3881,50 @@ func (x *TransactionSignWeight_Result) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use TransactionSignWeight_Result.ProtoReflect.Descriptor instead. -func (*TransactionSignWeight_Result) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{35, 0} +// Deprecated: Use ViewingKeyMessage.ProtoReflect.Descriptor instead. +func (*ViewingKeyMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{59} } -func (x *TransactionSignWeight_Result) GetCode() TransactionSignWeight_ResultResponseCode { +func (x *ViewingKeyMessage) GetAk() []byte { if x != nil { - return x.Code + return x.Ak } - return TransactionSignWeight_Result_ENOUGH_PERMISSION + return nil } -func (x *TransactionSignWeight_Result) GetMessage() string { +func (x *ViewingKeyMessage) GetNk() []byte { if x != nil { - return x.Message + return x.Nk } - return "" + return nil } -type TransactionApprovedList_Result struct { +type IncomingViewingKeyMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Code TransactionApprovedList_ResultResponseCode `protobuf:"varint,1,opt,name=code,proto3,enum=protocol.TransactionApprovedList_ResultResponseCode" json:"code,omitempty"` - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + Ivk []byte `protobuf:"bytes,1,opt,name=ivk,proto3" json:"ivk,omitempty"` } -func (x *TransactionApprovedList_Result) Reset() { - *x = TransactionApprovedList_Result{} +func (x *IncomingViewingKeyMessage) Reset() { + *x = IncomingViewingKeyMessage{} if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[64] + mi := &file_api_api_proto_msgTypes[60] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *TransactionApprovedList_Result) String() string { +func (x *IncomingViewingKeyMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*TransactionApprovedList_Result) ProtoMessage() {} +func (*IncomingViewingKeyMessage) ProtoMessage() {} -func (x *TransactionApprovedList_Result) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[64] +func (x *IncomingViewingKeyMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[60] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3983,52 +3935,91 @@ func (x *TransactionApprovedList_Result) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use TransactionApprovedList_Result.ProtoReflect.Descriptor instead. -func (*TransactionApprovedList_Result) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{36, 0} +// Deprecated: Use IncomingViewingKeyMessage.ProtoReflect.Descriptor instead. +func (*IncomingViewingKeyMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{60} } -func (x *TransactionApprovedList_Result) GetCode() TransactionApprovedList_ResultResponseCode { +func (x *IncomingViewingKeyMessage) GetIvk() []byte { if x != nil { - return x.Code + return x.Ivk } - return TransactionApprovedList_Result_SUCCESS + return nil } -func (x *TransactionApprovedList_Result) GetMessage() string { +type DiversifierMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + D []byte `protobuf:"bytes,1,opt,name=d,proto3" json:"d,omitempty"` +} + +func (x *DiversifierMessage) Reset() { + *x = DiversifierMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[61] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DiversifierMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DiversifierMessage) ProtoMessage() {} + +func (x *DiversifierMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[61] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DiversifierMessage.ProtoReflect.Descriptor instead. +func (*DiversifierMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{61} +} + +func (x *DiversifierMessage) GetD() []byte { if x != nil { - return x.Message + return x.D } - return "" + return nil } -type DecryptNotes_NoteTx struct { +type IncomingViewingKeyDiversifierMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` - Txid []byte `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"` //transaction id = sha256(transaction.raw_data) - Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` //the index of note in receive + Ivk *IncomingViewingKeyMessage `protobuf:"bytes,1,opt,name=ivk,proto3" json:"ivk,omitempty"` + D *DiversifierMessage `protobuf:"bytes,2,opt,name=d,proto3" json:"d,omitempty"` } -func (x *DecryptNotes_NoteTx) Reset() { - *x = DecryptNotes_NoteTx{} +func (x *IncomingViewingKeyDiversifierMessage) Reset() { + *x = IncomingViewingKeyDiversifierMessage{} if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[65] + mi := &file_api_api_proto_msgTypes[62] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *DecryptNotes_NoteTx) String() string { +func (x *IncomingViewingKeyDiversifierMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DecryptNotes_NoteTx) ProtoMessage() {} +func (*IncomingViewingKeyDiversifierMessage) ProtoMessage() {} -func (x *DecryptNotes_NoteTx) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[65] +func (x *IncomingViewingKeyDiversifierMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[62] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4039,60 +4030,122 @@ func (x *DecryptNotes_NoteTx) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DecryptNotes_NoteTx.ProtoReflect.Descriptor instead. -func (*DecryptNotes_NoteTx) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{40, 0} +// Deprecated: Use IncomingViewingKeyDiversifierMessage.ProtoReflect.Descriptor instead. +func (*IncomingViewingKeyDiversifierMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{62} } -func (x *DecryptNotes_NoteTx) GetNote() *Note { +func (x *IncomingViewingKeyDiversifierMessage) GetIvk() *IncomingViewingKeyMessage { if x != nil { - return x.Note + return x.Ivk } return nil } -func (x *DecryptNotes_NoteTx) GetTxid() []byte { +func (x *IncomingViewingKeyDiversifierMessage) GetD() *DiversifierMessage { if x != nil { - return x.Txid + return x.D } return nil } -func (x *DecryptNotes_NoteTx) GetIndex() int32 { +type PaymentAddressMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + D *DiversifierMessage `protobuf:"bytes,1,opt,name=d,proto3" json:"d,omitempty"` + PkD []byte `protobuf:"bytes,2,opt,name=pkD,proto3" json:"pkD,omitempty"` + PaymentAddress string `protobuf:"bytes,3,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"` +} + +func (x *PaymentAddressMessage) Reset() { + *x = PaymentAddressMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[63] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PaymentAddressMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PaymentAddressMessage) ProtoMessage() {} + +func (x *PaymentAddressMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[63] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PaymentAddressMessage.ProtoReflect.Descriptor instead. +func (*PaymentAddressMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{63} +} + +func (x *PaymentAddressMessage) GetD() *DiversifierMessage { if x != nil { - return x.Index + return x.D } - return 0 + return nil } -type DecryptNotesMarked_NoteTx struct { +func (x *PaymentAddressMessage) GetPkD() []byte { + if x != nil { + return x.PkD + } + return nil +} + +func (x *PaymentAddressMessage) GetPaymentAddress() string { + if x != nil { + return x.PaymentAddress + } + return "" +} + +type ShieldedAddressInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` - Txid []byte `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"` //transaction id = sha256(transaction.raw_data) - Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` //the index of note in receive - IsSpend bool `protobuf:"varint,4,opt,name=is_spend,json=isSpend,proto3" json:"is_spend,omitempty"` + Sk []byte `protobuf:"bytes,1,opt,name=sk,proto3" json:"sk,omitempty"` + Ask []byte `protobuf:"bytes,2,opt,name=ask,proto3" json:"ask,omitempty"` + Nsk []byte `protobuf:"bytes,3,opt,name=nsk,proto3" json:"nsk,omitempty"` + Ovk []byte `protobuf:"bytes,4,opt,name=ovk,proto3" json:"ovk,omitempty"` + Ak []byte `protobuf:"bytes,5,opt,name=ak,proto3" json:"ak,omitempty"` + Nk []byte `protobuf:"bytes,6,opt,name=nk,proto3" json:"nk,omitempty"` + Ivk []byte `protobuf:"bytes,7,opt,name=ivk,proto3" json:"ivk,omitempty"` + D []byte `protobuf:"bytes,8,opt,name=d,proto3" json:"d,omitempty"` + PkD []byte `protobuf:"bytes,9,opt,name=pkD,proto3" json:"pkD,omitempty"` + PaymentAddress string `protobuf:"bytes,10,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"` } -func (x *DecryptNotesMarked_NoteTx) Reset() { - *x = DecryptNotesMarked_NoteTx{} +func (x *ShieldedAddressInfo) Reset() { + *x = ShieldedAddressInfo{} if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[66] + mi := &file_api_api_proto_msgTypes[64] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *DecryptNotesMarked_NoteTx) String() string { +func (x *ShieldedAddressInfo) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DecryptNotesMarked_NoteTx) ProtoMessage() {} +func (*ShieldedAddressInfo) ProtoMessage() {} -func (x *DecryptNotesMarked_NoteTx) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[66] +func (x *ShieldedAddressInfo) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[64] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4103,8847 +4156,5218 @@ func (x *DecryptNotesMarked_NoteTx) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DecryptNotesMarked_NoteTx.ProtoReflect.Descriptor instead. -func (*DecryptNotesMarked_NoteTx) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{41, 0} +// Deprecated: Use ShieldedAddressInfo.ProtoReflect.Descriptor instead. +func (*ShieldedAddressInfo) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{64} } -func (x *DecryptNotesMarked_NoteTx) GetNote() *Note { +func (x *ShieldedAddressInfo) GetSk() []byte { if x != nil { - return x.Note + return x.Sk } return nil } -func (x *DecryptNotesMarked_NoteTx) GetTxid() []byte { +func (x *ShieldedAddressInfo) GetAsk() []byte { if x != nil { - return x.Txid + return x.Ask } return nil } -func (x *DecryptNotesMarked_NoteTx) GetIndex() int32 { +func (x *ShieldedAddressInfo) GetNsk() []byte { if x != nil { - return x.Index + return x.Nsk } - return 0 + return nil } -func (x *DecryptNotesMarked_NoteTx) GetIsSpend() bool { +func (x *ShieldedAddressInfo) GetOvk() []byte { if x != nil { - return x.IsSpend + return x.Ovk + } + return nil +} + +func (x *ShieldedAddressInfo) GetAk() []byte { + if x != nil { + return x.Ak + } + return nil +} + +func (x *ShieldedAddressInfo) GetNk() []byte { + if x != nil { + return x.Nk + } + return nil +} + +func (x *ShieldedAddressInfo) GetIvk() []byte { + if x != nil { + return x.Ivk + } + return nil +} + +func (x *ShieldedAddressInfo) GetD() []byte { + if x != nil { + return x.D + } + return nil +} + +func (x *ShieldedAddressInfo) GetPkD() []byte { + if x != nil { + return x.PkD + } + return nil +} + +func (x *ShieldedAddressInfo) GetPaymentAddress() string { + if x != nil { + return x.PaymentAddress + } + return "" +} + +type NoteParameters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ak []byte `protobuf:"bytes,1,opt,name=ak,proto3" json:"ak,omitempty"` + Nk []byte `protobuf:"bytes,2,opt,name=nk,proto3" json:"nk,omitempty"` + Note *Note `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"` + Txid []byte `protobuf:"bytes,4,opt,name=txid,proto3" json:"txid,omitempty"` + Index int32 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"` +} + +func (x *NoteParameters) Reset() { + *x = NoteParameters{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NoteParameters) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NoteParameters) ProtoMessage() {} + +func (x *NoteParameters) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[65] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NoteParameters.ProtoReflect.Descriptor instead. +func (*NoteParameters) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{65} +} + +func (x *NoteParameters) GetAk() []byte { + if x != nil { + return x.Ak + } + return nil +} + +func (x *NoteParameters) GetNk() []byte { + if x != nil { + return x.Nk + } + return nil +} + +func (x *NoteParameters) GetNote() *Note { + if x != nil { + return x.Note + } + return nil +} + +func (x *NoteParameters) GetTxid() []byte { + if x != nil { + return x.Txid + } + return nil +} + +func (x *NoteParameters) GetIndex() int32 { + if x != nil { + return x.Index + } + return 0 +} + +type SpendResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` +} + +func (x *SpendResult) Reset() { + *x = SpendResult{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[66] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SpendResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SpendResult) ProtoMessage() {} + +func (x *SpendResult) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[66] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SpendResult.ProtoReflect.Descriptor instead. +func (*SpendResult) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{66} +} + +func (x *SpendResult) GetResult() bool { + if x != nil { + return x.Result } return false } -var File_api_api_proto protoreflect.FileDescriptor +func (x *SpendResult) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} -var file_api_api_proto_rawDesc = []byte{ - 0x0a, 0x0d, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, - 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x1a, 0x0f, 0x63, 0x6f, 0x72, 0x65, 0x2f, - 0x54, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x73, - 0x73, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x24, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x5f, - 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, - 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, 0x62, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x25, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x63, 0x6f, 0x72, - 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, - 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x25, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x2f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, 0x73, 0x6d, 0x61, 0x72, 0x74, 0x5f, 0x63, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x63, 0x6f, - 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, 0x73, 0x68, 0x69, 0x65, - 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x22, 0xab, 0x03, 0x0a, 0x06, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x12, 0x16, 0x0a, 0x06, - 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x12, 0x32, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, - 0x74, 0x75, 0x72, 0x6e, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, - 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x22, 0xba, 0x02, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, - 0x63, 0x6f, 0x64, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, - 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x49, 0x47, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, 0x12, - 0x1b, 0x0a, 0x17, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x41, 0x43, 0x54, 0x5f, 0x56, 0x41, 0x4c, 0x49, - 0x44, 0x41, 0x54, 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, - 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x41, 0x43, 0x54, 0x5f, 0x45, 0x58, 0x45, 0x5f, 0x45, 0x52, 0x52, - 0x4f, 0x52, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x42, 0x41, 0x4e, 0x44, 0x57, 0x49, 0x54, 0x48, - 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, 0x12, 0x19, 0x0a, 0x15, 0x44, 0x55, 0x50, 0x5f, - 0x54, 0x52, 0x41, 0x4e, 0x53, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f, - 0x52, 0x10, 0x05, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x41, 0x50, 0x4f, 0x53, 0x5f, 0x45, 0x52, 0x52, - 0x4f, 0x52, 0x10, 0x06, 0x12, 0x1d, 0x0a, 0x19, 0x54, 0x4f, 0x4f, 0x5f, 0x42, 0x49, 0x47, 0x5f, - 0x54, 0x52, 0x41, 0x4e, 0x53, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f, - 0x52, 0x10, 0x07, 0x12, 0x20, 0x0a, 0x1c, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x41, 0x43, 0x54, 0x49, - 0x4f, 0x4e, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x52, - 0x52, 0x4f, 0x52, 0x10, 0x08, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, - 0x42, 0x55, 0x53, 0x59, 0x10, 0x09, 0x12, 0x11, 0x0a, 0x0d, 0x4e, 0x4f, 0x5f, 0x43, 0x4f, 0x4e, - 0x4e, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x0a, 0x12, 0x23, 0x0a, 0x1f, 0x4e, 0x4f, 0x54, - 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x5f, 0x45, 0x46, 0x46, 0x45, 0x43, 0x54, 0x49, 0x56, - 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x0b, 0x12, 0x0f, - 0x0a, 0x0b, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x14, 0x22, - 0x4c, 0x0a, 0x0e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, - 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x1d, - 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x22, 0x3e, 0x0a, - 0x0b, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x09, - 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, - 0x73, 0x73, 0x52, 0x09, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x22, 0x40, 0x0a, - 0x0c, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x30, 0x0a, - 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x22, - 0x40, 0x0a, 0x0c, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, - 0x30, 0x0a, 0x09, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, - 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x09, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x73, 0x22, 0x4e, 0x0a, 0x0e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, - 0x69, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, - 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, - 0x65, 0x22, 0x32, 0x0a, 0x09, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x25, - 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x05, - 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x4a, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x22, 0x5a, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x20, 0x0a, - 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, - 0x1c, 0x0a, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x62, 0x0a, - 0x15, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x49, 0x0a, 0x11, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, - 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, - 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x11, - 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x22, 0x30, 0x0a, 0x08, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x24, 0x0a, - 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, - 0x64, 0x65, 0x73, 0x22, 0x33, 0x0a, 0x04, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x2b, 0x0a, 0x07, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, - 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x31, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x0e, 0x0a, 0x0c, 0x45, - 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x21, 0x0a, 0x0d, 0x4e, - 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, - 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x22, 0x24, - 0x0a, 0x0c, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x22, 0x6d, 0x0a, 0x0b, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x49, 0x6e, 0x4d, 0x69, - 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x13, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x49, 0x6e, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, - 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x4d, 0x69, - 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x11, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, - 0x6e, 0x64, 0x73, 0x22, 0x40, 0x0a, 0x0a, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x6d, 0x69, - 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x75, 0x6d, 0x12, 0x16, 0x0a, - 0x06, 0x65, 0x6e, 0x64, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x65, - 0x6e, 0x64, 0x4e, 0x75, 0x6d, 0x22, 0x54, 0x0a, 0x10, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x74, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, - 0x1a, 0x0a, 0x08, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x08, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x4e, 0x75, 0x6d, 0x22, 0x6d, 0x0a, 0x10, 0x41, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x12, - 0x2b, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, - 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, - 0x66, 0x73, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x7d, 0x0a, 0x14, 0x54, 0x69, - 0x6d, 0x65, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0b, - 0x74, 0x69, 0x6d, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6f, - 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, - 0x73, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x89, 0x04, 0x0a, 0x11, 0x41, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x65, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, - 0x20, 0x0a, 0x0b, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, - 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, - 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, - 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x12, - 0x1a, 0x0a, 0x08, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x08, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x51, 0x0a, 0x0c, 0x61, - 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x2d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x65, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x41, - 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x52, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x12, 0x54, - 0x0a, 0x0d, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, - 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x65, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, - 0x69, 0x6d, 0x69, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, - 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x54, 0x6f, 0x74, - 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x54, 0x6f, - 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x08, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x0e, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x57, 0x65, 0x69, 0x67, - 0x68, 0x74, 0x1a, 0x3f, 0x0a, 0x11, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, - 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, - 0x02, 0x38, 0x01, 0x1a, 0x40, 0x0a, 0x12, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, - 0x69, 0x6d, 0x69, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xfa, 0x05, 0x0a, 0x16, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x55, 0x73, - 0x65, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, - 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, - 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, - 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, - 0x12, 0x1a, 0x0a, 0x08, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x08, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x56, 0x0a, 0x0c, - 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x18, 0x05, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, - 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, - 0x55, 0x73, 0x65, 0x64, 0x12, 0x59, 0x0a, 0x0d, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, - 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x73, - 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x52, 0x0d, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, - 0x24, 0x0a, 0x0d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, - 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, - 0x74, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x54, - 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1e, 0x0a, - 0x0a, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, 0x65, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0a, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, 0x65, 0x64, 0x12, 0x20, 0x0a, - 0x0b, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x0e, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x0b, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, - 0x2a, 0x0a, 0x10, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, - 0x6d, 0x69, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x54, 0x6f, 0x74, 0x61, 0x6c, - 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x2c, 0x0a, 0x11, 0x54, - 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, - 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x6e, 0x65, - 0x72, 0x67, 0x79, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x55, 0x73, 0x65, 0x64, 0x18, 0x15, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, - 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x55, 0x73, 0x65, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x73, - 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x16, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x1a, - 0x3f, 0x0a, 0x11, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, - 0x1a, 0x40, 0x0a, 0x12, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, - 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, - 0x38, 0x01, 0x22, 0x40, 0x0a, 0x10, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x14, - 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, - 0x69, 0x6d, 0x69, 0x74, 0x22, 0x6b, 0x0a, 0x13, 0x45, 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x66, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, - 0x61, 0x73, 0x73, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x0a, 0x70, 0x61, 0x73, 0x73, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, - 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, - 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 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, 0x8a, 0x01, 0x0a, 0x18, 0x45, 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, - 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1e, - 0x0a, 0x0a, 0x70, 0x61, 0x73, 0x73, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x61, 0x73, 0x73, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x12, 0x1c, - 0x0a, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, - 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, - 0x73, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x74, - 0x0a, 0x1c, 0x45, 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x42, 0x79, - 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1e, - 0x0a, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1c, - 0x0a, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 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, 0x93, 0x01, 0x0a, 0x21, 0x45, 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x42, 0x79, 0x50, 0x72, 0x69, 0x76, - 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, - 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, - 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x6f, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, - 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x73, 0x73, 0x65, - 0x74, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x73, 0x73, 0x65, 0x74, - 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x8d, 0x01, 0x0a, 0x14, 0x45, - 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x06, - 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x52, 0x06, - 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x22, 0x53, 0x0a, 0x17, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x50, 0x72, 0x4b, 0x65, 0x79, 0x50, 0x61, 0x69, 0x72, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, - 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x22, - 0xb6, 0x01, 0x0a, 0x14, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, - 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x04, 0x74, 0x78, 0x69, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, - 0x74, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0e, - 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x28, - 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, - 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0xa8, 0x01, 0x0a, 0x0e, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x42, 0x0a, 0x0c, 0x74, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, - 0x38, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0b, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x62, 0x6c, 0x6f, 0x63, - 0x6b, 0x69, 0x64, 0x22, 0x44, 0x0a, 0x12, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, - 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x0a, 0x05, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x5c, 0x0a, 0x18, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x74, 0x65, - 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x75, 0x0a, 0x1a, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, - 0x65, 0x54, 0x72, 0x65, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x3f, 0x0a, - 0x0a, 0x6d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, 0x65, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, - 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, - 0x65, 0x65, 0x52, 0x0a, 0x6d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, 0x65, 0x65, 0x22, 0xac, - 0x04, 0x0a, 0x15, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, - 0x67, 0x6e, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x34, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x6d, - 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x23, - 0x0a, 0x0d, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0c, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x4c, - 0x69, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x77, - 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x63, 0x75, 0x72, - 0x72, 0x65, 0x6e, 0x74, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x3e, 0x0a, 0x06, 0x72, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x40, 0x0a, 0x0b, 0x74, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x8e, 0x02, 0x0a, - 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x48, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, - 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x72, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, - 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x9f, 0x01, 0x0a, 0x0d, - 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x15, 0x0a, - 0x11, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x5f, 0x50, 0x45, 0x52, 0x4d, 0x49, 0x53, 0x53, 0x49, - 0x4f, 0x4e, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, - 0x47, 0x48, 0x5f, 0x50, 0x45, 0x52, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, - 0x1a, 0x0a, 0x16, 0x53, 0x49, 0x47, 0x4e, 0x41, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x46, 0x4f, 0x52, - 0x4d, 0x41, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x19, 0x0a, 0x15, 0x43, - 0x4f, 0x4d, 0x50, 0x55, 0x54, 0x45, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x45, - 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x45, 0x52, 0x4d, 0x49, 0x53, - 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, 0x12, 0x0f, 0x0a, 0x0b, - 0x4f, 0x54, 0x48, 0x45, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x14, 0x22, 0x99, 0x03, - 0x0a, 0x17, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x70, 0x70, - 0x72, 0x6f, 0x76, 0x65, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x70, 0x70, - 0x72, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, - 0x52, 0x0c, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x40, - 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x4c, 0x69, 0x73, - 0x74, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x12, 0x40, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, - 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x1a, 0xd4, 0x01, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x4a, 0x0a, - 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x2e, 0x52, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x63, - 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x22, 0x64, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, - 0x63, 0x6f, 0x64, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, - 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x49, 0x47, 0x4e, 0x41, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x46, - 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x19, 0x0a, - 0x15, 0x43, 0x4f, 0x4d, 0x50, 0x55, 0x54, 0x45, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, 0x53, 0x53, - 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x4f, 0x54, 0x48, 0x45, - 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x14, 0x22, 0x7c, 0x0a, 0x14, 0x49, 0x76, 0x6b, - 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, - 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, - 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x73, 0x74, - 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x26, 0x0a, - 0x0f, 0x65, 0x6e, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x65, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x76, 0x6b, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x03, 0x69, 0x76, 0x6b, 0x22, 0xa3, 0x01, 0x0a, 0x1b, 0x49, 0x76, 0x6b, 0x44, - 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x41, 0x6e, 0x64, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x72, 0x74, - 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, - 0x64, 0x65, 0x78, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, - 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x65, 0x6e, - 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x10, 0x0a, 0x03, 0x69, - 0x76, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x69, 0x76, 0x6b, 0x12, 0x0e, 0x0a, - 0x02, 0x61, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x61, 0x6b, 0x12, 0x0e, 0x0a, - 0x02, 0x6e, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x6e, 0x6b, 0x22, 0x7c, 0x0a, - 0x14, 0x4f, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x62, - 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, - 0x78, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, - 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x65, 0x6e, 0x64, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, 0x22, 0x9f, 0x01, 0x0a, 0x0c, - 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x37, 0x0a, 0x07, - 0x6e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, - 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x52, 0x07, 0x6e, 0x6f, - 0x74, 0x65, 0x54, 0x78, 0x73, 0x1a, 0x56, 0x0a, 0x06, 0x4e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x12, - 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, - 0x6f, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0xc6, 0x01, - 0x0a, 0x12, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x4d, 0x61, - 0x72, 0x6b, 0x65, 0x64, 0x12, 0x3d, 0x0a, 0x07, 0x6e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x4d, 0x61, 0x72, - 0x6b, 0x65, 0x64, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x52, 0x07, 0x6e, 0x6f, 0x74, 0x65, - 0x54, 0x78, 0x73, 0x1a, 0x71, 0x0a, 0x06, 0x4e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x12, 0x22, 0x0a, - 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, - 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x04, 0x74, 0x78, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x19, 0x0a, 0x08, 0x69, - 0x73, 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, - 0x73, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x22, 0x6b, 0x0a, 0x04, 0x4e, 0x6f, 0x74, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, - 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x10, 0x0a, - 0x03, 0x72, 0x63, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x72, 0x63, 0x6d, 0x12, - 0x12, 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6d, - 0x65, 0x6d, 0x6f, 0x22, 0x97, 0x01, 0x0a, 0x09, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x74, - 0x65, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, - 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x12, 0x3c, 0x0a, 0x07, 0x76, - 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, - 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, - 0x52, 0x07, 0x76, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, - 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x31, 0x0a, - 0x0b, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x12, 0x22, 0x0a, 0x04, - 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, - 0x22, 0xf9, 0x02, 0x0a, 0x11, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x38, 0x0a, 0x18, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, - 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x16, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, - 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x12, 0x10, 0x0a, 0x03, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x61, - 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x03, 0x6e, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, - 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x66, 0x72, 0x6f, - 0x6d, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3c, 0x0a, 0x0f, 0x73, 0x68, 0x69, 0x65, 0x6c, - 0x64, 0x65, 0x64, 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, - 0x64, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x0e, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x53, - 0x70, 0x65, 0x6e, 0x64, 0x73, 0x12, 0x42, 0x0a, 0x11, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, - 0x64, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x63, 0x65, - 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x10, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, - 0x64, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x74, 0x72, 0x61, - 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, - 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, - 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x81, 0x03, 0x0a, - 0x1b, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, - 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x6f, 0x75, 0x74, 0x41, 0x73, 0x6b, 0x12, 0x38, 0x0a, 0x18, - 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x72, 0x6f, 0x6d, - 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x16, - 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x02, 0x61, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6e, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, - 0x6f, 0x6d, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3c, 0x0a, 0x0f, 0x73, - 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x06, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x53, 0x70, 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x0e, 0x73, 0x68, 0x69, 0x65, 0x6c, - 0x64, 0x65, 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x12, 0x42, 0x0a, 0x11, 0x73, 0x68, 0x69, - 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x18, 0x07, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x10, 0x73, 0x68, 0x69, - 0x65, 0x6c, 0x64, 0x65, 0x64, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x12, 0x34, 0x0a, - 0x16, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x5f, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x74, - 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, - 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, - 0x22, 0x59, 0x0a, 0x16, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x41, 0x75, 0x74, 0x68, 0x53, 0x69, 0x67, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x73, - 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x61, 0x73, 0x6b, 0x12, 0x17, 0x0a, 0x07, - 0x74, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x74, - 0x78, 0x48, 0x61, 0x73, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x22, 0x90, 0x01, 0x0a, 0x0c, - 0x4e, 0x66, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x22, 0x0a, 0x04, - 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, - 0x12, 0x3c, 0x0a, 0x07, 0x76, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, - 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, - 0x75, 0x63, 0x68, 0x65, 0x72, 0x52, 0x07, 0x76, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x12, 0x0e, - 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x61, 0x6b, 0x12, 0x0e, - 0x0a, 0x02, 0x6e, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x6e, 0x6b, 0x22, 0x52, - 0x0a, 0x1a, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x65, 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x69, - 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, - 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x61, 0x73, 0x6b, 0x12, 0x10, - 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6e, 0x73, 0x6b, - 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, - 0x76, 0x6b, 0x22, 0x33, 0x0a, 0x11, 0x56, 0x69, 0x65, 0x77, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x02, 0x61, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x6e, 0x6b, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x02, 0x6e, 0x6b, 0x22, 0x2d, 0x0a, 0x19, 0x49, 0x6e, 0x63, 0x6f, 0x6d, - 0x69, 0x6e, 0x67, 0x56, 0x69, 0x65, 0x77, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x76, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x03, 0x69, 0x76, 0x6b, 0x22, 0x22, 0x0a, 0x12, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, - 0x69, 0x66, 0x69, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x0c, 0x0a, 0x01, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x64, 0x22, 0x89, 0x01, 0x0a, 0x24, 0x49, - 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x56, 0x69, 0x65, 0x77, 0x69, 0x6e, 0x67, 0x4b, 0x65, - 0x79, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x12, 0x35, 0x0a, 0x03, 0x69, 0x76, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x6f, - 0x6d, 0x69, 0x6e, 0x67, 0x56, 0x69, 0x65, 0x77, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x03, 0x69, 0x76, 0x6b, 0x12, 0x2a, 0x0a, 0x01, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x52, 0x01, 0x64, 0x22, 0x7e, 0x0a, 0x15, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, - 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, - 0x2a, 0x0a, 0x01, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, 0x69, 0x65, - 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x01, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x70, - 0x6b, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x70, 0x6b, 0x44, 0x12, 0x27, 0x0a, - 0x0f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xd6, 0x01, 0x0a, 0x13, 0x53, 0x68, 0x69, 0x65, 0x6c, - 0x64, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, - 0x0a, 0x02, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x73, 0x6b, 0x12, 0x10, - 0x0a, 0x03, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x61, 0x73, 0x6b, - 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6e, - 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x03, 0x6f, 0x76, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x02, 0x61, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x6e, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x02, 0x6e, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x76, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x03, 0x69, 0x76, 0x6b, 0x12, 0x0c, 0x0a, 0x01, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x01, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x6b, 0x44, 0x18, 0x09, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x03, 0x70, 0x6b, 0x44, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, - 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0e, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, - 0x7e, 0x0a, 0x0e, 0x4e, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, - 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x61, - 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x6e, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x6e, - 0x6b, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, - 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, - 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, - 0x3f, 0x0a, 0x0b, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x16, - 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, - 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x22, 0x5a, 0x0a, 0x13, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x74, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x32, 0xc3, 0x61, 0x0a, - 0x06, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x12, 0x67, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x41, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x33, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x2d, 0x22, 0x12, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, - 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x14, 0x12, 0x12, 0x2f, 0x77, - 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x12, 0x73, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, - 0x49, 0x64, 0x12, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x3b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x35, - 0x22, 0x16, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x62, 0x79, 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x18, 0x12, 0x16, 0x2f, - 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x62, 0x79, 0x69, 0x64, 0x12, 0x89, 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x41, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x22, 0x19, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x3a, 0x01, 0x2a, 0x5a, 0x1b, 0x12, 0x19, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x52, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x32, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, - 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x88, 0x01, 0x0a, 0x14, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, - 0x61, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x15, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x22, 0x47, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x41, 0x22, - 0x1c, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, - 0x73, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x01, 0x2a, - 0x5a, 0x1e, 0x12, 0x1c, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x62, 0x72, 0x6f, 0x61, - 0x64, 0x63, 0x61, 0x73, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x82, 0x01, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, - 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x61, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x7e, 0x0a, 0x0c, 0x53, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x53, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x37, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x31, 0x22, 0x14, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x73, 0x65, - 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x16, 0x12, - 0x14, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x73, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x69, 0x64, 0x12, 0x53, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, - 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x8f, 0x01, 0x0a, 0x12, 0x56, - 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x12, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x74, - 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x22, - 0x1a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x76, 0x6f, 0x74, 0x65, 0x77, 0x69, 0x74, - 0x6e, 0x65, 0x73, 0x73, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x1c, - 0x12, 0x1a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x76, 0x6f, 0x74, 0x65, 0x77, 0x69, - 0x74, 0x6e, 0x65, 0x73, 0x73, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x0d, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x1f, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, - 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, - 0x12, 0x5a, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, - 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, - 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x13, - 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x32, 0x12, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, - 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, - 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x88, 0x01, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, - 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x12, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3f, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x22, 0x18, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, - 0x3a, 0x01, 0x2a, 0x5a, 0x1a, 0x12, 0x18, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x12, - 0x53, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, - 0x73, 0x75, 0x65, 0x32, 0x12, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, - 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, - 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, - 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x3a, 0x01, 0x2a, - 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x53, 0x0a, 0x0e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x32, 0x12, 0x1f, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x82, - 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, - 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, - 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x61, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x12, 0x53, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x32, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, - 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, - 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, - 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x53, 0x0a, - 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x32, 0x12, - 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, - 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, - 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x0d, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, - 0x73, 0x73, 0x65, 0x74, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x74, 0x72, - 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x61, 0x73, 0x73, 0x65, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x17, - 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, - 0x65, 0x72, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x53, 0x0a, 0x0e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x32, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, - 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0xa2, 0x01, 0x0a, - 0x15, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, - 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x12, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, - 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, - 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x49, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x43, 0x22, 0x1d, - 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, - 0x61, 0x74, 0x65, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x3a, 0x01, 0x2a, - 0x5a, 0x1f, 0x12, 0x1d, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x70, 0x61, 0x72, 0x74, - 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, - 0x65, 0x12, 0x63, 0x0a, 0x16, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, - 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x32, 0x12, 0x27, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, - 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, - 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x0d, 0x46, 0x72, 0x65, 0x65, 0x7a, - 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, - 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x2f, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x3a, - 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x66, 0x72, - 0x65, 0x65, 0x7a, 0x65, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x53, 0x0a, 0x0e, 0x46, - 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x32, 0x12, 0x1f, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, - 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, - 0x12, 0x8a, 0x01, 0x0a, 0x0f, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, - 0x61, 0x6e, 0x63, 0x65, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3d, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x22, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, - 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x3a, - 0x01, 0x2a, 0x5a, 0x19, 0x12, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x6e, - 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x57, 0x0a, - 0x10, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, - 0x32, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x6e, 0x66, - 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, - 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x0d, 0x55, 0x6e, 0x66, 0x72, 0x65, - 0x65, 0x7a, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x73, 0x73, 0x65, - 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x2f, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x61, 0x73, 0x73, 0x65, 0x74, 0x3a, - 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x6e, - 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x53, 0x0a, 0x0e, 0x55, - 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x32, 0x12, 0x1f, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, - 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, - 0x12, 0x8a, 0x01, 0x0a, 0x0f, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, - 0x61, 0x6e, 0x63, 0x65, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3d, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x22, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, - 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x3a, - 0x01, 0x2a, 0x5a, 0x19, 0x12, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x77, 0x69, - 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x57, 0x0a, - 0x10, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, - 0x32, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, - 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, - 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x7a, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x35, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x2f, 0x22, 0x13, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x61, 0x73, 0x73, 0x65, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x15, 0x12, 0x13, 0x2f, - 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x61, 0x73, 0x73, - 0x65, 0x74, 0x12, 0x4f, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, - 0x74, 0x32, 0x12, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, - 0x6e, 0x22, 0x00, 0x12, 0x54, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, - 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x0f, 0x50, 0x72, 0x6f, - 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x12, 0x21, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, - 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, - 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, - 0x00, 0x12, 0x54, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x12, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, - 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, - 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x0a, 0x42, 0x75, 0x79, 0x53, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x42, 0x75, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, - 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x0f, 0x42, 0x75, 0x79, 0x53, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x75, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x42, 0x79, - 0x74, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x4e, 0x0a, - 0x0b, 0x53, 0x65, 0x6c, 0x6c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x1d, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x65, 0x6c, 0x6c, 0x53, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x54, 0x0a, - 0x0e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, - 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, - 0x6e, 0x67, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, - 0x6e, 0x22, 0x00, 0x12, 0x54, 0x0a, 0x0e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, - 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, - 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x10, 0x45, 0x78, 0x63, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x12, 0x22, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, - 0x65, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, - 0x6e, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x13, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, - 0x6e, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x73, - 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, - 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x31, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x2b, 0x22, 0x11, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, 0x69, - 0x73, 0x74, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x13, 0x12, 0x11, 0x2f, 0x77, - 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x12, - 0x92, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, - 0x65, 0x42, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x11, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x18, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, - 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x4b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x22, - 0x1e, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, - 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x62, 0x79, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, - 0x01, 0x2a, 0x5a, 0x20, 0x12, 0x1e, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, - 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x62, 0x79, 0x61, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x7a, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x4e, 0x65, 0x74, 0x12, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x65, 0x74, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, - 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x6e, 0x65, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, - 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x6e, 0x65, 0x74, - 0x12, 0x4b, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x92, 0x01, - 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x42, - 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, - 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x22, 0x45, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x3f, 0x22, 0x1b, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, - 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x62, 0x79, 0x6e, 0x61, 0x6d, 0x65, - 0x3a, 0x01, 0x2a, 0x5a, 0x1d, 0x12, 0x1b, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, - 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x62, 0x79, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x4d, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, - 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, - 0x00, 0x12, 0x4b, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, - 0x75, 0x65, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, - 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x22, 0x00, 0x12, 0x6d, - 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x77, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x16, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x35, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x22, 0x13, - 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x6e, 0x6f, 0x77, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x3a, 0x01, 0x2a, 0x5a, 0x15, 0x12, 0x13, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x2f, 0x67, 0x65, 0x74, 0x6e, 0x6f, 0x77, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x42, 0x0a, - 0x0c, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x77, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x32, 0x12, 0x16, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, - 0x00, 0x12, 0x74, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4e, - 0x75, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, - 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x39, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, - 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6e, 0x75, 0x6d, 0x3a, 0x01, 0x2a, 0x5a, 0x17, - 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x62, 0x79, 0x6e, 0x75, 0x6d, 0x12, 0x45, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x32, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x53, - 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, - 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, - 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, - 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, - 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x37, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x31, 0x22, 0x14, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, - 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x16, 0x12, - 0x14, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, - 0x6b, 0x62, 0x79, 0x69, 0x64, 0x12, 0x87, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x42, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4e, 0x65, 0x78, 0x74, 0x12, 0x14, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, - 0x6d, 0x69, 0x74, 0x1a, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x45, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, - 0x22, 0x1b, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x62, 0x79, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x6e, 0x65, 0x78, 0x74, 0x3a, 0x01, 0x2a, - 0x5a, 0x1d, 0x12, 0x1b, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, - 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x6e, 0x65, 0x78, 0x74, 0x12, - 0x4c, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4c, 0x69, 0x6d, - 0x69, 0x74, 0x4e, 0x65, 0x78, 0x74, 0x32, 0x12, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x1a, 0x1c, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, - 0x73, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x8a, 0x01, - 0x0a, 0x13, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4c, 0x61, 0x74, 0x65, - 0x73, 0x74, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x13, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, - 0x69, 0x73, 0x74, 0x22, 0x45, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x22, 0x1b, 0x2f, 0x77, 0x61, - 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6c, - 0x61, 0x74, 0x65, 0x73, 0x74, 0x6e, 0x75, 0x6d, 0x3a, 0x01, 0x2a, 0x5a, 0x1d, 0x12, 0x1b, 0x2f, - 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, - 0x79, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x6e, 0x75, 0x6d, 0x12, 0x4f, 0x0a, 0x14, 0x47, 0x65, - 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x4e, 0x75, - 0x6d, 0x32, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, - 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, - 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x88, 0x01, 0x0a, 0x12, - 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, - 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, - 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x22, 0x1a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, - 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x62, 0x79, 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x1c, 0x12, 0x1a, 0x2f, 0x77, 0x61, 0x6c, - 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x62, 0x79, 0x69, 0x64, 0x12, 0x51, 0x0a, 0x0e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, - 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x40, 0x0a, 0x0b, 0x47, 0x65, 0x74, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, - 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x0f, 0x54, - 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x1e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, - 0x72, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, - 0x12, 0x5b, 0x0a, 0x17, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x73, 0x74, - 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x1e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, - 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x50, 0x0a, - 0x10, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x42, - 0x49, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x6c, 0x65, - 0x61, 0x72, 0x41, 0x42, 0x49, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, - 0x79, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, - 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, - 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x22, - 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, - 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x3a, 0x01, - 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, 0x69, 0x73, - 0x74, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x5d, 0x0a, 0x14, 0x47, 0x65, - 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x12, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, - 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x65, 0x0a, 0x20, 0x47, 0x65, 0x74, - 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x16, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x00, - 0x12, 0x7a, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, - 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, - 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x4c, 0x69, 0x73, - 0x74, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, - 0x65, 0x74, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, - 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, - 0x69, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x9f, 0x01, 0x0a, - 0x18, 0x47, 0x65, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x50, 0x72, 0x6f, - 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x4f, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x49, 0x22, 0x20, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, - 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x70, 0x72, 0x6f, 0x70, 0x6f, - 0x73, 0x61, 0x6c, 0x6c, 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x22, 0x12, 0x20, 0x2f, 0x77, - 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, - 0x65, 0x64, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x7c, - 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x42, 0x79, 0x49, - 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, - 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x22, 0x3d, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x22, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, - 0x65, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x62, 0x79, 0x69, 0x64, 0x3a, 0x01, - 0x2a, 0x5a, 0x19, 0x12, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, - 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x62, 0x79, 0x69, 0x64, 0x12, 0x7a, 0x0a, 0x0d, - 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x16, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x39, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, - 0x69, 0x73, 0x74, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x3a, 0x01, 0x2a, 0x5a, - 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x65, - 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x9f, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, - 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, - 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x4f, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x49, 0x22, 0x20, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, - 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, - 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x22, 0x12, 0x20, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x65, 0x78, - 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x7c, 0x0a, 0x0f, 0x47, 0x65, - 0x74, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x22, 0x3d, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x37, 0x22, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x65, 0x78, - 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x62, 0x79, 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x19, 0x12, - 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x65, 0x78, 0x63, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x62, 0x79, 0x69, 0x64, 0x12, 0x8c, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, - 0x43, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, - 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, - 0x72, 0x73, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x22, 0x1a, 0x2f, 0x77, 0x61, 0x6c, - 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x70, 0x61, 0x72, 0x61, - 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x1c, 0x12, 0x1a, 0x2f, 0x77, 0x61, - 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x70, 0x61, 0x72, - 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x88, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, - 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, - 0x41, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x22, 0x19, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, - 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, 0x69, - 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x1b, 0x12, 0x19, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, - 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, 0x69, - 0x73, 0x74, 0x12, 0xa7, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, - 0x74, 0x65, 0x64, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, - 0x74, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x61, 0x67, - 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, - 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x53, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4d, 0x22, - 0x22, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, - 0x6e, 0x61, 0x74, 0x65, 0x64, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, - 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x24, 0x12, 0x22, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x61, 0x73, - 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x84, 0x01, 0x0a, - 0x10, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, - 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x22, 0x18, 0x2f, 0x77, 0x61, 0x6c, - 0x6c, 0x65, 0x74, 0x2f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x01, 0x2a, 0x5a, 0x1a, 0x12, 0x18, 0x2f, 0x77, 0x61, 0x6c, 0x6c, - 0x65, 0x74, 0x2f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x96, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x78, 0x74, 0x4d, - 0x61, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, - 0x4b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x22, 0x1e, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, - 0x2f, 0x67, 0x65, 0x74, 0x6e, 0x65, 0x78, 0x74, 0x6d, 0x61, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x61, - 0x6e, 0x63, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x20, 0x12, 0x1e, 0x2f, 0x77, - 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x6e, 0x65, 0x78, 0x74, 0x6d, 0x61, 0x69, - 0x6e, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x8b, 0x01, 0x0a, - 0x12, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, - 0x69, 0x67, 0x6e, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x1a, 0x15, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x22, 0x1a, 0x2f, - 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x69, 0x67, 0x6e, 0x3a, 0x01, 0x2a, 0x5a, 0x1c, 0x12, 0x1a, - 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x69, 0x67, 0x6e, 0x12, 0x52, 0x0a, 0x13, 0x47, 0x65, - 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, - 0x32, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x1a, 0x1e, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x7a, - 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, - 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, - 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, - 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x3a, 0x01, - 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x59, 0x0a, 0x11, 0x45, 0x61, - 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, - 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x61, 0x73, 0x79, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, - 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6b, 0x0a, 0x1a, 0x45, 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x42, 0x79, 0x50, 0x72, 0x69, 0x76, - 0x61, 0x74, 0x65, 0x12, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, - 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, - 0x42, 0x79, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x61, 0x73, 0x79, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x86, 0x01, 0x0a, 0x0c, 0x45, 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x66, 0x65, 0x72, 0x12, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, - 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x61, - 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x37, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x22, 0x14, 0x2f, 0x77, 0x61, 0x6c, - 0x6c, 0x65, 0x74, 0x2f, 0x65, 0x61, 0x73, 0x79, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, - 0x3a, 0x01, 0x2a, 0x5a, 0x16, 0x12, 0x14, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x65, - 0x61, 0x73, 0x79, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0xaa, 0x01, 0x0a, 0x15, - 0x45, 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x42, 0x79, 0x50, 0x72, - 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x26, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x45, 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x42, 0x79, 0x50, - 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x49, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x43, 0x22, 0x1d, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x65, - 0x61, 0x73, 0x79, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x62, 0x79, 0x70, 0x72, 0x69, - 0x76, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x1f, 0x12, 0x1d, 0x2f, 0x77, 0x61, 0x6c, 0x6c, - 0x65, 0x74, 0x2f, 0x65, 0x61, 0x73, 0x79, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x62, - 0x79, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x8b, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x6e, - 0x65, 0x72, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x1a, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x50, 0x72, 0x4b, 0x65, 0x79, 0x50, 0x61, 0x69, 0x72, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x3d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x22, - 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, - 0x65, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x19, 0x12, 0x17, 0x2f, - 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x98, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x79, 0x49, - 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, - 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x4b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x22, 0x1e, 0x2f, 0x77, - 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x66, 0x6f, 0x62, 0x79, 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, - 0x20, 0x12, 0x1e, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x66, 0x6f, 0x62, 0x79, 0x69, - 0x64, 0x12, 0xb3, 0x01, 0x0a, 0x17, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x29, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, - 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x4d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x47, - 0x22, 0x1f, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x75, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x21, 0x12, 0x1f, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, - 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x46, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x53, 0x69, - 0x67, 0x6e, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x1a, 0x1e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, - 0x54, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x15, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x57, 0x65, 0x69, - 0x67, 0x68, 0x74, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x4c, - 0x69, 0x73, 0x74, 0x12, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x21, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, - 0x3b, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x00, 0x12, 0x42, 0x0a, 0x0d, - 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, - 0x12, 0x45, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x61, 0x67, 0x65, - 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x61, 0x67, 0x65, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x72, 0x6f, 0x6b, - 0x65, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, - 0x5a, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, - 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5f, 0x0a, 0x18, 0x47, - 0x65, 0x74, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, 0x65, 0x65, 0x56, 0x6f, 0x75, 0x63, - 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x6e, - 0x66, 0x6f, 0x1a, 0x26, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, - 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, - 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0d, - 0x53, 0x63, 0x61, 0x6e, 0x4e, 0x6f, 0x74, 0x65, 0x42, 0x79, 0x49, 0x76, 0x6b, 0x12, 0x1e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, - 0x79, 0x70, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x16, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, - 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x14, 0x53, 0x63, 0x61, 0x6e, 0x41, - 0x6e, 0x64, 0x4d, 0x61, 0x72, 0x6b, 0x4e, 0x6f, 0x74, 0x65, 0x42, 0x79, 0x49, 0x76, 0x6b, 0x12, - 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, 0x65, - 0x63, 0x72, 0x79, 0x70, 0x74, 0x41, 0x6e, 0x64, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x4d, 0x61, - 0x72, 0x6b, 0x65, 0x64, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0d, 0x53, 0x63, 0x61, 0x6e, 0x4e, 0x6f, - 0x74, 0x65, 0x42, 0x79, 0x4f, 0x76, 0x6b, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x4f, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x22, - 0x00, 0x12, 0x42, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, - 0x4b, 0x65, 0x79, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, - 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x45, 0x78, 0x70, 0x61, - 0x6e, 0x64, 0x65, 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x12, - 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x65, 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, - 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, - 0x40, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x41, 0x6b, 0x46, 0x72, 0x6f, 0x6d, 0x41, 0x73, 0x6b, 0x12, - 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, - 0x00, 0x12, 0x40, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x4e, 0x6b, 0x46, 0x72, 0x6f, 0x6d, 0x4e, 0x73, - 0x6b, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, - 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, - 0x6e, 0x67, 0x56, 0x69, 0x65, 0x77, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x12, 0x1b, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x69, 0x6e, 0x67, 0x4b, - 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x56, 0x69, 0x65, - 0x77, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, - 0x12, 0x48, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, 0x69, - 0x65, 0x72, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, - 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, 0x69, 0x65, - 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x15, 0x47, 0x65, - 0x74, 0x4e, 0x65, 0x77, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, - 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1d, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x00, 0x12, 0x69, 0x0a, 0x14, - 0x47, 0x65, 0x74, 0x5a, 0x65, 0x6e, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x12, 0x2e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x56, 0x69, 0x65, 0x77, 0x69, 0x6e, 0x67, 0x4b, - 0x65, 0x79, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x06, 0x47, 0x65, 0x74, 0x52, 0x63, - 0x6d, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, - 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x22, 0x00, 0x12, 0x3c, 0x0a, 0x07, 0x49, 0x73, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x12, 0x18, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, - 0x00, 0x12, 0x77, 0x0a, 0x2c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, - 0x64, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, - 0x74, 0x68, 0x6f, 0x75, 0x74, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x41, 0x75, 0x74, 0x68, 0x53, 0x69, - 0x67, 0x12, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x69, - 0x76, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, - 0x74, 0x68, 0x6f, 0x75, 0x74, 0x41, 0x73, 0x6b, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, - 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x18, 0x47, 0x65, - 0x74, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x12, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x16, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x41, 0x75, 0x74, 0x68, 0x53, 0x69, 0x67, 0x12, 0x20, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x41, 0x75, - 0x74, 0x68, 0x53, 0x69, 0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, - 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x15, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x4e, 0x75, 0x6c, 0x6c, 0x69, 0x66, 0x69, - 0x65, 0x72, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x66, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, - 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x79, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x1a, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, - 0x22, 0x00, 0x32, 0xc5, 0x17, 0x0a, 0x0e, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x53, 0x6f, 0x6c, - 0x69, 0x64, 0x69, 0x74, 0x79, 0x12, 0x77, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x12, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x3d, 0x22, 0x1a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, - 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x01, 0x2a, - 0x5a, 0x1c, 0x12, 0x1a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, - 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x83, - 0x01, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x49, - 0x64, 0x12, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x4b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x22, - 0x1e, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, - 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x62, 0x79, 0x69, 0x64, 0x3a, - 0x01, 0x2a, 0x5a, 0x20, 0x12, 0x1e, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, - 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x62, 0x79, 0x69, 0x64, 0x12, 0x89, 0x01, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x69, 0x74, - 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x15, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, - 0x73, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x49, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x43, 0x22, 0x1d, 0x2f, - 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x6c, - 0x69, 0x73, 0x74, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x3a, 0x01, 0x2a, 0x5a, - 0x1f, 0x12, 0x1d, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, - 0x74, 0x79, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, - 0x12, 0x98, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, - 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, - 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x51, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4b, - 0x22, 0x21, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, - 0x79, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, - 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x23, 0x12, 0x21, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, - 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0xb7, 0x01, 0x0a, 0x1a, - 0x47, 0x65, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x41, 0x73, 0x73, 0x65, - 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, - 0x22, 0x63, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x5d, 0x22, 0x2a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, - 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, - 0x6c, 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x2c, 0x12, 0x2a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, - 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, - 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, - 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x4d, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, - 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, - 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, - 0x74, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, - 0x73, 0x73, 0x75, 0x65, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, - 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x22, 0x00, - 0x12, 0x7d, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x77, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, - 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x45, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, - 0x22, 0x1b, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, - 0x79, 0x2f, 0x67, 0x65, 0x74, 0x6e, 0x6f, 0x77, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x3a, 0x01, 0x2a, - 0x5a, 0x1d, 0x12, 0x1b, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, - 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x6e, 0x6f, 0x77, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, - 0x42, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x77, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x32, 0x12, - 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, - 0x6e, 0x22, 0x00, 0x12, 0x84, 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x0f, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, - 0x49, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x43, 0x22, 0x1d, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, - 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, - 0x6b, 0x62, 0x79, 0x6e, 0x75, 0x6d, 0x3a, 0x01, 0x2a, 0x5a, 0x1f, 0x12, 0x1d, 0x2f, 0x77, 0x61, - 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, - 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6e, 0x75, 0x6d, 0x12, 0x45, 0x0a, 0x0e, 0x47, 0x65, - 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x32, 0x12, 0x17, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, - 0x00, 0x12, 0x53, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, - 0x75, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, - 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, - 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x22, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, - 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, - 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, - 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x65, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, - 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x1a, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, - 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x0f, - 0x47, 0x65, 0x74, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x42, 0x79, 0x49, 0x64, 0x12, - 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x22, 0x00, 0x12, 0x41, 0x0a, - 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x16, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, - 0x12, 0x98, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, - 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x53, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4d, 0x22, 0x22, - 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, - 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x79, - 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x24, 0x12, 0x22, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, - 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x79, 0x69, 0x64, 0x12, 0xa8, 0x01, 0x0a, 0x16, - 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, - 0x66, 0x6f, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x19, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x5b, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x55, 0x22, 0x26, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, - 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x69, 0x6e, 0x66, 0x6f, 0x62, 0x79, 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x28, 0x12, 0x26, - 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, - 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x6e, - 0x66, 0x6f, 0x62, 0x79, 0x69, 0x64, 0x12, 0x9b, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x6e, 0x65, 0x72, - 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x1a, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x50, 0x72, 0x4b, 0x65, 0x79, 0x50, 0x61, 0x69, 0x72, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x4d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x47, 0x22, 0x1f, 0x2f, - 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, - 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x3a, 0x01, - 0x2a, 0x5a, 0x21, 0x12, 0x1f, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, - 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x12, 0x5f, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x72, 0x6b, 0x6c, - 0x65, 0x54, 0x72, 0x65, 0x65, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, - 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x75, 0x74, 0x70, - 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x26, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, - 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x49, - 0x6e, 0x66, 0x6f, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0d, 0x53, 0x63, 0x61, 0x6e, 0x4e, 0x6f, 0x74, - 0x65, 0x42, 0x79, 0x49, 0x76, 0x6b, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x22, 0x00, - 0x12, 0x5d, 0x0a, 0x14, 0x53, 0x63, 0x61, 0x6e, 0x41, 0x6e, 0x64, 0x4d, 0x61, 0x72, 0x6b, 0x4e, - 0x6f, 0x74, 0x65, 0x42, 0x79, 0x49, 0x76, 0x6b, 0x12, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x41, 0x6e, - 0x64, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, - 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, - 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x64, 0x22, 0x00, 0x12, - 0x49, 0x0a, 0x0d, 0x53, 0x63, 0x61, 0x6e, 0x4e, 0x6f, 0x74, 0x65, 0x42, 0x79, 0x4f, 0x76, 0x6b, - 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x76, 0x6b, 0x44, - 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, - 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, - 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x22, 0x00, 0x12, 0x3c, 0x0a, 0x07, 0x49, 0x73, - 0x53, 0x70, 0x65, 0x6e, 0x64, 0x12, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, - 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, - 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, 0x42, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x52, - 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, - 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x45, 0x0a, 0x10, - 0x47, 0x65, 0x74, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, - 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, - 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x17, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, 0x6f, - 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x1e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, - 0x72, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, - 0x12, 0x58, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, - 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, - 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x32, 0xad, 0x04, 0x0a, 0x0f, 0x57, - 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0xb1, - 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x68, 0x69, 0x73, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x67, - 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, - 0x74, 0x22, 0x5f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x59, 0x22, 0x28, 0x2f, 0x77, 0x61, 0x6c, 0x6c, - 0x65, 0x74, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x65, 0x74, 0x74, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x66, 0x72, 0x6f, 0x6d, 0x74, - 0x68, 0x69, 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x2a, 0x12, 0x28, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x66, 0x72, 0x6f, 0x6d, 0x74, 0x68, - 0x69, 0x73, 0x12, 0x5c, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x68, 0x69, 0x73, 0x32, 0x12, 0x1a, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x1a, 0x22, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, - 0x12, 0xab, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x54, 0x6f, 0x54, 0x68, 0x69, 0x73, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x67, - 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, - 0x74, 0x22, 0x5b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x55, 0x22, 0x26, 0x2f, 0x77, 0x61, 0x6c, 0x6c, - 0x65, 0x74, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x65, 0x74, 0x74, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x74, 0x6f, 0x74, 0x68, 0x69, - 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x28, 0x12, 0x26, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x65, - 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x74, 0x6f, 0x74, 0x68, 0x69, 0x73, 0x12, 0x5a, - 0x0a, 0x16, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x54, 0x6f, 0x54, 0x68, 0x69, 0x73, 0x32, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, - 0x61, 0x74, 0x65, 0x64, 0x1a, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x45, - 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x32, 0x99, 0x02, 0x0a, 0x08, 0x44, - 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x11, 0x67, 0x65, 0x74, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x16, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x00, - 0x12, 0x4d, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x50, 0x72, - 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x1a, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x79, 0x6e, 0x61, - 0x6d, 0x69, 0x63, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x22, 0x00, 0x12, - 0x38, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x77, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x16, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x00, 0x12, 0x3b, 0x0a, 0x0d, 0x47, 0x65, 0x74, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x00, 0x32, 0x09, 0x0a, 0x07, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, - 0x6b, 0x42, 0x47, 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x61, 0x70, - 0x69, 0x42, 0x07, 0x47, 0x72, 0x70, 0x63, 0x41, 0x50, 0x49, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, 0x72, 0x65, 0x69, 0x72, - 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x6b, 0x67, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, -} - -var ( - file_api_api_proto_rawDescOnce sync.Once - file_api_api_proto_rawDescData = file_api_api_proto_rawDesc -) - -func file_api_api_proto_rawDescGZIP() []byte { - file_api_api_proto_rawDescOnce.Do(func() { - file_api_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_api_proto_rawDescData) - }) - return file_api_api_proto_rawDescData -} - -var file_api_api_proto_enumTypes = make([]protoimpl.EnumInfo, 3) -var file_api_api_proto_msgTypes = make([]protoimpl.MessageInfo, 67) -var file_api_api_proto_goTypes = []interface{}{ - (ReturnResponseCode)(0), // 0: protocol.Return.response_code - (TransactionSignWeight_ResultResponseCode)(0), // 1: protocol.TransactionSignWeight.Result.response_code - (TransactionApprovedList_ResultResponseCode)(0), // 2: protocol.TransactionApprovedList.Result.response_code - (*Return)(nil), // 3: protocol.Return - (*BlockReference)(nil), // 4: protocol.BlockReference - (*WitnessList)(nil), // 5: protocol.WitnessList - (*ProposalList)(nil), // 6: protocol.ProposalList - (*ExchangeList)(nil), // 7: protocol.ExchangeList - (*AssetIssueList)(nil), // 8: protocol.AssetIssueList - (*BlockList)(nil), // 9: protocol.BlockList - (*TransactionList)(nil), // 10: protocol.TransactionList - (*DelegatedResourceMessage)(nil), // 11: protocol.DelegatedResourceMessage - (*DelegatedResourceList)(nil), // 12: protocol.DelegatedResourceList - (*NodeList)(nil), // 13: protocol.NodeList - (*Node)(nil), // 14: protocol.Node - (*Address)(nil), // 15: protocol.Address - (*EmptyMessage)(nil), // 16: protocol.EmptyMessage - (*NumberMessage)(nil), // 17: protocol.NumberMessage - (*BytesMessage)(nil), // 18: protocol.BytesMessage - (*TimeMessage)(nil), // 19: protocol.TimeMessage - (*BlockLimit)(nil), // 20: protocol.BlockLimit - (*TransactionLimit)(nil), // 21: protocol.TransactionLimit - (*AccountPaginated)(nil), // 22: protocol.AccountPaginated - (*TimePaginatedMessage)(nil), // 23: protocol.TimePaginatedMessage - (*AccountNetMessage)(nil), // 24: protocol.AccountNetMessage - (*AccountResourceMessage)(nil), // 25: protocol.AccountResourceMessage - (*PaginatedMessage)(nil), // 26: protocol.PaginatedMessage - (*EasyTransferMessage)(nil), // 27: protocol.EasyTransferMessage - (*EasyTransferAssetMessage)(nil), // 28: protocol.EasyTransferAssetMessage - (*EasyTransferByPrivateMessage)(nil), // 29: protocol.EasyTransferByPrivateMessage - (*EasyTransferAssetByPrivateMessage)(nil), // 30: protocol.EasyTransferAssetByPrivateMessage - (*EasyTransferResponse)(nil), // 31: protocol.EasyTransferResponse - (*AddressPrKeyPairMessage)(nil), // 32: protocol.AddressPrKeyPairMessage - (*TransactionExtention)(nil), // 33: protocol.TransactionExtention - (*BlockExtention)(nil), // 34: protocol.BlockExtention - (*BlockListExtention)(nil), // 35: protocol.BlockListExtention - (*TransactionListExtention)(nil), // 36: protocol.TransactionListExtention - (*BlockIncrementalMerkleTree)(nil), // 37: protocol.BlockIncrementalMerkleTree - (*TransactionSignWeight)(nil), // 38: protocol.TransactionSignWeight - (*TransactionApprovedList)(nil), // 39: protocol.TransactionApprovedList - (*IvkDecryptParameters)(nil), // 40: protocol.IvkDecryptParameters - (*IvkDecryptAndMarkParameters)(nil), // 41: protocol.IvkDecryptAndMarkParameters - (*OvkDecryptParameters)(nil), // 42: protocol.OvkDecryptParameters - (*DecryptNotes)(nil), // 43: protocol.DecryptNotes - (*DecryptNotesMarked)(nil), // 44: protocol.DecryptNotesMarked - (*Note)(nil), // 45: protocol.Note - (*SpendNote)(nil), // 46: protocol.SpendNote - (*ReceiveNote)(nil), // 47: protocol.ReceiveNote - (*PrivateParameters)(nil), // 48: protocol.PrivateParameters - (*PrivateParametersWithoutAsk)(nil), // 49: protocol.PrivateParametersWithoutAsk - (*SpendAuthSigParameters)(nil), // 50: protocol.SpendAuthSigParameters - (*NfParameters)(nil), // 51: protocol.NfParameters - (*ExpandedSpendingKeyMessage)(nil), // 52: protocol.ExpandedSpendingKeyMessage - (*ViewingKeyMessage)(nil), // 53: protocol.ViewingKeyMessage - (*IncomingViewingKeyMessage)(nil), // 54: protocol.IncomingViewingKeyMessage - (*DiversifierMessage)(nil), // 55: protocol.DiversifierMessage - (*IncomingViewingKeyDiversifierMessage)(nil), // 56: protocol.IncomingViewingKeyDiversifierMessage - (*PaymentAddressMessage)(nil), // 57: protocol.PaymentAddressMessage - (*ShieldedAddressInfo)(nil), // 58: protocol.ShieldedAddressInfo - (*NoteParameters)(nil), // 59: protocol.NoteParameters - (*SpendResult)(nil), // 60: protocol.SpendResult - (*TransactionInfoList)(nil), // 61: protocol.TransactionInfoList - nil, // 62: protocol.AccountNetMessage.AssetNetUsedEntry - nil, // 63: protocol.AccountNetMessage.AssetNetLimitEntry - nil, // 64: protocol.AccountResourceMessage.AssetNetUsedEntry - nil, // 65: protocol.AccountResourceMessage.AssetNetLimitEntry - (*TransactionSignWeight_Result)(nil), // 66: protocol.TransactionSignWeight.Result - (*TransactionApprovedList_Result)(nil), // 67: protocol.TransactionApprovedList.Result - (*DecryptNotes_NoteTx)(nil), // 68: protocol.DecryptNotes.NoteTx - (*DecryptNotesMarked_NoteTx)(nil), // 69: protocol.DecryptNotesMarked.NoteTx - (*core.Witness)(nil), // 70: protocol.Witness - (*core.Proposal)(nil), // 71: protocol.Proposal - (*core.Exchange)(nil), // 72: protocol.Exchange - (*core.AssetIssueContract)(nil), // 73: protocol.AssetIssueContract - (*core.Block)(nil), // 74: protocol.Block - (*core.Transaction)(nil), // 75: protocol.Transaction - (*core.DelegatedResource)(nil), // 76: protocol.DelegatedResource - (*core.Account)(nil), // 77: protocol.Account - (*core.BlockHeader)(nil), // 78: protocol.BlockHeader - (*core.IncrementalMerkleTree)(nil), // 79: protocol.IncrementalMerkleTree - (*core.Permission)(nil), // 80: protocol.Permission - (*core.IncrementalMerkleVoucher)(nil), // 81: protocol.IncrementalMerkleVoucher - (*core.TransactionInfo)(nil), // 82: protocol.TransactionInfo - (*core.TransferContract)(nil), // 83: protocol.TransferContract - (*core.AccountUpdateContract)(nil), // 84: protocol.AccountUpdateContract - (*core.SetAccountIdContract)(nil), // 85: protocol.SetAccountIdContract - (*core.VoteWitnessContract)(nil), // 86: protocol.VoteWitnessContract - (*core.UpdateSettingContract)(nil), // 87: protocol.UpdateSettingContract - (*core.UpdateEnergyLimitContract)(nil), // 88: protocol.UpdateEnergyLimitContract - (*core.WitnessUpdateContract)(nil), // 89: protocol.WitnessUpdateContract - (*core.AccountCreateContract)(nil), // 90: protocol.AccountCreateContract - (*core.WitnessCreateContract)(nil), // 91: protocol.WitnessCreateContract - (*core.TransferAssetContract)(nil), // 92: protocol.TransferAssetContract - (*core.ParticipateAssetIssueContract)(nil), // 93: protocol.ParticipateAssetIssueContract - (*core.FreezeBalanceContract)(nil), // 94: protocol.FreezeBalanceContract - (*core.UnfreezeBalanceContract)(nil), // 95: protocol.UnfreezeBalanceContract - (*core.UnfreezeAssetContract)(nil), // 96: protocol.UnfreezeAssetContract - (*core.WithdrawBalanceContract)(nil), // 97: protocol.WithdrawBalanceContract - (*core.UpdateAssetContract)(nil), // 98: protocol.UpdateAssetContract - (*core.ProposalCreateContract)(nil), // 99: protocol.ProposalCreateContract - (*core.ProposalApproveContract)(nil), // 100: protocol.ProposalApproveContract - (*core.ProposalDeleteContract)(nil), // 101: protocol.ProposalDeleteContract - (*core.BuyStorageContract)(nil), // 102: protocol.BuyStorageContract - (*core.BuyStorageBytesContract)(nil), // 103: protocol.BuyStorageBytesContract - (*core.SellStorageContract)(nil), // 104: protocol.SellStorageContract - (*core.ExchangeCreateContract)(nil), // 105: protocol.ExchangeCreateContract - (*core.ExchangeInjectContract)(nil), // 106: protocol.ExchangeInjectContract - (*core.ExchangeWithdrawContract)(nil), // 107: protocol.ExchangeWithdrawContract - (*core.ExchangeTransactionContract)(nil), // 108: protocol.ExchangeTransactionContract - (*core.CreateSmartContract)(nil), // 109: protocol.CreateSmartContract - (*core.TriggerSmartContract)(nil), // 110: protocol.TriggerSmartContract - (*core.ClearABIContract)(nil), // 111: protocol.ClearABIContract - (*core.TransactionSign)(nil), // 112: protocol.TransactionSign - (*core.AccountPermissionUpdateContract)(nil), // 113: protocol.AccountPermissionUpdateContract - (*core.UpdateBrokerageContract)(nil), // 114: protocol.UpdateBrokerageContract - (*core.OutputPointInfo)(nil), // 115: protocol.OutputPointInfo - (*core.SmartContract)(nil), // 116: protocol.SmartContract - (*core.DelegatedResourceAccountIndex)(nil), // 117: protocol.DelegatedResourceAccountIndex - (*core.ChainParameters)(nil), // 118: protocol.ChainParameters - (*core.NodeInfo)(nil), // 119: protocol.NodeInfo - (*core.IncrementalMerkleVoucherInfo)(nil), // 120: protocol.IncrementalMerkleVoucherInfo - (*core.DynamicProperties)(nil), // 121: protocol.DynamicProperties -} -var file_api_api_proto_depIdxs = []int32{ - 0, // 0: protocol.Return.code:type_name -> protocol.Return.response_code - 70, // 1: protocol.WitnessList.witnesses:type_name -> protocol.Witness - 71, // 2: protocol.ProposalList.proposals:type_name -> protocol.Proposal - 72, // 3: protocol.ExchangeList.exchanges:type_name -> protocol.Exchange - 73, // 4: protocol.AssetIssueList.assetIssue:type_name -> protocol.AssetIssueContract - 74, // 5: protocol.BlockList.block:type_name -> protocol.Block - 75, // 6: protocol.TransactionList.transaction:type_name -> protocol.Transaction - 76, // 7: protocol.DelegatedResourceList.delegatedResource:type_name -> protocol.DelegatedResource - 14, // 8: protocol.NodeList.nodes:type_name -> protocol.Node - 15, // 9: protocol.Node.address:type_name -> protocol.Address - 77, // 10: protocol.AccountPaginated.account:type_name -> protocol.Account - 19, // 11: protocol.TimePaginatedMessage.timeMessage:type_name -> protocol.TimeMessage - 62, // 12: protocol.AccountNetMessage.assetNetUsed:type_name -> protocol.AccountNetMessage.AssetNetUsedEntry - 63, // 13: protocol.AccountNetMessage.assetNetLimit:type_name -> protocol.AccountNetMessage.AssetNetLimitEntry - 64, // 14: protocol.AccountResourceMessage.assetNetUsed:type_name -> protocol.AccountResourceMessage.AssetNetUsedEntry - 65, // 15: protocol.AccountResourceMessage.assetNetLimit:type_name -> protocol.AccountResourceMessage.AssetNetLimitEntry - 75, // 16: protocol.EasyTransferResponse.transaction:type_name -> protocol.Transaction - 3, // 17: protocol.EasyTransferResponse.result:type_name -> protocol.Return - 75, // 18: protocol.TransactionExtention.transaction:type_name -> protocol.Transaction - 3, // 19: protocol.TransactionExtention.result:type_name -> protocol.Return - 33, // 20: protocol.BlockExtention.transactions:type_name -> protocol.TransactionExtention - 78, // 21: protocol.BlockExtention.block_header:type_name -> protocol.BlockHeader - 34, // 22: protocol.BlockListExtention.block:type_name -> protocol.BlockExtention - 33, // 23: protocol.TransactionListExtention.transaction:type_name -> protocol.TransactionExtention - 79, // 24: protocol.BlockIncrementalMerkleTree.merkleTree:type_name -> protocol.IncrementalMerkleTree - 80, // 25: protocol.TransactionSignWeight.permission:type_name -> protocol.Permission - 66, // 26: protocol.TransactionSignWeight.result:type_name -> protocol.TransactionSignWeight.Result - 33, // 27: protocol.TransactionSignWeight.transaction:type_name -> protocol.TransactionExtention - 67, // 28: protocol.TransactionApprovedList.result:type_name -> protocol.TransactionApprovedList.Result - 33, // 29: protocol.TransactionApprovedList.transaction:type_name -> protocol.TransactionExtention - 68, // 30: protocol.DecryptNotes.noteTxs:type_name -> protocol.DecryptNotes.NoteTx - 69, // 31: protocol.DecryptNotesMarked.noteTxs:type_name -> protocol.DecryptNotesMarked.NoteTx - 45, // 32: protocol.SpendNote.note:type_name -> protocol.Note - 81, // 33: protocol.SpendNote.voucher:type_name -> protocol.IncrementalMerkleVoucher - 45, // 34: protocol.ReceiveNote.note:type_name -> protocol.Note - 46, // 35: protocol.PrivateParameters.shielded_spends:type_name -> protocol.SpendNote - 47, // 36: protocol.PrivateParameters.shielded_receives:type_name -> protocol.ReceiveNote - 46, // 37: protocol.PrivateParametersWithoutAsk.shielded_spends:type_name -> protocol.SpendNote - 47, // 38: protocol.PrivateParametersWithoutAsk.shielded_receives:type_name -> protocol.ReceiveNote - 45, // 39: protocol.NfParameters.note:type_name -> protocol.Note - 81, // 40: protocol.NfParameters.voucher:type_name -> protocol.IncrementalMerkleVoucher - 54, // 41: protocol.IncomingViewingKeyDiversifierMessage.ivk:type_name -> protocol.IncomingViewingKeyMessage - 55, // 42: protocol.IncomingViewingKeyDiversifierMessage.d:type_name -> protocol.DiversifierMessage - 55, // 43: protocol.PaymentAddressMessage.d:type_name -> protocol.DiversifierMessage - 45, // 44: protocol.NoteParameters.note:type_name -> protocol.Note - 82, // 45: protocol.TransactionInfoList.transactionInfo:type_name -> protocol.TransactionInfo - 1, // 46: protocol.TransactionSignWeight.Result.code:type_name -> protocol.TransactionSignWeight.Result.response_code - 2, // 47: protocol.TransactionApprovedList.Result.code:type_name -> protocol.TransactionApprovedList.Result.response_code - 45, // 48: protocol.DecryptNotes.NoteTx.note:type_name -> protocol.Note - 45, // 49: protocol.DecryptNotesMarked.NoteTx.note:type_name -> protocol.Note - 77, // 50: protocol.Wallet.GetAccount:input_type -> protocol.Account - 77, // 51: protocol.Wallet.GetAccountById:input_type -> protocol.Account - 83, // 52: protocol.Wallet.CreateTransaction:input_type -> protocol.TransferContract - 83, // 53: protocol.Wallet.CreateTransaction2:input_type -> protocol.TransferContract - 75, // 54: protocol.Wallet.BroadcastTransaction:input_type -> protocol.Transaction - 84, // 55: protocol.Wallet.UpdateAccount:input_type -> protocol.AccountUpdateContract - 85, // 56: protocol.Wallet.SetAccountId:input_type -> protocol.SetAccountIdContract - 84, // 57: protocol.Wallet.UpdateAccount2:input_type -> protocol.AccountUpdateContract - 86, // 58: protocol.Wallet.VoteWitnessAccount:input_type -> protocol.VoteWitnessContract - 87, // 59: protocol.Wallet.UpdateSetting:input_type -> protocol.UpdateSettingContract - 88, // 60: protocol.Wallet.UpdateEnergyLimit:input_type -> protocol.UpdateEnergyLimitContract - 86, // 61: protocol.Wallet.VoteWitnessAccount2:input_type -> protocol.VoteWitnessContract - 73, // 62: protocol.Wallet.CreateAssetIssue:input_type -> protocol.AssetIssueContract - 73, // 63: protocol.Wallet.CreateAssetIssue2:input_type -> protocol.AssetIssueContract - 89, // 64: protocol.Wallet.UpdateWitness:input_type -> protocol.WitnessUpdateContract - 89, // 65: protocol.Wallet.UpdateWitness2:input_type -> protocol.WitnessUpdateContract - 90, // 66: protocol.Wallet.CreateAccount:input_type -> protocol.AccountCreateContract - 90, // 67: protocol.Wallet.CreateAccount2:input_type -> protocol.AccountCreateContract - 91, // 68: protocol.Wallet.CreateWitness:input_type -> protocol.WitnessCreateContract - 91, // 69: protocol.Wallet.CreateWitness2:input_type -> protocol.WitnessCreateContract - 92, // 70: protocol.Wallet.TransferAsset:input_type -> protocol.TransferAssetContract - 92, // 71: protocol.Wallet.TransferAsset2:input_type -> protocol.TransferAssetContract - 93, // 72: protocol.Wallet.ParticipateAssetIssue:input_type -> protocol.ParticipateAssetIssueContract - 93, // 73: protocol.Wallet.ParticipateAssetIssue2:input_type -> protocol.ParticipateAssetIssueContract - 94, // 74: protocol.Wallet.FreezeBalance:input_type -> protocol.FreezeBalanceContract - 94, // 75: protocol.Wallet.FreezeBalance2:input_type -> protocol.FreezeBalanceContract - 95, // 76: protocol.Wallet.UnfreezeBalance:input_type -> protocol.UnfreezeBalanceContract - 95, // 77: protocol.Wallet.UnfreezeBalance2:input_type -> protocol.UnfreezeBalanceContract - 96, // 78: protocol.Wallet.UnfreezeAsset:input_type -> protocol.UnfreezeAssetContract - 96, // 79: protocol.Wallet.UnfreezeAsset2:input_type -> protocol.UnfreezeAssetContract - 97, // 80: protocol.Wallet.WithdrawBalance:input_type -> protocol.WithdrawBalanceContract - 97, // 81: protocol.Wallet.WithdrawBalance2:input_type -> protocol.WithdrawBalanceContract - 98, // 82: protocol.Wallet.UpdateAsset:input_type -> protocol.UpdateAssetContract - 98, // 83: protocol.Wallet.UpdateAsset2:input_type -> protocol.UpdateAssetContract - 99, // 84: protocol.Wallet.ProposalCreate:input_type -> protocol.ProposalCreateContract - 100, // 85: protocol.Wallet.ProposalApprove:input_type -> protocol.ProposalApproveContract - 101, // 86: protocol.Wallet.ProposalDelete:input_type -> protocol.ProposalDeleteContract - 102, // 87: protocol.Wallet.BuyStorage:input_type -> protocol.BuyStorageContract - 103, // 88: protocol.Wallet.BuyStorageBytes:input_type -> protocol.BuyStorageBytesContract - 104, // 89: protocol.Wallet.SellStorage:input_type -> protocol.SellStorageContract - 105, // 90: protocol.Wallet.ExchangeCreate:input_type -> protocol.ExchangeCreateContract - 106, // 91: protocol.Wallet.ExchangeInject:input_type -> protocol.ExchangeInjectContract - 107, // 92: protocol.Wallet.ExchangeWithdraw:input_type -> protocol.ExchangeWithdrawContract - 108, // 93: protocol.Wallet.ExchangeTransaction:input_type -> protocol.ExchangeTransactionContract - 16, // 94: protocol.Wallet.ListNodes:input_type -> protocol.EmptyMessage - 77, // 95: protocol.Wallet.GetAssetIssueByAccount:input_type -> protocol.Account - 77, // 96: protocol.Wallet.GetAccountNet:input_type -> protocol.Account - 77, // 97: protocol.Wallet.GetAccountResource:input_type -> protocol.Account - 18, // 98: protocol.Wallet.GetAssetIssueByName:input_type -> protocol.BytesMessage - 18, // 99: protocol.Wallet.GetAssetIssueListByName:input_type -> protocol.BytesMessage - 18, // 100: protocol.Wallet.GetAssetIssueById:input_type -> protocol.BytesMessage - 16, // 101: protocol.Wallet.GetNowBlock:input_type -> protocol.EmptyMessage - 16, // 102: protocol.Wallet.GetNowBlock2:input_type -> protocol.EmptyMessage - 17, // 103: protocol.Wallet.GetBlockByNum:input_type -> protocol.NumberMessage - 17, // 104: protocol.Wallet.GetBlockByNum2:input_type -> protocol.NumberMessage - 17, // 105: protocol.Wallet.GetTransactionCountByBlockNum:input_type -> protocol.NumberMessage - 18, // 106: protocol.Wallet.GetBlockById:input_type -> protocol.BytesMessage - 20, // 107: protocol.Wallet.GetBlockByLimitNext:input_type -> protocol.BlockLimit - 20, // 108: protocol.Wallet.GetBlockByLimitNext2:input_type -> protocol.BlockLimit - 17, // 109: protocol.Wallet.GetBlockByLatestNum:input_type -> protocol.NumberMessage - 17, // 110: protocol.Wallet.GetBlockByLatestNum2:input_type -> protocol.NumberMessage - 18, // 111: protocol.Wallet.GetTransactionById:input_type -> protocol.BytesMessage - 109, // 112: protocol.Wallet.DeployContract:input_type -> protocol.CreateSmartContract - 18, // 113: protocol.Wallet.GetContract:input_type -> protocol.BytesMessage - 110, // 114: protocol.Wallet.TriggerContract:input_type -> protocol.TriggerSmartContract - 110, // 115: protocol.Wallet.TriggerConstantContract:input_type -> protocol.TriggerSmartContract - 111, // 116: protocol.Wallet.ClearContractABI:input_type -> protocol.ClearABIContract - 16, // 117: protocol.Wallet.ListWitnesses:input_type -> protocol.EmptyMessage - 11, // 118: protocol.Wallet.GetDelegatedResource:input_type -> protocol.DelegatedResourceMessage - 18, // 119: protocol.Wallet.GetDelegatedResourceAccountIndex:input_type -> protocol.BytesMessage - 16, // 120: protocol.Wallet.ListProposals:input_type -> protocol.EmptyMessage - 26, // 121: protocol.Wallet.GetPaginatedProposalList:input_type -> protocol.PaginatedMessage - 18, // 122: protocol.Wallet.GetProposalById:input_type -> protocol.BytesMessage - 16, // 123: protocol.Wallet.ListExchanges:input_type -> protocol.EmptyMessage - 26, // 124: protocol.Wallet.GetPaginatedExchangeList:input_type -> protocol.PaginatedMessage - 18, // 125: protocol.Wallet.GetExchangeById:input_type -> protocol.BytesMessage - 16, // 126: protocol.Wallet.GetChainParameters:input_type -> protocol.EmptyMessage - 16, // 127: protocol.Wallet.GetAssetIssueList:input_type -> protocol.EmptyMessage - 26, // 128: protocol.Wallet.GetPaginatedAssetIssueList:input_type -> protocol.PaginatedMessage - 16, // 129: protocol.Wallet.TotalTransaction:input_type -> protocol.EmptyMessage - 16, // 130: protocol.Wallet.GetNextMaintenanceTime:input_type -> protocol.EmptyMessage - 112, // 131: protocol.Wallet.GetTransactionSign:input_type -> protocol.TransactionSign - 112, // 132: protocol.Wallet.GetTransactionSign2:input_type -> protocol.TransactionSign - 18, // 133: protocol.Wallet.CreateAddress:input_type -> protocol.BytesMessage - 28, // 134: protocol.Wallet.EasyTransferAsset:input_type -> protocol.EasyTransferAssetMessage - 30, // 135: protocol.Wallet.EasyTransferAssetByPrivate:input_type -> protocol.EasyTransferAssetByPrivateMessage - 27, // 136: protocol.Wallet.EasyTransfer:input_type -> protocol.EasyTransferMessage - 29, // 137: protocol.Wallet.EasyTransferByPrivate:input_type -> protocol.EasyTransferByPrivateMessage - 16, // 138: protocol.Wallet.GenerateAddress:input_type -> protocol.EmptyMessage - 18, // 139: protocol.Wallet.GetTransactionInfoById:input_type -> protocol.BytesMessage - 113, // 140: protocol.Wallet.AccountPermissionUpdate:input_type -> protocol.AccountPermissionUpdateContract - 112, // 141: protocol.Wallet.AddSign:input_type -> protocol.TransactionSign - 75, // 142: protocol.Wallet.GetTransactionSignWeight:input_type -> protocol.Transaction - 75, // 143: protocol.Wallet.GetTransactionApprovedList:input_type -> protocol.Transaction - 16, // 144: protocol.Wallet.GetNodeInfo:input_type -> protocol.EmptyMessage - 18, // 145: protocol.Wallet.GetRewardInfo:input_type -> protocol.BytesMessage - 18, // 146: protocol.Wallet.GetBrokerageInfo:input_type -> protocol.BytesMessage - 114, // 147: protocol.Wallet.UpdateBrokerage:input_type -> protocol.UpdateBrokerageContract - 48, // 148: protocol.Wallet.CreateShieldedTransaction:input_type -> protocol.PrivateParameters - 115, // 149: protocol.Wallet.GetMerkleTreeVoucherInfo:input_type -> protocol.OutputPointInfo - 40, // 150: protocol.Wallet.ScanNoteByIvk:input_type -> protocol.IvkDecryptParameters - 41, // 151: protocol.Wallet.ScanAndMarkNoteByIvk:input_type -> protocol.IvkDecryptAndMarkParameters - 42, // 152: protocol.Wallet.ScanNoteByOvk:input_type -> protocol.OvkDecryptParameters - 16, // 153: protocol.Wallet.GetSpendingKey:input_type -> protocol.EmptyMessage - 18, // 154: protocol.Wallet.GetExpandedSpendingKey:input_type -> protocol.BytesMessage - 18, // 155: protocol.Wallet.GetAkFromAsk:input_type -> protocol.BytesMessage - 18, // 156: protocol.Wallet.GetNkFromNsk:input_type -> protocol.BytesMessage - 53, // 157: protocol.Wallet.GetIncomingViewingKey:input_type -> protocol.ViewingKeyMessage - 16, // 158: protocol.Wallet.GetDiversifier:input_type -> protocol.EmptyMessage - 16, // 159: protocol.Wallet.GetNewShieldedAddress:input_type -> protocol.EmptyMessage - 56, // 160: protocol.Wallet.GetZenPaymentAddress:input_type -> protocol.IncomingViewingKeyDiversifierMessage - 16, // 161: protocol.Wallet.GetRcm:input_type -> protocol.EmptyMessage - 59, // 162: protocol.Wallet.IsSpend:input_type -> protocol.NoteParameters - 49, // 163: protocol.Wallet.CreateShieldedTransactionWithoutSpendAuthSig:input_type -> protocol.PrivateParametersWithoutAsk - 75, // 164: protocol.Wallet.GetShieldTransactionHash:input_type -> protocol.Transaction - 50, // 165: protocol.Wallet.CreateSpendAuthSig:input_type -> protocol.SpendAuthSigParameters - 51, // 166: protocol.Wallet.CreateShieldNullifier:input_type -> protocol.NfParameters - 75, // 167: protocol.Wallet.CreateCommonTransaction:input_type -> protocol.Transaction - 17, // 168: protocol.Wallet.GetTransactionInfoByBlockNum:input_type -> protocol.NumberMessage - 77, // 169: protocol.WalletSolidity.GetAccount:input_type -> protocol.Account - 77, // 170: protocol.WalletSolidity.GetAccountById:input_type -> protocol.Account - 16, // 171: protocol.WalletSolidity.ListWitnesses:input_type -> protocol.EmptyMessage - 16, // 172: protocol.WalletSolidity.GetAssetIssueList:input_type -> protocol.EmptyMessage - 26, // 173: protocol.WalletSolidity.GetPaginatedAssetIssueList:input_type -> protocol.PaginatedMessage - 18, // 174: protocol.WalletSolidity.GetAssetIssueByName:input_type -> protocol.BytesMessage - 18, // 175: protocol.WalletSolidity.GetAssetIssueListByName:input_type -> protocol.BytesMessage - 18, // 176: protocol.WalletSolidity.GetAssetIssueById:input_type -> protocol.BytesMessage - 16, // 177: protocol.WalletSolidity.GetNowBlock:input_type -> protocol.EmptyMessage - 16, // 178: protocol.WalletSolidity.GetNowBlock2:input_type -> protocol.EmptyMessage - 17, // 179: protocol.WalletSolidity.GetBlockByNum:input_type -> protocol.NumberMessage - 17, // 180: protocol.WalletSolidity.GetBlockByNum2:input_type -> protocol.NumberMessage - 17, // 181: protocol.WalletSolidity.GetTransactionCountByBlockNum:input_type -> protocol.NumberMessage - 11, // 182: protocol.WalletSolidity.GetDelegatedResource:input_type -> protocol.DelegatedResourceMessage - 18, // 183: protocol.WalletSolidity.GetDelegatedResourceAccountIndex:input_type -> protocol.BytesMessage - 18, // 184: protocol.WalletSolidity.GetExchangeById:input_type -> protocol.BytesMessage - 16, // 185: protocol.WalletSolidity.ListExchanges:input_type -> protocol.EmptyMessage - 18, // 186: protocol.WalletSolidity.GetTransactionById:input_type -> protocol.BytesMessage - 18, // 187: protocol.WalletSolidity.GetTransactionInfoById:input_type -> protocol.BytesMessage - 16, // 188: protocol.WalletSolidity.GenerateAddress:input_type -> protocol.EmptyMessage - 115, // 189: protocol.WalletSolidity.GetMerkleTreeVoucherInfo:input_type -> protocol.OutputPointInfo - 40, // 190: protocol.WalletSolidity.ScanNoteByIvk:input_type -> protocol.IvkDecryptParameters - 41, // 191: protocol.WalletSolidity.ScanAndMarkNoteByIvk:input_type -> protocol.IvkDecryptAndMarkParameters - 42, // 192: protocol.WalletSolidity.ScanNoteByOvk:input_type -> protocol.OvkDecryptParameters - 59, // 193: protocol.WalletSolidity.IsSpend:input_type -> protocol.NoteParameters - 18, // 194: protocol.WalletSolidity.GetRewardInfo:input_type -> protocol.BytesMessage - 18, // 195: protocol.WalletSolidity.GetBrokerageInfo:input_type -> protocol.BytesMessage - 110, // 196: protocol.WalletSolidity.TriggerConstantContract:input_type -> protocol.TriggerSmartContract - 17, // 197: protocol.WalletSolidity.GetTransactionInfoByBlockNum:input_type -> protocol.NumberMessage - 22, // 198: protocol.WalletExtension.GetTransactionsFromThis:input_type -> protocol.AccountPaginated - 22, // 199: protocol.WalletExtension.GetTransactionsFromThis2:input_type -> protocol.AccountPaginated - 22, // 200: protocol.WalletExtension.GetTransactionsToThis:input_type -> protocol.AccountPaginated - 22, // 201: protocol.WalletExtension.GetTransactionsToThis2:input_type -> protocol.AccountPaginated - 16, // 202: protocol.Database.getBlockReference:input_type -> protocol.EmptyMessage - 16, // 203: protocol.Database.GetDynamicProperties:input_type -> protocol.EmptyMessage - 16, // 204: protocol.Database.GetNowBlock:input_type -> protocol.EmptyMessage - 17, // 205: protocol.Database.GetBlockByNum:input_type -> protocol.NumberMessage - 77, // 206: protocol.Wallet.GetAccount:output_type -> protocol.Account - 77, // 207: protocol.Wallet.GetAccountById:output_type -> protocol.Account - 75, // 208: protocol.Wallet.CreateTransaction:output_type -> protocol.Transaction - 33, // 209: protocol.Wallet.CreateTransaction2:output_type -> protocol.TransactionExtention - 3, // 210: protocol.Wallet.BroadcastTransaction:output_type -> protocol.Return - 75, // 211: protocol.Wallet.UpdateAccount:output_type -> protocol.Transaction - 75, // 212: protocol.Wallet.SetAccountId:output_type -> protocol.Transaction - 33, // 213: protocol.Wallet.UpdateAccount2:output_type -> protocol.TransactionExtention - 75, // 214: protocol.Wallet.VoteWitnessAccount:output_type -> protocol.Transaction - 33, // 215: protocol.Wallet.UpdateSetting:output_type -> protocol.TransactionExtention - 33, // 216: protocol.Wallet.UpdateEnergyLimit:output_type -> protocol.TransactionExtention - 33, // 217: protocol.Wallet.VoteWitnessAccount2:output_type -> protocol.TransactionExtention - 75, // 218: protocol.Wallet.CreateAssetIssue:output_type -> protocol.Transaction - 33, // 219: protocol.Wallet.CreateAssetIssue2:output_type -> protocol.TransactionExtention - 75, // 220: protocol.Wallet.UpdateWitness:output_type -> protocol.Transaction - 33, // 221: protocol.Wallet.UpdateWitness2:output_type -> protocol.TransactionExtention - 75, // 222: protocol.Wallet.CreateAccount:output_type -> protocol.Transaction - 33, // 223: protocol.Wallet.CreateAccount2:output_type -> protocol.TransactionExtention - 75, // 224: protocol.Wallet.CreateWitness:output_type -> protocol.Transaction - 33, // 225: protocol.Wallet.CreateWitness2:output_type -> protocol.TransactionExtention - 75, // 226: protocol.Wallet.TransferAsset:output_type -> protocol.Transaction - 33, // 227: protocol.Wallet.TransferAsset2:output_type -> protocol.TransactionExtention - 75, // 228: protocol.Wallet.ParticipateAssetIssue:output_type -> protocol.Transaction - 33, // 229: protocol.Wallet.ParticipateAssetIssue2:output_type -> protocol.TransactionExtention - 75, // 230: protocol.Wallet.FreezeBalance:output_type -> protocol.Transaction - 33, // 231: protocol.Wallet.FreezeBalance2:output_type -> protocol.TransactionExtention - 75, // 232: protocol.Wallet.UnfreezeBalance:output_type -> protocol.Transaction - 33, // 233: protocol.Wallet.UnfreezeBalance2:output_type -> protocol.TransactionExtention - 75, // 234: protocol.Wallet.UnfreezeAsset:output_type -> protocol.Transaction - 33, // 235: protocol.Wallet.UnfreezeAsset2:output_type -> protocol.TransactionExtention - 75, // 236: protocol.Wallet.WithdrawBalance:output_type -> protocol.Transaction - 33, // 237: protocol.Wallet.WithdrawBalance2:output_type -> protocol.TransactionExtention - 75, // 238: protocol.Wallet.UpdateAsset:output_type -> protocol.Transaction - 33, // 239: protocol.Wallet.UpdateAsset2:output_type -> protocol.TransactionExtention - 33, // 240: protocol.Wallet.ProposalCreate:output_type -> protocol.TransactionExtention - 33, // 241: protocol.Wallet.ProposalApprove:output_type -> protocol.TransactionExtention - 33, // 242: protocol.Wallet.ProposalDelete:output_type -> protocol.TransactionExtention - 33, // 243: protocol.Wallet.BuyStorage:output_type -> protocol.TransactionExtention - 33, // 244: protocol.Wallet.BuyStorageBytes:output_type -> protocol.TransactionExtention - 33, // 245: protocol.Wallet.SellStorage:output_type -> protocol.TransactionExtention - 33, // 246: protocol.Wallet.ExchangeCreate:output_type -> protocol.TransactionExtention - 33, // 247: protocol.Wallet.ExchangeInject:output_type -> protocol.TransactionExtention - 33, // 248: protocol.Wallet.ExchangeWithdraw:output_type -> protocol.TransactionExtention - 33, // 249: protocol.Wallet.ExchangeTransaction:output_type -> protocol.TransactionExtention - 13, // 250: protocol.Wallet.ListNodes:output_type -> protocol.NodeList - 8, // 251: protocol.Wallet.GetAssetIssueByAccount:output_type -> protocol.AssetIssueList - 24, // 252: protocol.Wallet.GetAccountNet:output_type -> protocol.AccountNetMessage - 25, // 253: protocol.Wallet.GetAccountResource:output_type -> protocol.AccountResourceMessage - 73, // 254: protocol.Wallet.GetAssetIssueByName:output_type -> protocol.AssetIssueContract - 8, // 255: protocol.Wallet.GetAssetIssueListByName:output_type -> protocol.AssetIssueList - 73, // 256: protocol.Wallet.GetAssetIssueById:output_type -> protocol.AssetIssueContract - 74, // 257: protocol.Wallet.GetNowBlock:output_type -> protocol.Block - 34, // 258: protocol.Wallet.GetNowBlock2:output_type -> protocol.BlockExtention - 74, // 259: protocol.Wallet.GetBlockByNum:output_type -> protocol.Block - 34, // 260: protocol.Wallet.GetBlockByNum2:output_type -> protocol.BlockExtention - 17, // 261: protocol.Wallet.GetTransactionCountByBlockNum:output_type -> protocol.NumberMessage - 74, // 262: protocol.Wallet.GetBlockById:output_type -> protocol.Block - 9, // 263: protocol.Wallet.GetBlockByLimitNext:output_type -> protocol.BlockList - 35, // 264: protocol.Wallet.GetBlockByLimitNext2:output_type -> protocol.BlockListExtention - 9, // 265: protocol.Wallet.GetBlockByLatestNum:output_type -> protocol.BlockList - 35, // 266: protocol.Wallet.GetBlockByLatestNum2:output_type -> protocol.BlockListExtention - 75, // 267: protocol.Wallet.GetTransactionById:output_type -> protocol.Transaction - 33, // 268: protocol.Wallet.DeployContract:output_type -> protocol.TransactionExtention - 116, // 269: protocol.Wallet.GetContract:output_type -> protocol.SmartContract - 33, // 270: protocol.Wallet.TriggerContract:output_type -> protocol.TransactionExtention - 33, // 271: protocol.Wallet.TriggerConstantContract:output_type -> protocol.TransactionExtention - 33, // 272: protocol.Wallet.ClearContractABI:output_type -> protocol.TransactionExtention - 5, // 273: protocol.Wallet.ListWitnesses:output_type -> protocol.WitnessList - 12, // 274: protocol.Wallet.GetDelegatedResource:output_type -> protocol.DelegatedResourceList - 117, // 275: protocol.Wallet.GetDelegatedResourceAccountIndex:output_type -> protocol.DelegatedResourceAccountIndex - 6, // 276: protocol.Wallet.ListProposals:output_type -> protocol.ProposalList - 6, // 277: protocol.Wallet.GetPaginatedProposalList:output_type -> protocol.ProposalList - 71, // 278: protocol.Wallet.GetProposalById:output_type -> protocol.Proposal - 7, // 279: protocol.Wallet.ListExchanges:output_type -> protocol.ExchangeList - 7, // 280: protocol.Wallet.GetPaginatedExchangeList:output_type -> protocol.ExchangeList - 72, // 281: protocol.Wallet.GetExchangeById:output_type -> protocol.Exchange - 118, // 282: protocol.Wallet.GetChainParameters:output_type -> protocol.ChainParameters - 8, // 283: protocol.Wallet.GetAssetIssueList:output_type -> protocol.AssetIssueList - 8, // 284: protocol.Wallet.GetPaginatedAssetIssueList:output_type -> protocol.AssetIssueList - 17, // 285: protocol.Wallet.TotalTransaction:output_type -> protocol.NumberMessage - 17, // 286: protocol.Wallet.GetNextMaintenanceTime:output_type -> protocol.NumberMessage - 75, // 287: protocol.Wallet.GetTransactionSign:output_type -> protocol.Transaction - 33, // 288: protocol.Wallet.GetTransactionSign2:output_type -> protocol.TransactionExtention - 18, // 289: protocol.Wallet.CreateAddress:output_type -> protocol.BytesMessage - 31, // 290: protocol.Wallet.EasyTransferAsset:output_type -> protocol.EasyTransferResponse - 31, // 291: protocol.Wallet.EasyTransferAssetByPrivate:output_type -> protocol.EasyTransferResponse - 31, // 292: protocol.Wallet.EasyTransfer:output_type -> protocol.EasyTransferResponse - 31, // 293: protocol.Wallet.EasyTransferByPrivate:output_type -> protocol.EasyTransferResponse - 32, // 294: protocol.Wallet.GenerateAddress:output_type -> protocol.AddressPrKeyPairMessage - 82, // 295: protocol.Wallet.GetTransactionInfoById:output_type -> protocol.TransactionInfo - 33, // 296: protocol.Wallet.AccountPermissionUpdate:output_type -> protocol.TransactionExtention - 33, // 297: protocol.Wallet.AddSign:output_type -> protocol.TransactionExtention - 38, // 298: protocol.Wallet.GetTransactionSignWeight:output_type -> protocol.TransactionSignWeight - 39, // 299: protocol.Wallet.GetTransactionApprovedList:output_type -> protocol.TransactionApprovedList - 119, // 300: protocol.Wallet.GetNodeInfo:output_type -> protocol.NodeInfo - 17, // 301: protocol.Wallet.GetRewardInfo:output_type -> protocol.NumberMessage - 17, // 302: protocol.Wallet.GetBrokerageInfo:output_type -> protocol.NumberMessage - 33, // 303: protocol.Wallet.UpdateBrokerage:output_type -> protocol.TransactionExtention - 33, // 304: protocol.Wallet.CreateShieldedTransaction:output_type -> protocol.TransactionExtention - 120, // 305: protocol.Wallet.GetMerkleTreeVoucherInfo:output_type -> protocol.IncrementalMerkleVoucherInfo - 43, // 306: protocol.Wallet.ScanNoteByIvk:output_type -> protocol.DecryptNotes - 44, // 307: protocol.Wallet.ScanAndMarkNoteByIvk:output_type -> protocol.DecryptNotesMarked - 43, // 308: protocol.Wallet.ScanNoteByOvk:output_type -> protocol.DecryptNotes - 18, // 309: protocol.Wallet.GetSpendingKey:output_type -> protocol.BytesMessage - 52, // 310: protocol.Wallet.GetExpandedSpendingKey:output_type -> protocol.ExpandedSpendingKeyMessage - 18, // 311: protocol.Wallet.GetAkFromAsk:output_type -> protocol.BytesMessage - 18, // 312: protocol.Wallet.GetNkFromNsk:output_type -> protocol.BytesMessage - 54, // 313: protocol.Wallet.GetIncomingViewingKey:output_type -> protocol.IncomingViewingKeyMessage - 55, // 314: protocol.Wallet.GetDiversifier:output_type -> protocol.DiversifierMessage - 58, // 315: protocol.Wallet.GetNewShieldedAddress:output_type -> protocol.ShieldedAddressInfo - 57, // 316: protocol.Wallet.GetZenPaymentAddress:output_type -> protocol.PaymentAddressMessage - 18, // 317: protocol.Wallet.GetRcm:output_type -> protocol.BytesMessage - 60, // 318: protocol.Wallet.IsSpend:output_type -> protocol.SpendResult - 33, // 319: protocol.Wallet.CreateShieldedTransactionWithoutSpendAuthSig:output_type -> protocol.TransactionExtention - 18, // 320: protocol.Wallet.GetShieldTransactionHash:output_type -> protocol.BytesMessage - 18, // 321: protocol.Wallet.CreateSpendAuthSig:output_type -> protocol.BytesMessage - 18, // 322: protocol.Wallet.CreateShieldNullifier:output_type -> protocol.BytesMessage - 33, // 323: protocol.Wallet.CreateCommonTransaction:output_type -> protocol.TransactionExtention - 61, // 324: protocol.Wallet.GetTransactionInfoByBlockNum:output_type -> protocol.TransactionInfoList - 77, // 325: protocol.WalletSolidity.GetAccount:output_type -> protocol.Account - 77, // 326: protocol.WalletSolidity.GetAccountById:output_type -> protocol.Account - 5, // 327: protocol.WalletSolidity.ListWitnesses:output_type -> protocol.WitnessList - 8, // 328: protocol.WalletSolidity.GetAssetIssueList:output_type -> protocol.AssetIssueList - 8, // 329: protocol.WalletSolidity.GetPaginatedAssetIssueList:output_type -> protocol.AssetIssueList - 73, // 330: protocol.WalletSolidity.GetAssetIssueByName:output_type -> protocol.AssetIssueContract - 8, // 331: protocol.WalletSolidity.GetAssetIssueListByName:output_type -> protocol.AssetIssueList - 73, // 332: protocol.WalletSolidity.GetAssetIssueById:output_type -> protocol.AssetIssueContract - 74, // 333: protocol.WalletSolidity.GetNowBlock:output_type -> protocol.Block - 34, // 334: protocol.WalletSolidity.GetNowBlock2:output_type -> protocol.BlockExtention - 74, // 335: protocol.WalletSolidity.GetBlockByNum:output_type -> protocol.Block - 34, // 336: protocol.WalletSolidity.GetBlockByNum2:output_type -> protocol.BlockExtention - 17, // 337: protocol.WalletSolidity.GetTransactionCountByBlockNum:output_type -> protocol.NumberMessage - 12, // 338: protocol.WalletSolidity.GetDelegatedResource:output_type -> protocol.DelegatedResourceList - 117, // 339: protocol.WalletSolidity.GetDelegatedResourceAccountIndex:output_type -> protocol.DelegatedResourceAccountIndex - 72, // 340: protocol.WalletSolidity.GetExchangeById:output_type -> protocol.Exchange - 7, // 341: protocol.WalletSolidity.ListExchanges:output_type -> protocol.ExchangeList - 75, // 342: protocol.WalletSolidity.GetTransactionById:output_type -> protocol.Transaction - 82, // 343: protocol.WalletSolidity.GetTransactionInfoById:output_type -> protocol.TransactionInfo - 32, // 344: protocol.WalletSolidity.GenerateAddress:output_type -> protocol.AddressPrKeyPairMessage - 120, // 345: protocol.WalletSolidity.GetMerkleTreeVoucherInfo:output_type -> protocol.IncrementalMerkleVoucherInfo - 43, // 346: protocol.WalletSolidity.ScanNoteByIvk:output_type -> protocol.DecryptNotes - 44, // 347: protocol.WalletSolidity.ScanAndMarkNoteByIvk:output_type -> protocol.DecryptNotesMarked - 43, // 348: protocol.WalletSolidity.ScanNoteByOvk:output_type -> protocol.DecryptNotes - 60, // 349: protocol.WalletSolidity.IsSpend:output_type -> protocol.SpendResult - 17, // 350: protocol.WalletSolidity.GetRewardInfo:output_type -> protocol.NumberMessage - 17, // 351: protocol.WalletSolidity.GetBrokerageInfo:output_type -> protocol.NumberMessage - 33, // 352: protocol.WalletSolidity.TriggerConstantContract:output_type -> protocol.TransactionExtention - 61, // 353: protocol.WalletSolidity.GetTransactionInfoByBlockNum:output_type -> protocol.TransactionInfoList - 10, // 354: protocol.WalletExtension.GetTransactionsFromThis:output_type -> protocol.TransactionList - 36, // 355: protocol.WalletExtension.GetTransactionsFromThis2:output_type -> protocol.TransactionListExtention - 10, // 356: protocol.WalletExtension.GetTransactionsToThis:output_type -> protocol.TransactionList - 36, // 357: protocol.WalletExtension.GetTransactionsToThis2:output_type -> protocol.TransactionListExtention - 4, // 358: protocol.Database.getBlockReference:output_type -> protocol.BlockReference - 121, // 359: protocol.Database.GetDynamicProperties:output_type -> protocol.DynamicProperties - 74, // 360: protocol.Database.GetNowBlock:output_type -> protocol.Block - 74, // 361: protocol.Database.GetBlockByNum:output_type -> protocol.Block - 206, // [206:362] is the sub-list for method output_type - 50, // [50:206] is the sub-list for method input_type - 50, // [50:50] is the sub-list for extension type_name - 50, // [50:50] is the sub-list for extension extendee - 0, // [0:50] is the sub-list for field type_name -} - -func init() { file_api_api_proto_init() } -func file_api_api_proto_init() { - if File_api_api_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_api_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Return); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockReference); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WitnessList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProposalList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExchangeList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AssetIssueList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DelegatedResourceMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DelegatedResourceList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[11].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 - } - } - file_api_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Address); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EmptyMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NumberMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BytesMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimeMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockLimit); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionLimit); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AccountPaginated); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimePaginatedMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AccountNetMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AccountResourceMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PaginatedMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EasyTransferMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EasyTransferAssetMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EasyTransferByPrivateMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EasyTransferAssetByPrivateMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EasyTransferResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddressPrKeyPairMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionExtention); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockExtention); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockListExtention); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionListExtention); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockIncrementalMerkleTree); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionSignWeight); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionApprovedList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IvkDecryptParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IvkDecryptAndMarkParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OvkDecryptParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DecryptNotes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DecryptNotesMarked); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Note); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SpendNote); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReceiveNote); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PrivateParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PrivateParametersWithoutAsk); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SpendAuthSigParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NfParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExpandedSpendingKeyMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ViewingKeyMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IncomingViewingKeyMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiversifierMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IncomingViewingKeyDiversifierMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PaymentAddressMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShieldedAddressInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NoteParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SpendResult); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionInfoList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionSignWeight_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionApprovedList_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DecryptNotes_NoteTx); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DecryptNotesMarked_NoteTx); 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_api_api_proto_rawDesc, - NumEnums: 3, - NumMessages: 67, - NumExtensions: 0, - NumServices: 5, - }, - GoTypes: file_api_api_proto_goTypes, - DependencyIndexes: file_api_api_proto_depIdxs, - EnumInfos: file_api_api_proto_enumTypes, - MessageInfos: file_api_api_proto_msgTypes, - }.Build() - File_api_api_proto = out.File - file_api_api_proto_rawDesc = nil - file_api_api_proto_goTypes = nil - file_api_api_proto_depIdxs = nil -} - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConnInterface - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 - -// WalletClient is the client API for Wallet service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type WalletClient interface { - GetAccount(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error) - GetAccountById(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error) - //Please use CreateTransaction2 instead of this function. - CreateTransaction(ctx context.Context, in *core.TransferContract, opts ...grpc.CallOption) (*core.Transaction, error) - //Use this function instead of CreateTransaction. - CreateTransaction2(ctx context.Context, in *core.TransferContract, opts ...grpc.CallOption) (*TransactionExtention, error) - BroadcastTransaction(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*Return, error) - //Please use UpdateAccount2 instead of this function. - UpdateAccount(ctx context.Context, in *core.AccountUpdateContract, opts ...grpc.CallOption) (*core.Transaction, error) - SetAccountId(ctx context.Context, in *core.SetAccountIdContract, opts ...grpc.CallOption) (*core.Transaction, error) - //Use this function instead of UpdateAccount. - UpdateAccount2(ctx context.Context, in *core.AccountUpdateContract, opts ...grpc.CallOption) (*TransactionExtention, error) - //Please use VoteWitnessAccount2 instead of this function. - VoteWitnessAccount(ctx context.Context, in *core.VoteWitnessContract, opts ...grpc.CallOption) (*core.Transaction, error) - //modify the consume_user_resource_percent - UpdateSetting(ctx context.Context, in *core.UpdateSettingContract, opts ...grpc.CallOption) (*TransactionExtention, error) - //modify the energy_limit - UpdateEnergyLimit(ctx context.Context, in *core.UpdateEnergyLimitContract, opts ...grpc.CallOption) (*TransactionExtention, error) - //Use this function instead of VoteWitnessAccount. - VoteWitnessAccount2(ctx context.Context, in *core.VoteWitnessContract, opts ...grpc.CallOption) (*TransactionExtention, error) - //Please use CreateAssetIssue2 instead of this function. - CreateAssetIssue(ctx context.Context, in *core.AssetIssueContract, opts ...grpc.CallOption) (*core.Transaction, error) - //Use this function instead of CreateAssetIssue. - CreateAssetIssue2(ctx context.Context, in *core.AssetIssueContract, opts ...grpc.CallOption) (*TransactionExtention, error) - //Please use UpdateWitness2 instead of this function. - UpdateWitness(ctx context.Context, in *core.WitnessUpdateContract, opts ...grpc.CallOption) (*core.Transaction, error) - //Use this function instead of UpdateWitness. - UpdateWitness2(ctx context.Context, in *core.WitnessUpdateContract, opts ...grpc.CallOption) (*TransactionExtention, error) - //Please use CreateAccount2 instead of this function. - CreateAccount(ctx context.Context, in *core.AccountCreateContract, opts ...grpc.CallOption) (*core.Transaction, error) - //Use this function instead of CreateAccount. - CreateAccount2(ctx context.Context, in *core.AccountCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error) - //Please use CreateWitness2 instead of this function. - CreateWitness(ctx context.Context, in *core.WitnessCreateContract, opts ...grpc.CallOption) (*core.Transaction, error) - //Use this function instead of CreateWitness. - CreateWitness2(ctx context.Context, in *core.WitnessCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error) - //Please use TransferAsset2 instead of this function. - TransferAsset(ctx context.Context, in *core.TransferAssetContract, opts ...grpc.CallOption) (*core.Transaction, error) - //Use this function instead of TransferAsset. - TransferAsset2(ctx context.Context, in *core.TransferAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error) - //Please use ParticipateAssetIssue2 instead of this function. - ParticipateAssetIssue(ctx context.Context, in *core.ParticipateAssetIssueContract, opts ...grpc.CallOption) (*core.Transaction, error) - //Use this function instead of ParticipateAssetIssue. - ParticipateAssetIssue2(ctx context.Context, in *core.ParticipateAssetIssueContract, opts ...grpc.CallOption) (*TransactionExtention, error) - //Please use FreezeBalance2 instead of this function. - FreezeBalance(ctx context.Context, in *core.FreezeBalanceContract, opts ...grpc.CallOption) (*core.Transaction, error) - //Use this function instead of FreezeBalance. - FreezeBalance2(ctx context.Context, in *core.FreezeBalanceContract, opts ...grpc.CallOption) (*TransactionExtention, error) - //Please use UnfreezeBalance2 instead of this function. - UnfreezeBalance(ctx context.Context, in *core.UnfreezeBalanceContract, opts ...grpc.CallOption) (*core.Transaction, error) - //Use this function instead of UnfreezeBalance. - UnfreezeBalance2(ctx context.Context, in *core.UnfreezeBalanceContract, opts ...grpc.CallOption) (*TransactionExtention, error) - //Please use UnfreezeAsset2 instead of this function. - UnfreezeAsset(ctx context.Context, in *core.UnfreezeAssetContract, opts ...grpc.CallOption) (*core.Transaction, error) - //Use this function instead of UnfreezeAsset. - UnfreezeAsset2(ctx context.Context, in *core.UnfreezeAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error) - //Please use WithdrawBalance2 instead of this function. - WithdrawBalance(ctx context.Context, in *core.WithdrawBalanceContract, opts ...grpc.CallOption) (*core.Transaction, error) - //Use this function instead of WithdrawBalance. - WithdrawBalance2(ctx context.Context, in *core.WithdrawBalanceContract, opts ...grpc.CallOption) (*TransactionExtention, error) - //Please use UpdateAsset2 instead of this function. - UpdateAsset(ctx context.Context, in *core.UpdateAssetContract, opts ...grpc.CallOption) (*core.Transaction, error) - //Use this function instead of UpdateAsset. - UpdateAsset2(ctx context.Context, in *core.UpdateAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error) - ProposalCreate(ctx context.Context, in *core.ProposalCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error) - ProposalApprove(ctx context.Context, in *core.ProposalApproveContract, opts ...grpc.CallOption) (*TransactionExtention, error) - ProposalDelete(ctx context.Context, in *core.ProposalDeleteContract, opts ...grpc.CallOption) (*TransactionExtention, error) - BuyStorage(ctx context.Context, in *core.BuyStorageContract, opts ...grpc.CallOption) (*TransactionExtention, error) - BuyStorageBytes(ctx context.Context, in *core.BuyStorageBytesContract, opts ...grpc.CallOption) (*TransactionExtention, error) - SellStorage(ctx context.Context, in *core.SellStorageContract, opts ...grpc.CallOption) (*TransactionExtention, error) - ExchangeCreate(ctx context.Context, in *core.ExchangeCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error) - ExchangeInject(ctx context.Context, in *core.ExchangeInjectContract, opts ...grpc.CallOption) (*TransactionExtention, error) - ExchangeWithdraw(ctx context.Context, in *core.ExchangeWithdrawContract, opts ...grpc.CallOption) (*TransactionExtention, error) - ExchangeTransaction(ctx context.Context, in *core.ExchangeTransactionContract, opts ...grpc.CallOption) (*TransactionExtention, error) - ListNodes(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NodeList, error) - GetAssetIssueByAccount(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*AssetIssueList, error) - GetAccountNet(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*AccountNetMessage, error) - GetAccountResource(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*AccountResourceMessage, error) - GetAssetIssueByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error) - GetAssetIssueListByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*AssetIssueList, error) - GetAssetIssueById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error) - //Please use GetNowBlock2 instead of this function. - GetNowBlock(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.Block, error) - //Use this function instead of GetNowBlock. - GetNowBlock2(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BlockExtention, error) - //Please use GetBlockByNum2 instead of this function. - GetBlockByNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*core.Block, error) - //Use this function instead of GetBlockByNum. - GetBlockByNum2(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockExtention, error) - GetTransactionCountByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*NumberMessage, error) - GetBlockById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Block, error) - //Please use GetBlockByLimitNext2 instead of this function. - GetBlockByLimitNext(ctx context.Context, in *BlockLimit, opts ...grpc.CallOption) (*BlockList, error) - //Use this function instead of GetBlockByLimitNext. - GetBlockByLimitNext2(ctx context.Context, in *BlockLimit, opts ...grpc.CallOption) (*BlockListExtention, error) - //Please use GetBlockByLatestNum2 instead of this function. - GetBlockByLatestNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockList, error) - //Use this function instead of GetBlockByLatestNum. - GetBlockByLatestNum2(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockListExtention, error) - GetTransactionById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Transaction, error) - DeployContract(ctx context.Context, in *core.CreateSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error) - GetContract(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.SmartContract, error) - TriggerContract(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error) - TriggerConstantContract(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error) - ClearContractABI(ctx context.Context, in *core.ClearABIContract, opts ...grpc.CallOption) (*TransactionExtention, error) - ListWitnesses(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*WitnessList, error) - GetDelegatedResource(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error) - GetDelegatedResourceAccountIndex(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error) - ListProposals(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ProposalList, error) - GetPaginatedProposalList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*ProposalList, error) - GetProposalById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Proposal, error) - ListExchanges(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ExchangeList, error) - GetPaginatedExchangeList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*ExchangeList, error) - GetExchangeById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Exchange, error) - GetChainParameters(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.ChainParameters, error) - GetAssetIssueList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AssetIssueList, error) - GetPaginatedAssetIssueList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*AssetIssueList, error) - TotalTransaction(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) - GetNextMaintenanceTime(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) - //Warning: do not invoke this interface provided by others. - //Please use GetTransactionSign2 instead of this function. - GetTransactionSign(ctx context.Context, in *core.TransactionSign, opts ...grpc.CallOption) (*core.Transaction, error) - //Warning: do not invoke this interface provided by others. - //Use this function instead of GetTransactionSign. - GetTransactionSign2(ctx context.Context, in *core.TransactionSign, opts ...grpc.CallOption) (*TransactionExtention, error) - //Warning: do not invoke this interface provided by others. - CreateAddress(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*BytesMessage, error) - //Warning: do not invoke this interface provided by others. - EasyTransferAsset(ctx context.Context, in *EasyTransferAssetMessage, opts ...grpc.CallOption) (*EasyTransferResponse, error) - //Warning: do not invoke this interface provided by others. - EasyTransferAssetByPrivate(ctx context.Context, in *EasyTransferAssetByPrivateMessage, opts ...grpc.CallOption) (*EasyTransferResponse, error) - //Warning: do not invoke this interface provided by others. - EasyTransfer(ctx context.Context, in *EasyTransferMessage, opts ...grpc.CallOption) (*EasyTransferResponse, error) - //Warning: do not invoke this interface provided by others. - EasyTransferByPrivate(ctx context.Context, in *EasyTransferByPrivateMessage, opts ...grpc.CallOption) (*EasyTransferResponse, error) - //Warning: do not invoke this interface provided by others. - GenerateAddress(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AddressPrKeyPairMessage, error) - GetTransactionInfoById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.TransactionInfo, error) - AccountPermissionUpdate(ctx context.Context, in *core.AccountPermissionUpdateContract, opts ...grpc.CallOption) (*TransactionExtention, error) - AddSign(ctx context.Context, in *core.TransactionSign, opts ...grpc.CallOption) (*TransactionExtention, error) - GetTransactionSignWeight(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionSignWeight, error) - GetTransactionApprovedList(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionApprovedList, error) - GetNodeInfo(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.NodeInfo, error) - GetRewardInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error) - GetBrokerageInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error) - UpdateBrokerage(ctx context.Context, in *core.UpdateBrokerageContract, opts ...grpc.CallOption) (*TransactionExtention, error) - // for shiededTransaction - CreateShieldedTransaction(ctx context.Context, in *PrivateParameters, opts ...grpc.CallOption) (*TransactionExtention, error) - GetMerkleTreeVoucherInfo(ctx context.Context, in *core.OutputPointInfo, opts ...grpc.CallOption) (*core.IncrementalMerkleVoucherInfo, error) - ScanNoteByIvk(ctx context.Context, in *IvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) - ScanAndMarkNoteByIvk(ctx context.Context, in *IvkDecryptAndMarkParameters, opts ...grpc.CallOption) (*DecryptNotesMarked, error) - ScanNoteByOvk(ctx context.Context, in *OvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) - GetSpendingKey(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BytesMessage, error) - GetExpandedSpendingKey(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*ExpandedSpendingKeyMessage, error) - GetAkFromAsk(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*BytesMessage, error) - GetNkFromNsk(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*BytesMessage, error) - GetIncomingViewingKey(ctx context.Context, in *ViewingKeyMessage, opts ...grpc.CallOption) (*IncomingViewingKeyMessage, error) - GetDiversifier(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*DiversifierMessage, error) - GetNewShieldedAddress(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ShieldedAddressInfo, error) - GetZenPaymentAddress(ctx context.Context, in *IncomingViewingKeyDiversifierMessage, opts ...grpc.CallOption) (*PaymentAddressMessage, error) - GetRcm(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BytesMessage, error) - IsSpend(ctx context.Context, in *NoteParameters, opts ...grpc.CallOption) (*SpendResult, error) - CreateShieldedTransactionWithoutSpendAuthSig(ctx context.Context, in *PrivateParametersWithoutAsk, opts ...grpc.CallOption) (*TransactionExtention, error) - GetShieldTransactionHash(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*BytesMessage, error) - CreateSpendAuthSig(ctx context.Context, in *SpendAuthSigParameters, opts ...grpc.CallOption) (*BytesMessage, error) - CreateShieldNullifier(ctx context.Context, in *NfParameters, opts ...grpc.CallOption) (*BytesMessage, error) - CreateCommonTransaction(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionExtention, error) - GetTransactionInfoByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*TransactionInfoList, error) -} - -type walletClient struct { - cc grpc.ClientConnInterface -} - -func NewWalletClient(cc grpc.ClientConnInterface) WalletClient { - return &walletClient{cc} -} - -func (c *walletClient) GetAccount(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error) { - out := new(core.Account) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAccount", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetAccountById(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error) { - out := new(core.Account) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAccountById", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) CreateTransaction(ctx context.Context, in *core.TransferContract, opts ...grpc.CallOption) (*core.Transaction, error) { - out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateTransaction", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) CreateTransaction2(ctx context.Context, in *core.TransferContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateTransaction2", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) BroadcastTransaction(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*Return, error) { - out := new(Return) - err := c.cc.Invoke(ctx, "/protocol.Wallet/BroadcastTransaction", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) UpdateAccount(ctx context.Context, in *core.AccountUpdateContract, opts ...grpc.CallOption) (*core.Transaction, error) { - out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateAccount", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) SetAccountId(ctx context.Context, in *core.SetAccountIdContract, opts ...grpc.CallOption) (*core.Transaction, error) { - out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/SetAccountId", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) UpdateAccount2(ctx context.Context, in *core.AccountUpdateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateAccount2", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) VoteWitnessAccount(ctx context.Context, in *core.VoteWitnessContract, opts ...grpc.CallOption) (*core.Transaction, error) { - out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/VoteWitnessAccount", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) UpdateSetting(ctx context.Context, in *core.UpdateSettingContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateSetting", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) UpdateEnergyLimit(ctx context.Context, in *core.UpdateEnergyLimitContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateEnergyLimit", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) VoteWitnessAccount2(ctx context.Context, in *core.VoteWitnessContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/VoteWitnessAccount2", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) CreateAssetIssue(ctx context.Context, in *core.AssetIssueContract, opts ...grpc.CallOption) (*core.Transaction, error) { - out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateAssetIssue", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) CreateAssetIssue2(ctx context.Context, in *core.AssetIssueContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateAssetIssue2", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) UpdateWitness(ctx context.Context, in *core.WitnessUpdateContract, opts ...grpc.CallOption) (*core.Transaction, error) { - out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateWitness", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) UpdateWitness2(ctx context.Context, in *core.WitnessUpdateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateWitness2", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) CreateAccount(ctx context.Context, in *core.AccountCreateContract, opts ...grpc.CallOption) (*core.Transaction, error) { - out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateAccount", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) CreateAccount2(ctx context.Context, in *core.AccountCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateAccount2", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) CreateWitness(ctx context.Context, in *core.WitnessCreateContract, opts ...grpc.CallOption) (*core.Transaction, error) { - out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateWitness", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) CreateWitness2(ctx context.Context, in *core.WitnessCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateWitness2", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) TransferAsset(ctx context.Context, in *core.TransferAssetContract, opts ...grpc.CallOption) (*core.Transaction, error) { - out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/TransferAsset", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) TransferAsset2(ctx context.Context, in *core.TransferAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/TransferAsset2", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) ParticipateAssetIssue(ctx context.Context, in *core.ParticipateAssetIssueContract, opts ...grpc.CallOption) (*core.Transaction, error) { - out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ParticipateAssetIssue", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) ParticipateAssetIssue2(ctx context.Context, in *core.ParticipateAssetIssueContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ParticipateAssetIssue2", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) FreezeBalance(ctx context.Context, in *core.FreezeBalanceContract, opts ...grpc.CallOption) (*core.Transaction, error) { - out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/FreezeBalance", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) FreezeBalance2(ctx context.Context, in *core.FreezeBalanceContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/FreezeBalance2", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) UnfreezeBalance(ctx context.Context, in *core.UnfreezeBalanceContract, opts ...grpc.CallOption) (*core.Transaction, error) { - out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/UnfreezeBalance", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) UnfreezeBalance2(ctx context.Context, in *core.UnfreezeBalanceContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/UnfreezeBalance2", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) UnfreezeAsset(ctx context.Context, in *core.UnfreezeAssetContract, opts ...grpc.CallOption) (*core.Transaction, error) { - out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/UnfreezeAsset", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) UnfreezeAsset2(ctx context.Context, in *core.UnfreezeAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/UnfreezeAsset2", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) WithdrawBalance(ctx context.Context, in *core.WithdrawBalanceContract, opts ...grpc.CallOption) (*core.Transaction, error) { - out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/WithdrawBalance", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) WithdrawBalance2(ctx context.Context, in *core.WithdrawBalanceContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/WithdrawBalance2", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) UpdateAsset(ctx context.Context, in *core.UpdateAssetContract, opts ...grpc.CallOption) (*core.Transaction, error) { - out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateAsset", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) UpdateAsset2(ctx context.Context, in *core.UpdateAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateAsset2", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) ProposalCreate(ctx context.Context, in *core.ProposalCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ProposalCreate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) ProposalApprove(ctx context.Context, in *core.ProposalApproveContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ProposalApprove", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) ProposalDelete(ctx context.Context, in *core.ProposalDeleteContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ProposalDelete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) BuyStorage(ctx context.Context, in *core.BuyStorageContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/BuyStorage", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) BuyStorageBytes(ctx context.Context, in *core.BuyStorageBytesContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/BuyStorageBytes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) SellStorage(ctx context.Context, in *core.SellStorageContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/SellStorage", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) ExchangeCreate(ctx context.Context, in *core.ExchangeCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ExchangeCreate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) ExchangeInject(ctx context.Context, in *core.ExchangeInjectContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ExchangeInject", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) ExchangeWithdraw(ctx context.Context, in *core.ExchangeWithdrawContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ExchangeWithdraw", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) ExchangeTransaction(ctx context.Context, in *core.ExchangeTransactionContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ExchangeTransaction", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) ListNodes(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NodeList, error) { - out := new(NodeList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ListNodes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetAssetIssueByAccount(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*AssetIssueList, error) { - out := new(AssetIssueList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAssetIssueByAccount", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetAccountNet(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*AccountNetMessage, error) { - out := new(AccountNetMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAccountNet", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetAccountResource(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*AccountResourceMessage, error) { - out := new(AccountResourceMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAccountResource", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetAssetIssueByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error) { - out := new(core.AssetIssueContract) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAssetIssueByName", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetAssetIssueListByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*AssetIssueList, error) { - out := new(AssetIssueList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAssetIssueListByName", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetAssetIssueById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error) { - out := new(core.AssetIssueContract) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAssetIssueById", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetNowBlock(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.Block, error) { - out := new(core.Block) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetNowBlock", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetNowBlock2(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BlockExtention, error) { - out := new(BlockExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetNowBlock2", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetBlockByNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*core.Block, error) { - out := new(core.Block) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlockByNum", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetBlockByNum2(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockExtention, error) { - out := new(BlockExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlockByNum2", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetTransactionCountByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*NumberMessage, error) { - out := new(NumberMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionCountByBlockNum", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetBlockById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Block, error) { - out := new(core.Block) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlockById", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetBlockByLimitNext(ctx context.Context, in *BlockLimit, opts ...grpc.CallOption) (*BlockList, error) { - out := new(BlockList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlockByLimitNext", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetBlockByLimitNext2(ctx context.Context, in *BlockLimit, opts ...grpc.CallOption) (*BlockListExtention, error) { - out := new(BlockListExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlockByLimitNext2", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetBlockByLatestNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockList, error) { - out := new(BlockList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlockByLatestNum", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetBlockByLatestNum2(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockListExtention, error) { - out := new(BlockListExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlockByLatestNum2", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetTransactionById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Transaction, error) { - out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionById", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) DeployContract(ctx context.Context, in *core.CreateSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/DeployContract", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetContract(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.SmartContract, error) { - out := new(core.SmartContract) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetContract", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) TriggerContract(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/TriggerContract", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) TriggerConstantContract(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/TriggerConstantContract", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) ClearContractABI(ctx context.Context, in *core.ClearABIContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ClearContractABI", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) ListWitnesses(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*WitnessList, error) { - out := new(WitnessList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ListWitnesses", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetDelegatedResource(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error) { - out := new(DelegatedResourceList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetDelegatedResource", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetDelegatedResourceAccountIndex(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error) { - out := new(core.DelegatedResourceAccountIndex) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetDelegatedResourceAccountIndex", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) ListProposals(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ProposalList, error) { - out := new(ProposalList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ListProposals", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetPaginatedProposalList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*ProposalList, error) { - out := new(ProposalList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetPaginatedProposalList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetProposalById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Proposal, error) { - out := new(core.Proposal) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetProposalById", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) ListExchanges(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ExchangeList, error) { - out := new(ExchangeList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ListExchanges", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetPaginatedExchangeList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*ExchangeList, error) { - out := new(ExchangeList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetPaginatedExchangeList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetExchangeById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Exchange, error) { - out := new(core.Exchange) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetExchangeById", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetChainParameters(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.ChainParameters, error) { - out := new(core.ChainParameters) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetChainParameters", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetAssetIssueList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AssetIssueList, error) { - out := new(AssetIssueList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAssetIssueList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetPaginatedAssetIssueList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*AssetIssueList, error) { - out := new(AssetIssueList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetPaginatedAssetIssueList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) TotalTransaction(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) { - out := new(NumberMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/TotalTransaction", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetNextMaintenanceTime(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) { - out := new(NumberMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetNextMaintenanceTime", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetTransactionSign(ctx context.Context, in *core.TransactionSign, opts ...grpc.CallOption) (*core.Transaction, error) { - out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionSign", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetTransactionSign2(ctx context.Context, in *core.TransactionSign, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionSign2", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) CreateAddress(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*BytesMessage, error) { - out := new(BytesMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateAddress", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) EasyTransferAsset(ctx context.Context, in *EasyTransferAssetMessage, opts ...grpc.CallOption) (*EasyTransferResponse, error) { - out := new(EasyTransferResponse) - err := c.cc.Invoke(ctx, "/protocol.Wallet/EasyTransferAsset", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) EasyTransferAssetByPrivate(ctx context.Context, in *EasyTransferAssetByPrivateMessage, opts ...grpc.CallOption) (*EasyTransferResponse, error) { - out := new(EasyTransferResponse) - err := c.cc.Invoke(ctx, "/protocol.Wallet/EasyTransferAssetByPrivate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) EasyTransfer(ctx context.Context, in *EasyTransferMessage, opts ...grpc.CallOption) (*EasyTransferResponse, error) { - out := new(EasyTransferResponse) - err := c.cc.Invoke(ctx, "/protocol.Wallet/EasyTransfer", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) EasyTransferByPrivate(ctx context.Context, in *EasyTransferByPrivateMessage, opts ...grpc.CallOption) (*EasyTransferResponse, error) { - out := new(EasyTransferResponse) - err := c.cc.Invoke(ctx, "/protocol.Wallet/EasyTransferByPrivate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GenerateAddress(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AddressPrKeyPairMessage, error) { - out := new(AddressPrKeyPairMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GenerateAddress", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetTransactionInfoById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.TransactionInfo, error) { - out := new(core.TransactionInfo) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionInfoById", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) AccountPermissionUpdate(ctx context.Context, in *core.AccountPermissionUpdateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/AccountPermissionUpdate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) AddSign(ctx context.Context, in *core.TransactionSign, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/AddSign", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetTransactionSignWeight(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionSignWeight, error) { - out := new(TransactionSignWeight) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionSignWeight", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetTransactionApprovedList(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionApprovedList, error) { - out := new(TransactionApprovedList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionApprovedList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetNodeInfo(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.NodeInfo, error) { - out := new(core.NodeInfo) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetNodeInfo", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetRewardInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error) { - out := new(NumberMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetRewardInfo", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetBrokerageInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error) { - out := new(NumberMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBrokerageInfo", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) UpdateBrokerage(ctx context.Context, in *core.UpdateBrokerageContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateBrokerage", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) CreateShieldedTransaction(ctx context.Context, in *PrivateParameters, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateShieldedTransaction", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetMerkleTreeVoucherInfo(ctx context.Context, in *core.OutputPointInfo, opts ...grpc.CallOption) (*core.IncrementalMerkleVoucherInfo, error) { - out := new(core.IncrementalMerkleVoucherInfo) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetMerkleTreeVoucherInfo", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) ScanNoteByIvk(ctx context.Context, in *IvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) { - out := new(DecryptNotes) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ScanNoteByIvk", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) ScanAndMarkNoteByIvk(ctx context.Context, in *IvkDecryptAndMarkParameters, opts ...grpc.CallOption) (*DecryptNotesMarked, error) { - out := new(DecryptNotesMarked) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ScanAndMarkNoteByIvk", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) ScanNoteByOvk(ctx context.Context, in *OvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) { - out := new(DecryptNotes) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ScanNoteByOvk", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetSpendingKey(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BytesMessage, error) { - out := new(BytesMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetSpendingKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetExpandedSpendingKey(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*ExpandedSpendingKeyMessage, error) { - out := new(ExpandedSpendingKeyMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetExpandedSpendingKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetAkFromAsk(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*BytesMessage, error) { - out := new(BytesMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAkFromAsk", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetNkFromNsk(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*BytesMessage, error) { - out := new(BytesMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetNkFromNsk", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetIncomingViewingKey(ctx context.Context, in *ViewingKeyMessage, opts ...grpc.CallOption) (*IncomingViewingKeyMessage, error) { - out := new(IncomingViewingKeyMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetIncomingViewingKey", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetDiversifier(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*DiversifierMessage, error) { - out := new(DiversifierMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetDiversifier", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetNewShieldedAddress(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ShieldedAddressInfo, error) { - out := new(ShieldedAddressInfo) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetNewShieldedAddress", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetZenPaymentAddress(ctx context.Context, in *IncomingViewingKeyDiversifierMessage, opts ...grpc.CallOption) (*PaymentAddressMessage, error) { - out := new(PaymentAddressMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetZenPaymentAddress", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetRcm(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BytesMessage, error) { - out := new(BytesMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetRcm", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) IsSpend(ctx context.Context, in *NoteParameters, opts ...grpc.CallOption) (*SpendResult, error) { - out := new(SpendResult) - err := c.cc.Invoke(ctx, "/protocol.Wallet/IsSpend", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) CreateShieldedTransactionWithoutSpendAuthSig(ctx context.Context, in *PrivateParametersWithoutAsk, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateShieldedTransactionWithoutSpendAuthSig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetShieldTransactionHash(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*BytesMessage, error) { - out := new(BytesMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetShieldTransactionHash", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) CreateSpendAuthSig(ctx context.Context, in *SpendAuthSigParameters, opts ...grpc.CallOption) (*BytesMessage, error) { - out := new(BytesMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateSpendAuthSig", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) CreateShieldNullifier(ctx context.Context, in *NfParameters, opts ...grpc.CallOption) (*BytesMessage, error) { - out := new(BytesMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateShieldNullifier", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) CreateCommonTransaction(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateCommonTransaction", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetTransactionInfoByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*TransactionInfoList, error) { - out := new(TransactionInfoList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionInfoByBlockNum", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// WalletServer is the server API for Wallet service. -type WalletServer interface { - GetAccount(context.Context, *core.Account) (*core.Account, error) - GetAccountById(context.Context, *core.Account) (*core.Account, error) - //Please use CreateTransaction2 instead of this function. - CreateTransaction(context.Context, *core.TransferContract) (*core.Transaction, error) - //Use this function instead of CreateTransaction. - CreateTransaction2(context.Context, *core.TransferContract) (*TransactionExtention, error) - BroadcastTransaction(context.Context, *core.Transaction) (*Return, error) - //Please use UpdateAccount2 instead of this function. - UpdateAccount(context.Context, *core.AccountUpdateContract) (*core.Transaction, error) - SetAccountId(context.Context, *core.SetAccountIdContract) (*core.Transaction, error) - //Use this function instead of UpdateAccount. - UpdateAccount2(context.Context, *core.AccountUpdateContract) (*TransactionExtention, error) - //Please use VoteWitnessAccount2 instead of this function. - VoteWitnessAccount(context.Context, *core.VoteWitnessContract) (*core.Transaction, error) - //modify the consume_user_resource_percent - UpdateSetting(context.Context, *core.UpdateSettingContract) (*TransactionExtention, error) - //modify the energy_limit - UpdateEnergyLimit(context.Context, *core.UpdateEnergyLimitContract) (*TransactionExtention, error) - //Use this function instead of VoteWitnessAccount. - VoteWitnessAccount2(context.Context, *core.VoteWitnessContract) (*TransactionExtention, error) - //Please use CreateAssetIssue2 instead of this function. - CreateAssetIssue(context.Context, *core.AssetIssueContract) (*core.Transaction, error) - //Use this function instead of CreateAssetIssue. - CreateAssetIssue2(context.Context, *core.AssetIssueContract) (*TransactionExtention, error) - //Please use UpdateWitness2 instead of this function. - UpdateWitness(context.Context, *core.WitnessUpdateContract) (*core.Transaction, error) - //Use this function instead of UpdateWitness. - UpdateWitness2(context.Context, *core.WitnessUpdateContract) (*TransactionExtention, error) - //Please use CreateAccount2 instead of this function. - CreateAccount(context.Context, *core.AccountCreateContract) (*core.Transaction, error) - //Use this function instead of CreateAccount. - CreateAccount2(context.Context, *core.AccountCreateContract) (*TransactionExtention, error) - //Please use CreateWitness2 instead of this function. - CreateWitness(context.Context, *core.WitnessCreateContract) (*core.Transaction, error) - //Use this function instead of CreateWitness. - CreateWitness2(context.Context, *core.WitnessCreateContract) (*TransactionExtention, error) - //Please use TransferAsset2 instead of this function. - TransferAsset(context.Context, *core.TransferAssetContract) (*core.Transaction, error) - //Use this function instead of TransferAsset. - TransferAsset2(context.Context, *core.TransferAssetContract) (*TransactionExtention, error) - //Please use ParticipateAssetIssue2 instead of this function. - ParticipateAssetIssue(context.Context, *core.ParticipateAssetIssueContract) (*core.Transaction, error) - //Use this function instead of ParticipateAssetIssue. - ParticipateAssetIssue2(context.Context, *core.ParticipateAssetIssueContract) (*TransactionExtention, error) - //Please use FreezeBalance2 instead of this function. - FreezeBalance(context.Context, *core.FreezeBalanceContract) (*core.Transaction, error) - //Use this function instead of FreezeBalance. - FreezeBalance2(context.Context, *core.FreezeBalanceContract) (*TransactionExtention, error) - //Please use UnfreezeBalance2 instead of this function. - UnfreezeBalance(context.Context, *core.UnfreezeBalanceContract) (*core.Transaction, error) - //Use this function instead of UnfreezeBalance. - UnfreezeBalance2(context.Context, *core.UnfreezeBalanceContract) (*TransactionExtention, error) - //Please use UnfreezeAsset2 instead of this function. - UnfreezeAsset(context.Context, *core.UnfreezeAssetContract) (*core.Transaction, error) - //Use this function instead of UnfreezeAsset. - UnfreezeAsset2(context.Context, *core.UnfreezeAssetContract) (*TransactionExtention, error) - //Please use WithdrawBalance2 instead of this function. - WithdrawBalance(context.Context, *core.WithdrawBalanceContract) (*core.Transaction, error) - //Use this function instead of WithdrawBalance. - WithdrawBalance2(context.Context, *core.WithdrawBalanceContract) (*TransactionExtention, error) - //Please use UpdateAsset2 instead of this function. - UpdateAsset(context.Context, *core.UpdateAssetContract) (*core.Transaction, error) - //Use this function instead of UpdateAsset. - UpdateAsset2(context.Context, *core.UpdateAssetContract) (*TransactionExtention, error) - ProposalCreate(context.Context, *core.ProposalCreateContract) (*TransactionExtention, error) - ProposalApprove(context.Context, *core.ProposalApproveContract) (*TransactionExtention, error) - ProposalDelete(context.Context, *core.ProposalDeleteContract) (*TransactionExtention, error) - BuyStorage(context.Context, *core.BuyStorageContract) (*TransactionExtention, error) - BuyStorageBytes(context.Context, *core.BuyStorageBytesContract) (*TransactionExtention, error) - SellStorage(context.Context, *core.SellStorageContract) (*TransactionExtention, error) - ExchangeCreate(context.Context, *core.ExchangeCreateContract) (*TransactionExtention, error) - ExchangeInject(context.Context, *core.ExchangeInjectContract) (*TransactionExtention, error) - ExchangeWithdraw(context.Context, *core.ExchangeWithdrawContract) (*TransactionExtention, error) - ExchangeTransaction(context.Context, *core.ExchangeTransactionContract) (*TransactionExtention, error) - ListNodes(context.Context, *EmptyMessage) (*NodeList, error) - GetAssetIssueByAccount(context.Context, *core.Account) (*AssetIssueList, error) - GetAccountNet(context.Context, *core.Account) (*AccountNetMessage, error) - GetAccountResource(context.Context, *core.Account) (*AccountResourceMessage, error) - GetAssetIssueByName(context.Context, *BytesMessage) (*core.AssetIssueContract, error) - GetAssetIssueListByName(context.Context, *BytesMessage) (*AssetIssueList, error) - GetAssetIssueById(context.Context, *BytesMessage) (*core.AssetIssueContract, error) - //Please use GetNowBlock2 instead of this function. - GetNowBlock(context.Context, *EmptyMessage) (*core.Block, error) - //Use this function instead of GetNowBlock. - GetNowBlock2(context.Context, *EmptyMessage) (*BlockExtention, error) - //Please use GetBlockByNum2 instead of this function. - GetBlockByNum(context.Context, *NumberMessage) (*core.Block, error) - //Use this function instead of GetBlockByNum. - GetBlockByNum2(context.Context, *NumberMessage) (*BlockExtention, error) - GetTransactionCountByBlockNum(context.Context, *NumberMessage) (*NumberMessage, error) - GetBlockById(context.Context, *BytesMessage) (*core.Block, error) - //Please use GetBlockByLimitNext2 instead of this function. - GetBlockByLimitNext(context.Context, *BlockLimit) (*BlockList, error) - //Use this function instead of GetBlockByLimitNext. - GetBlockByLimitNext2(context.Context, *BlockLimit) (*BlockListExtention, error) - //Please use GetBlockByLatestNum2 instead of this function. - GetBlockByLatestNum(context.Context, *NumberMessage) (*BlockList, error) - //Use this function instead of GetBlockByLatestNum. - GetBlockByLatestNum2(context.Context, *NumberMessage) (*BlockListExtention, error) - GetTransactionById(context.Context, *BytesMessage) (*core.Transaction, error) - DeployContract(context.Context, *core.CreateSmartContract) (*TransactionExtention, error) - GetContract(context.Context, *BytesMessage) (*core.SmartContract, error) - TriggerContract(context.Context, *core.TriggerSmartContract) (*TransactionExtention, error) - TriggerConstantContract(context.Context, *core.TriggerSmartContract) (*TransactionExtention, error) - ClearContractABI(context.Context, *core.ClearABIContract) (*TransactionExtention, error) - ListWitnesses(context.Context, *EmptyMessage) (*WitnessList, error) - GetDelegatedResource(context.Context, *DelegatedResourceMessage) (*DelegatedResourceList, error) - GetDelegatedResourceAccountIndex(context.Context, *BytesMessage) (*core.DelegatedResourceAccountIndex, error) - ListProposals(context.Context, *EmptyMessage) (*ProposalList, error) - GetPaginatedProposalList(context.Context, *PaginatedMessage) (*ProposalList, error) - GetProposalById(context.Context, *BytesMessage) (*core.Proposal, error) - ListExchanges(context.Context, *EmptyMessage) (*ExchangeList, error) - GetPaginatedExchangeList(context.Context, *PaginatedMessage) (*ExchangeList, error) - GetExchangeById(context.Context, *BytesMessage) (*core.Exchange, error) - GetChainParameters(context.Context, *EmptyMessage) (*core.ChainParameters, error) - GetAssetIssueList(context.Context, *EmptyMessage) (*AssetIssueList, error) - GetPaginatedAssetIssueList(context.Context, *PaginatedMessage) (*AssetIssueList, error) - TotalTransaction(context.Context, *EmptyMessage) (*NumberMessage, error) - GetNextMaintenanceTime(context.Context, *EmptyMessage) (*NumberMessage, error) - //Warning: do not invoke this interface provided by others. - //Please use GetTransactionSign2 instead of this function. - GetTransactionSign(context.Context, *core.TransactionSign) (*core.Transaction, error) - //Warning: do not invoke this interface provided by others. - //Use this function instead of GetTransactionSign. - GetTransactionSign2(context.Context, *core.TransactionSign) (*TransactionExtention, error) - //Warning: do not invoke this interface provided by others. - CreateAddress(context.Context, *BytesMessage) (*BytesMessage, error) - //Warning: do not invoke this interface provided by others. - EasyTransferAsset(context.Context, *EasyTransferAssetMessage) (*EasyTransferResponse, error) - //Warning: do not invoke this interface provided by others. - EasyTransferAssetByPrivate(context.Context, *EasyTransferAssetByPrivateMessage) (*EasyTransferResponse, error) - //Warning: do not invoke this interface provided by others. - EasyTransfer(context.Context, *EasyTransferMessage) (*EasyTransferResponse, error) - //Warning: do not invoke this interface provided by others. - EasyTransferByPrivate(context.Context, *EasyTransferByPrivateMessage) (*EasyTransferResponse, error) - //Warning: do not invoke this interface provided by others. - GenerateAddress(context.Context, *EmptyMessage) (*AddressPrKeyPairMessage, error) - GetTransactionInfoById(context.Context, *BytesMessage) (*core.TransactionInfo, error) - AccountPermissionUpdate(context.Context, *core.AccountPermissionUpdateContract) (*TransactionExtention, error) - AddSign(context.Context, *core.TransactionSign) (*TransactionExtention, error) - GetTransactionSignWeight(context.Context, *core.Transaction) (*TransactionSignWeight, error) - GetTransactionApprovedList(context.Context, *core.Transaction) (*TransactionApprovedList, error) - GetNodeInfo(context.Context, *EmptyMessage) (*core.NodeInfo, error) - GetRewardInfo(context.Context, *BytesMessage) (*NumberMessage, error) - GetBrokerageInfo(context.Context, *BytesMessage) (*NumberMessage, error) - UpdateBrokerage(context.Context, *core.UpdateBrokerageContract) (*TransactionExtention, error) - // for shiededTransaction - CreateShieldedTransaction(context.Context, *PrivateParameters) (*TransactionExtention, error) - GetMerkleTreeVoucherInfo(context.Context, *core.OutputPointInfo) (*core.IncrementalMerkleVoucherInfo, error) - ScanNoteByIvk(context.Context, *IvkDecryptParameters) (*DecryptNotes, error) - ScanAndMarkNoteByIvk(context.Context, *IvkDecryptAndMarkParameters) (*DecryptNotesMarked, error) - ScanNoteByOvk(context.Context, *OvkDecryptParameters) (*DecryptNotes, error) - GetSpendingKey(context.Context, *EmptyMessage) (*BytesMessage, error) - GetExpandedSpendingKey(context.Context, *BytesMessage) (*ExpandedSpendingKeyMessage, error) - GetAkFromAsk(context.Context, *BytesMessage) (*BytesMessage, error) - GetNkFromNsk(context.Context, *BytesMessage) (*BytesMessage, error) - GetIncomingViewingKey(context.Context, *ViewingKeyMessage) (*IncomingViewingKeyMessage, error) - GetDiversifier(context.Context, *EmptyMessage) (*DiversifierMessage, error) - GetNewShieldedAddress(context.Context, *EmptyMessage) (*ShieldedAddressInfo, error) - GetZenPaymentAddress(context.Context, *IncomingViewingKeyDiversifierMessage) (*PaymentAddressMessage, error) - GetRcm(context.Context, *EmptyMessage) (*BytesMessage, error) - IsSpend(context.Context, *NoteParameters) (*SpendResult, error) - CreateShieldedTransactionWithoutSpendAuthSig(context.Context, *PrivateParametersWithoutAsk) (*TransactionExtention, error) - GetShieldTransactionHash(context.Context, *core.Transaction) (*BytesMessage, error) - CreateSpendAuthSig(context.Context, *SpendAuthSigParameters) (*BytesMessage, error) - CreateShieldNullifier(context.Context, *NfParameters) (*BytesMessage, error) - CreateCommonTransaction(context.Context, *core.Transaction) (*TransactionExtention, error) - GetTransactionInfoByBlockNum(context.Context, *NumberMessage) (*TransactionInfoList, error) -} - -// UnimplementedWalletServer can be embedded to have forward compatible implementations. -type UnimplementedWalletServer struct { -} - -func (*UnimplementedWalletServer) GetAccount(context.Context, *core.Account) (*core.Account, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAccount not implemented") -} -func (*UnimplementedWalletServer) GetAccountById(context.Context, *core.Account) (*core.Account, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAccountById not implemented") -} -func (*UnimplementedWalletServer) CreateTransaction(context.Context, *core.TransferContract) (*core.Transaction, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateTransaction not implemented") -} -func (*UnimplementedWalletServer) CreateTransaction2(context.Context, *core.TransferContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateTransaction2 not implemented") -} -func (*UnimplementedWalletServer) BroadcastTransaction(context.Context, *core.Transaction) (*Return, error) { - return nil, status.Errorf(codes.Unimplemented, "method BroadcastTransaction not implemented") -} -func (*UnimplementedWalletServer) UpdateAccount(context.Context, *core.AccountUpdateContract) (*core.Transaction, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateAccount not implemented") -} -func (*UnimplementedWalletServer) SetAccountId(context.Context, *core.SetAccountIdContract) (*core.Transaction, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetAccountId not implemented") -} -func (*UnimplementedWalletServer) UpdateAccount2(context.Context, *core.AccountUpdateContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateAccount2 not implemented") -} -func (*UnimplementedWalletServer) VoteWitnessAccount(context.Context, *core.VoteWitnessContract) (*core.Transaction, error) { - return nil, status.Errorf(codes.Unimplemented, "method VoteWitnessAccount not implemented") -} -func (*UnimplementedWalletServer) UpdateSetting(context.Context, *core.UpdateSettingContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateSetting not implemented") -} -func (*UnimplementedWalletServer) UpdateEnergyLimit(context.Context, *core.UpdateEnergyLimitContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateEnergyLimit not implemented") -} -func (*UnimplementedWalletServer) VoteWitnessAccount2(context.Context, *core.VoteWitnessContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method VoteWitnessAccount2 not implemented") -} -func (*UnimplementedWalletServer) CreateAssetIssue(context.Context, *core.AssetIssueContract) (*core.Transaction, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateAssetIssue not implemented") -} -func (*UnimplementedWalletServer) CreateAssetIssue2(context.Context, *core.AssetIssueContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateAssetIssue2 not implemented") -} -func (*UnimplementedWalletServer) UpdateWitness(context.Context, *core.WitnessUpdateContract) (*core.Transaction, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateWitness not implemented") -} -func (*UnimplementedWalletServer) UpdateWitness2(context.Context, *core.WitnessUpdateContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateWitness2 not implemented") -} -func (*UnimplementedWalletServer) CreateAccount(context.Context, *core.AccountCreateContract) (*core.Transaction, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateAccount not implemented") -} -func (*UnimplementedWalletServer) CreateAccount2(context.Context, *core.AccountCreateContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateAccount2 not implemented") -} -func (*UnimplementedWalletServer) CreateWitness(context.Context, *core.WitnessCreateContract) (*core.Transaction, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateWitness not implemented") -} -func (*UnimplementedWalletServer) CreateWitness2(context.Context, *core.WitnessCreateContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateWitness2 not implemented") -} -func (*UnimplementedWalletServer) TransferAsset(context.Context, *core.TransferAssetContract) (*core.Transaction, error) { - return nil, status.Errorf(codes.Unimplemented, "method TransferAsset not implemented") -} -func (*UnimplementedWalletServer) TransferAsset2(context.Context, *core.TransferAssetContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method TransferAsset2 not implemented") -} -func (*UnimplementedWalletServer) ParticipateAssetIssue(context.Context, *core.ParticipateAssetIssueContract) (*core.Transaction, error) { - return nil, status.Errorf(codes.Unimplemented, "method ParticipateAssetIssue not implemented") -} -func (*UnimplementedWalletServer) ParticipateAssetIssue2(context.Context, *core.ParticipateAssetIssueContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method ParticipateAssetIssue2 not implemented") -} -func (*UnimplementedWalletServer) FreezeBalance(context.Context, *core.FreezeBalanceContract) (*core.Transaction, error) { - return nil, status.Errorf(codes.Unimplemented, "method FreezeBalance not implemented") -} -func (*UnimplementedWalletServer) FreezeBalance2(context.Context, *core.FreezeBalanceContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method FreezeBalance2 not implemented") -} -func (*UnimplementedWalletServer) UnfreezeBalance(context.Context, *core.UnfreezeBalanceContract) (*core.Transaction, error) { - return nil, status.Errorf(codes.Unimplemented, "method UnfreezeBalance not implemented") -} -func (*UnimplementedWalletServer) UnfreezeBalance2(context.Context, *core.UnfreezeBalanceContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method UnfreezeBalance2 not implemented") -} -func (*UnimplementedWalletServer) UnfreezeAsset(context.Context, *core.UnfreezeAssetContract) (*core.Transaction, error) { - return nil, status.Errorf(codes.Unimplemented, "method UnfreezeAsset not implemented") -} -func (*UnimplementedWalletServer) UnfreezeAsset2(context.Context, *core.UnfreezeAssetContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method UnfreezeAsset2 not implemented") -} -func (*UnimplementedWalletServer) WithdrawBalance(context.Context, *core.WithdrawBalanceContract) (*core.Transaction, error) { - return nil, status.Errorf(codes.Unimplemented, "method WithdrawBalance not implemented") -} -func (*UnimplementedWalletServer) WithdrawBalance2(context.Context, *core.WithdrawBalanceContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method WithdrawBalance2 not implemented") -} -func (*UnimplementedWalletServer) UpdateAsset(context.Context, *core.UpdateAssetContract) (*core.Transaction, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateAsset not implemented") -} -func (*UnimplementedWalletServer) UpdateAsset2(context.Context, *core.UpdateAssetContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateAsset2 not implemented") -} -func (*UnimplementedWalletServer) ProposalCreate(context.Context, *core.ProposalCreateContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method ProposalCreate not implemented") -} -func (*UnimplementedWalletServer) ProposalApprove(context.Context, *core.ProposalApproveContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method ProposalApprove not implemented") -} -func (*UnimplementedWalletServer) ProposalDelete(context.Context, *core.ProposalDeleteContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method ProposalDelete not implemented") -} -func (*UnimplementedWalletServer) BuyStorage(context.Context, *core.BuyStorageContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method BuyStorage not implemented") -} -func (*UnimplementedWalletServer) BuyStorageBytes(context.Context, *core.BuyStorageBytesContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method BuyStorageBytes not implemented") -} -func (*UnimplementedWalletServer) SellStorage(context.Context, *core.SellStorageContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method SellStorage not implemented") -} -func (*UnimplementedWalletServer) ExchangeCreate(context.Context, *core.ExchangeCreateContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExchangeCreate not implemented") -} -func (*UnimplementedWalletServer) ExchangeInject(context.Context, *core.ExchangeInjectContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExchangeInject not implemented") -} -func (*UnimplementedWalletServer) ExchangeWithdraw(context.Context, *core.ExchangeWithdrawContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExchangeWithdraw not implemented") -} -func (*UnimplementedWalletServer) ExchangeTransaction(context.Context, *core.ExchangeTransactionContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExchangeTransaction not implemented") -} -func (*UnimplementedWalletServer) ListNodes(context.Context, *EmptyMessage) (*NodeList, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListNodes not implemented") -} -func (*UnimplementedWalletServer) GetAssetIssueByAccount(context.Context, *core.Account) (*AssetIssueList, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAssetIssueByAccount not implemented") -} -func (*UnimplementedWalletServer) GetAccountNet(context.Context, *core.Account) (*AccountNetMessage, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAccountNet not implemented") -} -func (*UnimplementedWalletServer) GetAccountResource(context.Context, *core.Account) (*AccountResourceMessage, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAccountResource not implemented") -} -func (*UnimplementedWalletServer) GetAssetIssueByName(context.Context, *BytesMessage) (*core.AssetIssueContract, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAssetIssueByName not implemented") -} -func (*UnimplementedWalletServer) GetAssetIssueListByName(context.Context, *BytesMessage) (*AssetIssueList, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAssetIssueListByName not implemented") -} -func (*UnimplementedWalletServer) GetAssetIssueById(context.Context, *BytesMessage) (*core.AssetIssueContract, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAssetIssueById not implemented") -} -func (*UnimplementedWalletServer) GetNowBlock(context.Context, *EmptyMessage) (*core.Block, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNowBlock not implemented") -} -func (*UnimplementedWalletServer) GetNowBlock2(context.Context, *EmptyMessage) (*BlockExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNowBlock2 not implemented") -} -func (*UnimplementedWalletServer) GetBlockByNum(context.Context, *NumberMessage) (*core.Block, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBlockByNum not implemented") -} -func (*UnimplementedWalletServer) GetBlockByNum2(context.Context, *NumberMessage) (*BlockExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBlockByNum2 not implemented") -} -func (*UnimplementedWalletServer) GetTransactionCountByBlockNum(context.Context, *NumberMessage) (*NumberMessage, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransactionCountByBlockNum not implemented") -} -func (*UnimplementedWalletServer) GetBlockById(context.Context, *BytesMessage) (*core.Block, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBlockById not implemented") -} -func (*UnimplementedWalletServer) GetBlockByLimitNext(context.Context, *BlockLimit) (*BlockList, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBlockByLimitNext not implemented") -} -func (*UnimplementedWalletServer) GetBlockByLimitNext2(context.Context, *BlockLimit) (*BlockListExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBlockByLimitNext2 not implemented") -} -func (*UnimplementedWalletServer) GetBlockByLatestNum(context.Context, *NumberMessage) (*BlockList, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBlockByLatestNum not implemented") -} -func (*UnimplementedWalletServer) GetBlockByLatestNum2(context.Context, *NumberMessage) (*BlockListExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBlockByLatestNum2 not implemented") -} -func (*UnimplementedWalletServer) GetTransactionById(context.Context, *BytesMessage) (*core.Transaction, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransactionById not implemented") -} -func (*UnimplementedWalletServer) DeployContract(context.Context, *core.CreateSmartContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeployContract not implemented") -} -func (*UnimplementedWalletServer) GetContract(context.Context, *BytesMessage) (*core.SmartContract, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetContract not implemented") -} -func (*UnimplementedWalletServer) TriggerContract(context.Context, *core.TriggerSmartContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method TriggerContract not implemented") -} -func (*UnimplementedWalletServer) TriggerConstantContract(context.Context, *core.TriggerSmartContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method TriggerConstantContract not implemented") -} -func (*UnimplementedWalletServer) ClearContractABI(context.Context, *core.ClearABIContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method ClearContractABI not implemented") -} -func (*UnimplementedWalletServer) ListWitnesses(context.Context, *EmptyMessage) (*WitnessList, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListWitnesses not implemented") -} -func (*UnimplementedWalletServer) GetDelegatedResource(context.Context, *DelegatedResourceMessage) (*DelegatedResourceList, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDelegatedResource not implemented") -} -func (*UnimplementedWalletServer) GetDelegatedResourceAccountIndex(context.Context, *BytesMessage) (*core.DelegatedResourceAccountIndex, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDelegatedResourceAccountIndex not implemented") -} -func (*UnimplementedWalletServer) ListProposals(context.Context, *EmptyMessage) (*ProposalList, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListProposals not implemented") -} -func (*UnimplementedWalletServer) GetPaginatedProposalList(context.Context, *PaginatedMessage) (*ProposalList, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetPaginatedProposalList not implemented") -} -func (*UnimplementedWalletServer) GetProposalById(context.Context, *BytesMessage) (*core.Proposal, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetProposalById not implemented") -} -func (*UnimplementedWalletServer) ListExchanges(context.Context, *EmptyMessage) (*ExchangeList, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListExchanges not implemented") -} -func (*UnimplementedWalletServer) GetPaginatedExchangeList(context.Context, *PaginatedMessage) (*ExchangeList, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetPaginatedExchangeList not implemented") -} -func (*UnimplementedWalletServer) GetExchangeById(context.Context, *BytesMessage) (*core.Exchange, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetExchangeById not implemented") -} -func (*UnimplementedWalletServer) GetChainParameters(context.Context, *EmptyMessage) (*core.ChainParameters, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetChainParameters not implemented") -} -func (*UnimplementedWalletServer) GetAssetIssueList(context.Context, *EmptyMessage) (*AssetIssueList, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAssetIssueList not implemented") -} -func (*UnimplementedWalletServer) GetPaginatedAssetIssueList(context.Context, *PaginatedMessage) (*AssetIssueList, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetPaginatedAssetIssueList not implemented") -} -func (*UnimplementedWalletServer) TotalTransaction(context.Context, *EmptyMessage) (*NumberMessage, error) { - return nil, status.Errorf(codes.Unimplemented, "method TotalTransaction not implemented") -} -func (*UnimplementedWalletServer) GetNextMaintenanceTime(context.Context, *EmptyMessage) (*NumberMessage, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNextMaintenanceTime not implemented") -} -func (*UnimplementedWalletServer) GetTransactionSign(context.Context, *core.TransactionSign) (*core.Transaction, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransactionSign not implemented") -} -func (*UnimplementedWalletServer) GetTransactionSign2(context.Context, *core.TransactionSign) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransactionSign2 not implemented") -} -func (*UnimplementedWalletServer) CreateAddress(context.Context, *BytesMessage) (*BytesMessage, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateAddress not implemented") -} -func (*UnimplementedWalletServer) EasyTransferAsset(context.Context, *EasyTransferAssetMessage) (*EasyTransferResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method EasyTransferAsset not implemented") -} -func (*UnimplementedWalletServer) EasyTransferAssetByPrivate(context.Context, *EasyTransferAssetByPrivateMessage) (*EasyTransferResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method EasyTransferAssetByPrivate not implemented") -} -func (*UnimplementedWalletServer) EasyTransfer(context.Context, *EasyTransferMessage) (*EasyTransferResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method EasyTransfer not implemented") -} -func (*UnimplementedWalletServer) EasyTransferByPrivate(context.Context, *EasyTransferByPrivateMessage) (*EasyTransferResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method EasyTransferByPrivate not implemented") -} -func (*UnimplementedWalletServer) GenerateAddress(context.Context, *EmptyMessage) (*AddressPrKeyPairMessage, error) { - return nil, status.Errorf(codes.Unimplemented, "method GenerateAddress not implemented") -} -func (*UnimplementedWalletServer) GetTransactionInfoById(context.Context, *BytesMessage) (*core.TransactionInfo, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransactionInfoById not implemented") -} -func (*UnimplementedWalletServer) AccountPermissionUpdate(context.Context, *core.AccountPermissionUpdateContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method AccountPermissionUpdate not implemented") -} -func (*UnimplementedWalletServer) AddSign(context.Context, *core.TransactionSign) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddSign not implemented") -} -func (*UnimplementedWalletServer) GetTransactionSignWeight(context.Context, *core.Transaction) (*TransactionSignWeight, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransactionSignWeight not implemented") -} -func (*UnimplementedWalletServer) GetTransactionApprovedList(context.Context, *core.Transaction) (*TransactionApprovedList, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransactionApprovedList not implemented") -} -func (*UnimplementedWalletServer) GetNodeInfo(context.Context, *EmptyMessage) (*core.NodeInfo, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNodeInfo not implemented") -} -func (*UnimplementedWalletServer) GetRewardInfo(context.Context, *BytesMessage) (*NumberMessage, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetRewardInfo not implemented") -} -func (*UnimplementedWalletServer) GetBrokerageInfo(context.Context, *BytesMessage) (*NumberMessage, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBrokerageInfo not implemented") -} -func (*UnimplementedWalletServer) UpdateBrokerage(context.Context, *core.UpdateBrokerageContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateBrokerage not implemented") -} -func (*UnimplementedWalletServer) CreateShieldedTransaction(context.Context, *PrivateParameters) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateShieldedTransaction not implemented") -} -func (*UnimplementedWalletServer) GetMerkleTreeVoucherInfo(context.Context, *core.OutputPointInfo) (*core.IncrementalMerkleVoucherInfo, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetMerkleTreeVoucherInfo not implemented") -} -func (*UnimplementedWalletServer) ScanNoteByIvk(context.Context, *IvkDecryptParameters) (*DecryptNotes, error) { - return nil, status.Errorf(codes.Unimplemented, "method ScanNoteByIvk not implemented") -} -func (*UnimplementedWalletServer) ScanAndMarkNoteByIvk(context.Context, *IvkDecryptAndMarkParameters) (*DecryptNotesMarked, error) { - return nil, status.Errorf(codes.Unimplemented, "method ScanAndMarkNoteByIvk not implemented") -} -func (*UnimplementedWalletServer) ScanNoteByOvk(context.Context, *OvkDecryptParameters) (*DecryptNotes, error) { - return nil, status.Errorf(codes.Unimplemented, "method ScanNoteByOvk not implemented") -} -func (*UnimplementedWalletServer) GetSpendingKey(context.Context, *EmptyMessage) (*BytesMessage, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSpendingKey not implemented") -} -func (*UnimplementedWalletServer) GetExpandedSpendingKey(context.Context, *BytesMessage) (*ExpandedSpendingKeyMessage, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetExpandedSpendingKey not implemented") -} -func (*UnimplementedWalletServer) GetAkFromAsk(context.Context, *BytesMessage) (*BytesMessage, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAkFromAsk not implemented") -} -func (*UnimplementedWalletServer) GetNkFromNsk(context.Context, *BytesMessage) (*BytesMessage, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNkFromNsk not implemented") -} -func (*UnimplementedWalletServer) GetIncomingViewingKey(context.Context, *ViewingKeyMessage) (*IncomingViewingKeyMessage, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIncomingViewingKey not implemented") -} -func (*UnimplementedWalletServer) GetDiversifier(context.Context, *EmptyMessage) (*DiversifierMessage, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDiversifier not implemented") -} -func (*UnimplementedWalletServer) GetNewShieldedAddress(context.Context, *EmptyMessage) (*ShieldedAddressInfo, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNewShieldedAddress not implemented") -} -func (*UnimplementedWalletServer) GetZenPaymentAddress(context.Context, *IncomingViewingKeyDiversifierMessage) (*PaymentAddressMessage, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetZenPaymentAddress not implemented") -} -func (*UnimplementedWalletServer) GetRcm(context.Context, *EmptyMessage) (*BytesMessage, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetRcm not implemented") -} -func (*UnimplementedWalletServer) IsSpend(context.Context, *NoteParameters) (*SpendResult, error) { - return nil, status.Errorf(codes.Unimplemented, "method IsSpend not implemented") -} -func (*UnimplementedWalletServer) CreateShieldedTransactionWithoutSpendAuthSig(context.Context, *PrivateParametersWithoutAsk) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateShieldedTransactionWithoutSpendAuthSig not implemented") -} -func (*UnimplementedWalletServer) GetShieldTransactionHash(context.Context, *core.Transaction) (*BytesMessage, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetShieldTransactionHash not implemented") -} -func (*UnimplementedWalletServer) CreateSpendAuthSig(context.Context, *SpendAuthSigParameters) (*BytesMessage, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateSpendAuthSig not implemented") -} -func (*UnimplementedWalletServer) CreateShieldNullifier(context.Context, *NfParameters) (*BytesMessage, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateShieldNullifier not implemented") -} -func (*UnimplementedWalletServer) CreateCommonTransaction(context.Context, *core.Transaction) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateCommonTransaction not implemented") -} -func (*UnimplementedWalletServer) GetTransactionInfoByBlockNum(context.Context, *NumberMessage) (*TransactionInfoList, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransactionInfoByBlockNum not implemented") -} - -func RegisterWalletServer(s *grpc.Server, srv WalletServer) { - s.RegisterService(&_Wallet_serviceDesc, srv) -} - -func _Wallet_GetAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.Account) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetAccount", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetAccount(ctx, req.(*core.Account)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetAccountById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.Account) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetAccountById(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetAccountById", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetAccountById(ctx, req.(*core.Account)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_CreateTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.TransferContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).CreateTransaction(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/CreateTransaction", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).CreateTransaction(ctx, req.(*core.TransferContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_CreateTransaction2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.TransferContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).CreateTransaction2(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/CreateTransaction2", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).CreateTransaction2(ctx, req.(*core.TransferContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_BroadcastTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.Transaction) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).BroadcastTransaction(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/BroadcastTransaction", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).BroadcastTransaction(ctx, req.(*core.Transaction)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_UpdateAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.AccountUpdateContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).UpdateAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/UpdateAccount", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).UpdateAccount(ctx, req.(*core.AccountUpdateContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_SetAccountId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.SetAccountIdContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).SetAccountId(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/SetAccountId", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).SetAccountId(ctx, req.(*core.SetAccountIdContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_UpdateAccount2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.AccountUpdateContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).UpdateAccount2(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/UpdateAccount2", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).UpdateAccount2(ctx, req.(*core.AccountUpdateContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_VoteWitnessAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.VoteWitnessContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).VoteWitnessAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/VoteWitnessAccount", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).VoteWitnessAccount(ctx, req.(*core.VoteWitnessContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_UpdateSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.UpdateSettingContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).UpdateSetting(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/UpdateSetting", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).UpdateSetting(ctx, req.(*core.UpdateSettingContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_UpdateEnergyLimit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.UpdateEnergyLimitContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).UpdateEnergyLimit(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/UpdateEnergyLimit", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).UpdateEnergyLimit(ctx, req.(*core.UpdateEnergyLimitContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_VoteWitnessAccount2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.VoteWitnessContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).VoteWitnessAccount2(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/VoteWitnessAccount2", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).VoteWitnessAccount2(ctx, req.(*core.VoteWitnessContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_CreateAssetIssue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.AssetIssueContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).CreateAssetIssue(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/CreateAssetIssue", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).CreateAssetIssue(ctx, req.(*core.AssetIssueContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_CreateAssetIssue2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.AssetIssueContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).CreateAssetIssue2(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/CreateAssetIssue2", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).CreateAssetIssue2(ctx, req.(*core.AssetIssueContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_UpdateWitness_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.WitnessUpdateContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).UpdateWitness(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/UpdateWitness", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).UpdateWitness(ctx, req.(*core.WitnessUpdateContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_UpdateWitness2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.WitnessUpdateContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).UpdateWitness2(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/UpdateWitness2", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).UpdateWitness2(ctx, req.(*core.WitnessUpdateContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_CreateAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.AccountCreateContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).CreateAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/CreateAccount", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).CreateAccount(ctx, req.(*core.AccountCreateContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_CreateAccount2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.AccountCreateContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).CreateAccount2(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/CreateAccount2", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).CreateAccount2(ctx, req.(*core.AccountCreateContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_CreateWitness_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.WitnessCreateContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).CreateWitness(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/CreateWitness", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).CreateWitness(ctx, req.(*core.WitnessCreateContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_CreateWitness2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.WitnessCreateContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).CreateWitness2(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/CreateWitness2", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).CreateWitness2(ctx, req.(*core.WitnessCreateContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_TransferAsset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.TransferAssetContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).TransferAsset(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/TransferAsset", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).TransferAsset(ctx, req.(*core.TransferAssetContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_TransferAsset2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.TransferAssetContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).TransferAsset2(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/TransferAsset2", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).TransferAsset2(ctx, req.(*core.TransferAssetContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_ParticipateAssetIssue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.ParticipateAssetIssueContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).ParticipateAssetIssue(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/ParticipateAssetIssue", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).ParticipateAssetIssue(ctx, req.(*core.ParticipateAssetIssueContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_ParticipateAssetIssue2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.ParticipateAssetIssueContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).ParticipateAssetIssue2(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/ParticipateAssetIssue2", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).ParticipateAssetIssue2(ctx, req.(*core.ParticipateAssetIssueContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_FreezeBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.FreezeBalanceContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).FreezeBalance(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/FreezeBalance", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).FreezeBalance(ctx, req.(*core.FreezeBalanceContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_FreezeBalance2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.FreezeBalanceContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).FreezeBalance2(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/FreezeBalance2", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).FreezeBalance2(ctx, req.(*core.FreezeBalanceContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_UnfreezeBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.UnfreezeBalanceContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).UnfreezeBalance(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/UnfreezeBalance", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).UnfreezeBalance(ctx, req.(*core.UnfreezeBalanceContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_UnfreezeBalance2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.UnfreezeBalanceContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).UnfreezeBalance2(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/UnfreezeBalance2", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).UnfreezeBalance2(ctx, req.(*core.UnfreezeBalanceContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_UnfreezeAsset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.UnfreezeAssetContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).UnfreezeAsset(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/UnfreezeAsset", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).UnfreezeAsset(ctx, req.(*core.UnfreezeAssetContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_UnfreezeAsset2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.UnfreezeAssetContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).UnfreezeAsset2(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/UnfreezeAsset2", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).UnfreezeAsset2(ctx, req.(*core.UnfreezeAssetContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_WithdrawBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.WithdrawBalanceContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).WithdrawBalance(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/WithdrawBalance", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).WithdrawBalance(ctx, req.(*core.WithdrawBalanceContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_WithdrawBalance2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.WithdrawBalanceContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).WithdrawBalance2(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/WithdrawBalance2", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).WithdrawBalance2(ctx, req.(*core.WithdrawBalanceContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_UpdateAsset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.UpdateAssetContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).UpdateAsset(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/UpdateAsset", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).UpdateAsset(ctx, req.(*core.UpdateAssetContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_UpdateAsset2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.UpdateAssetContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).UpdateAsset2(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/UpdateAsset2", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).UpdateAsset2(ctx, req.(*core.UpdateAssetContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_ProposalCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.ProposalCreateContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).ProposalCreate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/ProposalCreate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).ProposalCreate(ctx, req.(*core.ProposalCreateContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_ProposalApprove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.ProposalApproveContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).ProposalApprove(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/ProposalApprove", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).ProposalApprove(ctx, req.(*core.ProposalApproveContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_ProposalDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.ProposalDeleteContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).ProposalDelete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/ProposalDelete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).ProposalDelete(ctx, req.(*core.ProposalDeleteContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_BuyStorage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.BuyStorageContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).BuyStorage(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/BuyStorage", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).BuyStorage(ctx, req.(*core.BuyStorageContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_BuyStorageBytes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.BuyStorageBytesContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).BuyStorageBytes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/BuyStorageBytes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).BuyStorageBytes(ctx, req.(*core.BuyStorageBytesContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_SellStorage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.SellStorageContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).SellStorage(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/SellStorage", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).SellStorage(ctx, req.(*core.SellStorageContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_ExchangeCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.ExchangeCreateContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).ExchangeCreate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/ExchangeCreate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).ExchangeCreate(ctx, req.(*core.ExchangeCreateContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_ExchangeInject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.ExchangeInjectContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).ExchangeInject(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/ExchangeInject", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).ExchangeInject(ctx, req.(*core.ExchangeInjectContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_ExchangeWithdraw_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.ExchangeWithdrawContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).ExchangeWithdraw(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/ExchangeWithdraw", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).ExchangeWithdraw(ctx, req.(*core.ExchangeWithdrawContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_ExchangeTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.ExchangeTransactionContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).ExchangeTransaction(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/ExchangeTransaction", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).ExchangeTransaction(ctx, req.(*core.ExchangeTransactionContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_ListNodes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EmptyMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).ListNodes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/ListNodes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).ListNodes(ctx, req.(*EmptyMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetAssetIssueByAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.Account) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetAssetIssueByAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetAssetIssueByAccount", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetAssetIssueByAccount(ctx, req.(*core.Account)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetAccountNet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.Account) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetAccountNet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetAccountNet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetAccountNet(ctx, req.(*core.Account)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetAccountResource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.Account) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetAccountResource(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetAccountResource", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetAccountResource(ctx, req.(*core.Account)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetAssetIssueByName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BytesMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetAssetIssueByName(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetAssetIssueByName", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetAssetIssueByName(ctx, req.(*BytesMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetAssetIssueListByName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BytesMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetAssetIssueListByName(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetAssetIssueListByName", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetAssetIssueListByName(ctx, req.(*BytesMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetAssetIssueById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BytesMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetAssetIssueById(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetAssetIssueById", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetAssetIssueById(ctx, req.(*BytesMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetNowBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EmptyMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetNowBlock(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetNowBlock", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetNowBlock(ctx, req.(*EmptyMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetNowBlock2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EmptyMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetNowBlock2(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetNowBlock2", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetNowBlock2(ctx, req.(*EmptyMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetBlockByNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NumberMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetBlockByNum(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetBlockByNum", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetBlockByNum(ctx, req.(*NumberMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetBlockByNum2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NumberMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetBlockByNum2(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetBlockByNum2", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetBlockByNum2(ctx, req.(*NumberMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetTransactionCountByBlockNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NumberMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetTransactionCountByBlockNum(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetTransactionCountByBlockNum", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetTransactionCountByBlockNum(ctx, req.(*NumberMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetBlockById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BytesMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetBlockById(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetBlockById", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetBlockById(ctx, req.(*BytesMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetBlockByLimitNext_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BlockLimit) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetBlockByLimitNext(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetBlockByLimitNext", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetBlockByLimitNext(ctx, req.(*BlockLimit)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetBlockByLimitNext2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BlockLimit) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetBlockByLimitNext2(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetBlockByLimitNext2", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetBlockByLimitNext2(ctx, req.(*BlockLimit)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetBlockByLatestNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NumberMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetBlockByLatestNum(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetBlockByLatestNum", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetBlockByLatestNum(ctx, req.(*NumberMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetBlockByLatestNum2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NumberMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetBlockByLatestNum2(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetBlockByLatestNum2", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetBlockByLatestNum2(ctx, req.(*NumberMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetTransactionById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BytesMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetTransactionById(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetTransactionById", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetTransactionById(ctx, req.(*BytesMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_DeployContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.CreateSmartContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).DeployContract(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/DeployContract", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).DeployContract(ctx, req.(*core.CreateSmartContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BytesMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetContract(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetContract", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetContract(ctx, req.(*BytesMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_TriggerContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.TriggerSmartContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).TriggerContract(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/TriggerContract", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).TriggerContract(ctx, req.(*core.TriggerSmartContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_TriggerConstantContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.TriggerSmartContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).TriggerConstantContract(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/TriggerConstantContract", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).TriggerConstantContract(ctx, req.(*core.TriggerSmartContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_ClearContractABI_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.ClearABIContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).ClearContractABI(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/ClearContractABI", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).ClearContractABI(ctx, req.(*core.ClearABIContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_ListWitnesses_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EmptyMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).ListWitnesses(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/ListWitnesses", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).ListWitnesses(ctx, req.(*EmptyMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetDelegatedResource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DelegatedResourceMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetDelegatedResource(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetDelegatedResource", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetDelegatedResource(ctx, req.(*DelegatedResourceMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetDelegatedResourceAccountIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BytesMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetDelegatedResourceAccountIndex(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetDelegatedResourceAccountIndex", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetDelegatedResourceAccountIndex(ctx, req.(*BytesMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_ListProposals_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EmptyMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).ListProposals(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/ListProposals", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).ListProposals(ctx, req.(*EmptyMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetPaginatedProposalList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PaginatedMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetPaginatedProposalList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetPaginatedProposalList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetPaginatedProposalList(ctx, req.(*PaginatedMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetProposalById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BytesMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetProposalById(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetProposalById", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetProposalById(ctx, req.(*BytesMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_ListExchanges_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EmptyMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).ListExchanges(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/ListExchanges", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).ListExchanges(ctx, req.(*EmptyMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetPaginatedExchangeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PaginatedMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetPaginatedExchangeList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetPaginatedExchangeList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetPaginatedExchangeList(ctx, req.(*PaginatedMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetExchangeById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BytesMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetExchangeById(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetExchangeById", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetExchangeById(ctx, req.(*BytesMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetChainParameters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EmptyMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetChainParameters(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetChainParameters", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetChainParameters(ctx, req.(*EmptyMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetAssetIssueList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EmptyMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetAssetIssueList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetAssetIssueList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetAssetIssueList(ctx, req.(*EmptyMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetPaginatedAssetIssueList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PaginatedMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetPaginatedAssetIssueList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetPaginatedAssetIssueList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetPaginatedAssetIssueList(ctx, req.(*PaginatedMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_TotalTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EmptyMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).TotalTransaction(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/TotalTransaction", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).TotalTransaction(ctx, req.(*EmptyMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetNextMaintenanceTime_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EmptyMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetNextMaintenanceTime(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetNextMaintenanceTime", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetNextMaintenanceTime(ctx, req.(*EmptyMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetTransactionSign_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.TransactionSign) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetTransactionSign(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetTransactionSign", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetTransactionSign(ctx, req.(*core.TransactionSign)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetTransactionSign2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.TransactionSign) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetTransactionSign2(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetTransactionSign2", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetTransactionSign2(ctx, req.(*core.TransactionSign)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_CreateAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BytesMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).CreateAddress(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/CreateAddress", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).CreateAddress(ctx, req.(*BytesMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_EasyTransferAsset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EasyTransferAssetMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).EasyTransferAsset(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/EasyTransferAsset", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).EasyTransferAsset(ctx, req.(*EasyTransferAssetMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_EasyTransferAssetByPrivate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EasyTransferAssetByPrivateMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).EasyTransferAssetByPrivate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/EasyTransferAssetByPrivate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).EasyTransferAssetByPrivate(ctx, req.(*EasyTransferAssetByPrivateMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_EasyTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EasyTransferMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).EasyTransfer(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/EasyTransfer", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).EasyTransfer(ctx, req.(*EasyTransferMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_EasyTransferByPrivate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EasyTransferByPrivateMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).EasyTransferByPrivate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/EasyTransferByPrivate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).EasyTransferByPrivate(ctx, req.(*EasyTransferByPrivateMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GenerateAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EmptyMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GenerateAddress(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GenerateAddress", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GenerateAddress(ctx, req.(*EmptyMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetTransactionInfoById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BytesMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetTransactionInfoById(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetTransactionInfoById", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetTransactionInfoById(ctx, req.(*BytesMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_AccountPermissionUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.AccountPermissionUpdateContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).AccountPermissionUpdate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/AccountPermissionUpdate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).AccountPermissionUpdate(ctx, req.(*core.AccountPermissionUpdateContract)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_AddSign_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.TransactionSign) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).AddSign(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/AddSign", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).AddSign(ctx, req.(*core.TransactionSign)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetTransactionSignWeight_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.Transaction) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetTransactionSignWeight(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetTransactionSignWeight", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetTransactionSignWeight(ctx, req.(*core.Transaction)) - } - return interceptor(ctx, in, info, handler) -} +type TransactionInfoList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func _Wallet_GetTransactionApprovedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.Transaction) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetTransactionApprovedList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetTransactionApprovedList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetTransactionApprovedList(ctx, req.(*core.Transaction)) - } - return interceptor(ctx, in, info, handler) + TransactionInfo []*core.TransactionInfo `protobuf:"bytes,1,rep,name=transactionInfo,proto3" json:"transactionInfo,omitempty"` } -func _Wallet_GetNodeInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EmptyMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetNodeInfo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetNodeInfo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetNodeInfo(ctx, req.(*EmptyMessage)) +func (x *TransactionInfoList) Reset() { + *x = TransactionInfoList{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[67] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return interceptor(ctx, in, info, handler) } -func _Wallet_GetRewardInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BytesMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetRewardInfo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetRewardInfo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetRewardInfo(ctx, req.(*BytesMessage)) - } - return interceptor(ctx, in, info, handler) +func (x *TransactionInfoList) String() string { + return protoimpl.X.MessageStringOf(x) } -func _Wallet_GetBrokerageInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BytesMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetBrokerageInfo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetBrokerageInfo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetBrokerageInfo(ctx, req.(*BytesMessage)) - } - return interceptor(ctx, in, info, handler) -} +func (*TransactionInfoList) ProtoMessage() {} -func _Wallet_UpdateBrokerage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.UpdateBrokerageContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).UpdateBrokerage(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/UpdateBrokerage", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).UpdateBrokerage(ctx, req.(*core.UpdateBrokerageContract)) +func (x *TransactionInfoList) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[67] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return interceptor(ctx, in, info, handler) + return mi.MessageOf(x) } -func _Wallet_CreateShieldedTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PrivateParameters) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).CreateShieldedTransaction(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/CreateShieldedTransaction", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).CreateShieldedTransaction(ctx, req.(*PrivateParameters)) - } - return interceptor(ctx, in, info, handler) +// Deprecated: Use TransactionInfoList.ProtoReflect.Descriptor instead. +func (*TransactionInfoList) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{67} } -func _Wallet_GetMerkleTreeVoucherInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.OutputPointInfo) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetMerkleTreeVoucherInfo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetMerkleTreeVoucherInfo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetMerkleTreeVoucherInfo(ctx, req.(*core.OutputPointInfo)) +func (x *TransactionInfoList) GetTransactionInfo() []*core.TransactionInfo { + if x != nil { + return x.TransactionInfo } - return interceptor(ctx, in, info, handler) + return nil } -func _Wallet_ScanNoteByIvk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(IvkDecryptParameters) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).ScanNoteByIvk(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/ScanNoteByIvk", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).ScanNoteByIvk(ctx, req.(*IvkDecryptParameters)) - } - return interceptor(ctx, in, info, handler) +type SpendNoteTRC20 struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` + Alpha []byte `protobuf:"bytes,2,opt,name=alpha,proto3" json:"alpha,omitempty"` + Root []byte `protobuf:"bytes,3,opt,name=root,proto3" json:"root,omitempty"` + Path []byte `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` + Pos int64 `protobuf:"varint,5,opt,name=pos,proto3" json:"pos,omitempty"` } -func _Wallet_ScanAndMarkNoteByIvk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(IvkDecryptAndMarkParameters) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).ScanAndMarkNoteByIvk(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/ScanAndMarkNoteByIvk", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).ScanAndMarkNoteByIvk(ctx, req.(*IvkDecryptAndMarkParameters)) +func (x *SpendNoteTRC20) Reset() { + *x = SpendNoteTRC20{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[68] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return interceptor(ctx, in, info, handler) } -func _Wallet_ScanNoteByOvk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(OvkDecryptParameters) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).ScanNoteByOvk(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/ScanNoteByOvk", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).ScanNoteByOvk(ctx, req.(*OvkDecryptParameters)) - } - return interceptor(ctx, in, info, handler) +func (x *SpendNoteTRC20) String() string { + return protoimpl.X.MessageStringOf(x) } -func _Wallet_GetSpendingKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EmptyMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetSpendingKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetSpendingKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetSpendingKey(ctx, req.(*EmptyMessage)) +func (*SpendNoteTRC20) ProtoMessage() {} + +func (x *SpendNoteTRC20) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[68] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return interceptor(ctx, in, info, handler) + return mi.MessageOf(x) } -func _Wallet_GetExpandedSpendingKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BytesMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetExpandedSpendingKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetExpandedSpendingKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetExpandedSpendingKey(ctx, req.(*BytesMessage)) - } - return interceptor(ctx, in, info, handler) +// Deprecated: Use SpendNoteTRC20.ProtoReflect.Descriptor instead. +func (*SpendNoteTRC20) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{68} } -func _Wallet_GetAkFromAsk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BytesMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetAkFromAsk(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetAkFromAsk", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetAkFromAsk(ctx, req.(*BytesMessage)) +func (x *SpendNoteTRC20) GetNote() *Note { + if x != nil { + return x.Note } - return interceptor(ctx, in, info, handler) + return nil } -func _Wallet_GetNkFromNsk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BytesMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetNkFromNsk(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetNkFromNsk", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetNkFromNsk(ctx, req.(*BytesMessage)) +func (x *SpendNoteTRC20) GetAlpha() []byte { + if x != nil { + return x.Alpha } - return interceptor(ctx, in, info, handler) + return nil } -func _Wallet_GetIncomingViewingKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ViewingKeyMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetIncomingViewingKey(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetIncomingViewingKey", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetIncomingViewingKey(ctx, req.(*ViewingKeyMessage)) +func (x *SpendNoteTRC20) GetRoot() []byte { + if x != nil { + return x.Root } - return interceptor(ctx, in, info, handler) + return nil } -func _Wallet_GetDiversifier_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EmptyMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetDiversifier(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetDiversifier", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetDiversifier(ctx, req.(*EmptyMessage)) +func (x *SpendNoteTRC20) GetPath() []byte { + if x != nil { + return x.Path } - return interceptor(ctx, in, info, handler) + return nil } -func _Wallet_GetNewShieldedAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EmptyMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetNewShieldedAddress(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetNewShieldedAddress", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetNewShieldedAddress(ctx, req.(*EmptyMessage)) +func (x *SpendNoteTRC20) GetPos() int64 { + if x != nil { + return x.Pos } - return interceptor(ctx, in, info, handler) + return 0 } -func _Wallet_GetZenPaymentAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(IncomingViewingKeyDiversifierMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetZenPaymentAddress(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetZenPaymentAddress", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetZenPaymentAddress(ctx, req.(*IncomingViewingKeyDiversifierMessage)) - } - return interceptor(ctx, in, info, handler) +type PrivateShieldedTRC20Parameters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ask []byte `protobuf:"bytes,1,opt,name=ask,proto3" json:"ask,omitempty"` + Nsk []byte `protobuf:"bytes,2,opt,name=nsk,proto3" json:"nsk,omitempty"` + Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"` + FromAmount string `protobuf:"bytes,4,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"` + ShieldedSpends []*SpendNoteTRC20 `protobuf:"bytes,5,rep,name=shielded_spends,json=shieldedSpends,proto3" json:"shielded_spends,omitempty"` + ShieldedReceives []*ReceiveNote `protobuf:"bytes,6,rep,name=shielded_receives,json=shieldedReceives,proto3" json:"shielded_receives,omitempty"` + TransparentToAddress []byte `protobuf:"bytes,7,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` + ToAmount string `protobuf:"bytes,8,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` + Shielded_TRC20ContractAddress []byte `protobuf:"bytes,9,opt,name=shielded_TRC20_contract_address,json=shieldedTRC20ContractAddress,proto3" json:"shielded_TRC20_contract_address,omitempty"` } -func _Wallet_GetRcm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EmptyMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetRcm(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetRcm", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetRcm(ctx, req.(*EmptyMessage)) +func (x *PrivateShieldedTRC20Parameters) Reset() { + *x = PrivateShieldedTRC20Parameters{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[69] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return interceptor(ctx, in, info, handler) } -func _Wallet_IsSpend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NoteParameters) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).IsSpend(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/IsSpend", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).IsSpend(ctx, req.(*NoteParameters)) - } - return interceptor(ctx, in, info, handler) +func (x *PrivateShieldedTRC20Parameters) String() string { + return protoimpl.X.MessageStringOf(x) } -func _Wallet_CreateShieldedTransactionWithoutSpendAuthSig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PrivateParametersWithoutAsk) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).CreateShieldedTransactionWithoutSpendAuthSig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/CreateShieldedTransactionWithoutSpendAuthSig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).CreateShieldedTransactionWithoutSpendAuthSig(ctx, req.(*PrivateParametersWithoutAsk)) +func (*PrivateShieldedTRC20Parameters) ProtoMessage() {} + +func (x *PrivateShieldedTRC20Parameters) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[69] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return interceptor(ctx, in, info, handler) + return mi.MessageOf(x) } -func _Wallet_GetShieldTransactionHash_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.Transaction) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetShieldTransactionHash(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetShieldTransactionHash", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetShieldTransactionHash(ctx, req.(*core.Transaction)) - } - return interceptor(ctx, in, info, handler) +// Deprecated: Use PrivateShieldedTRC20Parameters.ProtoReflect.Descriptor instead. +func (*PrivateShieldedTRC20Parameters) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{69} } -func _Wallet_CreateSpendAuthSig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SpendAuthSigParameters) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).CreateSpendAuthSig(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/CreateSpendAuthSig", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).CreateSpendAuthSig(ctx, req.(*SpendAuthSigParameters)) +func (x *PrivateShieldedTRC20Parameters) GetAsk() []byte { + if x != nil { + return x.Ask } - return interceptor(ctx, in, info, handler) + return nil } -func _Wallet_CreateShieldNullifier_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NfParameters) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).CreateShieldNullifier(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/CreateShieldNullifier", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).CreateShieldNullifier(ctx, req.(*NfParameters)) +func (x *PrivateShieldedTRC20Parameters) GetNsk() []byte { + if x != nil { + return x.Nsk } - return interceptor(ctx, in, info, handler) + return nil } -func _Wallet_CreateCommonTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.Transaction) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).CreateCommonTransaction(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/CreateCommonTransaction", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).CreateCommonTransaction(ctx, req.(*core.Transaction)) +func (x *PrivateShieldedTRC20Parameters) GetOvk() []byte { + if x != nil { + return x.Ovk } - return interceptor(ctx, in, info, handler) + return nil } -func _Wallet_GetTransactionInfoByBlockNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NumberMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetTransactionInfoByBlockNum(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetTransactionInfoByBlockNum", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetTransactionInfoByBlockNum(ctx, req.(*NumberMessage)) +func (x *PrivateShieldedTRC20Parameters) GetFromAmount() string { + if x != nil { + return x.FromAmount } - return interceptor(ctx, in, info, handler) + return "" } -var _Wallet_serviceDesc = grpc.ServiceDesc{ - ServiceName: "protocol.Wallet", - HandlerType: (*WalletServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAccount", - Handler: _Wallet_GetAccount_Handler, - }, - { - MethodName: "GetAccountById", - Handler: _Wallet_GetAccountById_Handler, - }, - { - MethodName: "CreateTransaction", - Handler: _Wallet_CreateTransaction_Handler, - }, - { - MethodName: "CreateTransaction2", - Handler: _Wallet_CreateTransaction2_Handler, - }, - { - MethodName: "BroadcastTransaction", - Handler: _Wallet_BroadcastTransaction_Handler, - }, - { - MethodName: "UpdateAccount", - Handler: _Wallet_UpdateAccount_Handler, - }, - { - MethodName: "SetAccountId", - Handler: _Wallet_SetAccountId_Handler, - }, - { - MethodName: "UpdateAccount2", - Handler: _Wallet_UpdateAccount2_Handler, - }, - { - MethodName: "VoteWitnessAccount", - Handler: _Wallet_VoteWitnessAccount_Handler, - }, - { - MethodName: "UpdateSetting", - Handler: _Wallet_UpdateSetting_Handler, - }, - { - MethodName: "UpdateEnergyLimit", - Handler: _Wallet_UpdateEnergyLimit_Handler, - }, - { - MethodName: "VoteWitnessAccount2", - Handler: _Wallet_VoteWitnessAccount2_Handler, - }, - { - MethodName: "CreateAssetIssue", - Handler: _Wallet_CreateAssetIssue_Handler, - }, - { - MethodName: "CreateAssetIssue2", - Handler: _Wallet_CreateAssetIssue2_Handler, - }, - { - MethodName: "UpdateWitness", - Handler: _Wallet_UpdateWitness_Handler, - }, - { - MethodName: "UpdateWitness2", - Handler: _Wallet_UpdateWitness2_Handler, - }, - { - MethodName: "CreateAccount", - Handler: _Wallet_CreateAccount_Handler, - }, - { - MethodName: "CreateAccount2", - Handler: _Wallet_CreateAccount2_Handler, - }, - { - MethodName: "CreateWitness", - Handler: _Wallet_CreateWitness_Handler, - }, - { - MethodName: "CreateWitness2", - Handler: _Wallet_CreateWitness2_Handler, - }, - { - MethodName: "TransferAsset", - Handler: _Wallet_TransferAsset_Handler, - }, - { - MethodName: "TransferAsset2", - Handler: _Wallet_TransferAsset2_Handler, - }, - { - MethodName: "ParticipateAssetIssue", - Handler: _Wallet_ParticipateAssetIssue_Handler, - }, - { - MethodName: "ParticipateAssetIssue2", - Handler: _Wallet_ParticipateAssetIssue2_Handler, - }, - { - MethodName: "FreezeBalance", - Handler: _Wallet_FreezeBalance_Handler, - }, - { - MethodName: "FreezeBalance2", - Handler: _Wallet_FreezeBalance2_Handler, - }, - { - MethodName: "UnfreezeBalance", - Handler: _Wallet_UnfreezeBalance_Handler, - }, - { - MethodName: "UnfreezeBalance2", - Handler: _Wallet_UnfreezeBalance2_Handler, - }, - { - MethodName: "UnfreezeAsset", - Handler: _Wallet_UnfreezeAsset_Handler, - }, - { - MethodName: "UnfreezeAsset2", - Handler: _Wallet_UnfreezeAsset2_Handler, - }, - { - MethodName: "WithdrawBalance", - Handler: _Wallet_WithdrawBalance_Handler, - }, - { - MethodName: "WithdrawBalance2", - Handler: _Wallet_WithdrawBalance2_Handler, - }, - { - MethodName: "UpdateAsset", - Handler: _Wallet_UpdateAsset_Handler, - }, - { - MethodName: "UpdateAsset2", - Handler: _Wallet_UpdateAsset2_Handler, - }, - { - MethodName: "ProposalCreate", - Handler: _Wallet_ProposalCreate_Handler, - }, - { - MethodName: "ProposalApprove", - Handler: _Wallet_ProposalApprove_Handler, - }, - { - MethodName: "ProposalDelete", - Handler: _Wallet_ProposalDelete_Handler, - }, - { - MethodName: "BuyStorage", - Handler: _Wallet_BuyStorage_Handler, - }, - { - MethodName: "BuyStorageBytes", - Handler: _Wallet_BuyStorageBytes_Handler, - }, - { - MethodName: "SellStorage", - Handler: _Wallet_SellStorage_Handler, - }, - { - MethodName: "ExchangeCreate", - Handler: _Wallet_ExchangeCreate_Handler, - }, - { - MethodName: "ExchangeInject", - Handler: _Wallet_ExchangeInject_Handler, - }, - { - MethodName: "ExchangeWithdraw", - Handler: _Wallet_ExchangeWithdraw_Handler, - }, - { - MethodName: "ExchangeTransaction", - Handler: _Wallet_ExchangeTransaction_Handler, - }, - { - MethodName: "ListNodes", - Handler: _Wallet_ListNodes_Handler, - }, - { - MethodName: "GetAssetIssueByAccount", - Handler: _Wallet_GetAssetIssueByAccount_Handler, - }, - { - MethodName: "GetAccountNet", - Handler: _Wallet_GetAccountNet_Handler, - }, - { - MethodName: "GetAccountResource", - Handler: _Wallet_GetAccountResource_Handler, - }, - { - MethodName: "GetAssetIssueByName", - Handler: _Wallet_GetAssetIssueByName_Handler, - }, - { - MethodName: "GetAssetIssueListByName", - Handler: _Wallet_GetAssetIssueListByName_Handler, - }, - { - MethodName: "GetAssetIssueById", - Handler: _Wallet_GetAssetIssueById_Handler, - }, - { - MethodName: "GetNowBlock", - Handler: _Wallet_GetNowBlock_Handler, - }, - { - MethodName: "GetNowBlock2", - Handler: _Wallet_GetNowBlock2_Handler, - }, - { - MethodName: "GetBlockByNum", - Handler: _Wallet_GetBlockByNum_Handler, - }, - { - MethodName: "GetBlockByNum2", - Handler: _Wallet_GetBlockByNum2_Handler, - }, - { - MethodName: "GetTransactionCountByBlockNum", - Handler: _Wallet_GetTransactionCountByBlockNum_Handler, - }, - { - MethodName: "GetBlockById", - Handler: _Wallet_GetBlockById_Handler, - }, - { - MethodName: "GetBlockByLimitNext", - Handler: _Wallet_GetBlockByLimitNext_Handler, - }, - { - MethodName: "GetBlockByLimitNext2", - Handler: _Wallet_GetBlockByLimitNext2_Handler, - }, - { - MethodName: "GetBlockByLatestNum", - Handler: _Wallet_GetBlockByLatestNum_Handler, - }, - { - MethodName: "GetBlockByLatestNum2", - Handler: _Wallet_GetBlockByLatestNum2_Handler, - }, - { - MethodName: "GetTransactionById", - Handler: _Wallet_GetTransactionById_Handler, - }, - { - MethodName: "DeployContract", - Handler: _Wallet_DeployContract_Handler, - }, - { - MethodName: "GetContract", - Handler: _Wallet_GetContract_Handler, - }, - { - MethodName: "TriggerContract", - Handler: _Wallet_TriggerContract_Handler, - }, - { - MethodName: "TriggerConstantContract", - Handler: _Wallet_TriggerConstantContract_Handler, - }, - { - MethodName: "ClearContractABI", - Handler: _Wallet_ClearContractABI_Handler, - }, - { - MethodName: "ListWitnesses", - Handler: _Wallet_ListWitnesses_Handler, - }, - { - MethodName: "GetDelegatedResource", - Handler: _Wallet_GetDelegatedResource_Handler, - }, - { - MethodName: "GetDelegatedResourceAccountIndex", - Handler: _Wallet_GetDelegatedResourceAccountIndex_Handler, - }, - { - MethodName: "ListProposals", - Handler: _Wallet_ListProposals_Handler, - }, - { - MethodName: "GetPaginatedProposalList", - Handler: _Wallet_GetPaginatedProposalList_Handler, - }, - { - MethodName: "GetProposalById", - Handler: _Wallet_GetProposalById_Handler, - }, - { - MethodName: "ListExchanges", - Handler: _Wallet_ListExchanges_Handler, - }, - { - MethodName: "GetPaginatedExchangeList", - Handler: _Wallet_GetPaginatedExchangeList_Handler, - }, - { - MethodName: "GetExchangeById", - Handler: _Wallet_GetExchangeById_Handler, - }, - { - MethodName: "GetChainParameters", - Handler: _Wallet_GetChainParameters_Handler, - }, - { - MethodName: "GetAssetIssueList", - Handler: _Wallet_GetAssetIssueList_Handler, - }, - { - MethodName: "GetPaginatedAssetIssueList", - Handler: _Wallet_GetPaginatedAssetIssueList_Handler, - }, - { - MethodName: "TotalTransaction", - Handler: _Wallet_TotalTransaction_Handler, - }, - { - MethodName: "GetNextMaintenanceTime", - Handler: _Wallet_GetNextMaintenanceTime_Handler, - }, - { - MethodName: "GetTransactionSign", - Handler: _Wallet_GetTransactionSign_Handler, - }, - { - MethodName: "GetTransactionSign2", - Handler: _Wallet_GetTransactionSign2_Handler, - }, - { - MethodName: "CreateAddress", - Handler: _Wallet_CreateAddress_Handler, - }, - { - MethodName: "EasyTransferAsset", - Handler: _Wallet_EasyTransferAsset_Handler, - }, - { - MethodName: "EasyTransferAssetByPrivate", - Handler: _Wallet_EasyTransferAssetByPrivate_Handler, - }, - { - MethodName: "EasyTransfer", - Handler: _Wallet_EasyTransfer_Handler, - }, - { - MethodName: "EasyTransferByPrivate", - Handler: _Wallet_EasyTransferByPrivate_Handler, - }, - { - MethodName: "GenerateAddress", - Handler: _Wallet_GenerateAddress_Handler, - }, - { - MethodName: "GetTransactionInfoById", - Handler: _Wallet_GetTransactionInfoById_Handler, - }, - { - MethodName: "AccountPermissionUpdate", - Handler: _Wallet_AccountPermissionUpdate_Handler, - }, - { - MethodName: "AddSign", - Handler: _Wallet_AddSign_Handler, - }, - { - MethodName: "GetTransactionSignWeight", - Handler: _Wallet_GetTransactionSignWeight_Handler, - }, - { - MethodName: "GetTransactionApprovedList", - Handler: _Wallet_GetTransactionApprovedList_Handler, - }, - { - MethodName: "GetNodeInfo", - Handler: _Wallet_GetNodeInfo_Handler, - }, - { - MethodName: "GetRewardInfo", - Handler: _Wallet_GetRewardInfo_Handler, - }, - { - MethodName: "GetBrokerageInfo", - Handler: _Wallet_GetBrokerageInfo_Handler, - }, - { - MethodName: "UpdateBrokerage", - Handler: _Wallet_UpdateBrokerage_Handler, - }, - { - MethodName: "CreateShieldedTransaction", - Handler: _Wallet_CreateShieldedTransaction_Handler, - }, - { - MethodName: "GetMerkleTreeVoucherInfo", - Handler: _Wallet_GetMerkleTreeVoucherInfo_Handler, - }, - { - MethodName: "ScanNoteByIvk", - Handler: _Wallet_ScanNoteByIvk_Handler, - }, - { - MethodName: "ScanAndMarkNoteByIvk", - Handler: _Wallet_ScanAndMarkNoteByIvk_Handler, - }, - { - MethodName: "ScanNoteByOvk", - Handler: _Wallet_ScanNoteByOvk_Handler, - }, - { - MethodName: "GetSpendingKey", - Handler: _Wallet_GetSpendingKey_Handler, - }, - { - MethodName: "GetExpandedSpendingKey", - Handler: _Wallet_GetExpandedSpendingKey_Handler, - }, - { - MethodName: "GetAkFromAsk", - Handler: _Wallet_GetAkFromAsk_Handler, - }, - { - MethodName: "GetNkFromNsk", - Handler: _Wallet_GetNkFromNsk_Handler, - }, - { - MethodName: "GetIncomingViewingKey", - Handler: _Wallet_GetIncomingViewingKey_Handler, - }, - { - MethodName: "GetDiversifier", - Handler: _Wallet_GetDiversifier_Handler, - }, - { - MethodName: "GetNewShieldedAddress", - Handler: _Wallet_GetNewShieldedAddress_Handler, - }, - { - MethodName: "GetZenPaymentAddress", - Handler: _Wallet_GetZenPaymentAddress_Handler, - }, - { - MethodName: "GetRcm", - Handler: _Wallet_GetRcm_Handler, - }, - { - MethodName: "IsSpend", - Handler: _Wallet_IsSpend_Handler, - }, - { - MethodName: "CreateShieldedTransactionWithoutSpendAuthSig", - Handler: _Wallet_CreateShieldedTransactionWithoutSpendAuthSig_Handler, - }, - { - MethodName: "GetShieldTransactionHash", - Handler: _Wallet_GetShieldTransactionHash_Handler, - }, - { - MethodName: "CreateSpendAuthSig", - Handler: _Wallet_CreateSpendAuthSig_Handler, - }, - { - MethodName: "CreateShieldNullifier", - Handler: _Wallet_CreateShieldNullifier_Handler, - }, - { - MethodName: "CreateCommonTransaction", - Handler: _Wallet_CreateCommonTransaction_Handler, - }, - { - MethodName: "GetTransactionInfoByBlockNum", - Handler: _Wallet_GetTransactionInfoByBlockNum_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "api/api.proto", -} - -// WalletSolidityClient is the client API for WalletSolidity service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type WalletSolidityClient interface { - GetAccount(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error) - GetAccountById(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error) - ListWitnesses(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*WitnessList, error) - GetAssetIssueList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AssetIssueList, error) - GetPaginatedAssetIssueList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*AssetIssueList, error) - GetAssetIssueByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error) - GetAssetIssueListByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*AssetIssueList, error) - GetAssetIssueById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error) - //Please use GetNowBlock2 instead of this function. - GetNowBlock(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.Block, error) - //Use this function instead of GetNowBlock. - GetNowBlock2(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BlockExtention, error) - //Please use GetBlockByNum2 instead of this function. - GetBlockByNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*core.Block, error) - //Use this function instead of GetBlockByNum. - GetBlockByNum2(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockExtention, error) - GetTransactionCountByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*NumberMessage, error) - GetDelegatedResource(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error) - GetDelegatedResourceAccountIndex(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error) - GetExchangeById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Exchange, error) - ListExchanges(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ExchangeList, error) - GetTransactionById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Transaction, error) - GetTransactionInfoById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.TransactionInfo, error) - //Warning: do not invoke this interface provided by others. - GenerateAddress(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AddressPrKeyPairMessage, error) - GetMerkleTreeVoucherInfo(ctx context.Context, in *core.OutputPointInfo, opts ...grpc.CallOption) (*core.IncrementalMerkleVoucherInfo, error) - ScanNoteByIvk(ctx context.Context, in *IvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) - ScanAndMarkNoteByIvk(ctx context.Context, in *IvkDecryptAndMarkParameters, opts ...grpc.CallOption) (*DecryptNotesMarked, error) - ScanNoteByOvk(ctx context.Context, in *OvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) - IsSpend(ctx context.Context, in *NoteParameters, opts ...grpc.CallOption) (*SpendResult, error) - GetRewardInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error) - GetBrokerageInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error) - TriggerConstantContract(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error) - GetTransactionInfoByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*TransactionInfoList, error) +func (x *PrivateShieldedTRC20Parameters) GetShieldedSpends() []*SpendNoteTRC20 { + if x != nil { + return x.ShieldedSpends + } + return nil } -type walletSolidityClient struct { - cc grpc.ClientConnInterface +func (x *PrivateShieldedTRC20Parameters) GetShieldedReceives() []*ReceiveNote { + if x != nil { + return x.ShieldedReceives + } + return nil } -func NewWalletSolidityClient(cc grpc.ClientConnInterface) WalletSolidityClient { - return &walletSolidityClient{cc} +func (x *PrivateShieldedTRC20Parameters) GetTransparentToAddress() []byte { + if x != nil { + return x.TransparentToAddress + } + return nil } -func (c *walletSolidityClient) GetAccount(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error) { - out := new(core.Account) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetAccount", in, out, opts...) - if err != nil { - return nil, err +func (x *PrivateShieldedTRC20Parameters) GetToAmount() string { + if x != nil { + return x.ToAmount } - return out, nil + return "" } -func (c *walletSolidityClient) GetAccountById(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error) { - out := new(core.Account) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetAccountById", in, out, opts...) - if err != nil { - return nil, err +func (x *PrivateShieldedTRC20Parameters) GetShielded_TRC20ContractAddress() []byte { + if x != nil { + return x.Shielded_TRC20ContractAddress } - return out, nil + return nil } -func (c *walletSolidityClient) ListWitnesses(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*WitnessList, error) { - out := new(WitnessList) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/ListWitnesses", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +type PrivateShieldedTRC20ParametersWithoutAsk struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ak []byte `protobuf:"bytes,1,opt,name=ak,proto3" json:"ak,omitempty"` + Nsk []byte `protobuf:"bytes,2,opt,name=nsk,proto3" json:"nsk,omitempty"` + Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"` + FromAmount string `protobuf:"bytes,4,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"` + ShieldedSpends []*SpendNoteTRC20 `protobuf:"bytes,5,rep,name=shielded_spends,json=shieldedSpends,proto3" json:"shielded_spends,omitempty"` + ShieldedReceives []*ReceiveNote `protobuf:"bytes,6,rep,name=shielded_receives,json=shieldedReceives,proto3" json:"shielded_receives,omitempty"` + TransparentToAddress []byte `protobuf:"bytes,7,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` + ToAmount string `protobuf:"bytes,8,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` + Shielded_TRC20ContractAddress []byte `protobuf:"bytes,9,opt,name=shielded_TRC20_contract_address,json=shieldedTRC20ContractAddress,proto3" json:"shielded_TRC20_contract_address,omitempty"` } -func (c *walletSolidityClient) GetAssetIssueList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AssetIssueList, error) { - out := new(AssetIssueList) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetAssetIssueList", in, out, opts...) - if err != nil { - return nil, err +func (x *PrivateShieldedTRC20ParametersWithoutAsk) Reset() { + *x = PrivateShieldedTRC20ParametersWithoutAsk{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[70] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return out, nil } -func (c *walletSolidityClient) GetPaginatedAssetIssueList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*AssetIssueList, error) { - out := new(AssetIssueList) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetPaginatedAssetIssueList", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (x *PrivateShieldedTRC20ParametersWithoutAsk) String() string { + return protoimpl.X.MessageStringOf(x) } -func (c *walletSolidityClient) GetAssetIssueByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error) { - out := new(core.AssetIssueContract) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetAssetIssueByName", in, out, opts...) - if err != nil { - return nil, err +func (*PrivateShieldedTRC20ParametersWithoutAsk) ProtoMessage() {} + +func (x *PrivateShieldedTRC20ParametersWithoutAsk) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[70] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return out, nil + return mi.MessageOf(x) } -func (c *walletSolidityClient) GetAssetIssueListByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*AssetIssueList, error) { - out := new(AssetIssueList) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetAssetIssueListByName", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +// Deprecated: Use PrivateShieldedTRC20ParametersWithoutAsk.ProtoReflect.Descriptor instead. +func (*PrivateShieldedTRC20ParametersWithoutAsk) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{70} } -func (c *walletSolidityClient) GetAssetIssueById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error) { - out := new(core.AssetIssueContract) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetAssetIssueById", in, out, opts...) - if err != nil { - return nil, err +func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetAk() []byte { + if x != nil { + return x.Ak } - return out, nil + return nil } -func (c *walletSolidityClient) GetNowBlock(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.Block, error) { - out := new(core.Block) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetNowBlock", in, out, opts...) - if err != nil { - return nil, err +func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetNsk() []byte { + if x != nil { + return x.Nsk } - return out, nil + return nil } -func (c *walletSolidityClient) GetNowBlock2(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BlockExtention, error) { - out := new(BlockExtention) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetNowBlock2", in, out, opts...) - if err != nil { - return nil, err +func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetOvk() []byte { + if x != nil { + return x.Ovk } - return out, nil + return nil } -func (c *walletSolidityClient) GetBlockByNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*core.Block, error) { - out := new(core.Block) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetBlockByNum", in, out, opts...) - if err != nil { - return nil, err +func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetFromAmount() string { + if x != nil { + return x.FromAmount } - return out, nil + return "" } -func (c *walletSolidityClient) GetBlockByNum2(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockExtention, error) { - out := new(BlockExtention) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetBlockByNum2", in, out, opts...) - if err != nil { - return nil, err +func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetShieldedSpends() []*SpendNoteTRC20 { + if x != nil { + return x.ShieldedSpends } - return out, nil + return nil } -func (c *walletSolidityClient) GetTransactionCountByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*NumberMessage, error) { - out := new(NumberMessage) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetTransactionCountByBlockNum", in, out, opts...) - if err != nil { - return nil, err +func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetShieldedReceives() []*ReceiveNote { + if x != nil { + return x.ShieldedReceives } - return out, nil + return nil } -func (c *walletSolidityClient) GetDelegatedResource(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error) { - out := new(DelegatedResourceList) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetDelegatedResource", in, out, opts...) - if err != nil { - return nil, err +func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetTransparentToAddress() []byte { + if x != nil { + return x.TransparentToAddress } - return out, nil + return nil } -func (c *walletSolidityClient) GetDelegatedResourceAccountIndex(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error) { - out := new(core.DelegatedResourceAccountIndex) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetDelegatedResourceAccountIndex", in, out, opts...) - if err != nil { - return nil, err +func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetToAmount() string { + if x != nil { + return x.ToAmount } - return out, nil + return "" } -func (c *walletSolidityClient) GetExchangeById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Exchange, error) { - out := new(core.Exchange) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetExchangeById", in, out, opts...) - if err != nil { - return nil, err +func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetShielded_TRC20ContractAddress() []byte { + if x != nil { + return x.Shielded_TRC20ContractAddress } - return out, nil + return nil } -func (c *walletSolidityClient) ListExchanges(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ExchangeList, error) { - out := new(ExchangeList) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/ListExchanges", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +type ShieldedTRC20Parameters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SpendDescription []*core.SpendDescription `protobuf:"bytes,1,rep,name=spend_description,json=spendDescription,proto3" json:"spend_description,omitempty"` + ReceiveDescription []*core.ReceiveDescription `protobuf:"bytes,2,rep,name=receive_description,json=receiveDescription,proto3" json:"receive_description,omitempty"` + BindingSignature []byte `protobuf:"bytes,3,opt,name=binding_signature,json=bindingSignature,proto3" json:"binding_signature,omitempty"` + MessageHash []byte `protobuf:"bytes,4,opt,name=message_hash,json=messageHash,proto3" json:"message_hash,omitempty"` + TriggerContractInput string `protobuf:"bytes,5,opt,name=trigger_contract_input,json=triggerContractInput,proto3" json:"trigger_contract_input,omitempty"` + ParameterType string `protobuf:"bytes,6,opt,name=parameter_type,json=parameterType,proto3" json:"parameter_type,omitempty"` } -func (c *walletSolidityClient) GetTransactionById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Transaction, error) { - out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetTransactionById", in, out, opts...) - if err != nil { - return nil, err +func (x *ShieldedTRC20Parameters) Reset() { + *x = ShieldedTRC20Parameters{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[71] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return out, nil } -func (c *walletSolidityClient) GetTransactionInfoById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.TransactionInfo, error) { - out := new(core.TransactionInfo) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetTransactionInfoById", in, out, opts...) - if err != nil { - return nil, err +func (x *ShieldedTRC20Parameters) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShieldedTRC20Parameters) ProtoMessage() {} + +func (x *ShieldedTRC20Parameters) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[71] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return out, nil + return mi.MessageOf(x) } -func (c *walletSolidityClient) GenerateAddress(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AddressPrKeyPairMessage, error) { - out := new(AddressPrKeyPairMessage) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GenerateAddress", in, out, opts...) - if err != nil { - return nil, err +// Deprecated: Use ShieldedTRC20Parameters.ProtoReflect.Descriptor instead. +func (*ShieldedTRC20Parameters) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{71} +} + +func (x *ShieldedTRC20Parameters) GetSpendDescription() []*core.SpendDescription { + if x != nil { + return x.SpendDescription } - return out, nil + return nil } -func (c *walletSolidityClient) GetMerkleTreeVoucherInfo(ctx context.Context, in *core.OutputPointInfo, opts ...grpc.CallOption) (*core.IncrementalMerkleVoucherInfo, error) { - out := new(core.IncrementalMerkleVoucherInfo) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetMerkleTreeVoucherInfo", in, out, opts...) - if err != nil { - return nil, err +func (x *ShieldedTRC20Parameters) GetReceiveDescription() []*core.ReceiveDescription { + if x != nil { + return x.ReceiveDescription } - return out, nil + return nil } -func (c *walletSolidityClient) ScanNoteByIvk(ctx context.Context, in *IvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) { - out := new(DecryptNotes) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/ScanNoteByIvk", in, out, opts...) - if err != nil { - return nil, err +func (x *ShieldedTRC20Parameters) GetBindingSignature() []byte { + if x != nil { + return x.BindingSignature } - return out, nil + return nil } -func (c *walletSolidityClient) ScanAndMarkNoteByIvk(ctx context.Context, in *IvkDecryptAndMarkParameters, opts ...grpc.CallOption) (*DecryptNotesMarked, error) { - out := new(DecryptNotesMarked) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/ScanAndMarkNoteByIvk", in, out, opts...) - if err != nil { - return nil, err +func (x *ShieldedTRC20Parameters) GetMessageHash() []byte { + if x != nil { + return x.MessageHash } - return out, nil + return nil } -func (c *walletSolidityClient) ScanNoteByOvk(ctx context.Context, in *OvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) { - out := new(DecryptNotes) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/ScanNoteByOvk", in, out, opts...) - if err != nil { - return nil, err +func (x *ShieldedTRC20Parameters) GetTriggerContractInput() string { + if x != nil { + return x.TriggerContractInput } - return out, nil + return "" } -func (c *walletSolidityClient) IsSpend(ctx context.Context, in *NoteParameters, opts ...grpc.CallOption) (*SpendResult, error) { - out := new(SpendResult) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/IsSpend", in, out, opts...) - if err != nil { - return nil, err +func (x *ShieldedTRC20Parameters) GetParameterType() string { + if x != nil { + return x.ParameterType } - return out, nil + return "" +} + +type IvkDecryptTRC20Parameters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` + EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` + Shielded_TRC20ContractAddress []byte `protobuf:"bytes,3,opt,name=shielded_TRC20_contract_address,json=shieldedTRC20ContractAddress,proto3" json:"shielded_TRC20_contract_address,omitempty"` + Ivk []byte `protobuf:"bytes,4,opt,name=ivk,proto3" json:"ivk,omitempty"` + Ak []byte `protobuf:"bytes,5,opt,name=ak,proto3" json:"ak,omitempty"` + Nk []byte `protobuf:"bytes,6,opt,name=nk,proto3" json:"nk,omitempty"` + Events []string `protobuf:"bytes,7,rep,name=events,proto3" json:"events,omitempty"` } -func (c *walletSolidityClient) GetRewardInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error) { - out := new(NumberMessage) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetRewardInfo", in, out, opts...) - if err != nil { - return nil, err +func (x *IvkDecryptTRC20Parameters) Reset() { + *x = IvkDecryptTRC20Parameters{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[72] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return out, nil } -func (c *walletSolidityClient) GetBrokerageInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error) { - out := new(NumberMessage) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetBrokerageInfo", in, out, opts...) - if err != nil { - return nil, err +func (x *IvkDecryptTRC20Parameters) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IvkDecryptTRC20Parameters) ProtoMessage() {} + +func (x *IvkDecryptTRC20Parameters) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[72] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return out, nil + return mi.MessageOf(x) +} + +// Deprecated: Use IvkDecryptTRC20Parameters.ProtoReflect.Descriptor instead. +func (*IvkDecryptTRC20Parameters) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{72} } -func (c *walletSolidityClient) TriggerConstantContract(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/TriggerConstantContract", in, out, opts...) - if err != nil { - return nil, err +func (x *IvkDecryptTRC20Parameters) GetStartBlockIndex() int64 { + if x != nil { + return x.StartBlockIndex } - return out, nil + return 0 } -func (c *walletSolidityClient) GetTransactionInfoByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*TransactionInfoList, error) { - out := new(TransactionInfoList) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetTransactionInfoByBlockNum", in, out, opts...) - if err != nil { - return nil, err +func (x *IvkDecryptTRC20Parameters) GetEndBlockIndex() int64 { + if x != nil { + return x.EndBlockIndex } - return out, nil + return 0 } -// WalletSolidityServer is the server API for WalletSolidity service. -type WalletSolidityServer interface { - GetAccount(context.Context, *core.Account) (*core.Account, error) - GetAccountById(context.Context, *core.Account) (*core.Account, error) - ListWitnesses(context.Context, *EmptyMessage) (*WitnessList, error) - GetAssetIssueList(context.Context, *EmptyMessage) (*AssetIssueList, error) - GetPaginatedAssetIssueList(context.Context, *PaginatedMessage) (*AssetIssueList, error) - GetAssetIssueByName(context.Context, *BytesMessage) (*core.AssetIssueContract, error) - GetAssetIssueListByName(context.Context, *BytesMessage) (*AssetIssueList, error) - GetAssetIssueById(context.Context, *BytesMessage) (*core.AssetIssueContract, error) - //Please use GetNowBlock2 instead of this function. - GetNowBlock(context.Context, *EmptyMessage) (*core.Block, error) - //Use this function instead of GetNowBlock. - GetNowBlock2(context.Context, *EmptyMessage) (*BlockExtention, error) - //Please use GetBlockByNum2 instead of this function. - GetBlockByNum(context.Context, *NumberMessage) (*core.Block, error) - //Use this function instead of GetBlockByNum. - GetBlockByNum2(context.Context, *NumberMessage) (*BlockExtention, error) - GetTransactionCountByBlockNum(context.Context, *NumberMessage) (*NumberMessage, error) - GetDelegatedResource(context.Context, *DelegatedResourceMessage) (*DelegatedResourceList, error) - GetDelegatedResourceAccountIndex(context.Context, *BytesMessage) (*core.DelegatedResourceAccountIndex, error) - GetExchangeById(context.Context, *BytesMessage) (*core.Exchange, error) - ListExchanges(context.Context, *EmptyMessage) (*ExchangeList, error) - GetTransactionById(context.Context, *BytesMessage) (*core.Transaction, error) - GetTransactionInfoById(context.Context, *BytesMessage) (*core.TransactionInfo, error) - //Warning: do not invoke this interface provided by others. - GenerateAddress(context.Context, *EmptyMessage) (*AddressPrKeyPairMessage, error) - GetMerkleTreeVoucherInfo(context.Context, *core.OutputPointInfo) (*core.IncrementalMerkleVoucherInfo, error) - ScanNoteByIvk(context.Context, *IvkDecryptParameters) (*DecryptNotes, error) - ScanAndMarkNoteByIvk(context.Context, *IvkDecryptAndMarkParameters) (*DecryptNotesMarked, error) - ScanNoteByOvk(context.Context, *OvkDecryptParameters) (*DecryptNotes, error) - IsSpend(context.Context, *NoteParameters) (*SpendResult, error) - GetRewardInfo(context.Context, *BytesMessage) (*NumberMessage, error) - GetBrokerageInfo(context.Context, *BytesMessage) (*NumberMessage, error) - TriggerConstantContract(context.Context, *core.TriggerSmartContract) (*TransactionExtention, error) - GetTransactionInfoByBlockNum(context.Context, *NumberMessage) (*TransactionInfoList, error) +func (x *IvkDecryptTRC20Parameters) GetShielded_TRC20ContractAddress() []byte { + if x != nil { + return x.Shielded_TRC20ContractAddress + } + return nil } -// UnimplementedWalletSolidityServer can be embedded to have forward compatible implementations. -type UnimplementedWalletSolidityServer struct { +func (x *IvkDecryptTRC20Parameters) GetIvk() []byte { + if x != nil { + return x.Ivk + } + return nil } -func (*UnimplementedWalletSolidityServer) GetAccount(context.Context, *core.Account) (*core.Account, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAccount not implemented") +func (x *IvkDecryptTRC20Parameters) GetAk() []byte { + if x != nil { + return x.Ak + } + return nil } -func (*UnimplementedWalletSolidityServer) GetAccountById(context.Context, *core.Account) (*core.Account, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAccountById not implemented") + +func (x *IvkDecryptTRC20Parameters) GetNk() []byte { + if x != nil { + return x.Nk + } + return nil } -func (*UnimplementedWalletSolidityServer) ListWitnesses(context.Context, *EmptyMessage) (*WitnessList, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListWitnesses not implemented") + +func (x *IvkDecryptTRC20Parameters) GetEvents() []string { + if x != nil { + return x.Events + } + return nil } -func (*UnimplementedWalletSolidityServer) GetAssetIssueList(context.Context, *EmptyMessage) (*AssetIssueList, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAssetIssueList not implemented") + +type OvkDecryptTRC20Parameters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` + EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` + Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"` + Shielded_TRC20ContractAddress []byte `protobuf:"bytes,4,opt,name=shielded_TRC20_contract_address,json=shieldedTRC20ContractAddress,proto3" json:"shielded_TRC20_contract_address,omitempty"` + Events []string `protobuf:"bytes,5,rep,name=events,proto3" json:"events,omitempty"` } -func (*UnimplementedWalletSolidityServer) GetPaginatedAssetIssueList(context.Context, *PaginatedMessage) (*AssetIssueList, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetPaginatedAssetIssueList not implemented") + +func (x *OvkDecryptTRC20Parameters) Reset() { + *x = OvkDecryptTRC20Parameters{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[73] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (*UnimplementedWalletSolidityServer) GetAssetIssueByName(context.Context, *BytesMessage) (*core.AssetIssueContract, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAssetIssueByName not implemented") + +func (x *OvkDecryptTRC20Parameters) String() string { + return protoimpl.X.MessageStringOf(x) } -func (*UnimplementedWalletSolidityServer) GetAssetIssueListByName(context.Context, *BytesMessage) (*AssetIssueList, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAssetIssueListByName not implemented") + +func (*OvkDecryptTRC20Parameters) ProtoMessage() {} + +func (x *OvkDecryptTRC20Parameters) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[73] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (*UnimplementedWalletSolidityServer) GetAssetIssueById(context.Context, *BytesMessage) (*core.AssetIssueContract, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetAssetIssueById not implemented") + +// Deprecated: Use OvkDecryptTRC20Parameters.ProtoReflect.Descriptor instead. +func (*OvkDecryptTRC20Parameters) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{73} } -func (*UnimplementedWalletSolidityServer) GetNowBlock(context.Context, *EmptyMessage) (*core.Block, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNowBlock not implemented") + +func (x *OvkDecryptTRC20Parameters) GetStartBlockIndex() int64 { + if x != nil { + return x.StartBlockIndex + } + return 0 } -func (*UnimplementedWalletSolidityServer) GetNowBlock2(context.Context, *EmptyMessage) (*BlockExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNowBlock2 not implemented") + +func (x *OvkDecryptTRC20Parameters) GetEndBlockIndex() int64 { + if x != nil { + return x.EndBlockIndex + } + return 0 } -func (*UnimplementedWalletSolidityServer) GetBlockByNum(context.Context, *NumberMessage) (*core.Block, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBlockByNum not implemented") + +func (x *OvkDecryptTRC20Parameters) GetOvk() []byte { + if x != nil { + return x.Ovk + } + return nil } -func (*UnimplementedWalletSolidityServer) GetBlockByNum2(context.Context, *NumberMessage) (*BlockExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBlockByNum2 not implemented") + +func (x *OvkDecryptTRC20Parameters) GetShielded_TRC20ContractAddress() []byte { + if x != nil { + return x.Shielded_TRC20ContractAddress + } + return nil } -func (*UnimplementedWalletSolidityServer) GetTransactionCountByBlockNum(context.Context, *NumberMessage) (*NumberMessage, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransactionCountByBlockNum not implemented") + +func (x *OvkDecryptTRC20Parameters) GetEvents() []string { + if x != nil { + return x.Events + } + return nil } -func (*UnimplementedWalletSolidityServer) GetDelegatedResource(context.Context, *DelegatedResourceMessage) (*DelegatedResourceList, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDelegatedResource not implemented") + +type DecryptNotesTRC20 struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NoteTxs []*DecryptNotesTRC20_NoteTx `protobuf:"bytes,1,rep,name=noteTxs,proto3" json:"noteTxs,omitempty"` } -func (*UnimplementedWalletSolidityServer) GetDelegatedResourceAccountIndex(context.Context, *BytesMessage) (*core.DelegatedResourceAccountIndex, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDelegatedResourceAccountIndex not implemented") + +func (x *DecryptNotesTRC20) Reset() { + *x = DecryptNotesTRC20{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[74] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (*UnimplementedWalletSolidityServer) GetExchangeById(context.Context, *BytesMessage) (*core.Exchange, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetExchangeById not implemented") + +func (x *DecryptNotesTRC20) String() string { + return protoimpl.X.MessageStringOf(x) } -func (*UnimplementedWalletSolidityServer) ListExchanges(context.Context, *EmptyMessage) (*ExchangeList, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListExchanges not implemented") + +func (*DecryptNotesTRC20) ProtoMessage() {} + +func (x *DecryptNotesTRC20) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[74] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (*UnimplementedWalletSolidityServer) GetTransactionById(context.Context, *BytesMessage) (*core.Transaction, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransactionById not implemented") + +// Deprecated: Use DecryptNotesTRC20.ProtoReflect.Descriptor instead. +func (*DecryptNotesTRC20) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{74} } -func (*UnimplementedWalletSolidityServer) GetTransactionInfoById(context.Context, *BytesMessage) (*core.TransactionInfo, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransactionInfoById not implemented") + +func (x *DecryptNotesTRC20) GetNoteTxs() []*DecryptNotesTRC20_NoteTx { + if x != nil { + return x.NoteTxs + } + return nil } -func (*UnimplementedWalletSolidityServer) GenerateAddress(context.Context, *EmptyMessage) (*AddressPrKeyPairMessage, error) { - return nil, status.Errorf(codes.Unimplemented, "method GenerateAddress not implemented") + +type NfTRC20Parameters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` + Ak []byte `protobuf:"bytes,2,opt,name=ak,proto3" json:"ak,omitempty"` + Nk []byte `protobuf:"bytes,3,opt,name=nk,proto3" json:"nk,omitempty"` + Position int64 `protobuf:"varint,4,opt,name=position,proto3" json:"position,omitempty"` + Shielded_TRC20ContractAddress []byte `protobuf:"bytes,5,opt,name=shielded_TRC20_contract_address,json=shieldedTRC20ContractAddress,proto3" json:"shielded_TRC20_contract_address,omitempty"` } -func (*UnimplementedWalletSolidityServer) GetMerkleTreeVoucherInfo(context.Context, *core.OutputPointInfo) (*core.IncrementalMerkleVoucherInfo, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetMerkleTreeVoucherInfo not implemented") + +func (x *NfTRC20Parameters) Reset() { + *x = NfTRC20Parameters{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[75] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (*UnimplementedWalletSolidityServer) ScanNoteByIvk(context.Context, *IvkDecryptParameters) (*DecryptNotes, error) { - return nil, status.Errorf(codes.Unimplemented, "method ScanNoteByIvk not implemented") + +func (x *NfTRC20Parameters) String() string { + return protoimpl.X.MessageStringOf(x) } -func (*UnimplementedWalletSolidityServer) ScanAndMarkNoteByIvk(context.Context, *IvkDecryptAndMarkParameters) (*DecryptNotesMarked, error) { - return nil, status.Errorf(codes.Unimplemented, "method ScanAndMarkNoteByIvk not implemented") + +func (*NfTRC20Parameters) ProtoMessage() {} + +func (x *NfTRC20Parameters) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[75] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (*UnimplementedWalletSolidityServer) ScanNoteByOvk(context.Context, *OvkDecryptParameters) (*DecryptNotes, error) { - return nil, status.Errorf(codes.Unimplemented, "method ScanNoteByOvk not implemented") + +// Deprecated: Use NfTRC20Parameters.ProtoReflect.Descriptor instead. +func (*NfTRC20Parameters) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{75} } -func (*UnimplementedWalletSolidityServer) IsSpend(context.Context, *NoteParameters) (*SpendResult, error) { - return nil, status.Errorf(codes.Unimplemented, "method IsSpend not implemented") + +func (x *NfTRC20Parameters) GetNote() *Note { + if x != nil { + return x.Note + } + return nil } -func (*UnimplementedWalletSolidityServer) GetRewardInfo(context.Context, *BytesMessage) (*NumberMessage, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetRewardInfo not implemented") + +func (x *NfTRC20Parameters) GetAk() []byte { + if x != nil { + return x.Ak + } + return nil } -func (*UnimplementedWalletSolidityServer) GetBrokerageInfo(context.Context, *BytesMessage) (*NumberMessage, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBrokerageInfo not implemented") + +func (x *NfTRC20Parameters) GetNk() []byte { + if x != nil { + return x.Nk + } + return nil } -func (*UnimplementedWalletSolidityServer) TriggerConstantContract(context.Context, *core.TriggerSmartContract) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method TriggerConstantContract not implemented") + +func (x *NfTRC20Parameters) GetPosition() int64 { + if x != nil { + return x.Position + } + return 0 } -func (*UnimplementedWalletSolidityServer) GetTransactionInfoByBlockNum(context.Context, *NumberMessage) (*TransactionInfoList, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransactionInfoByBlockNum not implemented") + +func (x *NfTRC20Parameters) GetShielded_TRC20ContractAddress() []byte { + if x != nil { + return x.Shielded_TRC20ContractAddress + } + return nil } -func RegisterWalletSolidityServer(s *grpc.Server, srv WalletSolidityServer) { - s.RegisterService(&_WalletSolidity_serviceDesc, srv) +type NullifierResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsSpent bool `protobuf:"varint,1,opt,name=is_spent,json=isSpent,proto3" json:"is_spent,omitempty"` } -func _WalletSolidity_GetAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.Account) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletSolidityServer).GetAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletSolidity/GetAccount", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletSolidityServer).GetAccount(ctx, req.(*core.Account)) +func (x *NullifierResult) Reset() { + *x = NullifierResult{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[76] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return interceptor(ctx, in, info, handler) } -func _WalletSolidity_GetAccountById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.Account) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletSolidityServer).GetAccountById(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletSolidity/GetAccountById", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletSolidityServer).GetAccountById(ctx, req.(*core.Account)) - } - return interceptor(ctx, in, info, handler) +func (x *NullifierResult) String() string { + return protoimpl.X.MessageStringOf(x) } -func _WalletSolidity_ListWitnesses_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EmptyMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletSolidityServer).ListWitnesses(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletSolidity/ListWitnesses", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletSolidityServer).ListWitnesses(ctx, req.(*EmptyMessage)) +func (*NullifierResult) ProtoMessage() {} + +func (x *NullifierResult) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[76] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return interceptor(ctx, in, info, handler) + return mi.MessageOf(x) } -func _WalletSolidity_GetAssetIssueList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EmptyMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletSolidityServer).GetAssetIssueList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletSolidity/GetAssetIssueList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletSolidityServer).GetAssetIssueList(ctx, req.(*EmptyMessage)) - } - return interceptor(ctx, in, info, handler) +// Deprecated: Use NullifierResult.ProtoReflect.Descriptor instead. +func (*NullifierResult) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{76} } -func _WalletSolidity_GetPaginatedAssetIssueList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PaginatedMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletSolidityServer).GetPaginatedAssetIssueList(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletSolidity/GetPaginatedAssetIssueList", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletSolidityServer).GetPaginatedAssetIssueList(ctx, req.(*PaginatedMessage)) +func (x *NullifierResult) GetIsSpent() bool { + if x != nil { + return x.IsSpent } - return interceptor(ctx, in, info, handler) + return false } -func _WalletSolidity_GetAssetIssueByName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BytesMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletSolidityServer).GetAssetIssueByName(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletSolidity/GetAssetIssueByName", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletSolidityServer).GetAssetIssueByName(ctx, req.(*BytesMessage)) - } - return interceptor(ctx, in, info, handler) +type ShieldedTRC20TriggerContractParameters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Shielded_TRC20_Parameters *ShieldedTRC20Parameters `protobuf:"bytes,1,opt,name=shielded_TRC20_Parameters,json=shieldedTRC20Parameters,proto3" json:"shielded_TRC20_Parameters,omitempty"` + SpendAuthoritySignature []*BytesMessage `protobuf:"bytes,2,rep,name=spend_authority_signature,json=spendAuthoritySignature,proto3" json:"spend_authority_signature,omitempty"` + Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` + TransparentToAddress []byte `protobuf:"bytes,4,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` } -func _WalletSolidity_GetAssetIssueListByName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BytesMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletSolidityServer).GetAssetIssueListByName(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletSolidity/GetAssetIssueListByName", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletSolidityServer).GetAssetIssueListByName(ctx, req.(*BytesMessage)) +func (x *ShieldedTRC20TriggerContractParameters) Reset() { + *x = ShieldedTRC20TriggerContractParameters{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[77] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return interceptor(ctx, in, info, handler) } -func _WalletSolidity_GetAssetIssueById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BytesMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletSolidityServer).GetAssetIssueById(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletSolidity/GetAssetIssueById", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletSolidityServer).GetAssetIssueById(ctx, req.(*BytesMessage)) - } - return interceptor(ctx, in, info, handler) +func (x *ShieldedTRC20TriggerContractParameters) String() string { + return protoimpl.X.MessageStringOf(x) } -func _WalletSolidity_GetNowBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EmptyMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletSolidityServer).GetNowBlock(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletSolidity/GetNowBlock", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletSolidityServer).GetNowBlock(ctx, req.(*EmptyMessage)) +func (*ShieldedTRC20TriggerContractParameters) ProtoMessage() {} + +func (x *ShieldedTRC20TriggerContractParameters) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[77] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return interceptor(ctx, in, info, handler) + return mi.MessageOf(x) } -func _WalletSolidity_GetNowBlock2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EmptyMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletSolidityServer).GetNowBlock2(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletSolidity/GetNowBlock2", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletSolidityServer).GetNowBlock2(ctx, req.(*EmptyMessage)) - } - return interceptor(ctx, in, info, handler) +// Deprecated: Use ShieldedTRC20TriggerContractParameters.ProtoReflect.Descriptor instead. +func (*ShieldedTRC20TriggerContractParameters) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{77} } -func _WalletSolidity_GetBlockByNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NumberMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletSolidityServer).GetBlockByNum(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletSolidity/GetBlockByNum", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletSolidityServer).GetBlockByNum(ctx, req.(*NumberMessage)) +func (x *ShieldedTRC20TriggerContractParameters) GetShielded_TRC20_Parameters() *ShieldedTRC20Parameters { + if x != nil { + return x.Shielded_TRC20_Parameters } - return interceptor(ctx, in, info, handler) + return nil } -func _WalletSolidity_GetBlockByNum2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NumberMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletSolidityServer).GetBlockByNum2(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletSolidity/GetBlockByNum2", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletSolidityServer).GetBlockByNum2(ctx, req.(*NumberMessage)) +func (x *ShieldedTRC20TriggerContractParameters) GetSpendAuthoritySignature() []*BytesMessage { + if x != nil { + return x.SpendAuthoritySignature } - return interceptor(ctx, in, info, handler) + return nil } -func _WalletSolidity_GetTransactionCountByBlockNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NumberMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletSolidityServer).GetTransactionCountByBlockNum(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletSolidity/GetTransactionCountByBlockNum", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletSolidityServer).GetTransactionCountByBlockNum(ctx, req.(*NumberMessage)) +func (x *ShieldedTRC20TriggerContractParameters) GetAmount() string { + if x != nil { + return x.Amount } - return interceptor(ctx, in, info, handler) + return "" } -func _WalletSolidity_GetDelegatedResource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DelegatedResourceMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletSolidityServer).GetDelegatedResource(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletSolidity/GetDelegatedResource", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletSolidityServer).GetDelegatedResource(ctx, req.(*DelegatedResourceMessage)) +func (x *ShieldedTRC20TriggerContractParameters) GetTransparentToAddress() []byte { + if x != nil { + return x.TransparentToAddress } - return interceptor(ctx, in, info, handler) + return nil } -func _WalletSolidity_GetDelegatedResourceAccountIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BytesMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletSolidityServer).GetDelegatedResourceAccountIndex(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletSolidity/GetDelegatedResourceAccountIndex", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletSolidityServer).GetDelegatedResourceAccountIndex(ctx, req.(*BytesMessage)) - } - return interceptor(ctx, in, info, handler) +type TransactionSignWeight_Result struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Code TransactionSignWeight_ResultResponseCode `protobuf:"varint,1,opt,name=code,proto3,enum=protocol.TransactionSignWeight_ResultResponseCode" json:"code,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` } -func _WalletSolidity_GetExchangeById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BytesMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletSolidityServer).GetExchangeById(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletSolidity/GetExchangeById", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletSolidityServer).GetExchangeById(ctx, req.(*BytesMessage)) +func (x *TransactionSignWeight_Result) Reset() { + *x = TransactionSignWeight_Result{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[82] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return interceptor(ctx, in, info, handler) } -func _WalletSolidity_ListExchanges_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EmptyMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletSolidityServer).ListExchanges(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletSolidity/ListExchanges", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletSolidityServer).ListExchanges(ctx, req.(*EmptyMessage)) - } - return interceptor(ctx, in, info, handler) +func (x *TransactionSignWeight_Result) String() string { + return protoimpl.X.MessageStringOf(x) } -func _WalletSolidity_GetTransactionById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BytesMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletSolidityServer).GetTransactionById(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletSolidity/GetTransactionById", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletSolidityServer).GetTransactionById(ctx, req.(*BytesMessage)) +func (*TransactionSignWeight_Result) ProtoMessage() {} + +func (x *TransactionSignWeight_Result) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[82] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return interceptor(ctx, in, info, handler) + return mi.MessageOf(x) } -func _WalletSolidity_GetTransactionInfoById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BytesMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletSolidityServer).GetTransactionInfoById(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletSolidity/GetTransactionInfoById", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletSolidityServer).GetTransactionInfoById(ctx, req.(*BytesMessage)) - } - return interceptor(ctx, in, info, handler) +// Deprecated: Use TransactionSignWeight_Result.ProtoReflect.Descriptor instead. +func (*TransactionSignWeight_Result) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{44, 0} } -func _WalletSolidity_GenerateAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EmptyMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletSolidityServer).GenerateAddress(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletSolidity/GenerateAddress", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletSolidityServer).GenerateAddress(ctx, req.(*EmptyMessage)) +func (x *TransactionSignWeight_Result) GetCode() TransactionSignWeight_ResultResponseCode { + if x != nil { + return x.Code } - return interceptor(ctx, in, info, handler) + return TransactionSignWeight_Result_ENOUGH_PERMISSION } -func _WalletSolidity_GetMerkleTreeVoucherInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.OutputPointInfo) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletSolidityServer).GetMerkleTreeVoucherInfo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletSolidity/GetMerkleTreeVoucherInfo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletSolidityServer).GetMerkleTreeVoucherInfo(ctx, req.(*core.OutputPointInfo)) +func (x *TransactionSignWeight_Result) GetMessage() string { + if x != nil { + return x.Message } - return interceptor(ctx, in, info, handler) + return "" } -func _WalletSolidity_ScanNoteByIvk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(IvkDecryptParameters) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletSolidityServer).ScanNoteByIvk(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletSolidity/ScanNoteByIvk", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletSolidityServer).ScanNoteByIvk(ctx, req.(*IvkDecryptParameters)) - } - return interceptor(ctx, in, info, handler) +type TransactionApprovedList_Result struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Code TransactionApprovedList_ResultResponseCode `protobuf:"varint,1,opt,name=code,proto3,enum=protocol.TransactionApprovedList_ResultResponseCode" json:"code,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` } -func _WalletSolidity_ScanAndMarkNoteByIvk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(IvkDecryptAndMarkParameters) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletSolidityServer).ScanAndMarkNoteByIvk(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletSolidity/ScanAndMarkNoteByIvk", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletSolidityServer).ScanAndMarkNoteByIvk(ctx, req.(*IvkDecryptAndMarkParameters)) +func (x *TransactionApprovedList_Result) Reset() { + *x = TransactionApprovedList_Result{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[83] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return interceptor(ctx, in, info, handler) } -func _WalletSolidity_ScanNoteByOvk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(OvkDecryptParameters) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletSolidityServer).ScanNoteByOvk(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletSolidity/ScanNoteByOvk", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletSolidityServer).ScanNoteByOvk(ctx, req.(*OvkDecryptParameters)) - } - return interceptor(ctx, in, info, handler) +func (x *TransactionApprovedList_Result) String() string { + return protoimpl.X.MessageStringOf(x) } -func _WalletSolidity_IsSpend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NoteParameters) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletSolidityServer).IsSpend(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletSolidity/IsSpend", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletSolidityServer).IsSpend(ctx, req.(*NoteParameters)) +func (*TransactionApprovedList_Result) ProtoMessage() {} + +func (x *TransactionApprovedList_Result) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[83] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return interceptor(ctx, in, info, handler) + return mi.MessageOf(x) } -func _WalletSolidity_GetRewardInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BytesMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletSolidityServer).GetRewardInfo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletSolidity/GetRewardInfo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletSolidityServer).GetRewardInfo(ctx, req.(*BytesMessage)) - } - return interceptor(ctx, in, info, handler) +// Deprecated: Use TransactionApprovedList_Result.ProtoReflect.Descriptor instead. +func (*TransactionApprovedList_Result) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{45, 0} } -func _WalletSolidity_GetBrokerageInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BytesMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletSolidityServer).GetBrokerageInfo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletSolidity/GetBrokerageInfo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletSolidityServer).GetBrokerageInfo(ctx, req.(*BytesMessage)) +func (x *TransactionApprovedList_Result) GetCode() TransactionApprovedList_ResultResponseCode { + if x != nil { + return x.Code } - return interceptor(ctx, in, info, handler) + return TransactionApprovedList_Result_SUCCESS } -func _WalletSolidity_TriggerConstantContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.TriggerSmartContract) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletSolidityServer).TriggerConstantContract(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletSolidity/TriggerConstantContract", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletSolidityServer).TriggerConstantContract(ctx, req.(*core.TriggerSmartContract)) +func (x *TransactionApprovedList_Result) GetMessage() string { + if x != nil { + return x.Message } - return interceptor(ctx, in, info, handler) + return "" } -func _WalletSolidity_GetTransactionInfoByBlockNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NumberMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletSolidityServer).GetTransactionInfoByBlockNum(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletSolidity/GetTransactionInfoByBlockNum", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletSolidityServer).GetTransactionInfoByBlockNum(ctx, req.(*NumberMessage)) - } - return interceptor(ctx, in, info, handler) +type DecryptNotes_NoteTx struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` + Txid []byte `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"` //transaction id = sha256(transaction.rowdata) + Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` //the index of note in receive } -var _WalletSolidity_serviceDesc = grpc.ServiceDesc{ - ServiceName: "protocol.WalletSolidity", - HandlerType: (*WalletSolidityServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetAccount", - Handler: _WalletSolidity_GetAccount_Handler, - }, - { - MethodName: "GetAccountById", - Handler: _WalletSolidity_GetAccountById_Handler, - }, - { - MethodName: "ListWitnesses", - Handler: _WalletSolidity_ListWitnesses_Handler, - }, - { - MethodName: "GetAssetIssueList", - Handler: _WalletSolidity_GetAssetIssueList_Handler, - }, - { - MethodName: "GetPaginatedAssetIssueList", - Handler: _WalletSolidity_GetPaginatedAssetIssueList_Handler, - }, - { - MethodName: "GetAssetIssueByName", - Handler: _WalletSolidity_GetAssetIssueByName_Handler, - }, - { - MethodName: "GetAssetIssueListByName", - Handler: _WalletSolidity_GetAssetIssueListByName_Handler, - }, - { - MethodName: "GetAssetIssueById", - Handler: _WalletSolidity_GetAssetIssueById_Handler, - }, - { - MethodName: "GetNowBlock", - Handler: _WalletSolidity_GetNowBlock_Handler, - }, - { - MethodName: "GetNowBlock2", - Handler: _WalletSolidity_GetNowBlock2_Handler, - }, - { - MethodName: "GetBlockByNum", - Handler: _WalletSolidity_GetBlockByNum_Handler, - }, - { - MethodName: "GetBlockByNum2", - Handler: _WalletSolidity_GetBlockByNum2_Handler, - }, - { - MethodName: "GetTransactionCountByBlockNum", - Handler: _WalletSolidity_GetTransactionCountByBlockNum_Handler, - }, - { - MethodName: "GetDelegatedResource", - Handler: _WalletSolidity_GetDelegatedResource_Handler, - }, - { - MethodName: "GetDelegatedResourceAccountIndex", - Handler: _WalletSolidity_GetDelegatedResourceAccountIndex_Handler, - }, - { - MethodName: "GetExchangeById", - Handler: _WalletSolidity_GetExchangeById_Handler, - }, - { - MethodName: "ListExchanges", - Handler: _WalletSolidity_ListExchanges_Handler, - }, - { - MethodName: "GetTransactionById", - Handler: _WalletSolidity_GetTransactionById_Handler, - }, - { - MethodName: "GetTransactionInfoById", - Handler: _WalletSolidity_GetTransactionInfoById_Handler, - }, - { - MethodName: "GenerateAddress", - Handler: _WalletSolidity_GenerateAddress_Handler, - }, - { - MethodName: "GetMerkleTreeVoucherInfo", - Handler: _WalletSolidity_GetMerkleTreeVoucherInfo_Handler, - }, - { - MethodName: "ScanNoteByIvk", - Handler: _WalletSolidity_ScanNoteByIvk_Handler, - }, - { - MethodName: "ScanAndMarkNoteByIvk", - Handler: _WalletSolidity_ScanAndMarkNoteByIvk_Handler, - }, - { - MethodName: "ScanNoteByOvk", - Handler: _WalletSolidity_ScanNoteByOvk_Handler, - }, - { - MethodName: "IsSpend", - Handler: _WalletSolidity_IsSpend_Handler, - }, - { - MethodName: "GetRewardInfo", - Handler: _WalletSolidity_GetRewardInfo_Handler, - }, - { - MethodName: "GetBrokerageInfo", - Handler: _WalletSolidity_GetBrokerageInfo_Handler, - }, - { - MethodName: "TriggerConstantContract", - Handler: _WalletSolidity_TriggerConstantContract_Handler, - }, - { - MethodName: "GetTransactionInfoByBlockNum", - Handler: _WalletSolidity_GetTransactionInfoByBlockNum_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "api/api.proto", +func (x *DecryptNotes_NoteTx) Reset() { + *x = DecryptNotes_NoteTx{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[84] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -// WalletExtensionClient is the client API for WalletExtension service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type WalletExtensionClient interface { - //Please use GetTransactionsFromThis2 instead of this function. - GetTransactionsFromThis(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionList, error) - //Use this function instead of GetTransactionsFromThis. - GetTransactionsFromThis2(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionListExtention, error) - //Please use GetTransactionsToThis2 instead of this function. - GetTransactionsToThis(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionList, error) - //Use this function instead of GetTransactionsToThis. - GetTransactionsToThis2(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionListExtention, error) +func (x *DecryptNotes_NoteTx) String() string { + return protoimpl.X.MessageStringOf(x) } -type walletExtensionClient struct { - cc grpc.ClientConnInterface -} +func (*DecryptNotes_NoteTx) ProtoMessage() {} -func NewWalletExtensionClient(cc grpc.ClientConnInterface) WalletExtensionClient { - return &walletExtensionClient{cc} +func (x *DecryptNotes_NoteTx) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[84] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (c *walletExtensionClient) GetTransactionsFromThis(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionList, error) { - out := new(TransactionList) - err := c.cc.Invoke(ctx, "/protocol.WalletExtension/GetTransactionsFromThis", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +// Deprecated: Use DecryptNotes_NoteTx.ProtoReflect.Descriptor instead. +func (*DecryptNotes_NoteTx) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{49, 0} } -func (c *walletExtensionClient) GetTransactionsFromThis2(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionListExtention, error) { - out := new(TransactionListExtention) - err := c.cc.Invoke(ctx, "/protocol.WalletExtension/GetTransactionsFromThis2", in, out, opts...) - if err != nil { - return nil, err +func (x *DecryptNotes_NoteTx) GetNote() *Note { + if x != nil { + return x.Note } - return out, nil + return nil } -func (c *walletExtensionClient) GetTransactionsToThis(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionList, error) { - out := new(TransactionList) - err := c.cc.Invoke(ctx, "/protocol.WalletExtension/GetTransactionsToThis", in, out, opts...) - if err != nil { - return nil, err +func (x *DecryptNotes_NoteTx) GetTxid() []byte { + if x != nil { + return x.Txid } - return out, nil + return nil } -func (c *walletExtensionClient) GetTransactionsToThis2(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionListExtention, error) { - out := new(TransactionListExtention) - err := c.cc.Invoke(ctx, "/protocol.WalletExtension/GetTransactionsToThis2", in, out, opts...) - if err != nil { - return nil, err +func (x *DecryptNotes_NoteTx) GetIndex() int32 { + if x != nil { + return x.Index } - return out, nil + return 0 } -// WalletExtensionServer is the server API for WalletExtension service. -type WalletExtensionServer interface { - //Please use GetTransactionsFromThis2 instead of this function. - GetTransactionsFromThis(context.Context, *AccountPaginated) (*TransactionList, error) - //Use this function instead of GetTransactionsFromThis. - GetTransactionsFromThis2(context.Context, *AccountPaginated) (*TransactionListExtention, error) - //Please use GetTransactionsToThis2 instead of this function. - GetTransactionsToThis(context.Context, *AccountPaginated) (*TransactionList, error) - //Use this function instead of GetTransactionsToThis. - GetTransactionsToThis2(context.Context, *AccountPaginated) (*TransactionListExtention, error) -} +type DecryptNotesMarked_NoteTx struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -// UnimplementedWalletExtensionServer can be embedded to have forward compatible implementations. -type UnimplementedWalletExtensionServer struct { + Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` + Txid []byte `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"` //transaction id = sha256(transaction.rowdata) + Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` //the index of note in receive + IsSpend bool `protobuf:"varint,4,opt,name=is_spend,json=isSpend,proto3" json:"is_spend,omitempty"` } -func (*UnimplementedWalletExtensionServer) GetTransactionsFromThis(context.Context, *AccountPaginated) (*TransactionList, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransactionsFromThis not implemented") -} -func (*UnimplementedWalletExtensionServer) GetTransactionsFromThis2(context.Context, *AccountPaginated) (*TransactionListExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransactionsFromThis2 not implemented") +func (x *DecryptNotesMarked_NoteTx) Reset() { + *x = DecryptNotesMarked_NoteTx{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[85] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (*UnimplementedWalletExtensionServer) GetTransactionsToThis(context.Context, *AccountPaginated) (*TransactionList, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransactionsToThis not implemented") + +func (x *DecryptNotesMarked_NoteTx) String() string { + return protoimpl.X.MessageStringOf(x) } -func (*UnimplementedWalletExtensionServer) GetTransactionsToThis2(context.Context, *AccountPaginated) (*TransactionListExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransactionsToThis2 not implemented") + +func (*DecryptNotesMarked_NoteTx) ProtoMessage() {} + +func (x *DecryptNotesMarked_NoteTx) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[85] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func RegisterWalletExtensionServer(s *grpc.Server, srv WalletExtensionServer) { - s.RegisterService(&_WalletExtension_serviceDesc, srv) +// Deprecated: Use DecryptNotesMarked_NoteTx.ProtoReflect.Descriptor instead. +func (*DecryptNotesMarked_NoteTx) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{50, 0} } -func _WalletExtension_GetTransactionsFromThis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AccountPaginated) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletExtensionServer).GetTransactionsFromThis(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletExtension/GetTransactionsFromThis", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletExtensionServer).GetTransactionsFromThis(ctx, req.(*AccountPaginated)) +func (x *DecryptNotesMarked_NoteTx) GetNote() *Note { + if x != nil { + return x.Note } - return interceptor(ctx, in, info, handler) + return nil } -func _WalletExtension_GetTransactionsFromThis2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AccountPaginated) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletExtensionServer).GetTransactionsFromThis2(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletExtension/GetTransactionsFromThis2", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletExtensionServer).GetTransactionsFromThis2(ctx, req.(*AccountPaginated)) +func (x *DecryptNotesMarked_NoteTx) GetTxid() []byte { + if x != nil { + return x.Txid } - return interceptor(ctx, in, info, handler) + return nil } -func _WalletExtension_GetTransactionsToThis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AccountPaginated) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletExtensionServer).GetTransactionsToThis(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletExtension/GetTransactionsToThis", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletExtensionServer).GetTransactionsToThis(ctx, req.(*AccountPaginated)) +func (x *DecryptNotesMarked_NoteTx) GetIndex() int32 { + if x != nil { + return x.Index } - return interceptor(ctx, in, info, handler) + return 0 } -func _WalletExtension_GetTransactionsToThis2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AccountPaginated) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletExtensionServer).GetTransactionsToThis2(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletExtension/GetTransactionsToThis2", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletExtensionServer).GetTransactionsToThis2(ctx, req.(*AccountPaginated)) +func (x *DecryptNotesMarked_NoteTx) GetIsSpend() bool { + if x != nil { + return x.IsSpend } - return interceptor(ctx, in, info, handler) + return false } -var _WalletExtension_serviceDesc = grpc.ServiceDesc{ - ServiceName: "protocol.WalletExtension", - HandlerType: (*WalletExtensionServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetTransactionsFromThis", - Handler: _WalletExtension_GetTransactionsFromThis_Handler, - }, - { - MethodName: "GetTransactionsFromThis2", - Handler: _WalletExtension_GetTransactionsFromThis2_Handler, - }, - { - MethodName: "GetTransactionsToThis", - Handler: _WalletExtension_GetTransactionsToThis_Handler, - }, - { - MethodName: "GetTransactionsToThis2", - Handler: _WalletExtension_GetTransactionsToThis2_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "api/api.proto", -} +type DecryptNotesTRC20_NoteTx struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -// DatabaseClient is the client API for Database service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type DatabaseClient interface { - // for tapos - GetBlockReference(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BlockReference, error) - GetDynamicProperties(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.DynamicProperties, error) - GetNowBlock(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.Block, error) - GetBlockByNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*core.Block, error) + Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` + Position int64 `protobuf:"varint,2,opt,name=position,proto3" json:"position,omitempty"` + IsSpent bool `protobuf:"varint,3,opt,name=is_spent,json=isSpent,proto3" json:"is_spent,omitempty"` + Txid []byte `protobuf:"bytes,4,opt,name=txid,proto3" json:"txid,omitempty"` + Index int32 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"` //the index of note in txid + ToAmount string `protobuf:"bytes,6,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` + TransparentToAddress []byte `protobuf:"bytes,7,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` } -type databaseClient struct { - cc grpc.ClientConnInterface +func (x *DecryptNotesTRC20_NoteTx) Reset() { + *x = DecryptNotesTRC20_NoteTx{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[86] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func NewDatabaseClient(cc grpc.ClientConnInterface) DatabaseClient { - return &databaseClient{cc} +func (x *DecryptNotesTRC20_NoteTx) String() string { + return protoimpl.X.MessageStringOf(x) } -func (c *databaseClient) GetBlockReference(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BlockReference, error) { - out := new(BlockReference) - err := c.cc.Invoke(ctx, "/protocol.Database/getBlockReference", in, out, opts...) - if err != nil { - return nil, err +func (*DecryptNotesTRC20_NoteTx) ProtoMessage() {} + +func (x *DecryptNotesTRC20_NoteTx) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[86] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return out, nil + return mi.MessageOf(x) } -func (c *databaseClient) GetDynamicProperties(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.DynamicProperties, error) { - out := new(core.DynamicProperties) - err := c.cc.Invoke(ctx, "/protocol.Database/GetDynamicProperties", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +// Deprecated: Use DecryptNotesTRC20_NoteTx.ProtoReflect.Descriptor instead. +func (*DecryptNotesTRC20_NoteTx) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{74, 0} } -func (c *databaseClient) GetNowBlock(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.Block, error) { - out := new(core.Block) - err := c.cc.Invoke(ctx, "/protocol.Database/GetNowBlock", in, out, opts...) - if err != nil { - return nil, err +func (x *DecryptNotesTRC20_NoteTx) GetNote() *Note { + if x != nil { + return x.Note } - return out, nil + return nil } -func (c *databaseClient) GetBlockByNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*core.Block, error) { - out := new(core.Block) - err := c.cc.Invoke(ctx, "/protocol.Database/GetBlockByNum", in, out, opts...) - if err != nil { - return nil, err +func (x *DecryptNotesTRC20_NoteTx) GetPosition() int64 { + if x != nil { + return x.Position } - return out, nil + return 0 } -// DatabaseServer is the server API for Database service. -type DatabaseServer interface { - // for tapos - GetBlockReference(context.Context, *EmptyMessage) (*BlockReference, error) - GetDynamicProperties(context.Context, *EmptyMessage) (*core.DynamicProperties, error) - GetNowBlock(context.Context, *EmptyMessage) (*core.Block, error) - GetBlockByNum(context.Context, *NumberMessage) (*core.Block, error) +func (x *DecryptNotesTRC20_NoteTx) GetIsSpent() bool { + if x != nil { + return x.IsSpent + } + return false } -// UnimplementedDatabaseServer can be embedded to have forward compatible implementations. -type UnimplementedDatabaseServer struct { +func (x *DecryptNotesTRC20_NoteTx) GetTxid() []byte { + if x != nil { + return x.Txid + } + return nil } -func (*UnimplementedDatabaseServer) GetBlockReference(context.Context, *EmptyMessage) (*BlockReference, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBlockReference not implemented") -} -func (*UnimplementedDatabaseServer) GetDynamicProperties(context.Context, *EmptyMessage) (*core.DynamicProperties, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDynamicProperties not implemented") +func (x *DecryptNotesTRC20_NoteTx) GetIndex() int32 { + if x != nil { + return x.Index + } + return 0 } -func (*UnimplementedDatabaseServer) GetNowBlock(context.Context, *EmptyMessage) (*core.Block, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNowBlock not implemented") + +func (x *DecryptNotesTRC20_NoteTx) GetToAmount() string { + if x != nil { + return x.ToAmount + } + return "" } -func (*UnimplementedDatabaseServer) GetBlockByNum(context.Context, *NumberMessage) (*core.Block, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBlockByNum not implemented") + +func (x *DecryptNotesTRC20_NoteTx) GetTransparentToAddress() []byte { + if x != nil { + return x.TransparentToAddress + } + return nil } -func RegisterDatabaseServer(s *grpc.Server, srv DatabaseServer) { - s.RegisterService(&_Database_serviceDesc, srv) +var File_api_api_proto protoreflect.FileDescriptor + +var file_api_api_proto_rawDesc = []byte{ + 0x0a, 0x0d, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x1a, 0x0f, 0x63, 0x6f, 0x72, 0x65, 0x2f, + 0x54, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x61, + 0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x63, 0x6f, 0x72, 0x65, 0x2f, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x77, 0x69, 0x74, + 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x1c, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, + 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x63, 0x6f, 0x72, + 0x65, 0x2f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x63, 0x6f, 0x72, 0x65, 0x2f, + 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x73, 0x6d, 0x61, 0x72, + 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x1a, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xab, 0x03, 0x0a, + 0x06, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, + 0x32, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x2e, + 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, + 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xba, 0x02, + 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x12, + 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, + 0x53, 0x49, 0x47, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x43, 0x4f, + 0x4e, 0x54, 0x52, 0x41, 0x43, 0x54, 0x5f, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x41, 0x54, 0x45, 0x5f, + 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x4f, 0x4e, 0x54, 0x52, + 0x41, 0x43, 0x54, 0x5f, 0x45, 0x58, 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x12, + 0x12, 0x0a, 0x0e, 0x42, 0x41, 0x4e, 0x44, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x45, 0x52, 0x52, 0x4f, + 0x52, 0x10, 0x04, 0x12, 0x19, 0x0a, 0x15, 0x44, 0x55, 0x50, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, + 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x05, 0x12, 0x0f, + 0x0a, 0x0b, 0x54, 0x41, 0x50, 0x4f, 0x53, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x06, 0x12, + 0x1d, 0x0a, 0x19, 0x54, 0x4f, 0x4f, 0x5f, 0x42, 0x49, 0x47, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, + 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x07, 0x12, 0x20, + 0x0a, 0x1c, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x58, + 0x50, 0x49, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x08, + 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, 0x42, 0x55, 0x53, 0x59, 0x10, + 0x09, 0x12, 0x11, 0x0a, 0x0d, 0x4e, 0x4f, 0x5f, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x49, + 0x4f, 0x4e, 0x10, 0x0a, 0x12, 0x23, 0x0a, 0x1f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, + 0x47, 0x48, 0x5f, 0x45, 0x46, 0x46, 0x45, 0x43, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x43, 0x4f, 0x4e, + 0x4e, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x0b, 0x12, 0x0f, 0x0a, 0x0b, 0x4f, 0x54, 0x48, + 0x45, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x14, 0x22, 0x4c, 0x0a, 0x0e, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x08, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x22, 0x3e, 0x0a, 0x0b, 0x57, 0x69, 0x74, 0x6e, + 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x09, 0x77, 0x69, 0x74, 0x6e, 0x65, + 0x73, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x52, 0x09, 0x77, + 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x22, 0x40, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, + 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x22, 0x40, 0x0a, 0x0c, 0x45, 0x78, + 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x09, 0x65, 0x78, + 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x52, 0x09, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, 0x4e, 0x0a, 0x0e, + 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3c, + 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, + 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x52, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x22, 0x32, 0x0a, 0x09, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x05, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x22, 0x4a, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x27, 0x0a, 0x11, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x49, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x04, 0x74, 0x78, 0x49, 0x64, 0x22, 0x5a, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, + 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x22, 0x62, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x49, 0x0a, 0x11, 0x64, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x52, 0x11, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x4e, 0x0a, 0x27, 0x47, 0x65, 0x74, 0x41, 0x76, 0x61, 0x69, + 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x40, 0x0a, 0x28, 0x47, 0x65, 0x74, 0x41, 0x76, 0x61, 0x69, + 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x5c, 0x0a, 0x21, 0x43, 0x61, 0x6e, 0x44, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x3f, 0x0a, 0x22, 0x43, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, + 0x67, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6d, + 0x61, 0x78, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, + 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x6c, 0x0a, 0x27, 0x43, 0x61, 0x6e, 0x57, 0x69, 0x74, + 0x68, 0x64, 0x72, 0x61, 0x77, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x22, 0x42, 0x0a, 0x28, 0x43, 0x61, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x64, + 0x72, 0x61, 0x77, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x30, 0x0a, 0x08, 0x4e, 0x6f, 0x64, 0x65, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, + 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x33, 0x0a, 0x04, 0x4e, 0x6f, + 0x64, 0x65, 0x12, 0x2b, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, + 0x31, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, + 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x12, + 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, + 0x72, 0x74, 0x22, 0x0e, 0x0a, 0x0c, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x22, 0x21, 0x0a, 0x0d, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x22, 0x24, 0x0a, 0x0c, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x6d, 0x0a, 0x0b, 0x54, + 0x69, 0x6d, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x62, 0x65, + 0x67, 0x69, 0x6e, 0x49, 0x6e, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x49, 0x6e, + 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x2c, 0x0a, 0x11, + 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x4d, 0x69, + 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x22, 0x3e, 0x0a, 0x08, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x09, 0x69, 0x64, 0x5f, 0x6f, 0x72, 0x5f, + 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x69, 0x64, 0x4f, 0x72, 0x4e, + 0x75, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0x40, 0x0a, 0x0a, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x4e, 0x75, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x64, 0x4e, 0x75, 0x6d, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x65, 0x6e, 0x64, 0x4e, 0x75, 0x6d, 0x22, 0x54, 0x0a, 0x10, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x6d, 0x69, 0x74, + 0x12, 0x24, 0x0a, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x4e, + 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x4e, + 0x75, 0x6d, 0x22, 0x6d, 0x0a, 0x10, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x67, + 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x12, 0x2b, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, + 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, + 0x74, 0x22, 0x7d, 0x0a, 0x14, 0x54, 0x69, 0x6d, 0x65, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, + 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x74, 0x69, 0x6d, + 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, + 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, + 0x22, 0x89, 0x04, 0x0a, 0x11, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x65, 0x74, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, + 0x74, 0x55, 0x73, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x66, 0x72, 0x65, + 0x65, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x66, 0x72, 0x65, 0x65, + 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, + 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x18, 0x0a, 0x07, + 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x4e, + 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, + 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, + 0x69, 0x74, 0x12, 0x51, 0x0a, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, + 0x65, 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x65, 0x74, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, + 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, + 0x74, 0x55, 0x73, 0x65, 0x64, 0x12, 0x54, 0x0a, 0x0d, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, + 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, + 0x65, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, + 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x61, 0x73, + 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x54, + 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, + 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x57, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x54, 0x6f, 0x74, 0x61, 0x6c, + 0x4e, 0x65, 0x74, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x1a, 0x3f, 0x0a, 0x11, 0x41, 0x73, 0x73, + 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x40, 0x0a, 0x12, 0x41, 0x73, + 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xfc, 0x06, 0x0a, + 0x16, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x72, 0x65, 0x65, 0x4e, + 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x66, 0x72, + 0x65, 0x65, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x66, 0x72, 0x65, + 0x65, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0c, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x18, 0x0a, + 0x07, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, + 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x4e, 0x65, 0x74, 0x4c, 0x69, + 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x4e, 0x65, 0x74, 0x4c, 0x69, + 0x6d, 0x69, 0x74, 0x12, 0x56, 0x0a, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, + 0x73, 0x65, 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x73, 0x73, 0x65, + 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x61, + 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x12, 0x59, 0x0a, 0x0d, 0x61, + 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, + 0x69, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, + 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, + 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x54, + 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x26, 0x0a, 0x0e, + 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x57, 0x65, + 0x69, 0x67, 0x68, 0x74, 0x12, 0x32, 0x0a, 0x14, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x72, 0x6f, + 0x6e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x14, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x72, 0x6f, 0x6e, 0x50, 0x6f, 0x77, + 0x65, 0x72, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x74, 0x72, 0x6f, 0x6e, + 0x50, 0x6f, 0x77, 0x65, 0x72, 0x55, 0x73, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0d, 0x74, 0x72, 0x6f, 0x6e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x55, 0x73, 0x65, 0x64, 0x12, 0x26, + 0x0a, 0x0e, 0x74, 0x72, 0x6f, 0x6e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x6d, 0x69, 0x74, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x74, 0x72, 0x6f, 0x6e, 0x50, 0x6f, 0x77, 0x65, + 0x72, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, + 0x55, 0x73, 0x65, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x45, 0x6e, 0x65, 0x72, + 0x67, 0x79, 0x55, 0x73, 0x65, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, + 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x45, 0x6e, 0x65, + 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x54, 0x6f, 0x74, 0x61, + 0x6c, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x0f, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x10, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, + 0x69, 0x6d, 0x69, 0x74, 0x12, 0x2c, 0x0a, 0x11, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x6e, 0x65, + 0x72, 0x67, 0x79, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x11, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x57, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x55, 0x73, 0x65, + 0x64, 0x18, 0x15, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x55, 0x73, 0x65, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4c, + 0x69, 0x6d, 0x69, 0x74, 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x1a, 0x3f, 0x0a, 0x11, 0x41, 0x73, 0x73, 0x65, + 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x40, 0x0a, 0x12, 0x41, 0x73, 0x73, + 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x40, 0x0a, 0x10, 0x50, + 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, + 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x6b, 0x0a, + 0x13, 0x45, 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x61, 0x73, 0x73, 0x50, 0x68, 0x72, 0x61, + 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x61, 0x73, 0x73, 0x50, 0x68, + 0x72, 0x61, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 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, 0x8a, 0x01, 0x0a, 0x18, 0x45, + 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x61, 0x73, 0x73, 0x50, + 0x68, 0x72, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x61, 0x73, + 0x73, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x6f, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, + 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x74, 0x0a, 0x1c, 0x45, 0x61, 0x73, 0x79, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x42, 0x79, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x61, + 0x74, 0x65, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x72, 0x69, + 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x6f, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 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, 0x93, 0x01, + 0x0a, 0x21, 0x45, 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, + 0x73, 0x65, 0x74, 0x42, 0x79, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, + 0x4b, 0x65, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x61, + 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x61, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x22, 0x8d, 0x01, 0x0a, 0x14, 0x45, 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x0b, + 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, + 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, + 0x78, 0x69, 0x64, 0x22, 0x53, 0x0a, 0x17, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x50, 0x72, + 0x4b, 0x65, 0x79, 0x50, 0x61, 0x69, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x69, 0x76, + 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, + 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x22, 0x85, 0x03, 0x0a, 0x14, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x37, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x12, 0x27, + 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, + 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x28, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x75, 0x73, 0x65, 0x64, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, + 0x65, 0x64, 0x12, 0x31, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4c, 0x6f, 0x67, 0x52, + 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x52, 0x0a, 0x15, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x6e, 0x65, + 0x72, 0x67, 0x79, 0x5f, 0x70, 0x65, 0x6e, 0x61, 0x6c, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0d, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x50, 0x65, 0x6e, 0x61, 0x6c, 0x74, 0x79, + 0x22, 0x6a, 0x0a, 0x15, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, + 0x67, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x28, 0x0a, 0x06, 0x72, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x72, 0x65, + 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x65, 0x6e, + 0x65, 0x72, 0x67, 0x79, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x22, 0xa8, 0x01, 0x0a, + 0x0e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x42, 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, + 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x38, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x61, + 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, + 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, + 0x07, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x69, 0x64, 0x22, 0x44, 0x0a, 0x12, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x0a, + 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, + 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x5c, 0x0a, + 0x18, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, + 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x0b, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, + 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x75, 0x0a, 0x1a, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, + 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, 0x65, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, + 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, + 0x72, 0x12, 0x3f, 0x0a, 0x0a, 0x6d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, 0x65, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, + 0x6c, 0x65, 0x54, 0x72, 0x65, 0x65, 0x52, 0x0a, 0x6d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, + 0x65, 0x65, 0x22, 0xac, 0x04, 0x0a, 0x15, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x34, 0x0a, 0x0a, + 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0c, 0x61, 0x70, 0x70, 0x72, 0x6f, + 0x76, 0x65, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x75, 0x72, 0x72, 0x65, + 0x6e, 0x74, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0d, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x3e, + 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x2e, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x40, + 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x1a, 0x8e, 0x02, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x48, 0x0a, 0x04, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x53, 0x69, 0x67, 0x6e, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x52, + 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, + 0x9f, 0x01, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, + 0x65, 0x12, 0x15, 0x0a, 0x11, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x5f, 0x50, 0x45, 0x52, 0x4d, + 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x4e, 0x4f, 0x54, 0x5f, + 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x5f, 0x50, 0x45, 0x52, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, + 0x4e, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x49, 0x47, 0x4e, 0x41, 0x54, 0x55, 0x52, 0x45, + 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, + 0x19, 0x0a, 0x15, 0x43, 0x4f, 0x4d, 0x50, 0x55, 0x54, 0x45, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, + 0x53, 0x53, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x45, + 0x52, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, + 0x12, 0x0f, 0x0a, 0x0b, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, + 0x14, 0x22, 0x99, 0x03, 0x0a, 0x17, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x23, 0x0a, + 0x0d, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0c, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x40, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x12, 0x40, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xd4, 0x01, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x12, 0x4a, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x36, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x4c, 0x69, + 0x73, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, + 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x64, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x43, 0x43, + 0x45, 0x53, 0x53, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x49, 0x47, 0x4e, 0x41, 0x54, 0x55, + 0x52, 0x45, 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, + 0x01, 0x12, 0x19, 0x0a, 0x15, 0x43, 0x4f, 0x4d, 0x50, 0x55, 0x54, 0x45, 0x5f, 0x41, 0x44, 0x44, + 0x52, 0x45, 0x53, 0x53, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, + 0x4f, 0x54, 0x48, 0x45, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x14, 0x22, 0x7c, 0x0a, + 0x14, 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x65, 0x6e, 0x64, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x76, 0x6b, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x69, 0x76, 0x6b, 0x22, 0xa3, 0x01, 0x0a, 0x1b, + 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x41, 0x6e, 0x64, 0x4d, 0x61, 0x72, + 0x6b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x73, + 0x74, 0x61, 0x72, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x5f, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0d, 0x65, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, + 0x10, 0x0a, 0x03, 0x69, 0x76, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x69, 0x76, + 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x61, + 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x6e, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x6e, + 0x6b, 0x22, 0x7c, 0x0a, 0x14, 0x4f, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x5f, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, + 0x65, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x10, 0x0a, + 0x03, 0x6f, 0x76, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, 0x22, + 0x9f, 0x01, 0x0a, 0x0c, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, + 0x12, 0x37, 0x0a, 0x07, 0x6e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, + 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x54, 0x78, + 0x52, 0x07, 0x6e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x73, 0x1a, 0x56, 0x0a, 0x06, 0x4e, 0x6f, 0x74, + 0x65, 0x54, 0x78, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, + 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x22, 0xc6, 0x01, 0x0a, 0x12, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, + 0x65, 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x64, 0x12, 0x3d, 0x0a, 0x07, 0x6e, 0x6f, 0x74, 0x65, + 0x54, 0x78, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, + 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x64, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x52, 0x07, + 0x6e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x73, 0x1a, 0x71, 0x0a, 0x06, 0x4e, 0x6f, 0x74, 0x65, 0x54, + 0x78, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, + 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, + 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, + 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x07, 0x69, 0x73, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x22, 0x6b, 0x0a, 0x04, 0x4e, 0x6f, + 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x79, 0x6d, + 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0e, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x63, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, + 0x72, 0x63, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x22, 0x97, 0x01, 0x0a, 0x09, 0x53, 0x70, 0x65, 0x6e, + 0x64, 0x4e, 0x6f, 0x74, 0x65, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, + 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x12, + 0x3c, 0x0a, 0x07, 0x76, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x72, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, + 0x63, 0x68, 0x65, 0x72, 0x52, 0x07, 0x76, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x12, 0x12, 0x0a, + 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, + 0x68, 0x22, 0x31, 0x0a, 0x0b, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x65, + 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, + 0x6e, 0x6f, 0x74, 0x65, 0x22, 0x93, 0x03, 0x0a, 0x11, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x38, 0x0a, 0x18, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x16, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x03, 0x61, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6e, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, + 0x6f, 0x6d, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3c, 0x0a, 0x0f, 0x73, + 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x06, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x53, 0x70, 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x0e, 0x73, 0x68, 0x69, 0x65, 0x6c, + 0x64, 0x65, 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x12, 0x42, 0x0a, 0x11, 0x73, 0x68, 0x69, + 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x18, 0x07, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x10, 0x73, 0x68, 0x69, + 0x65, 0x6c, 0x64, 0x65, 0x64, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x12, 0x34, 0x0a, + 0x16, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x5f, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x9b, 0x03, 0x0a, 0x1b, 0x50, + 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, + 0x57, 0x69, 0x74, 0x68, 0x6f, 0x75, 0x74, 0x41, 0x73, 0x6b, 0x12, 0x38, 0x0a, 0x18, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x16, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x02, 0x61, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x03, 0x6e, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, + 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x66, + 0x72, 0x6f, 0x6d, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3c, 0x0a, 0x0f, 0x73, 0x68, 0x69, + 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, + 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x0e, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, + 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x12, 0x42, 0x0a, 0x11, 0x73, 0x68, 0x69, 0x65, 0x6c, + 0x64, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, + 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x10, 0x73, 0x68, 0x69, 0x65, 0x6c, + 0x64, 0x65, 0x64, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x18, + 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x59, 0x0a, 0x16, 0x53, 0x70, 0x65, 0x6e, + 0x64, 0x41, 0x75, 0x74, 0x68, 0x53, 0x69, 0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, + 0x72, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x03, 0x61, 0x73, 0x6b, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x74, 0x78, 0x48, 0x61, 0x73, 0x68, 0x12, 0x14, 0x0a, + 0x05, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x22, 0x90, 0x01, 0x0a, 0x0c, 0x4e, 0x66, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, + 0x74, 0x65, 0x72, 0x73, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, + 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x3c, 0x0a, 0x07, 0x76, 0x6f, 0x75, 0x63, + 0x68, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, + 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x52, 0x07, 0x76, + 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x02, 0x61, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x6e, 0x6b, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x02, 0x6e, 0x6b, 0x22, 0x52, 0x0a, 0x1a, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x64, + 0x65, 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x03, 0x61, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6e, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, 0x22, 0x33, 0x0a, 0x11, 0x56, 0x69, + 0x65, 0x77, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, + 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x61, 0x6b, 0x12, + 0x0e, 0x0a, 0x02, 0x6e, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x6e, 0x6b, 0x22, + 0x2d, 0x0a, 0x19, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x56, 0x69, 0x65, 0x77, 0x69, + 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, + 0x69, 0x76, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x69, 0x76, 0x6b, 0x22, 0x22, + 0x0a, 0x12, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x12, 0x0c, 0x0a, 0x01, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x01, 0x64, 0x22, 0x89, 0x01, 0x0a, 0x24, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x56, + 0x69, 0x65, 0x77, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x66, 0x69, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x35, 0x0a, 0x03, 0x69, + 0x76, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x56, 0x69, 0x65, 0x77, + 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x03, 0x69, + 0x76, 0x6b, 0x12, 0x2a, 0x0a, 0x01, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x66, 0x69, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x01, 0x64, 0x22, 0x7e, + 0x0a, 0x15, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2a, 0x0a, 0x01, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x69, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x52, 0x01, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x6b, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x03, 0x70, 0x6b, 0x44, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, + 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, + 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xd6, + 0x01, 0x0a, 0x13, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x02, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x03, 0x61, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6e, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, + 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, 0x12, 0x0e, 0x0a, 0x02, + 0x61, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x61, 0x6b, 0x12, 0x0e, 0x0a, 0x02, + 0x6e, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x6e, 0x6b, 0x12, 0x10, 0x0a, 0x03, + 0x69, 0x76, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x69, 0x76, 0x6b, 0x12, 0x0c, + 0x0a, 0x01, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x64, 0x12, 0x10, 0x0a, 0x03, + 0x70, 0x6b, 0x44, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x70, 0x6b, 0x44, 0x12, 0x27, + 0x0a, 0x0f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x7e, 0x0a, 0x0e, 0x4e, 0x6f, 0x74, 0x65, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x61, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x6e, 0x6b, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x6e, 0x6b, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x12, 0x0a, + 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, + 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x3f, 0x0a, 0x0b, 0x53, 0x70, 0x65, 0x6e, 0x64, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x18, + 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x5a, 0x0a, 0x13, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x43, 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, + 0x66, 0x6f, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x84, 0x01, 0x0a, 0x0e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x4e, 0x6f, + 0x74, 0x65, 0x54, 0x52, 0x43, 0x32, 0x30, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x6f, 0x73, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x22, 0x98, 0x03, 0x0a, 0x1e, + 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, + 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x10, + 0x0a, 0x03, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x61, 0x73, 0x6b, + 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6e, + 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x03, 0x6f, 0x76, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x41, + 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x41, 0x0a, 0x0f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, + 0x64, 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x4e, + 0x6f, 0x74, 0x65, 0x54, 0x52, 0x43, 0x32, 0x30, 0x52, 0x0e, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, + 0x65, 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x12, 0x42, 0x0a, 0x11, 0x73, 0x68, 0x69, 0x65, + 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x18, 0x06, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, + 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x10, 0x73, 0x68, 0x69, 0x65, + 0x6c, 0x64, 0x65, 0x64, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x16, + 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x45, 0x0a, 0x1f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x54, 0x52, 0x43, 0x32, + 0x30, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x1c, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, + 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xa0, 0x03, 0x0a, 0x28, 0x50, 0x72, 0x69, 0x76, 0x61, + 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x6f, 0x75, 0x74, + 0x41, 0x73, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x02, 0x61, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x03, 0x6e, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x5f, + 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x72, + 0x6f, 0x6d, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x41, 0x0a, 0x0f, 0x73, 0x68, 0x69, 0x65, + 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, + 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x65, 0x54, 0x52, 0x43, 0x32, 0x30, 0x52, 0x0e, 0x73, 0x68, 0x69, + 0x65, 0x6c, 0x64, 0x65, 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x12, 0x42, 0x0a, 0x11, 0x73, + 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, + 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x10, 0x73, + 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x12, + 0x34, 0x0a, 0x16, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, + 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x61, 0x6d, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, + 0x6e, 0x74, 0x12, 0x45, 0x0a, 0x1f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x54, + 0x52, 0x43, 0x32, 0x30, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x1c, 0x73, 0x68, 0x69, + 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xde, 0x02, 0x0a, 0x17, 0x53, 0x68, + 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x47, 0x0a, 0x11, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x64, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, + 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x73, 0x70, + 0x65, 0x6e, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4d, + 0x0a, 0x13, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x44, 0x65, + 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x72, 0x65, 0x63, 0x65, 0x69, + 0x76, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, + 0x11, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, + 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, + 0x67, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x61, 0x73, 0x68, 0x12, 0x34, 0x0a, + 0x16, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x74, + 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x49, 0x6e, + 0x70, 0x75, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x22, 0x80, 0x02, 0x0a, 0x19, 0x49, + 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, + 0x6e, 0x64, 0x65, 0x78, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x65, + 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x45, 0x0a, 0x1f, + 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x54, 0x52, 0x43, 0x32, 0x30, 0x5f, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x1c, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, + 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x76, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x03, 0x69, 0x76, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x02, 0x61, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x6e, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x02, 0x6e, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, + 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xe0, 0x01, + 0x0a, 0x19, 0x4f, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x54, 0x52, 0x43, 0x32, + 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x73, + 0x74, 0x61, 0x72, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x5f, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0d, 0x65, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, + 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, + 0x6b, 0x12, 0x45, 0x0a, 0x1f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x54, 0x52, + 0x43, 0x32, 0x30, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x1c, 0x73, 0x68, 0x69, 0x65, + 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, + 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, + 0x22, 0xb4, 0x02, 0x0a, 0x11, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, + 0x73, 0x54, 0x52, 0x43, 0x32, 0x30, 0x12, 0x3c, 0x0a, 0x07, 0x6e, 0x6f, 0x74, 0x65, 0x54, 0x78, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x54, + 0x52, 0x43, 0x32, 0x30, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x52, 0x07, 0x6e, 0x6f, 0x74, + 0x65, 0x54, 0x78, 0x73, 0x1a, 0xe0, 0x01, 0x0a, 0x06, 0x4e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x12, + 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, + 0x6f, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x07, 0x69, 0x73, 0x53, 0x70, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, + 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x12, 0x14, + 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, 0x6e, + 0x74, 0x12, 0x34, 0x0a, 0x16, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, + 0x5f, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xba, 0x01, 0x0a, 0x11, 0x4e, 0x66, 0x54, 0x52, + 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x22, 0x0a, + 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, + 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x61, + 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x6e, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x6e, + 0x6b, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, + 0x1f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x54, 0x52, 0x43, 0x32, 0x30, 0x5f, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x1c, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, + 0x54, 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x22, 0x2c, 0x0a, 0x0f, 0x4e, 0x75, 0x6c, 0x6c, 0x69, 0x66, 0x69, 0x65, + 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x73, 0x70, + 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x53, 0x70, 0x65, + 0x6e, 0x74, 0x22, 0xa9, 0x02, 0x0a, 0x26, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, + 0x52, 0x43, 0x32, 0x30, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x5d, 0x0a, + 0x19, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x54, 0x52, 0x43, 0x32, 0x30, 0x5f, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x68, 0x69, 0x65, + 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, + 0x65, 0x72, 0x73, 0x52, 0x17, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, + 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x52, 0x0a, 0x19, + 0x73, 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x5f, + 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x17, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x41, 0x75, + 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x16, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, + 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x32, 0x90, + 0x7a, 0x0a, 0x06, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x12, 0x67, 0x0a, 0x0a, 0x47, 0x65, 0x74, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x33, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x22, 0x12, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, + 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x14, 0x12, 0x12, + 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x12, 0x73, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x42, 0x79, 0x49, 0x64, 0x12, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x3b, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x35, 0x22, 0x16, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x62, 0x79, 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x18, 0x12, + 0x16, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x62, 0x79, 0x69, 0x64, 0x12, 0x99, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x41, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x22, 0x19, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, + 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x62, 0x61, 0x6c, 0x61, + 0x6e, 0x63, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x1b, 0x12, 0x19, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, + 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x62, 0x61, 0x6c, 0x61, + 0x6e, 0x63, 0x65, 0x12, 0xa9, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x12, 0x2b, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x61, 0x6c, + 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x1a, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x22, 0x47, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x41, 0x22, 0x1c, + 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x74, 0x72, 0x61, 0x63, 0x65, 0x3a, 0x01, 0x2a, 0x5a, + 0x1e, 0x12, 0x1c, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x74, 0x72, 0x61, 0x63, 0x65, 0x12, + 0x89, 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x41, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, + 0x22, 0x19, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x01, 0x2a, 0x5a, 0x1b, + 0x12, 0x19, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x52, 0x0a, 0x12, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x32, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x66, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, + 0x88, 0x01, 0x0a, 0x14, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, + 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, + 0x6e, 0x22, 0x47, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x41, 0x22, 0x1c, 0x2f, 0x77, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x2f, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x01, 0x2a, 0x5a, 0x1e, 0x12, 0x1c, 0x2f, 0x77, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x82, 0x01, 0x0a, 0x0d, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x61, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, + 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x7e, 0x0a, 0x0c, 0x53, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, + 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, + 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x37, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x22, 0x14, + 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x73, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x16, 0x12, 0x14, 0x2f, 0x77, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x2f, 0x73, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x64, 0x12, + 0x53, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x32, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, + 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x8f, 0x01, 0x0a, 0x12, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, + 0x6e, 0x65, 0x73, 0x73, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, + 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x22, 0x1a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x2f, 0x76, 0x6f, 0x74, 0x65, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x61, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x1c, 0x12, 0x1a, 0x2f, 0x77, 0x61, 0x6c, + 0x6c, 0x65, 0x74, 0x2f, 0x76, 0x6f, 0x74, 0x65, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x61, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, + 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x11, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, + 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x13, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, + 0x74, 0x6e, 0x65, 0x73, 0x73, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0x12, 0x1d, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, + 0x6e, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x88, + 0x01, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, + 0x73, 0x75, 0x65, 0x12, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, + 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, + 0x22, 0x18, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x1a, 0x12, + 0x18, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x61, + 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x12, 0x53, 0x0a, 0x11, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x32, 0x12, 0x1c, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, + 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x82, + 0x01, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, + 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x6e, + 0x65, 0x73, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, + 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x77, 0x69, 0x74, 0x6e, + 0x65, 0x73, 0x73, 0x12, 0x53, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x69, 0x74, + 0x6e, 0x65, 0x73, 0x73, 0x32, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, + 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, + 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x53, 0x0a, + 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0x12, + 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x57, 0x69, 0x74, + 0x6e, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x17, + 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x53, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x32, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, + 0x0d, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x1f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, + 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, + 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, + 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, + 0x61, 0x73, 0x73, 0x65, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, + 0x6c, 0x65, 0x74, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x61, 0x73, 0x73, 0x65, + 0x74, 0x12, 0x53, 0x0a, 0x0e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, + 0x65, 0x74, 0x32, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0xa2, 0x01, 0x0a, 0x15, 0x50, 0x61, 0x72, 0x74, 0x69, + 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, + 0x12, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x61, 0x72, 0x74, + 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x49, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x43, 0x22, 0x1d, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, + 0x74, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, 0x61, 0x73, 0x73, + 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x1f, 0x12, 0x1d, 0x2f, 0x77, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, + 0x65, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x12, 0x63, 0x0a, 0x16, 0x50, + 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, + 0x73, 0x73, 0x75, 0x65, 0x32, 0x12, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, + 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, + 0x12, 0x82, 0x01, 0x0a, 0x0d, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x46, 0x72, + 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x66, 0x72, 0x65, 0x65, + 0x7a, 0x65, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, + 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x62, 0x61, + 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x53, 0x0a, 0x0e, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, + 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x32, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, + 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x0f, 0x46, 0x72, + 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x12, 0x21, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, + 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x00, 0x12, 0x8a, 0x01, 0x0a, 0x0f, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, + 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x3d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x22, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, + 0x74, 0x2f, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x19, 0x12, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, + 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, + 0x57, 0x0a, 0x10, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x32, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, + 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, + 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x11, 0x55, 0x6e, 0x66, 0x72, + 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x12, 0x23, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, + 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, + 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x0d, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, + 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, + 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x61, 0x73, 0x73, 0x65, 0x74, 0x3a, 0x01, 0x2a, + 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x6e, 0x66, 0x72, + 0x65, 0x65, 0x7a, 0x65, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x53, 0x0a, 0x0e, 0x55, 0x6e, 0x66, + 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x32, 0x12, 0x1f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, + 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x8a, + 0x01, 0x0a, 0x0f, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, + 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3d, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x37, 0x22, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x77, 0x69, + 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x01, 0x2a, + 0x5a, 0x19, 0x12, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x77, 0x69, 0x74, 0x68, + 0x64, 0x72, 0x61, 0x77, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x57, 0x0a, 0x10, 0x57, + 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x32, 0x12, + 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x68, 0x64, + 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, + 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x16, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, + 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x12, 0x28, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, + 0x61, 0x77, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, + 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x10, 0x44, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x22, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, + 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5c, 0x0a, 0x12, 0x55, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x24, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x00, 0x12, 0x7a, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, + 0x74, 0x12, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x35, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x22, + 0x13, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x61, + 0x73, 0x73, 0x65, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x15, 0x12, 0x13, 0x2f, 0x77, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x4f, + 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x32, 0x12, 0x1d, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, + 0x54, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x12, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, + 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, + 0x6c, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x41, 0x70, 0x70, 0x72, + 0x6f, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x54, 0x0a, + 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, + 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, + 0x73, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x0a, 0x42, 0x75, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x12, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x75, 0x79, + 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, + 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, + 0x00, 0x12, 0x56, 0x0a, 0x0f, 0x42, 0x75, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x42, + 0x79, 0x74, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x42, 0x75, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, + 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x0b, 0x53, 0x65, 0x6c, + 0x6c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x65, 0x6c, 0x6c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, + 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x54, 0x0a, 0x0e, 0x45, 0x78, 0x63, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x20, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, + 0x54, 0x0a, 0x0e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x6a, 0x65, 0x63, + 0x74, 0x12, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, + 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x10, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x12, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x57, 0x69, 0x74, + 0x68, 0x64, 0x72, 0x61, 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, + 0x5e, 0x0a, 0x13, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, + 0x56, 0x0a, 0x0f, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x6c, 0x41, 0x73, 0x73, + 0x65, 0x74, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, + 0x72, 0x6b, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x6c, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, + 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x11, 0x4d, 0x61, 0x72, 0x6b, 0x65, + 0x74, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x23, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x43, 0x61, + 0x6e, 0x63, 0x65, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0x00, 0x12, 0x45, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, + 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, + 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x17, 0x47, 0x65, + 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x19, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, + 0x72, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x14, 0x47, 0x65, + 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x42, 0x79, 0x50, 0x61, + 0x69, 0x72, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, + 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x1a, 0x19, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, + 0x72, 0x69, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x18, 0x47, 0x65, + 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, + 0x42, 0x79, 0x50, 0x61, 0x69, 0x72, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, + 0x72, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, + 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x4c, + 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x61, 0x69, 0x72, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, + 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1d, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, + 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x09, + 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x1a, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, + 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x22, 0x11, 0x2f, + 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x6e, 0x6f, 0x64, 0x65, 0x73, + 0x3a, 0x01, 0x2a, 0x5a, 0x13, 0x12, 0x11, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, + 0x69, 0x73, 0x74, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x92, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, + 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x42, 0x79, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x12, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, + 0x22, 0x4b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x22, 0x1e, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, + 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x62, + 0x79, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x20, 0x12, 0x1e, 0x2f, + 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, + 0x73, 0x73, 0x75, 0x65, 0x62, 0x79, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x7a, 0x0a, + 0x0d, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x65, 0x74, 0x12, 0x11, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x1a, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x65, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x39, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, + 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x6e, 0x65, 0x74, 0x3a, 0x01, 0x2a, + 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x6e, 0x65, 0x74, 0x12, 0x4b, 0x0a, 0x12, 0x47, 0x65, 0x74, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, + 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x1a, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x92, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x73, + 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x22, 0x45, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x22, 0x1b, 0x2f, 0x77, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, + 0x73, 0x75, 0x65, 0x62, 0x79, 0x6e, 0x61, 0x6d, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x1d, 0x12, 0x1b, + 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, + 0x69, 0x73, 0x73, 0x75, 0x65, 0x62, 0x79, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4d, 0x0a, 0x17, 0x47, + 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, + 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, + 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x11, 0x47, 0x65, + 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x42, 0x79, 0x49, 0x64, 0x12, + 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4e, 0x6f, + 0x77, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x0f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, + 0x35, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x22, 0x13, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, + 0x2f, 0x67, 0x65, 0x74, 0x6e, 0x6f, 0x77, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x3a, 0x01, 0x2a, 0x5a, + 0x15, 0x12, 0x13, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x6e, 0x6f, + 0x77, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x42, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x77, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x32, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, + 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x74, 0x0a, 0x0d, 0x47, 0x65, + 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, + 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, + 0x79, 0x6e, 0x75, 0x6d, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6e, 0x75, 0x6d, + 0x12, 0x45, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4e, 0x75, + 0x6d, 0x32, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, + 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, + 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, + 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x0c, + 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x37, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x22, 0x14, 0x2f, + 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, + 0x79, 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x16, 0x12, 0x14, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, + 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x69, 0x64, 0x12, 0x87, + 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4c, 0x69, 0x6d, + 0x69, 0x74, 0x4e, 0x65, 0x78, 0x74, 0x12, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x1a, 0x13, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x73, + 0x74, 0x22, 0x45, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x22, 0x1b, 0x2f, 0x77, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6c, 0x69, 0x6d, + 0x69, 0x74, 0x6e, 0x65, 0x78, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x1d, 0x12, 0x1b, 0x2f, 0x77, 0x61, + 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6c, + 0x69, 0x6d, 0x69, 0x74, 0x6e, 0x65, 0x78, 0x74, 0x12, 0x4c, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4e, 0x65, 0x78, 0x74, 0x32, + 0x12, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x8a, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x4e, 0x75, 0x6d, 0x12, 0x17, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x45, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x3f, 0x22, 0x1b, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, + 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x6e, 0x75, + 0x6d, 0x3a, 0x01, 0x2a, 0x5a, 0x1d, 0x12, 0x1b, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, + 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, + 0x6e, 0x75, 0x6d, 0x12, 0x4f, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, + 0x79, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x4e, 0x75, 0x6d, 0x32, 0x12, 0x17, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, + 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x88, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x3d, 0x22, 0x1a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x79, 0x69, 0x64, 0x3a, 0x01, + 0x2a, 0x5a, 0x1c, 0x12, 0x1a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, + 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x79, 0x69, 0x64, 0x12, + 0x51, 0x0a, 0x0e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x12, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x00, 0x12, 0x40, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, + 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, + 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x57, 0x72, 0x61, 0x70, + 0x70, 0x65, 0x72, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x0f, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, 0x74, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, + 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x17, 0x54, 0x72, + 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, + 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x0e, 0x45, 0x73, 0x74, 0x69, 0x6d, + 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, + 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, + 0x72, 0x67, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x10, + 0x43, 0x6c, 0x65, 0x61, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x42, 0x49, + 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x6c, 0x65, 0x61, + 0x72, 0x41, 0x42, 0x49, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x79, + 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, + 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x39, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, + 0x6c, 0x69, 0x73, 0x74, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x3a, 0x01, 0x2a, + 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, 0x69, 0x73, 0x74, + 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x5d, 0x0a, 0x14, 0x47, 0x65, 0x74, + 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x12, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x5f, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x44, + 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x56, 0x32, 0x12, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x65, 0x0a, 0x20, 0x47, 0x65, 0x74, + 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x16, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x00, + 0x12, 0x67, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, + 0x6e, 0x64, 0x65, 0x78, 0x56, 0x32, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x27, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, + 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x00, 0x12, 0x75, 0x0a, 0x16, 0x47, 0x65, 0x74, + 0x43, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x61, 0x78, 0x53, + 0x69, 0x7a, 0x65, 0x12, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, + 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x61, 0x78, 0x53, 0x69, + 0x7a, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x1a, 0x2c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x61, 0x6e, 0x44, + 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, + 0x12, 0x84, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, + 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x31, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x76, 0x61, + 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x1a, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, + 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, + 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x87, 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x43, + 0x61, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, + 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x61, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x55, + 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x32, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x61, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, + 0x61, 0x77, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, + 0x00, 0x12, 0x7a, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, + 0x6c, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, + 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x4c, 0x69, + 0x73, 0x74, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, + 0x6c, 0x65, 0x74, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, + 0x6c, 0x69, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x9f, 0x01, + 0x0a, 0x18, 0x47, 0x65, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x50, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x4f, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x49, 0x22, 0x20, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, + 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x70, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x6c, 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x22, 0x12, 0x20, 0x2f, + 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, + 0x74, 0x65, 0x64, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x6c, 0x69, 0x73, 0x74, 0x12, + 0x7c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x42, 0x79, + 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, + 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x12, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x22, 0x3d, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x22, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, + 0x67, 0x65, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x62, 0x79, 0x69, 0x64, 0x3a, + 0x01, 0x2a, 0x5a, 0x19, 0x12, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, + 0x74, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x62, 0x79, 0x69, 0x64, 0x12, 0x7a, 0x0a, + 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x16, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x39, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, + 0x6c, 0x69, 0x73, 0x74, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x3a, 0x01, 0x2a, + 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, 0x69, 0x73, 0x74, + 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x9f, 0x01, 0x0a, 0x18, 0x47, 0x65, + 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, + 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x4f, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x49, 0x22, 0x20, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x70, + 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x6c, 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x22, 0x12, 0x20, 0x2f, 0x77, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x65, + 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x7c, 0x0a, 0x0f, 0x47, + 0x65, 0x74, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x22, 0x3d, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x37, 0x22, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x65, + 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x62, 0x79, 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x19, + 0x12, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x65, 0x78, 0x63, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x62, 0x79, 0x69, 0x64, 0x12, 0x8c, 0x01, 0x0a, 0x12, 0x47, 0x65, + 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, + 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, + 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, + 0x65, 0x72, 0x73, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x22, 0x1a, 0x2f, 0x77, 0x61, + 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x1c, 0x12, 0x1a, 0x2f, 0x77, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x70, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x88, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, + 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, + 0x22, 0x41, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x22, 0x19, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, + 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, + 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x1b, 0x12, 0x19, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, + 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, + 0x69, 0x73, 0x74, 0x12, 0xa7, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, + 0x61, 0x74, 0x65, 0x64, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x61, + 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, + 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x53, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4d, + 0x22, 0x22, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, + 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, + 0x6c, 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x24, 0x12, 0x22, 0x2f, 0x77, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x61, + 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x84, 0x01, + 0x0a, 0x10, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, + 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x22, 0x18, 0x2f, 0x77, 0x61, + 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x01, 0x2a, 0x5a, 0x1a, 0x12, 0x18, 0x2f, 0x77, 0x61, 0x6c, + 0x6c, 0x65, 0x74, 0x2f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x96, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x78, 0x74, + 0x4d, 0x61, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x22, 0x4b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x22, 0x1e, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, + 0x74, 0x2f, 0x67, 0x65, 0x74, 0x6e, 0x65, 0x78, 0x74, 0x6d, 0x61, 0x69, 0x6e, 0x74, 0x65, 0x6e, + 0x61, 0x6e, 0x63, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x20, 0x12, 0x1e, 0x2f, + 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x6e, 0x65, 0x78, 0x74, 0x6d, 0x61, + 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x8b, 0x01, + 0x0a, 0x12, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x53, 0x69, 0x67, 0x6e, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x1a, + 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x22, 0x1a, + 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x69, 0x67, 0x6e, 0x3a, 0x01, 0x2a, 0x5a, 0x1c, 0x12, + 0x1a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x69, 0x67, 0x6e, 0x12, 0x52, 0x0a, 0x13, 0x47, + 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, + 0x6e, 0x32, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x1a, 0x1e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, + 0x7a, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, + 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, + 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x3a, + 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x59, 0x0a, 0x11, 0x45, + 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, + 0x12, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x61, 0x73, 0x79, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x45, 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6b, 0x0a, 0x1a, 0x45, 0x61, 0x73, 0x79, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x42, 0x79, 0x50, 0x72, 0x69, + 0x76, 0x61, 0x74, 0x65, 0x12, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x45, 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, + 0x74, 0x42, 0x79, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x61, 0x73, + 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x86, 0x01, 0x0a, 0x0c, 0x45, 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x66, 0x65, 0x72, 0x12, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x45, 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, + 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x37, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x22, 0x14, 0x2f, 0x77, 0x61, + 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x65, 0x61, 0x73, 0x79, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, + 0x72, 0x3a, 0x01, 0x2a, 0x5a, 0x16, 0x12, 0x14, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, + 0x65, 0x61, 0x73, 0x79, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0xaa, 0x01, 0x0a, + 0x15, 0x45, 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x42, 0x79, 0x50, + 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x26, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x45, 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x42, 0x79, + 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x61, 0x73, 0x79, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x49, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x43, 0x22, 0x1d, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, + 0x65, 0x61, 0x73, 0x79, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x62, 0x79, 0x70, 0x72, + 0x69, 0x76, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x1f, 0x12, 0x1d, 0x2f, 0x77, 0x61, 0x6c, + 0x6c, 0x65, 0x74, 0x2f, 0x65, 0x61, 0x73, 0x79, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, + 0x62, 0x79, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x8b, 0x01, 0x0a, 0x0f, 0x47, 0x65, + 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x50, 0x72, 0x4b, 0x65, 0x79, 0x50, 0x61, 0x69, + 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x3d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, + 0x22, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, + 0x74, 0x65, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x19, 0x12, 0x17, + 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x98, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x79, + 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, + 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x4b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x22, 0x1e, 0x2f, + 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x66, 0x6f, 0x62, 0x79, 0x69, 0x64, 0x3a, 0x01, 0x2a, + 0x5a, 0x20, 0x12, 0x1e, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x66, 0x6f, 0x62, 0x79, + 0x69, 0x64, 0x12, 0xb3, 0x01, 0x0a, 0x17, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x29, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x4d, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x47, 0x22, 0x1f, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x75, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x21, 0x12, 0x1f, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, + 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x46, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x53, + 0x69, 0x67, 0x6e, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x1a, 0x1e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, + 0x12, 0x54, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x15, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x57, 0x65, + 0x69, 0x67, 0x68, 0x74, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x21, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, + 0x12, 0x3b, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x00, 0x12, 0x42, 0x0a, + 0x0d, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, + 0x00, 0x12, 0x45, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x61, 0x67, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x61, 0x67, 0x65, 0x12, 0x21, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x72, 0x6f, + 0x6b, 0x65, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, + 0x12, 0x5a, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, + 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5f, 0x0a, 0x18, + 0x47, 0x65, 0x74, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, 0x65, 0x65, 0x56, 0x6f, 0x75, + 0x63, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x1a, 0x26, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, + 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, + 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x00, 0x12, 0x49, 0x0a, + 0x0d, 0x53, 0x63, 0x61, 0x6e, 0x4e, 0x6f, 0x74, 0x65, 0x42, 0x79, 0x49, 0x76, 0x6b, 0x12, 0x1e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, + 0x72, 0x79, 0x70, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x16, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, + 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x14, 0x53, 0x63, 0x61, 0x6e, + 0x41, 0x6e, 0x64, 0x4d, 0x61, 0x72, 0x6b, 0x4e, 0x6f, 0x74, 0x65, 0x42, 0x79, 0x49, 0x76, 0x6b, + 0x12, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, + 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x41, 0x6e, 0x64, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x4d, + 0x61, 0x72, 0x6b, 0x65, 0x64, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0d, 0x53, 0x63, 0x61, 0x6e, 0x4e, + 0x6f, 0x74, 0x65, 0x42, 0x79, 0x4f, 0x76, 0x6b, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, + 0x22, 0x00, 0x12, 0x42, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, + 0x67, 0x4b, 0x65, 0x79, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x45, 0x78, 0x70, + 0x61, 0x6e, 0x64, 0x65, 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, + 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, + 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x65, 0x64, 0x53, 0x70, 0x65, 0x6e, + 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, + 0x12, 0x40, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x41, 0x6b, 0x46, 0x72, 0x6f, 0x6d, 0x41, 0x73, 0x6b, + 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, + 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x22, 0x00, 0x12, 0x40, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x4e, 0x6b, 0x46, 0x72, 0x6f, 0x6d, 0x4e, + 0x73, 0x6b, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, + 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x63, 0x6f, 0x6d, + 0x69, 0x6e, 0x67, 0x56, 0x69, 0x65, 0x77, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x12, 0x1b, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x69, 0x6e, 0x67, + 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x23, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x56, 0x69, + 0x65, 0x77, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, + 0x00, 0x12, 0x48, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, + 0x69, 0x65, 0x72, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, + 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, 0x69, + 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x15, 0x47, + 0x65, 0x74, 0x4e, 0x65, 0x77, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1d, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x00, 0x12, 0x69, 0x0a, + 0x14, 0x47, 0x65, 0x74, 0x5a, 0x65, 0x6e, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x56, 0x69, 0x65, 0x77, 0x69, 0x6e, 0x67, + 0x4b, 0x65, 0x79, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x06, 0x47, 0x65, 0x74, 0x52, + 0x63, 0x6d, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, + 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x22, 0x00, 0x12, 0x3c, 0x0a, 0x07, 0x49, 0x73, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x12, + 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x22, 0x00, 0x12, 0x77, 0x0a, 0x2c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, + 0x6c, 0x64, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x57, + 0x69, 0x74, 0x68, 0x6f, 0x75, 0x74, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x41, 0x75, 0x74, 0x68, 0x53, + 0x69, 0x67, 0x12, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, + 0x69, 0x76, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x57, + 0x69, 0x74, 0x68, 0x6f, 0x75, 0x74, 0x41, 0x73, 0x6b, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x18, 0x47, + 0x65, 0x74, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x12, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x16, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x41, 0x75, 0x74, 0x68, 0x53, 0x69, 0x67, 0x12, 0x20, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x41, + 0x75, 0x74, 0x68, 0x53, 0x69, 0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, + 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, + 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x15, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x4e, 0x75, 0x6c, 0x6c, 0x69, 0x66, + 0x69, 0x65, 0x72, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, + 0x66, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x16, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x71, 0x0a, 0x20, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, + 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x28, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, + 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, + 0x65, 0x72, 0x73, 0x1a, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, + 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x22, 0x00, 0x12, 0x85, 0x01, 0x0a, 0x2a, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, + 0x68, 0x6f, 0x75, 0x74, 0x41, 0x73, 0x6b, 0x12, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, + 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, + 0x73, 0x57, 0x69, 0x74, 0x68, 0x6f, 0x75, 0x74, 0x41, 0x73, 0x6b, 0x1a, 0x21, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, + 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x22, 0x00, + 0x12, 0x61, 0x0a, 0x1b, 0x53, 0x63, 0x61, 0x6e, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, + 0x54, 0x52, 0x43, 0x32, 0x30, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x42, 0x79, 0x49, 0x76, 0x6b, 0x12, + 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, 0x65, + 0x63, 0x72, 0x79, 0x70, 0x74, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, + 0x74, 0x65, 0x72, 0x73, 0x1a, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x54, 0x52, 0x43, 0x32, + 0x30, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x1b, 0x53, 0x63, 0x61, 0x6e, 0x53, 0x68, 0x69, 0x65, 0x6c, + 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x42, 0x79, 0x4f, + 0x76, 0x6b, 0x12, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x76, + 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x54, + 0x52, 0x43, 0x32, 0x30, 0x22, 0x00, 0x12, 0x5c, 0x0a, 0x20, 0x49, 0x73, 0x53, 0x68, 0x69, 0x65, + 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x53, 0x70, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x66, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x22, 0x00, 0x12, 0x75, 0x0a, 0x27, 0x47, 0x65, 0x74, 0x54, 0x72, 0x69, 0x67, 0x67, + 0x65, 0x72, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x46, 0x6f, 0x72, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, + 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, + 0x30, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x68, 0x69, 0x65, 0x6c, + 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, + 0x73, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, + 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x17, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, + 0x58, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, + 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, + 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x0a, 0x47, 0x65, 0x74, + 0x42, 0x75, 0x72, 0x6e, 0x54, 0x72, 0x78, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, + 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, + 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x19, 0x47, 0x65, + 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x72, 0x6f, 0x6d, + 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, + 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, + 0x6f, 0x6d, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x1a, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, + 0x12, 0x43, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x69, + 0x7a, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, + 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x12, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, + 0x00, 0x32, 0x96, 0x23, 0x0a, 0x0e, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x53, 0x6f, 0x6c, 0x69, + 0x64, 0x69, 0x74, 0x79, 0x12, 0x77, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x12, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, + 0x22, 0x1a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, + 0x79, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x01, 0x2a, 0x5a, + 0x1c, 0x12, 0x1a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, + 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x83, 0x01, + 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x49, 0x64, + 0x12, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x4b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x22, 0x1e, + 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, + 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x62, 0x79, 0x69, 0x64, 0x3a, 0x01, + 0x2a, 0x5a, 0x20, 0x12, 0x1e, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, + 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x62, + 0x79, 0x69, 0x64, 0x12, 0x89, 0x01, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x69, 0x74, 0x6e, + 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x15, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, + 0x4c, 0x69, 0x73, 0x74, 0x22, 0x49, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x43, 0x22, 0x1d, 0x2f, 0x77, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x6c, 0x69, + 0x73, 0x74, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x1f, + 0x12, 0x1d, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, + 0x79, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, + 0x98, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, + 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, + 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x51, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4b, 0x22, + 0x21, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, + 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, 0x69, + 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x23, 0x12, 0x21, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, + 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, + 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0xb7, 0x01, 0x0a, 0x1a, 0x47, + 0x65, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x41, 0x73, 0x73, 0x65, 0x74, + 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, + 0x63, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x5d, 0x22, 0x2a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, + 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, + 0x6e, 0x61, 0x74, 0x65, 0x64, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, + 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x2c, 0x12, 0x2a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, + 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, + 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, + 0x6c, 0x69, 0x73, 0x74, 0x12, 0x4d, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, + 0x49, 0x73, 0x73, 0x75, 0x65, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, + 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, + 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, + 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, + 0x73, 0x75, 0x65, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, + 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, + 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x22, 0x00, 0x12, + 0x7d, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x77, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x16, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x45, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x22, + 0x1b, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, + 0x2f, 0x67, 0x65, 0x74, 0x6e, 0x6f, 0x77, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x3a, 0x01, 0x2a, 0x5a, + 0x1d, 0x12, 0x1b, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, + 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x6e, 0x6f, 0x77, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x42, + 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x77, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x32, 0x12, 0x16, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x00, 0x12, 0x84, 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, + 0x79, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x49, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x43, 0x22, 0x1d, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, + 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x62, 0x79, 0x6e, 0x75, 0x6d, 0x3a, 0x01, 0x2a, 0x5a, 0x1f, 0x12, 0x1d, 0x2f, 0x77, 0x61, 0x6c, + 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6e, 0x75, 0x6d, 0x12, 0x45, 0x0a, 0x0e, 0x47, 0x65, 0x74, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x32, 0x12, 0x17, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, + 0x12, 0x53, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, + 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, + 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, + 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x22, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, + 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x69, + 0x73, 0x74, 0x22, 0x00, 0x12, 0x5f, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, + 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x32, 0x12, 0x22, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, + 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, + 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x65, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, + 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x1a, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x22, + 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, + 0x56, 0x32, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, + 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x27, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, + 0x64, 0x65, 0x78, 0x22, 0x00, 0x12, 0x75, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, 0x61, 0x6e, 0x44, + 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x12, + 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x61, 0x6e, 0x44, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x2c, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, + 0x61, 0x74, 0x65, 0x64, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x84, 0x01, 0x0a, + 0x19, 0x47, 0x65, 0x74, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x55, 0x6e, 0x66, + 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x31, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, + 0x6c, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x32, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x76, 0x61, 0x69, + 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x22, 0x00, 0x12, 0x87, 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x43, 0x61, 0x6e, 0x57, 0x69, + 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, + 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x43, 0x61, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x55, 0x6e, 0x66, 0x72, 0x65, + 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x43, 0x61, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x55, 0x6e, + 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x3f, 0x0a, + 0x0f, 0x47, 0x65, 0x74, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x42, 0x79, 0x49, 0x64, + 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, + 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x22, 0x00, 0x12, 0x41, + 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, + 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, + 0x00, 0x12, 0x98, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x53, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4d, 0x22, + 0x22, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, + 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, + 0x79, 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x24, 0x12, 0x22, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, + 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x79, 0x69, 0x64, 0x12, 0xa8, 0x01, 0x0a, + 0x16, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x6e, 0x66, 0x6f, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, + 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x5b, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x55, 0x22, 0x26, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, + 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x69, 0x6e, 0x66, 0x6f, 0x62, 0x79, 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x28, 0x12, + 0x26, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, + 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x69, + 0x6e, 0x66, 0x6f, 0x62, 0x79, 0x69, 0x64, 0x12, 0x9b, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x6e, 0x65, + 0x72, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x1a, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x50, 0x72, 0x4b, 0x65, 0x79, 0x50, 0x61, 0x69, 0x72, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x4d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x47, 0x22, 0x1f, + 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, + 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x3a, + 0x01, 0x2a, 0x5a, 0x21, 0x12, 0x1f, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, + 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x5f, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x72, 0x6b, + 0x6c, 0x65, 0x54, 0x72, 0x65, 0x65, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x26, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0d, 0x53, 0x63, 0x61, 0x6e, 0x4e, 0x6f, + 0x74, 0x65, 0x42, 0x79, 0x49, 0x76, 0x6b, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x22, + 0x00, 0x12, 0x5d, 0x0a, 0x14, 0x53, 0x63, 0x61, 0x6e, 0x41, 0x6e, 0x64, 0x4d, 0x61, 0x72, 0x6b, + 0x4e, 0x6f, 0x74, 0x65, 0x42, 0x79, 0x49, 0x76, 0x6b, 0x12, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x41, + 0x6e, 0x64, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, + 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, + 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x64, 0x22, 0x00, + 0x12, 0x49, 0x0a, 0x0d, 0x53, 0x63, 0x61, 0x6e, 0x4e, 0x6f, 0x74, 0x65, 0x42, 0x79, 0x4f, 0x76, + 0x6b, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x76, 0x6b, + 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, + 0x73, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, + 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x22, 0x00, 0x12, 0x3c, 0x0a, 0x07, 0x49, + 0x73, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x12, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, + 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, + 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x1b, 0x53, 0x63, 0x61, + 0x6e, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x4e, 0x6f, + 0x74, 0x65, 0x73, 0x42, 0x79, 0x49, 0x76, 0x6b, 0x12, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x54, 0x52, + 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x1b, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, + 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x54, 0x52, 0x43, 0x32, 0x30, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x1b, + 0x53, 0x63, 0x61, 0x6e, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, + 0x30, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x42, 0x79, 0x4f, 0x76, 0x6b, 0x12, 0x23, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, + 0x74, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, + 0x1a, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, + 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x54, 0x52, 0x43, 0x32, 0x30, 0x22, 0x00, 0x12, + 0x5c, 0x0a, 0x20, 0x49, 0x73, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, + 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x53, 0x70, + 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, + 0x66, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, + 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, + 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, 0x42, 0x0a, + 0x0d, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, + 0x00, 0x12, 0x45, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x61, 0x67, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x17, 0x54, 0x72, 0x69, 0x67, + 0x67, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, + 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, + 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x0e, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, + 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, + 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x1c, 0x47, 0x65, + 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, + 0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x1a, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, + 0x73, 0x74, 0x22, 0x00, 0x12, 0x45, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, + 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, + 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x17, 0x47, + 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x19, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, + 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x14, 0x47, + 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x42, 0x79, 0x50, + 0x61, 0x69, 0x72, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, + 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x1a, 0x19, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, + 0x50, 0x72, 0x69, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x18, 0x47, + 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, + 0x74, 0x42, 0x79, 0x50, 0x61, 0x69, 0x72, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, + 0x69, 0x72, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, + 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, + 0x4c, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x61, 0x69, 0x72, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1d, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, + 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x3f, 0x0a, + 0x0a, 0x47, 0x65, 0x74, 0x42, 0x75, 0x72, 0x6e, 0x54, 0x72, 0x78, 0x12, 0x16, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, + 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x3a, + 0x0a, 0x08, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x12, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x1a, 0x18, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, + 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x32, 0xad, 0x04, 0x0a, 0x0f, 0x57, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0xb1, + 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x68, 0x69, 0x73, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x67, + 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, + 0x74, 0x22, 0x5f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x59, 0x22, 0x28, 0x2f, 0x77, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x65, 0x74, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x66, 0x72, 0x6f, 0x6d, 0x74, + 0x68, 0x69, 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x2a, 0x12, 0x28, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, + 0x74, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x66, 0x72, 0x6f, 0x6d, 0x74, 0x68, + 0x69, 0x73, 0x12, 0x5c, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x68, 0x69, 0x73, 0x32, 0x12, 0x1a, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x1a, 0x22, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, + 0x12, 0xab, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x54, 0x6f, 0x54, 0x68, 0x69, 0x73, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x67, + 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, + 0x74, 0x22, 0x5b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x55, 0x22, 0x26, 0x2f, 0x77, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x65, 0x74, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x74, 0x6f, 0x74, 0x68, 0x69, + 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x28, 0x12, 0x26, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x65, + 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x74, 0x6f, 0x74, 0x68, 0x69, 0x73, 0x12, 0x5a, + 0x0a, 0x16, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x54, 0x6f, 0x54, 0x68, 0x69, 0x73, 0x32, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, + 0x61, 0x74, 0x65, 0x64, 0x1a, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x45, + 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x32, 0x99, 0x02, 0x0a, 0x08, 0x44, + 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x11, 0x67, 0x65, 0x74, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x16, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x00, + 0x12, 0x4d, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x50, 0x72, + 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x1a, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x79, 0x6e, 0x61, + 0x6d, 0x69, 0x63, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x22, 0x00, 0x12, + 0x38, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x77, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x16, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x00, 0x12, 0x3b, 0x0a, 0x0d, 0x47, 0x65, 0x74, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x00, 0x32, 0x83, 0x01, 0x0a, 0x07, 0x4d, 0x6f, 0x6e, 0x69, 0x74, + 0x6f, 0x72, 0x12, 0x78, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, + 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, + 0x6f, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, + 0x74, 0x6f, 0x72, 0x2f, 0x67, 0x65, 0x74, 0x73, 0x74, 0x61, 0x74, 0x73, 0x69, 0x6e, 0x66, 0x6f, + 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x2f, + 0x67, 0x65, 0x74, 0x73, 0x74, 0x61, 0x74, 0x73, 0x69, 0x6e, 0x66, 0x6f, 0x32, 0x09, 0x0a, 0x07, + 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x42, 0x47, 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x2e, 0x74, + 0x72, 0x6f, 0x6e, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x07, 0x47, 0x72, 0x70, 0x63, 0x41, 0x50, 0x49, + 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, + 0x6f, 0x62, 0x72, 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, + 0x64, 0x6b, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x70, 0x69, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func _Database_GetBlockReference_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EmptyMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatabaseServer).GetBlockReference(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Database/GetBlockReference", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatabaseServer).GetBlockReference(ctx, req.(*EmptyMessage)) - } - return interceptor(ctx, in, info, handler) -} +var ( + file_api_api_proto_rawDescOnce sync.Once + file_api_api_proto_rawDescData = file_api_api_proto_rawDesc +) -func _Database_GetDynamicProperties_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EmptyMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatabaseServer).GetDynamicProperties(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Database/GetDynamicProperties", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatabaseServer).GetDynamicProperties(ctx, req.(*EmptyMessage)) - } - return interceptor(ctx, in, info, handler) +func file_api_api_proto_rawDescGZIP() []byte { + file_api_api_proto_rawDescOnce.Do(func() { + file_api_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_api_proto_rawDescData) + }) + return file_api_api_proto_rawDescData } -func _Database_GetNowBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EmptyMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatabaseServer).GetNowBlock(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Database/GetNowBlock", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatabaseServer).GetNowBlock(ctx, req.(*EmptyMessage)) - } - return interceptor(ctx, in, info, handler) +var file_api_api_proto_enumTypes = make([]protoimpl.EnumInfo, 3) +var file_api_api_proto_msgTypes = make([]protoimpl.MessageInfo, 87) +var file_api_api_proto_goTypes = []interface{}{ + (ReturnResponseCode)(0), // 0: protocol.Return.response_code + (TransactionSignWeight_ResultResponseCode)(0), // 1: protocol.TransactionSignWeight.Result.response_code + (TransactionApprovedList_ResultResponseCode)(0), // 2: protocol.TransactionApprovedList.Result.response_code + (*Return)(nil), // 3: protocol.Return + (*BlockReference)(nil), // 4: protocol.BlockReference + (*WitnessList)(nil), // 5: protocol.WitnessList + (*ProposalList)(nil), // 6: protocol.ProposalList + (*ExchangeList)(nil), // 7: protocol.ExchangeList + (*AssetIssueList)(nil), // 8: protocol.AssetIssueList + (*BlockList)(nil), // 9: protocol.BlockList + (*TransactionList)(nil), // 10: protocol.TransactionList + (*TransactionIdList)(nil), // 11: protocol.TransactionIdList + (*DelegatedResourceMessage)(nil), // 12: protocol.DelegatedResourceMessage + (*DelegatedResourceList)(nil), // 13: protocol.DelegatedResourceList + (*GetAvailableUnfreezeCountRequestMessage)(nil), // 14: protocol.GetAvailableUnfreezeCountRequestMessage + (*GetAvailableUnfreezeCountResponseMessage)(nil), // 15: protocol.GetAvailableUnfreezeCountResponseMessage + (*CanDelegatedMaxSizeRequestMessage)(nil), // 16: protocol.CanDelegatedMaxSizeRequestMessage + (*CanDelegatedMaxSizeResponseMessage)(nil), // 17: protocol.CanDelegatedMaxSizeResponseMessage + (*CanWithdrawUnfreezeAmountRequestMessage)(nil), // 18: protocol.CanWithdrawUnfreezeAmountRequestMessage + (*CanWithdrawUnfreezeAmountResponseMessage)(nil), // 19: protocol.CanWithdrawUnfreezeAmountResponseMessage + (*NodeList)(nil), // 20: protocol.NodeList + (*Node)(nil), // 21: protocol.Node + (*Address)(nil), // 22: protocol.Address + (*EmptyMessage)(nil), // 23: protocol.EmptyMessage + (*NumberMessage)(nil), // 24: protocol.NumberMessage + (*BytesMessage)(nil), // 25: protocol.BytesMessage + (*TimeMessage)(nil), // 26: protocol.TimeMessage + (*BlockReq)(nil), // 27: protocol.BlockReq + (*BlockLimit)(nil), // 28: protocol.BlockLimit + (*TransactionLimit)(nil), // 29: protocol.TransactionLimit + (*AccountPaginated)(nil), // 30: protocol.AccountPaginated + (*TimePaginatedMessage)(nil), // 31: protocol.TimePaginatedMessage + (*AccountNetMessage)(nil), // 32: protocol.AccountNetMessage + (*AccountResourceMessage)(nil), // 33: protocol.AccountResourceMessage + (*PaginatedMessage)(nil), // 34: protocol.PaginatedMessage + (*EasyTransferMessage)(nil), // 35: protocol.EasyTransferMessage + (*EasyTransferAssetMessage)(nil), // 36: protocol.EasyTransferAssetMessage + (*EasyTransferByPrivateMessage)(nil), // 37: protocol.EasyTransferByPrivateMessage + (*EasyTransferAssetByPrivateMessage)(nil), // 38: protocol.EasyTransferAssetByPrivateMessage + (*EasyTransferResponse)(nil), // 39: protocol.EasyTransferResponse + (*AddressPrKeyPairMessage)(nil), // 40: protocol.AddressPrKeyPairMessage + (*TransactionExtention)(nil), // 41: protocol.TransactionExtention + (*EstimateEnergyMessage)(nil), // 42: protocol.EstimateEnergyMessage + (*BlockExtention)(nil), // 43: protocol.BlockExtention + (*BlockListExtention)(nil), // 44: protocol.BlockListExtention + (*TransactionListExtention)(nil), // 45: protocol.TransactionListExtention + (*BlockIncrementalMerkleTree)(nil), // 46: protocol.BlockIncrementalMerkleTree + (*TransactionSignWeight)(nil), // 47: protocol.TransactionSignWeight + (*TransactionApprovedList)(nil), // 48: protocol.TransactionApprovedList + (*IvkDecryptParameters)(nil), // 49: protocol.IvkDecryptParameters + (*IvkDecryptAndMarkParameters)(nil), // 50: protocol.IvkDecryptAndMarkParameters + (*OvkDecryptParameters)(nil), // 51: protocol.OvkDecryptParameters + (*DecryptNotes)(nil), // 52: protocol.DecryptNotes + (*DecryptNotesMarked)(nil), // 53: protocol.DecryptNotesMarked + (*Note)(nil), // 54: protocol.Note + (*SpendNote)(nil), // 55: protocol.SpendNote + (*ReceiveNote)(nil), // 56: protocol.ReceiveNote + (*PrivateParameters)(nil), // 57: protocol.PrivateParameters + (*PrivateParametersWithoutAsk)(nil), // 58: protocol.PrivateParametersWithoutAsk + (*SpendAuthSigParameters)(nil), // 59: protocol.SpendAuthSigParameters + (*NfParameters)(nil), // 60: protocol.NfParameters + (*ExpandedSpendingKeyMessage)(nil), // 61: protocol.ExpandedSpendingKeyMessage + (*ViewingKeyMessage)(nil), // 62: protocol.ViewingKeyMessage + (*IncomingViewingKeyMessage)(nil), // 63: protocol.IncomingViewingKeyMessage + (*DiversifierMessage)(nil), // 64: protocol.DiversifierMessage + (*IncomingViewingKeyDiversifierMessage)(nil), // 65: protocol.IncomingViewingKeyDiversifierMessage + (*PaymentAddressMessage)(nil), // 66: protocol.PaymentAddressMessage + (*ShieldedAddressInfo)(nil), // 67: protocol.ShieldedAddressInfo + (*NoteParameters)(nil), // 68: protocol.NoteParameters + (*SpendResult)(nil), // 69: protocol.SpendResult + (*TransactionInfoList)(nil), // 70: protocol.TransactionInfoList + (*SpendNoteTRC20)(nil), // 71: protocol.SpendNoteTRC20 + (*PrivateShieldedTRC20Parameters)(nil), // 72: protocol.PrivateShieldedTRC20Parameters + (*PrivateShieldedTRC20ParametersWithoutAsk)(nil), // 73: protocol.PrivateShieldedTRC20ParametersWithoutAsk + (*ShieldedTRC20Parameters)(nil), // 74: protocol.ShieldedTRC20Parameters + (*IvkDecryptTRC20Parameters)(nil), // 75: protocol.IvkDecryptTRC20Parameters + (*OvkDecryptTRC20Parameters)(nil), // 76: protocol.OvkDecryptTRC20Parameters + (*DecryptNotesTRC20)(nil), // 77: protocol.DecryptNotesTRC20 + (*NfTRC20Parameters)(nil), // 78: protocol.NfTRC20Parameters + (*NullifierResult)(nil), // 79: protocol.NullifierResult + (*ShieldedTRC20TriggerContractParameters)(nil), // 80: protocol.ShieldedTRC20TriggerContractParameters + nil, // 81: protocol.AccountNetMessage.AssetNetUsedEntry + nil, // 82: protocol.AccountNetMessage.AssetNetLimitEntry + nil, // 83: protocol.AccountResourceMessage.AssetNetUsedEntry + nil, // 84: protocol.AccountResourceMessage.AssetNetLimitEntry + (*TransactionSignWeight_Result)(nil), // 85: protocol.TransactionSignWeight.Result + (*TransactionApprovedList_Result)(nil), // 86: protocol.TransactionApprovedList.Result + (*DecryptNotes_NoteTx)(nil), // 87: protocol.DecryptNotes.NoteTx + (*DecryptNotesMarked_NoteTx)(nil), // 88: protocol.DecryptNotesMarked.NoteTx + (*DecryptNotesTRC20_NoteTx)(nil), // 89: protocol.DecryptNotesTRC20.NoteTx + (*core.Witness)(nil), // 90: protocol.Witness + (*core.Proposal)(nil), // 91: protocol.Proposal + (*core.Exchange)(nil), // 92: protocol.Exchange + (*core.AssetIssueContract)(nil), // 93: protocol.AssetIssueContract + (*core.Block)(nil), // 94: protocol.Block + (*core.Transaction)(nil), // 95: protocol.Transaction + (*core.DelegatedResource)(nil), // 96: protocol.DelegatedResource + (*core.Account)(nil), // 97: protocol.Account + (*core.TransactionInfo_Log)(nil), // 98: protocol.TransactionInfo.Log + (*core.InternalTransaction)(nil), // 99: protocol.InternalTransaction + (*core.BlockHeader)(nil), // 100: protocol.BlockHeader + (*core.IncrementalMerkleTree)(nil), // 101: protocol.IncrementalMerkleTree + (*core.Permission)(nil), // 102: protocol.Permission + (*core.IncrementalMerkleVoucher)(nil), // 103: protocol.IncrementalMerkleVoucher + (*core.TransactionInfo)(nil), // 104: protocol.TransactionInfo + (*core.SpendDescription)(nil), // 105: protocol.SpendDescription + (*core.ReceiveDescription)(nil), // 106: protocol.ReceiveDescription + (*core.AccountBalanceRequest)(nil), // 107: protocol.AccountBalanceRequest + (*core.BlockBalanceTrace_BlockIdentifier)(nil), // 108: protocol.BlockBalanceTrace.BlockIdentifier + (*core.TransferContract)(nil), // 109: protocol.TransferContract + (*core.AccountUpdateContract)(nil), // 110: protocol.AccountUpdateContract + (*core.SetAccountIdContract)(nil), // 111: protocol.SetAccountIdContract + (*core.VoteWitnessContract)(nil), // 112: protocol.VoteWitnessContract + (*core.UpdateSettingContract)(nil), // 113: protocol.UpdateSettingContract + (*core.UpdateEnergyLimitContract)(nil), // 114: protocol.UpdateEnergyLimitContract + (*core.WitnessUpdateContract)(nil), // 115: protocol.WitnessUpdateContract + (*core.AccountCreateContract)(nil), // 116: protocol.AccountCreateContract + (*core.WitnessCreateContract)(nil), // 117: protocol.WitnessCreateContract + (*core.TransferAssetContract)(nil), // 118: protocol.TransferAssetContract + (*core.ParticipateAssetIssueContract)(nil), // 119: protocol.ParticipateAssetIssueContract + (*core.FreezeBalanceContract)(nil), // 120: protocol.FreezeBalanceContract + (*core.FreezeBalanceV2Contract)(nil), // 121: protocol.FreezeBalanceV2Contract + (*core.UnfreezeBalanceContract)(nil), // 122: protocol.UnfreezeBalanceContract + (*core.UnfreezeBalanceV2Contract)(nil), // 123: protocol.UnfreezeBalanceV2Contract + (*core.UnfreezeAssetContract)(nil), // 124: protocol.UnfreezeAssetContract + (*core.WithdrawBalanceContract)(nil), // 125: protocol.WithdrawBalanceContract + (*core.WithdrawExpireUnfreezeContract)(nil), // 126: protocol.WithdrawExpireUnfreezeContract + (*core.DelegateResourceContract)(nil), // 127: protocol.DelegateResourceContract + (*core.UnDelegateResourceContract)(nil), // 128: protocol.UnDelegateResourceContract + (*core.UpdateAssetContract)(nil), // 129: protocol.UpdateAssetContract + (*core.ProposalCreateContract)(nil), // 130: protocol.ProposalCreateContract + (*core.ProposalApproveContract)(nil), // 131: protocol.ProposalApproveContract + (*core.ProposalDeleteContract)(nil), // 132: protocol.ProposalDeleteContract + (*core.BuyStorageContract)(nil), // 133: protocol.BuyStorageContract + (*core.BuyStorageBytesContract)(nil), // 134: protocol.BuyStorageBytesContract + (*core.SellStorageContract)(nil), // 135: protocol.SellStorageContract + (*core.ExchangeCreateContract)(nil), // 136: protocol.ExchangeCreateContract + (*core.ExchangeInjectContract)(nil), // 137: protocol.ExchangeInjectContract + (*core.ExchangeWithdrawContract)(nil), // 138: protocol.ExchangeWithdrawContract + (*core.ExchangeTransactionContract)(nil), // 139: protocol.ExchangeTransactionContract + (*core.MarketSellAssetContract)(nil), // 140: protocol.MarketSellAssetContract + (*core.MarketCancelOrderContract)(nil), // 141: protocol.MarketCancelOrderContract + (*core.MarketOrderPair)(nil), // 142: protocol.MarketOrderPair + (*core.CreateSmartContract)(nil), // 143: protocol.CreateSmartContract + (*core.TriggerSmartContract)(nil), // 144: protocol.TriggerSmartContract + (*core.ClearABIContract)(nil), // 145: protocol.ClearABIContract + (*core.TransactionSign)(nil), // 146: protocol.TransactionSign + (*core.AccountPermissionUpdateContract)(nil), // 147: protocol.AccountPermissionUpdateContract + (*core.UpdateBrokerageContract)(nil), // 148: protocol.UpdateBrokerageContract + (*core.OutputPointInfo)(nil), // 149: protocol.OutputPointInfo + (*core.AccountBalanceResponse)(nil), // 150: protocol.AccountBalanceResponse + (*core.BlockBalanceTrace)(nil), // 151: protocol.BlockBalanceTrace + (*core.MarketOrder)(nil), // 152: protocol.MarketOrder + (*core.MarketOrderList)(nil), // 153: protocol.MarketOrderList + (*core.MarketPriceList)(nil), // 154: protocol.MarketPriceList + (*core.MarketOrderPairList)(nil), // 155: protocol.MarketOrderPairList + (*core.SmartContract)(nil), // 156: protocol.SmartContract + (*core.SmartContractDataWrapper)(nil), // 157: protocol.SmartContractDataWrapper + (*core.DelegatedResourceAccountIndex)(nil), // 158: protocol.DelegatedResourceAccountIndex + (*core.ChainParameters)(nil), // 159: protocol.ChainParameters + (*core.NodeInfo)(nil), // 160: protocol.NodeInfo + (*core.IncrementalMerkleVoucherInfo)(nil), // 161: protocol.IncrementalMerkleVoucherInfo + (*core.DynamicProperties)(nil), // 162: protocol.DynamicProperties + (*core.MetricsInfo)(nil), // 163: protocol.MetricsInfo +} +var file_api_api_proto_depIdxs = []int32{ + 0, // 0: protocol.Return.code:type_name -> protocol.Return.response_code + 90, // 1: protocol.WitnessList.witnesses:type_name -> protocol.Witness + 91, // 2: protocol.ProposalList.proposals:type_name -> protocol.Proposal + 92, // 3: protocol.ExchangeList.exchanges:type_name -> protocol.Exchange + 93, // 4: protocol.AssetIssueList.assetIssue:type_name -> protocol.AssetIssueContract + 94, // 5: protocol.BlockList.block:type_name -> protocol.Block + 95, // 6: protocol.TransactionList.transaction:type_name -> protocol.Transaction + 96, // 7: protocol.DelegatedResourceList.delegatedResource:type_name -> protocol.DelegatedResource + 21, // 8: protocol.NodeList.nodes:type_name -> protocol.Node + 22, // 9: protocol.Node.address:type_name -> protocol.Address + 97, // 10: protocol.AccountPaginated.account:type_name -> protocol.Account + 26, // 11: protocol.TimePaginatedMessage.timeMessage:type_name -> protocol.TimeMessage + 81, // 12: protocol.AccountNetMessage.assetNetUsed:type_name -> protocol.AccountNetMessage.AssetNetUsedEntry + 82, // 13: protocol.AccountNetMessage.assetNetLimit:type_name -> protocol.AccountNetMessage.AssetNetLimitEntry + 83, // 14: protocol.AccountResourceMessage.assetNetUsed:type_name -> protocol.AccountResourceMessage.AssetNetUsedEntry + 84, // 15: protocol.AccountResourceMessage.assetNetLimit:type_name -> protocol.AccountResourceMessage.AssetNetLimitEntry + 95, // 16: protocol.EasyTransferResponse.transaction:type_name -> protocol.Transaction + 3, // 17: protocol.EasyTransferResponse.result:type_name -> protocol.Return + 95, // 18: protocol.TransactionExtention.transaction:type_name -> protocol.Transaction + 3, // 19: protocol.TransactionExtention.result:type_name -> protocol.Return + 98, // 20: protocol.TransactionExtention.logs:type_name -> protocol.TransactionInfo.Log + 99, // 21: protocol.TransactionExtention.internal_transactions:type_name -> protocol.InternalTransaction + 3, // 22: protocol.EstimateEnergyMessage.result:type_name -> protocol.Return + 41, // 23: protocol.BlockExtention.transactions:type_name -> protocol.TransactionExtention + 100, // 24: protocol.BlockExtention.block_header:type_name -> protocol.BlockHeader + 43, // 25: protocol.BlockListExtention.block:type_name -> protocol.BlockExtention + 41, // 26: protocol.TransactionListExtention.transaction:type_name -> protocol.TransactionExtention + 101, // 27: protocol.BlockIncrementalMerkleTree.merkleTree:type_name -> protocol.IncrementalMerkleTree + 102, // 28: protocol.TransactionSignWeight.permission:type_name -> protocol.Permission + 85, // 29: protocol.TransactionSignWeight.result:type_name -> protocol.TransactionSignWeight.Result + 41, // 30: protocol.TransactionSignWeight.transaction:type_name -> protocol.TransactionExtention + 86, // 31: protocol.TransactionApprovedList.result:type_name -> protocol.TransactionApprovedList.Result + 41, // 32: protocol.TransactionApprovedList.transaction:type_name -> protocol.TransactionExtention + 87, // 33: protocol.DecryptNotes.noteTxs:type_name -> protocol.DecryptNotes.NoteTx + 88, // 34: protocol.DecryptNotesMarked.noteTxs:type_name -> protocol.DecryptNotesMarked.NoteTx + 54, // 35: protocol.SpendNote.note:type_name -> protocol.Note + 103, // 36: protocol.SpendNote.voucher:type_name -> protocol.IncrementalMerkleVoucher + 54, // 37: protocol.ReceiveNote.note:type_name -> protocol.Note + 55, // 38: protocol.PrivateParameters.shielded_spends:type_name -> protocol.SpendNote + 56, // 39: protocol.PrivateParameters.shielded_receives:type_name -> protocol.ReceiveNote + 55, // 40: protocol.PrivateParametersWithoutAsk.shielded_spends:type_name -> protocol.SpendNote + 56, // 41: protocol.PrivateParametersWithoutAsk.shielded_receives:type_name -> protocol.ReceiveNote + 54, // 42: protocol.NfParameters.note:type_name -> protocol.Note + 103, // 43: protocol.NfParameters.voucher:type_name -> protocol.IncrementalMerkleVoucher + 63, // 44: protocol.IncomingViewingKeyDiversifierMessage.ivk:type_name -> protocol.IncomingViewingKeyMessage + 64, // 45: protocol.IncomingViewingKeyDiversifierMessage.d:type_name -> protocol.DiversifierMessage + 64, // 46: protocol.PaymentAddressMessage.d:type_name -> protocol.DiversifierMessage + 54, // 47: protocol.NoteParameters.note:type_name -> protocol.Note + 104, // 48: protocol.TransactionInfoList.transactionInfo:type_name -> protocol.TransactionInfo + 54, // 49: protocol.SpendNoteTRC20.note:type_name -> protocol.Note + 71, // 50: protocol.PrivateShieldedTRC20Parameters.shielded_spends:type_name -> protocol.SpendNoteTRC20 + 56, // 51: protocol.PrivateShieldedTRC20Parameters.shielded_receives:type_name -> protocol.ReceiveNote + 71, // 52: protocol.PrivateShieldedTRC20ParametersWithoutAsk.shielded_spends:type_name -> protocol.SpendNoteTRC20 + 56, // 53: protocol.PrivateShieldedTRC20ParametersWithoutAsk.shielded_receives:type_name -> protocol.ReceiveNote + 105, // 54: protocol.ShieldedTRC20Parameters.spend_description:type_name -> protocol.SpendDescription + 106, // 55: protocol.ShieldedTRC20Parameters.receive_description:type_name -> protocol.ReceiveDescription + 89, // 56: protocol.DecryptNotesTRC20.noteTxs:type_name -> protocol.DecryptNotesTRC20.NoteTx + 54, // 57: protocol.NfTRC20Parameters.note:type_name -> protocol.Note + 74, // 58: protocol.ShieldedTRC20TriggerContractParameters.shielded_TRC20_Parameters:type_name -> protocol.ShieldedTRC20Parameters + 25, // 59: protocol.ShieldedTRC20TriggerContractParameters.spend_authority_signature:type_name -> protocol.BytesMessage + 1, // 60: protocol.TransactionSignWeight.Result.code:type_name -> protocol.TransactionSignWeight.Result.response_code + 2, // 61: protocol.TransactionApprovedList.Result.code:type_name -> protocol.TransactionApprovedList.Result.response_code + 54, // 62: protocol.DecryptNotes.NoteTx.note:type_name -> protocol.Note + 54, // 63: protocol.DecryptNotesMarked.NoteTx.note:type_name -> protocol.Note + 54, // 64: protocol.DecryptNotesTRC20.NoteTx.note:type_name -> protocol.Note + 97, // 65: protocol.Wallet.GetAccount:input_type -> protocol.Account + 97, // 66: protocol.Wallet.GetAccountById:input_type -> protocol.Account + 107, // 67: protocol.Wallet.GetAccountBalance:input_type -> protocol.AccountBalanceRequest + 108, // 68: protocol.Wallet.GetBlockBalanceTrace:input_type -> protocol.BlockBalanceTrace.BlockIdentifier + 109, // 69: protocol.Wallet.CreateTransaction:input_type -> protocol.TransferContract + 109, // 70: protocol.Wallet.CreateTransaction2:input_type -> protocol.TransferContract + 95, // 71: protocol.Wallet.BroadcastTransaction:input_type -> protocol.Transaction + 110, // 72: protocol.Wallet.UpdateAccount:input_type -> protocol.AccountUpdateContract + 111, // 73: protocol.Wallet.SetAccountId:input_type -> protocol.SetAccountIdContract + 110, // 74: protocol.Wallet.UpdateAccount2:input_type -> protocol.AccountUpdateContract + 112, // 75: protocol.Wallet.VoteWitnessAccount:input_type -> protocol.VoteWitnessContract + 113, // 76: protocol.Wallet.UpdateSetting:input_type -> protocol.UpdateSettingContract + 114, // 77: protocol.Wallet.UpdateEnergyLimit:input_type -> protocol.UpdateEnergyLimitContract + 112, // 78: protocol.Wallet.VoteWitnessAccount2:input_type -> protocol.VoteWitnessContract + 93, // 79: protocol.Wallet.CreateAssetIssue:input_type -> protocol.AssetIssueContract + 93, // 80: protocol.Wallet.CreateAssetIssue2:input_type -> protocol.AssetIssueContract + 115, // 81: protocol.Wallet.UpdateWitness:input_type -> protocol.WitnessUpdateContract + 115, // 82: protocol.Wallet.UpdateWitness2:input_type -> protocol.WitnessUpdateContract + 116, // 83: protocol.Wallet.CreateAccount:input_type -> protocol.AccountCreateContract + 116, // 84: protocol.Wallet.CreateAccount2:input_type -> protocol.AccountCreateContract + 117, // 85: protocol.Wallet.CreateWitness:input_type -> protocol.WitnessCreateContract + 117, // 86: protocol.Wallet.CreateWitness2:input_type -> protocol.WitnessCreateContract + 118, // 87: protocol.Wallet.TransferAsset:input_type -> protocol.TransferAssetContract + 118, // 88: protocol.Wallet.TransferAsset2:input_type -> protocol.TransferAssetContract + 119, // 89: protocol.Wallet.ParticipateAssetIssue:input_type -> protocol.ParticipateAssetIssueContract + 119, // 90: protocol.Wallet.ParticipateAssetIssue2:input_type -> protocol.ParticipateAssetIssueContract + 120, // 91: protocol.Wallet.FreezeBalance:input_type -> protocol.FreezeBalanceContract + 120, // 92: protocol.Wallet.FreezeBalance2:input_type -> protocol.FreezeBalanceContract + 121, // 93: protocol.Wallet.FreezeBalanceV2:input_type -> protocol.FreezeBalanceV2Contract + 122, // 94: protocol.Wallet.UnfreezeBalance:input_type -> protocol.UnfreezeBalanceContract + 122, // 95: protocol.Wallet.UnfreezeBalance2:input_type -> protocol.UnfreezeBalanceContract + 123, // 96: protocol.Wallet.UnfreezeBalanceV2:input_type -> protocol.UnfreezeBalanceV2Contract + 124, // 97: protocol.Wallet.UnfreezeAsset:input_type -> protocol.UnfreezeAssetContract + 124, // 98: protocol.Wallet.UnfreezeAsset2:input_type -> protocol.UnfreezeAssetContract + 125, // 99: protocol.Wallet.WithdrawBalance:input_type -> protocol.WithdrawBalanceContract + 125, // 100: protocol.Wallet.WithdrawBalance2:input_type -> protocol.WithdrawBalanceContract + 126, // 101: protocol.Wallet.WithdrawExpireUnfreeze:input_type -> protocol.WithdrawExpireUnfreezeContract + 127, // 102: protocol.Wallet.DelegateResource:input_type -> protocol.DelegateResourceContract + 128, // 103: protocol.Wallet.UnDelegateResource:input_type -> protocol.UnDelegateResourceContract + 129, // 104: protocol.Wallet.UpdateAsset:input_type -> protocol.UpdateAssetContract + 129, // 105: protocol.Wallet.UpdateAsset2:input_type -> protocol.UpdateAssetContract + 130, // 106: protocol.Wallet.ProposalCreate:input_type -> protocol.ProposalCreateContract + 131, // 107: protocol.Wallet.ProposalApprove:input_type -> protocol.ProposalApproveContract + 132, // 108: protocol.Wallet.ProposalDelete:input_type -> protocol.ProposalDeleteContract + 133, // 109: protocol.Wallet.BuyStorage:input_type -> protocol.BuyStorageContract + 134, // 110: protocol.Wallet.BuyStorageBytes:input_type -> protocol.BuyStorageBytesContract + 135, // 111: protocol.Wallet.SellStorage:input_type -> protocol.SellStorageContract + 136, // 112: protocol.Wallet.ExchangeCreate:input_type -> protocol.ExchangeCreateContract + 137, // 113: protocol.Wallet.ExchangeInject:input_type -> protocol.ExchangeInjectContract + 138, // 114: protocol.Wallet.ExchangeWithdraw:input_type -> protocol.ExchangeWithdrawContract + 139, // 115: protocol.Wallet.ExchangeTransaction:input_type -> protocol.ExchangeTransactionContract + 140, // 116: protocol.Wallet.MarketSellAsset:input_type -> protocol.MarketSellAssetContract + 141, // 117: protocol.Wallet.MarketCancelOrder:input_type -> protocol.MarketCancelOrderContract + 25, // 118: protocol.Wallet.GetMarketOrderById:input_type -> protocol.BytesMessage + 25, // 119: protocol.Wallet.GetMarketOrderByAccount:input_type -> protocol.BytesMessage + 142, // 120: protocol.Wallet.GetMarketPriceByPair:input_type -> protocol.MarketOrderPair + 142, // 121: protocol.Wallet.GetMarketOrderListByPair:input_type -> protocol.MarketOrderPair + 23, // 122: protocol.Wallet.GetMarketPairList:input_type -> protocol.EmptyMessage + 23, // 123: protocol.Wallet.ListNodes:input_type -> protocol.EmptyMessage + 97, // 124: protocol.Wallet.GetAssetIssueByAccount:input_type -> protocol.Account + 97, // 125: protocol.Wallet.GetAccountNet:input_type -> protocol.Account + 97, // 126: protocol.Wallet.GetAccountResource:input_type -> protocol.Account + 25, // 127: protocol.Wallet.GetAssetIssueByName:input_type -> protocol.BytesMessage + 25, // 128: protocol.Wallet.GetAssetIssueListByName:input_type -> protocol.BytesMessage + 25, // 129: protocol.Wallet.GetAssetIssueById:input_type -> protocol.BytesMessage + 23, // 130: protocol.Wallet.GetNowBlock:input_type -> protocol.EmptyMessage + 23, // 131: protocol.Wallet.GetNowBlock2:input_type -> protocol.EmptyMessage + 24, // 132: protocol.Wallet.GetBlockByNum:input_type -> protocol.NumberMessage + 24, // 133: protocol.Wallet.GetBlockByNum2:input_type -> protocol.NumberMessage + 24, // 134: protocol.Wallet.GetTransactionCountByBlockNum:input_type -> protocol.NumberMessage + 25, // 135: protocol.Wallet.GetBlockById:input_type -> protocol.BytesMessage + 28, // 136: protocol.Wallet.GetBlockByLimitNext:input_type -> protocol.BlockLimit + 28, // 137: protocol.Wallet.GetBlockByLimitNext2:input_type -> protocol.BlockLimit + 24, // 138: protocol.Wallet.GetBlockByLatestNum:input_type -> protocol.NumberMessage + 24, // 139: protocol.Wallet.GetBlockByLatestNum2:input_type -> protocol.NumberMessage + 25, // 140: protocol.Wallet.GetTransactionById:input_type -> protocol.BytesMessage + 143, // 141: protocol.Wallet.DeployContract:input_type -> protocol.CreateSmartContract + 25, // 142: protocol.Wallet.GetContract:input_type -> protocol.BytesMessage + 25, // 143: protocol.Wallet.GetContractInfo:input_type -> protocol.BytesMessage + 144, // 144: protocol.Wallet.TriggerContract:input_type -> protocol.TriggerSmartContract + 144, // 145: protocol.Wallet.TriggerConstantContract:input_type -> protocol.TriggerSmartContract + 144, // 146: protocol.Wallet.EstimateEnergy:input_type -> protocol.TriggerSmartContract + 145, // 147: protocol.Wallet.ClearContractABI:input_type -> protocol.ClearABIContract + 23, // 148: protocol.Wallet.ListWitnesses:input_type -> protocol.EmptyMessage + 12, // 149: protocol.Wallet.GetDelegatedResource:input_type -> protocol.DelegatedResourceMessage + 12, // 150: protocol.Wallet.GetDelegatedResourceV2:input_type -> protocol.DelegatedResourceMessage + 25, // 151: protocol.Wallet.GetDelegatedResourceAccountIndex:input_type -> protocol.BytesMessage + 25, // 152: protocol.Wallet.GetDelegatedResourceAccountIndexV2:input_type -> protocol.BytesMessage + 16, // 153: protocol.Wallet.GetCanDelegatedMaxSize:input_type -> protocol.CanDelegatedMaxSizeRequestMessage + 14, // 154: protocol.Wallet.GetAvailableUnfreezeCount:input_type -> protocol.GetAvailableUnfreezeCountRequestMessage + 18, // 155: protocol.Wallet.GetCanWithdrawUnfreezeAmount:input_type -> protocol.CanWithdrawUnfreezeAmountRequestMessage + 23, // 156: protocol.Wallet.ListProposals:input_type -> protocol.EmptyMessage + 34, // 157: protocol.Wallet.GetPaginatedProposalList:input_type -> protocol.PaginatedMessage + 25, // 158: protocol.Wallet.GetProposalById:input_type -> protocol.BytesMessage + 23, // 159: protocol.Wallet.ListExchanges:input_type -> protocol.EmptyMessage + 34, // 160: protocol.Wallet.GetPaginatedExchangeList:input_type -> protocol.PaginatedMessage + 25, // 161: protocol.Wallet.GetExchangeById:input_type -> protocol.BytesMessage + 23, // 162: protocol.Wallet.GetChainParameters:input_type -> protocol.EmptyMessage + 23, // 163: protocol.Wallet.GetAssetIssueList:input_type -> protocol.EmptyMessage + 34, // 164: protocol.Wallet.GetPaginatedAssetIssueList:input_type -> protocol.PaginatedMessage + 23, // 165: protocol.Wallet.TotalTransaction:input_type -> protocol.EmptyMessage + 23, // 166: protocol.Wallet.GetNextMaintenanceTime:input_type -> protocol.EmptyMessage + 146, // 167: protocol.Wallet.GetTransactionSign:input_type -> protocol.TransactionSign + 146, // 168: protocol.Wallet.GetTransactionSign2:input_type -> protocol.TransactionSign + 25, // 169: protocol.Wallet.CreateAddress:input_type -> protocol.BytesMessage + 36, // 170: protocol.Wallet.EasyTransferAsset:input_type -> protocol.EasyTransferAssetMessage + 38, // 171: protocol.Wallet.EasyTransferAssetByPrivate:input_type -> protocol.EasyTransferAssetByPrivateMessage + 35, // 172: protocol.Wallet.EasyTransfer:input_type -> protocol.EasyTransferMessage + 37, // 173: protocol.Wallet.EasyTransferByPrivate:input_type -> protocol.EasyTransferByPrivateMessage + 23, // 174: protocol.Wallet.GenerateAddress:input_type -> protocol.EmptyMessage + 25, // 175: protocol.Wallet.GetTransactionInfoById:input_type -> protocol.BytesMessage + 147, // 176: protocol.Wallet.AccountPermissionUpdate:input_type -> protocol.AccountPermissionUpdateContract + 146, // 177: protocol.Wallet.AddSign:input_type -> protocol.TransactionSign + 95, // 178: protocol.Wallet.GetTransactionSignWeight:input_type -> protocol.Transaction + 95, // 179: protocol.Wallet.GetTransactionApprovedList:input_type -> protocol.Transaction + 23, // 180: protocol.Wallet.GetNodeInfo:input_type -> protocol.EmptyMessage + 25, // 181: protocol.Wallet.GetRewardInfo:input_type -> protocol.BytesMessage + 25, // 182: protocol.Wallet.GetBrokerageInfo:input_type -> protocol.BytesMessage + 148, // 183: protocol.Wallet.UpdateBrokerage:input_type -> protocol.UpdateBrokerageContract + 57, // 184: protocol.Wallet.CreateShieldedTransaction:input_type -> protocol.PrivateParameters + 149, // 185: protocol.Wallet.GetMerkleTreeVoucherInfo:input_type -> protocol.OutputPointInfo + 49, // 186: protocol.Wallet.ScanNoteByIvk:input_type -> protocol.IvkDecryptParameters + 50, // 187: protocol.Wallet.ScanAndMarkNoteByIvk:input_type -> protocol.IvkDecryptAndMarkParameters + 51, // 188: protocol.Wallet.ScanNoteByOvk:input_type -> protocol.OvkDecryptParameters + 23, // 189: protocol.Wallet.GetSpendingKey:input_type -> protocol.EmptyMessage + 25, // 190: protocol.Wallet.GetExpandedSpendingKey:input_type -> protocol.BytesMessage + 25, // 191: protocol.Wallet.GetAkFromAsk:input_type -> protocol.BytesMessage + 25, // 192: protocol.Wallet.GetNkFromNsk:input_type -> protocol.BytesMessage + 62, // 193: protocol.Wallet.GetIncomingViewingKey:input_type -> protocol.ViewingKeyMessage + 23, // 194: protocol.Wallet.GetDiversifier:input_type -> protocol.EmptyMessage + 23, // 195: protocol.Wallet.GetNewShieldedAddress:input_type -> protocol.EmptyMessage + 65, // 196: protocol.Wallet.GetZenPaymentAddress:input_type -> protocol.IncomingViewingKeyDiversifierMessage + 23, // 197: protocol.Wallet.GetRcm:input_type -> protocol.EmptyMessage + 68, // 198: protocol.Wallet.IsSpend:input_type -> protocol.NoteParameters + 58, // 199: protocol.Wallet.CreateShieldedTransactionWithoutSpendAuthSig:input_type -> protocol.PrivateParametersWithoutAsk + 95, // 200: protocol.Wallet.GetShieldTransactionHash:input_type -> protocol.Transaction + 59, // 201: protocol.Wallet.CreateSpendAuthSig:input_type -> protocol.SpendAuthSigParameters + 60, // 202: protocol.Wallet.CreateShieldNullifier:input_type -> protocol.NfParameters + 72, // 203: protocol.Wallet.CreateShieldedContractParameters:input_type -> protocol.PrivateShieldedTRC20Parameters + 73, // 204: protocol.Wallet.CreateShieldedContractParametersWithoutAsk:input_type -> protocol.PrivateShieldedTRC20ParametersWithoutAsk + 75, // 205: protocol.Wallet.ScanShieldedTRC20NotesByIvk:input_type -> protocol.IvkDecryptTRC20Parameters + 76, // 206: protocol.Wallet.ScanShieldedTRC20NotesByOvk:input_type -> protocol.OvkDecryptTRC20Parameters + 78, // 207: protocol.Wallet.IsShieldedTRC20ContractNoteSpent:input_type -> protocol.NfTRC20Parameters + 80, // 208: protocol.Wallet.GetTriggerInputForShieldedTRC20Contract:input_type -> protocol.ShieldedTRC20TriggerContractParameters + 95, // 209: protocol.Wallet.CreateCommonTransaction:input_type -> protocol.Transaction + 24, // 210: protocol.Wallet.GetTransactionInfoByBlockNum:input_type -> protocol.NumberMessage + 23, // 211: protocol.Wallet.GetBurnTrx:input_type -> protocol.EmptyMessage + 25, // 212: protocol.Wallet.GetTransactionFromPending:input_type -> protocol.BytesMessage + 23, // 213: protocol.Wallet.GetTransactionListFromPending:input_type -> protocol.EmptyMessage + 23, // 214: protocol.Wallet.GetPendingSize:input_type -> protocol.EmptyMessage + 27, // 215: protocol.Wallet.GetBlock:input_type -> protocol.BlockReq + 97, // 216: protocol.WalletSolidity.GetAccount:input_type -> protocol.Account + 97, // 217: protocol.WalletSolidity.GetAccountById:input_type -> protocol.Account + 23, // 218: protocol.WalletSolidity.ListWitnesses:input_type -> protocol.EmptyMessage + 23, // 219: protocol.WalletSolidity.GetAssetIssueList:input_type -> protocol.EmptyMessage + 34, // 220: protocol.WalletSolidity.GetPaginatedAssetIssueList:input_type -> protocol.PaginatedMessage + 25, // 221: protocol.WalletSolidity.GetAssetIssueByName:input_type -> protocol.BytesMessage + 25, // 222: protocol.WalletSolidity.GetAssetIssueListByName:input_type -> protocol.BytesMessage + 25, // 223: protocol.WalletSolidity.GetAssetIssueById:input_type -> protocol.BytesMessage + 23, // 224: protocol.WalletSolidity.GetNowBlock:input_type -> protocol.EmptyMessage + 23, // 225: protocol.WalletSolidity.GetNowBlock2:input_type -> protocol.EmptyMessage + 24, // 226: protocol.WalletSolidity.GetBlockByNum:input_type -> protocol.NumberMessage + 24, // 227: protocol.WalletSolidity.GetBlockByNum2:input_type -> protocol.NumberMessage + 24, // 228: protocol.WalletSolidity.GetTransactionCountByBlockNum:input_type -> protocol.NumberMessage + 12, // 229: protocol.WalletSolidity.GetDelegatedResource:input_type -> protocol.DelegatedResourceMessage + 12, // 230: protocol.WalletSolidity.GetDelegatedResourceV2:input_type -> protocol.DelegatedResourceMessage + 25, // 231: protocol.WalletSolidity.GetDelegatedResourceAccountIndex:input_type -> protocol.BytesMessage + 25, // 232: protocol.WalletSolidity.GetDelegatedResourceAccountIndexV2:input_type -> protocol.BytesMessage + 16, // 233: protocol.WalletSolidity.GetCanDelegatedMaxSize:input_type -> protocol.CanDelegatedMaxSizeRequestMessage + 14, // 234: protocol.WalletSolidity.GetAvailableUnfreezeCount:input_type -> protocol.GetAvailableUnfreezeCountRequestMessage + 18, // 235: protocol.WalletSolidity.GetCanWithdrawUnfreezeAmount:input_type -> protocol.CanWithdrawUnfreezeAmountRequestMessage + 25, // 236: protocol.WalletSolidity.GetExchangeById:input_type -> protocol.BytesMessage + 23, // 237: protocol.WalletSolidity.ListExchanges:input_type -> protocol.EmptyMessage + 25, // 238: protocol.WalletSolidity.GetTransactionById:input_type -> protocol.BytesMessage + 25, // 239: protocol.WalletSolidity.GetTransactionInfoById:input_type -> protocol.BytesMessage + 23, // 240: protocol.WalletSolidity.GenerateAddress:input_type -> protocol.EmptyMessage + 149, // 241: protocol.WalletSolidity.GetMerkleTreeVoucherInfo:input_type -> protocol.OutputPointInfo + 49, // 242: protocol.WalletSolidity.ScanNoteByIvk:input_type -> protocol.IvkDecryptParameters + 50, // 243: protocol.WalletSolidity.ScanAndMarkNoteByIvk:input_type -> protocol.IvkDecryptAndMarkParameters + 51, // 244: protocol.WalletSolidity.ScanNoteByOvk:input_type -> protocol.OvkDecryptParameters + 68, // 245: protocol.WalletSolidity.IsSpend:input_type -> protocol.NoteParameters + 75, // 246: protocol.WalletSolidity.ScanShieldedTRC20NotesByIvk:input_type -> protocol.IvkDecryptTRC20Parameters + 76, // 247: protocol.WalletSolidity.ScanShieldedTRC20NotesByOvk:input_type -> protocol.OvkDecryptTRC20Parameters + 78, // 248: protocol.WalletSolidity.IsShieldedTRC20ContractNoteSpent:input_type -> protocol.NfTRC20Parameters + 25, // 249: protocol.WalletSolidity.GetRewardInfo:input_type -> protocol.BytesMessage + 25, // 250: protocol.WalletSolidity.GetBrokerageInfo:input_type -> protocol.BytesMessage + 144, // 251: protocol.WalletSolidity.TriggerConstantContract:input_type -> protocol.TriggerSmartContract + 144, // 252: protocol.WalletSolidity.EstimateEnergy:input_type -> protocol.TriggerSmartContract + 24, // 253: protocol.WalletSolidity.GetTransactionInfoByBlockNum:input_type -> protocol.NumberMessage + 25, // 254: protocol.WalletSolidity.GetMarketOrderById:input_type -> protocol.BytesMessage + 25, // 255: protocol.WalletSolidity.GetMarketOrderByAccount:input_type -> protocol.BytesMessage + 142, // 256: protocol.WalletSolidity.GetMarketPriceByPair:input_type -> protocol.MarketOrderPair + 142, // 257: protocol.WalletSolidity.GetMarketOrderListByPair:input_type -> protocol.MarketOrderPair + 23, // 258: protocol.WalletSolidity.GetMarketPairList:input_type -> protocol.EmptyMessage + 23, // 259: protocol.WalletSolidity.GetBurnTrx:input_type -> protocol.EmptyMessage + 27, // 260: protocol.WalletSolidity.GetBlock:input_type -> protocol.BlockReq + 30, // 261: protocol.WalletExtension.GetTransactionsFromThis:input_type -> protocol.AccountPaginated + 30, // 262: protocol.WalletExtension.GetTransactionsFromThis2:input_type -> protocol.AccountPaginated + 30, // 263: protocol.WalletExtension.GetTransactionsToThis:input_type -> protocol.AccountPaginated + 30, // 264: protocol.WalletExtension.GetTransactionsToThis2:input_type -> protocol.AccountPaginated + 23, // 265: protocol.Database.getBlockReference:input_type -> protocol.EmptyMessage + 23, // 266: protocol.Database.GetDynamicProperties:input_type -> protocol.EmptyMessage + 23, // 267: protocol.Database.GetNowBlock:input_type -> protocol.EmptyMessage + 24, // 268: protocol.Database.GetBlockByNum:input_type -> protocol.NumberMessage + 23, // 269: protocol.Monitor.GetStatsInfo:input_type -> protocol.EmptyMessage + 97, // 270: protocol.Wallet.GetAccount:output_type -> protocol.Account + 97, // 271: protocol.Wallet.GetAccountById:output_type -> protocol.Account + 150, // 272: protocol.Wallet.GetAccountBalance:output_type -> protocol.AccountBalanceResponse + 151, // 273: protocol.Wallet.GetBlockBalanceTrace:output_type -> protocol.BlockBalanceTrace + 95, // 274: protocol.Wallet.CreateTransaction:output_type -> protocol.Transaction + 41, // 275: protocol.Wallet.CreateTransaction2:output_type -> protocol.TransactionExtention + 3, // 276: protocol.Wallet.BroadcastTransaction:output_type -> protocol.Return + 95, // 277: protocol.Wallet.UpdateAccount:output_type -> protocol.Transaction + 95, // 278: protocol.Wallet.SetAccountId:output_type -> protocol.Transaction + 41, // 279: protocol.Wallet.UpdateAccount2:output_type -> protocol.TransactionExtention + 95, // 280: protocol.Wallet.VoteWitnessAccount:output_type -> protocol.Transaction + 41, // 281: protocol.Wallet.UpdateSetting:output_type -> protocol.TransactionExtention + 41, // 282: protocol.Wallet.UpdateEnergyLimit:output_type -> protocol.TransactionExtention + 41, // 283: protocol.Wallet.VoteWitnessAccount2:output_type -> protocol.TransactionExtention + 95, // 284: protocol.Wallet.CreateAssetIssue:output_type -> protocol.Transaction + 41, // 285: protocol.Wallet.CreateAssetIssue2:output_type -> protocol.TransactionExtention + 95, // 286: protocol.Wallet.UpdateWitness:output_type -> protocol.Transaction + 41, // 287: protocol.Wallet.UpdateWitness2:output_type -> protocol.TransactionExtention + 95, // 288: protocol.Wallet.CreateAccount:output_type -> protocol.Transaction + 41, // 289: protocol.Wallet.CreateAccount2:output_type -> protocol.TransactionExtention + 95, // 290: protocol.Wallet.CreateWitness:output_type -> protocol.Transaction + 41, // 291: protocol.Wallet.CreateWitness2:output_type -> protocol.TransactionExtention + 95, // 292: protocol.Wallet.TransferAsset:output_type -> protocol.Transaction + 41, // 293: protocol.Wallet.TransferAsset2:output_type -> protocol.TransactionExtention + 95, // 294: protocol.Wallet.ParticipateAssetIssue:output_type -> protocol.Transaction + 41, // 295: protocol.Wallet.ParticipateAssetIssue2:output_type -> protocol.TransactionExtention + 95, // 296: protocol.Wallet.FreezeBalance:output_type -> protocol.Transaction + 41, // 297: protocol.Wallet.FreezeBalance2:output_type -> protocol.TransactionExtention + 41, // 298: protocol.Wallet.FreezeBalanceV2:output_type -> protocol.TransactionExtention + 95, // 299: protocol.Wallet.UnfreezeBalance:output_type -> protocol.Transaction + 41, // 300: protocol.Wallet.UnfreezeBalance2:output_type -> protocol.TransactionExtention + 41, // 301: protocol.Wallet.UnfreezeBalanceV2:output_type -> protocol.TransactionExtention + 95, // 302: protocol.Wallet.UnfreezeAsset:output_type -> protocol.Transaction + 41, // 303: protocol.Wallet.UnfreezeAsset2:output_type -> protocol.TransactionExtention + 95, // 304: protocol.Wallet.WithdrawBalance:output_type -> protocol.Transaction + 41, // 305: protocol.Wallet.WithdrawBalance2:output_type -> protocol.TransactionExtention + 41, // 306: protocol.Wallet.WithdrawExpireUnfreeze:output_type -> protocol.TransactionExtention + 41, // 307: protocol.Wallet.DelegateResource:output_type -> protocol.TransactionExtention + 41, // 308: protocol.Wallet.UnDelegateResource:output_type -> protocol.TransactionExtention + 95, // 309: protocol.Wallet.UpdateAsset:output_type -> protocol.Transaction + 41, // 310: protocol.Wallet.UpdateAsset2:output_type -> protocol.TransactionExtention + 41, // 311: protocol.Wallet.ProposalCreate:output_type -> protocol.TransactionExtention + 41, // 312: protocol.Wallet.ProposalApprove:output_type -> protocol.TransactionExtention + 41, // 313: protocol.Wallet.ProposalDelete:output_type -> protocol.TransactionExtention + 41, // 314: protocol.Wallet.BuyStorage:output_type -> protocol.TransactionExtention + 41, // 315: protocol.Wallet.BuyStorageBytes:output_type -> protocol.TransactionExtention + 41, // 316: protocol.Wallet.SellStorage:output_type -> protocol.TransactionExtention + 41, // 317: protocol.Wallet.ExchangeCreate:output_type -> protocol.TransactionExtention + 41, // 318: protocol.Wallet.ExchangeInject:output_type -> protocol.TransactionExtention + 41, // 319: protocol.Wallet.ExchangeWithdraw:output_type -> protocol.TransactionExtention + 41, // 320: protocol.Wallet.ExchangeTransaction:output_type -> protocol.TransactionExtention + 41, // 321: protocol.Wallet.MarketSellAsset:output_type -> protocol.TransactionExtention + 41, // 322: protocol.Wallet.MarketCancelOrder:output_type -> protocol.TransactionExtention + 152, // 323: protocol.Wallet.GetMarketOrderById:output_type -> protocol.MarketOrder + 153, // 324: protocol.Wallet.GetMarketOrderByAccount:output_type -> protocol.MarketOrderList + 154, // 325: protocol.Wallet.GetMarketPriceByPair:output_type -> protocol.MarketPriceList + 153, // 326: protocol.Wallet.GetMarketOrderListByPair:output_type -> protocol.MarketOrderList + 155, // 327: protocol.Wallet.GetMarketPairList:output_type -> protocol.MarketOrderPairList + 20, // 328: protocol.Wallet.ListNodes:output_type -> protocol.NodeList + 8, // 329: protocol.Wallet.GetAssetIssueByAccount:output_type -> protocol.AssetIssueList + 32, // 330: protocol.Wallet.GetAccountNet:output_type -> protocol.AccountNetMessage + 33, // 331: protocol.Wallet.GetAccountResource:output_type -> protocol.AccountResourceMessage + 93, // 332: protocol.Wallet.GetAssetIssueByName:output_type -> protocol.AssetIssueContract + 8, // 333: protocol.Wallet.GetAssetIssueListByName:output_type -> protocol.AssetIssueList + 93, // 334: protocol.Wallet.GetAssetIssueById:output_type -> protocol.AssetIssueContract + 94, // 335: protocol.Wallet.GetNowBlock:output_type -> protocol.Block + 43, // 336: protocol.Wallet.GetNowBlock2:output_type -> protocol.BlockExtention + 94, // 337: protocol.Wallet.GetBlockByNum:output_type -> protocol.Block + 43, // 338: protocol.Wallet.GetBlockByNum2:output_type -> protocol.BlockExtention + 24, // 339: protocol.Wallet.GetTransactionCountByBlockNum:output_type -> protocol.NumberMessage + 94, // 340: protocol.Wallet.GetBlockById:output_type -> protocol.Block + 9, // 341: protocol.Wallet.GetBlockByLimitNext:output_type -> protocol.BlockList + 44, // 342: protocol.Wallet.GetBlockByLimitNext2:output_type -> protocol.BlockListExtention + 9, // 343: protocol.Wallet.GetBlockByLatestNum:output_type -> protocol.BlockList + 44, // 344: protocol.Wallet.GetBlockByLatestNum2:output_type -> protocol.BlockListExtention + 95, // 345: protocol.Wallet.GetTransactionById:output_type -> protocol.Transaction + 41, // 346: protocol.Wallet.DeployContract:output_type -> protocol.TransactionExtention + 156, // 347: protocol.Wallet.GetContract:output_type -> protocol.SmartContract + 157, // 348: protocol.Wallet.GetContractInfo:output_type -> protocol.SmartContractDataWrapper + 41, // 349: protocol.Wallet.TriggerContract:output_type -> protocol.TransactionExtention + 41, // 350: protocol.Wallet.TriggerConstantContract:output_type -> protocol.TransactionExtention + 42, // 351: protocol.Wallet.EstimateEnergy:output_type -> protocol.EstimateEnergyMessage + 41, // 352: protocol.Wallet.ClearContractABI:output_type -> protocol.TransactionExtention + 5, // 353: protocol.Wallet.ListWitnesses:output_type -> protocol.WitnessList + 13, // 354: protocol.Wallet.GetDelegatedResource:output_type -> protocol.DelegatedResourceList + 13, // 355: protocol.Wallet.GetDelegatedResourceV2:output_type -> protocol.DelegatedResourceList + 158, // 356: protocol.Wallet.GetDelegatedResourceAccountIndex:output_type -> protocol.DelegatedResourceAccountIndex + 158, // 357: protocol.Wallet.GetDelegatedResourceAccountIndexV2:output_type -> protocol.DelegatedResourceAccountIndex + 17, // 358: protocol.Wallet.GetCanDelegatedMaxSize:output_type -> protocol.CanDelegatedMaxSizeResponseMessage + 15, // 359: protocol.Wallet.GetAvailableUnfreezeCount:output_type -> protocol.GetAvailableUnfreezeCountResponseMessage + 19, // 360: protocol.Wallet.GetCanWithdrawUnfreezeAmount:output_type -> protocol.CanWithdrawUnfreezeAmountResponseMessage + 6, // 361: protocol.Wallet.ListProposals:output_type -> protocol.ProposalList + 6, // 362: protocol.Wallet.GetPaginatedProposalList:output_type -> protocol.ProposalList + 91, // 363: protocol.Wallet.GetProposalById:output_type -> protocol.Proposal + 7, // 364: protocol.Wallet.ListExchanges:output_type -> protocol.ExchangeList + 7, // 365: protocol.Wallet.GetPaginatedExchangeList:output_type -> protocol.ExchangeList + 92, // 366: protocol.Wallet.GetExchangeById:output_type -> protocol.Exchange + 159, // 367: protocol.Wallet.GetChainParameters:output_type -> protocol.ChainParameters + 8, // 368: protocol.Wallet.GetAssetIssueList:output_type -> protocol.AssetIssueList + 8, // 369: protocol.Wallet.GetPaginatedAssetIssueList:output_type -> protocol.AssetIssueList + 24, // 370: protocol.Wallet.TotalTransaction:output_type -> protocol.NumberMessage + 24, // 371: protocol.Wallet.GetNextMaintenanceTime:output_type -> protocol.NumberMessage + 95, // 372: protocol.Wallet.GetTransactionSign:output_type -> protocol.Transaction + 41, // 373: protocol.Wallet.GetTransactionSign2:output_type -> protocol.TransactionExtention + 25, // 374: protocol.Wallet.CreateAddress:output_type -> protocol.BytesMessage + 39, // 375: protocol.Wallet.EasyTransferAsset:output_type -> protocol.EasyTransferResponse + 39, // 376: protocol.Wallet.EasyTransferAssetByPrivate:output_type -> protocol.EasyTransferResponse + 39, // 377: protocol.Wallet.EasyTransfer:output_type -> protocol.EasyTransferResponse + 39, // 378: protocol.Wallet.EasyTransferByPrivate:output_type -> protocol.EasyTransferResponse + 40, // 379: protocol.Wallet.GenerateAddress:output_type -> protocol.AddressPrKeyPairMessage + 104, // 380: protocol.Wallet.GetTransactionInfoById:output_type -> protocol.TransactionInfo + 41, // 381: protocol.Wallet.AccountPermissionUpdate:output_type -> protocol.TransactionExtention + 41, // 382: protocol.Wallet.AddSign:output_type -> protocol.TransactionExtention + 47, // 383: protocol.Wallet.GetTransactionSignWeight:output_type -> protocol.TransactionSignWeight + 48, // 384: protocol.Wallet.GetTransactionApprovedList:output_type -> protocol.TransactionApprovedList + 160, // 385: protocol.Wallet.GetNodeInfo:output_type -> protocol.NodeInfo + 24, // 386: protocol.Wallet.GetRewardInfo:output_type -> protocol.NumberMessage + 24, // 387: protocol.Wallet.GetBrokerageInfo:output_type -> protocol.NumberMessage + 41, // 388: protocol.Wallet.UpdateBrokerage:output_type -> protocol.TransactionExtention + 41, // 389: protocol.Wallet.CreateShieldedTransaction:output_type -> protocol.TransactionExtention + 161, // 390: protocol.Wallet.GetMerkleTreeVoucherInfo:output_type -> protocol.IncrementalMerkleVoucherInfo + 52, // 391: protocol.Wallet.ScanNoteByIvk:output_type -> protocol.DecryptNotes + 53, // 392: protocol.Wallet.ScanAndMarkNoteByIvk:output_type -> protocol.DecryptNotesMarked + 52, // 393: protocol.Wallet.ScanNoteByOvk:output_type -> protocol.DecryptNotes + 25, // 394: protocol.Wallet.GetSpendingKey:output_type -> protocol.BytesMessage + 61, // 395: protocol.Wallet.GetExpandedSpendingKey:output_type -> protocol.ExpandedSpendingKeyMessage + 25, // 396: protocol.Wallet.GetAkFromAsk:output_type -> protocol.BytesMessage + 25, // 397: protocol.Wallet.GetNkFromNsk:output_type -> protocol.BytesMessage + 63, // 398: protocol.Wallet.GetIncomingViewingKey:output_type -> protocol.IncomingViewingKeyMessage + 64, // 399: protocol.Wallet.GetDiversifier:output_type -> protocol.DiversifierMessage + 67, // 400: protocol.Wallet.GetNewShieldedAddress:output_type -> protocol.ShieldedAddressInfo + 66, // 401: protocol.Wallet.GetZenPaymentAddress:output_type -> protocol.PaymentAddressMessage + 25, // 402: protocol.Wallet.GetRcm:output_type -> protocol.BytesMessage + 69, // 403: protocol.Wallet.IsSpend:output_type -> protocol.SpendResult + 41, // 404: protocol.Wallet.CreateShieldedTransactionWithoutSpendAuthSig:output_type -> protocol.TransactionExtention + 25, // 405: protocol.Wallet.GetShieldTransactionHash:output_type -> protocol.BytesMessage + 25, // 406: protocol.Wallet.CreateSpendAuthSig:output_type -> protocol.BytesMessage + 25, // 407: protocol.Wallet.CreateShieldNullifier:output_type -> protocol.BytesMessage + 74, // 408: protocol.Wallet.CreateShieldedContractParameters:output_type -> protocol.ShieldedTRC20Parameters + 74, // 409: protocol.Wallet.CreateShieldedContractParametersWithoutAsk:output_type -> protocol.ShieldedTRC20Parameters + 77, // 410: protocol.Wallet.ScanShieldedTRC20NotesByIvk:output_type -> protocol.DecryptNotesTRC20 + 77, // 411: protocol.Wallet.ScanShieldedTRC20NotesByOvk:output_type -> protocol.DecryptNotesTRC20 + 79, // 412: protocol.Wallet.IsShieldedTRC20ContractNoteSpent:output_type -> protocol.NullifierResult + 25, // 413: protocol.Wallet.GetTriggerInputForShieldedTRC20Contract:output_type -> protocol.BytesMessage + 41, // 414: protocol.Wallet.CreateCommonTransaction:output_type -> protocol.TransactionExtention + 70, // 415: protocol.Wallet.GetTransactionInfoByBlockNum:output_type -> protocol.TransactionInfoList + 24, // 416: protocol.Wallet.GetBurnTrx:output_type -> protocol.NumberMessage + 95, // 417: protocol.Wallet.GetTransactionFromPending:output_type -> protocol.Transaction + 11, // 418: protocol.Wallet.GetTransactionListFromPending:output_type -> protocol.TransactionIdList + 24, // 419: protocol.Wallet.GetPendingSize:output_type -> protocol.NumberMessage + 43, // 420: protocol.Wallet.GetBlock:output_type -> protocol.BlockExtention + 97, // 421: protocol.WalletSolidity.GetAccount:output_type -> protocol.Account + 97, // 422: protocol.WalletSolidity.GetAccountById:output_type -> protocol.Account + 5, // 423: protocol.WalletSolidity.ListWitnesses:output_type -> protocol.WitnessList + 8, // 424: protocol.WalletSolidity.GetAssetIssueList:output_type -> protocol.AssetIssueList + 8, // 425: protocol.WalletSolidity.GetPaginatedAssetIssueList:output_type -> protocol.AssetIssueList + 93, // 426: protocol.WalletSolidity.GetAssetIssueByName:output_type -> protocol.AssetIssueContract + 8, // 427: protocol.WalletSolidity.GetAssetIssueListByName:output_type -> protocol.AssetIssueList + 93, // 428: protocol.WalletSolidity.GetAssetIssueById:output_type -> protocol.AssetIssueContract + 94, // 429: protocol.WalletSolidity.GetNowBlock:output_type -> protocol.Block + 43, // 430: protocol.WalletSolidity.GetNowBlock2:output_type -> protocol.BlockExtention + 94, // 431: protocol.WalletSolidity.GetBlockByNum:output_type -> protocol.Block + 43, // 432: protocol.WalletSolidity.GetBlockByNum2:output_type -> protocol.BlockExtention + 24, // 433: protocol.WalletSolidity.GetTransactionCountByBlockNum:output_type -> protocol.NumberMessage + 13, // 434: protocol.WalletSolidity.GetDelegatedResource:output_type -> protocol.DelegatedResourceList + 13, // 435: protocol.WalletSolidity.GetDelegatedResourceV2:output_type -> protocol.DelegatedResourceList + 158, // 436: protocol.WalletSolidity.GetDelegatedResourceAccountIndex:output_type -> protocol.DelegatedResourceAccountIndex + 158, // 437: protocol.WalletSolidity.GetDelegatedResourceAccountIndexV2:output_type -> protocol.DelegatedResourceAccountIndex + 17, // 438: protocol.WalletSolidity.GetCanDelegatedMaxSize:output_type -> protocol.CanDelegatedMaxSizeResponseMessage + 15, // 439: protocol.WalletSolidity.GetAvailableUnfreezeCount:output_type -> protocol.GetAvailableUnfreezeCountResponseMessage + 19, // 440: protocol.WalletSolidity.GetCanWithdrawUnfreezeAmount:output_type -> protocol.CanWithdrawUnfreezeAmountResponseMessage + 92, // 441: protocol.WalletSolidity.GetExchangeById:output_type -> protocol.Exchange + 7, // 442: protocol.WalletSolidity.ListExchanges:output_type -> protocol.ExchangeList + 95, // 443: protocol.WalletSolidity.GetTransactionById:output_type -> protocol.Transaction + 104, // 444: protocol.WalletSolidity.GetTransactionInfoById:output_type -> protocol.TransactionInfo + 40, // 445: protocol.WalletSolidity.GenerateAddress:output_type -> protocol.AddressPrKeyPairMessage + 161, // 446: protocol.WalletSolidity.GetMerkleTreeVoucherInfo:output_type -> protocol.IncrementalMerkleVoucherInfo + 52, // 447: protocol.WalletSolidity.ScanNoteByIvk:output_type -> protocol.DecryptNotes + 53, // 448: protocol.WalletSolidity.ScanAndMarkNoteByIvk:output_type -> protocol.DecryptNotesMarked + 52, // 449: protocol.WalletSolidity.ScanNoteByOvk:output_type -> protocol.DecryptNotes + 69, // 450: protocol.WalletSolidity.IsSpend:output_type -> protocol.SpendResult + 77, // 451: protocol.WalletSolidity.ScanShieldedTRC20NotesByIvk:output_type -> protocol.DecryptNotesTRC20 + 77, // 452: protocol.WalletSolidity.ScanShieldedTRC20NotesByOvk:output_type -> protocol.DecryptNotesTRC20 + 79, // 453: protocol.WalletSolidity.IsShieldedTRC20ContractNoteSpent:output_type -> protocol.NullifierResult + 24, // 454: protocol.WalletSolidity.GetRewardInfo:output_type -> protocol.NumberMessage + 24, // 455: protocol.WalletSolidity.GetBrokerageInfo:output_type -> protocol.NumberMessage + 41, // 456: protocol.WalletSolidity.TriggerConstantContract:output_type -> protocol.TransactionExtention + 42, // 457: protocol.WalletSolidity.EstimateEnergy:output_type -> protocol.EstimateEnergyMessage + 70, // 458: protocol.WalletSolidity.GetTransactionInfoByBlockNum:output_type -> protocol.TransactionInfoList + 152, // 459: protocol.WalletSolidity.GetMarketOrderById:output_type -> protocol.MarketOrder + 153, // 460: protocol.WalletSolidity.GetMarketOrderByAccount:output_type -> protocol.MarketOrderList + 154, // 461: protocol.WalletSolidity.GetMarketPriceByPair:output_type -> protocol.MarketPriceList + 153, // 462: protocol.WalletSolidity.GetMarketOrderListByPair:output_type -> protocol.MarketOrderList + 155, // 463: protocol.WalletSolidity.GetMarketPairList:output_type -> protocol.MarketOrderPairList + 24, // 464: protocol.WalletSolidity.GetBurnTrx:output_type -> protocol.NumberMessage + 43, // 465: protocol.WalletSolidity.GetBlock:output_type -> protocol.BlockExtention + 10, // 466: protocol.WalletExtension.GetTransactionsFromThis:output_type -> protocol.TransactionList + 45, // 467: protocol.WalletExtension.GetTransactionsFromThis2:output_type -> protocol.TransactionListExtention + 10, // 468: protocol.WalletExtension.GetTransactionsToThis:output_type -> protocol.TransactionList + 45, // 469: protocol.WalletExtension.GetTransactionsToThis2:output_type -> protocol.TransactionListExtention + 4, // 470: protocol.Database.getBlockReference:output_type -> protocol.BlockReference + 162, // 471: protocol.Database.GetDynamicProperties:output_type -> protocol.DynamicProperties + 94, // 472: protocol.Database.GetNowBlock:output_type -> protocol.Block + 94, // 473: protocol.Database.GetBlockByNum:output_type -> protocol.Block + 163, // 474: protocol.Monitor.GetStatsInfo:output_type -> protocol.MetricsInfo + 270, // [270:475] is the sub-list for method output_type + 65, // [65:270] is the sub-list for method input_type + 65, // [65:65] is the sub-list for extension type_name + 65, // [65:65] is the sub-list for extension extendee + 0, // [0:65] is the sub-list for field type_name } -func _Database_GetBlockByNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NumberMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DatabaseServer).GetBlockByNum(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Database/GetBlockByNum", +func init() { file_api_api_proto_init() } +func file_api_api_proto_init() { + if File_api_api_proto != nil { + return } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DatabaseServer).GetBlockByNum(ctx, req.(*NumberMessage)) + if !protoimpl.UnsafeEnabled { + file_api_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Return); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockReference); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WitnessList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposalList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExchangeList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AssetIssueList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransactionList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransactionIdList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DelegatedResourceMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DelegatedResourceList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAvailableUnfreezeCountRequestMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAvailableUnfreezeCountResponseMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CanDelegatedMaxSizeRequestMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CanDelegatedMaxSizeResponseMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CanWithdrawUnfreezeAmountRequestMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CanWithdrawUnfreezeAmountResponseMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[18].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 + } + } + file_api_api_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Address); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EmptyMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NumberMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BytesMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TimeMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockLimit); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransactionLimit); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccountPaginated); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TimePaginatedMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccountNetMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccountResourceMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PaginatedMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EasyTransferMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EasyTransferAssetMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EasyTransferByPrivateMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EasyTransferAssetByPrivateMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EasyTransferResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddressPrKeyPairMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransactionExtention); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EstimateEnergyMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockExtention); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockListExtention); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransactionListExtention); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockIncrementalMerkleTree); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransactionSignWeight); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransactionApprovedList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IvkDecryptParameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IvkDecryptAndMarkParameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OvkDecryptParameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DecryptNotes); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DecryptNotesMarked); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Note); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SpendNote); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReceiveNote); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PrivateParameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PrivateParametersWithoutAsk); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SpendAuthSigParameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NfParameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExpandedSpendingKeyMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ViewingKeyMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IncomingViewingKeyMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiversifierMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IncomingViewingKeyDiversifierMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PaymentAddressMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShieldedAddressInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NoteParameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SpendResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransactionInfoList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SpendNoteTRC20); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PrivateShieldedTRC20Parameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PrivateShieldedTRC20ParametersWithoutAsk); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShieldedTRC20Parameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IvkDecryptTRC20Parameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OvkDecryptTRC20Parameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DecryptNotesTRC20); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NfTRC20Parameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NullifierResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShieldedTRC20TriggerContractParameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransactionSignWeight_Result); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransactionApprovedList_Result); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DecryptNotes_NoteTx); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DecryptNotesMarked_NoteTx); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DecryptNotesTRC20_NoteTx); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } - return interceptor(ctx, in, info, handler) -} - -var _Database_serviceDesc = grpc.ServiceDesc{ - ServiceName: "protocol.Database", - HandlerType: (*DatabaseServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "getBlockReference", - Handler: _Database_GetBlockReference_Handler, - }, - { - MethodName: "GetDynamicProperties", - Handler: _Database_GetDynamicProperties_Handler, - }, - { - MethodName: "GetNowBlock", - Handler: _Database_GetNowBlock_Handler, - }, - { - MethodName: "GetBlockByNum", - Handler: _Database_GetBlockByNum_Handler, + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_api_api_proto_rawDesc, + NumEnums: 3, + NumMessages: 87, + NumExtensions: 0, + NumServices: 6, }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "api/api.proto", -} - -// NetworkClient is the client API for Network service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type NetworkClient interface { -} - -type networkClient struct { - cc grpc.ClientConnInterface -} - -func NewNetworkClient(cc grpc.ClientConnInterface) NetworkClient { - return &networkClient{cc} -} - -// NetworkServer is the server API for Network service. -type NetworkServer interface { -} - -// UnimplementedNetworkServer can be embedded to have forward compatible implementations. -type UnimplementedNetworkServer struct { -} - -func RegisterNetworkServer(s *grpc.Server, srv NetworkServer) { - s.RegisterService(&_Network_serviceDesc, srv) -} - -var _Network_serviceDesc = grpc.ServiceDesc{ - ServiceName: "protocol.Network", - HandlerType: (*NetworkServer)(nil), - Methods: []grpc.MethodDesc{}, - Streams: []grpc.StreamDesc{}, - Metadata: "api/api.proto", + GoTypes: file_api_api_proto_goTypes, + DependencyIndexes: file_api_api_proto_depIdxs, + EnumInfos: file_api_api_proto_enumTypes, + MessageInfos: file_api_api_proto_msgTypes, + }.Build() + File_api_api_proto = out.File + file_api_api_proto_rawDesc = nil + file_api_api_proto_goTypes = nil + file_api_api_proto_depIdxs = nil } diff --git a/pkg/proto/api/api_grpc.pb.go b/pkg/proto/api/api_grpc.pb.go new file mode 100644 index 000000000..fd806985c --- /dev/null +++ b/pkg/proto/api/api_grpc.pb.go @@ -0,0 +1,7823 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.2.0 +// - protoc v3.21.12 +// source: api/api.proto + +package api + +import ( + context "context" + core "github.com/fbsobreira/gotron-sdk/pkg/proto/core" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// WalletClient is the client API for Wallet service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type WalletClient interface { + GetAccount(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error) + GetAccountById(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error) + GetAccountBalance(ctx context.Context, in *core.AccountBalanceRequest, opts ...grpc.CallOption) (*core.AccountBalanceResponse, error) + GetBlockBalanceTrace(ctx context.Context, in *core.BlockBalanceTrace_BlockIdentifier, opts ...grpc.CallOption) (*core.BlockBalanceTrace, error) + // Please use CreateTransaction2 instead of this function. + CreateTransaction(ctx context.Context, in *core.TransferContract, opts ...grpc.CallOption) (*core.Transaction, error) + // Use this function instead of CreateTransaction. + CreateTransaction2(ctx context.Context, in *core.TransferContract, opts ...grpc.CallOption) (*TransactionExtention, error) + BroadcastTransaction(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*Return, error) + // Please use UpdateAccount2 instead of this function. + UpdateAccount(ctx context.Context, in *core.AccountUpdateContract, opts ...grpc.CallOption) (*core.Transaction, error) + SetAccountId(ctx context.Context, in *core.SetAccountIdContract, opts ...grpc.CallOption) (*core.Transaction, error) + // Use this function instead of UpdateAccount. + UpdateAccount2(ctx context.Context, in *core.AccountUpdateContract, opts ...grpc.CallOption) (*TransactionExtention, error) + // Please use VoteWitnessAccount2 instead of this function. + VoteWitnessAccount(ctx context.Context, in *core.VoteWitnessContract, opts ...grpc.CallOption) (*core.Transaction, error) + // modify the consume_user_resource_percent + UpdateSetting(ctx context.Context, in *core.UpdateSettingContract, opts ...grpc.CallOption) (*TransactionExtention, error) + // modify the energy_limit + UpdateEnergyLimit(ctx context.Context, in *core.UpdateEnergyLimitContract, opts ...grpc.CallOption) (*TransactionExtention, error) + // Use this function instead of VoteWitnessAccount. + VoteWitnessAccount2(ctx context.Context, in *core.VoteWitnessContract, opts ...grpc.CallOption) (*TransactionExtention, error) + // Please use CreateAssetIssue2 instead of this function. + CreateAssetIssue(ctx context.Context, in *core.AssetIssueContract, opts ...grpc.CallOption) (*core.Transaction, error) + // Use this function instead of CreateAssetIssue. + CreateAssetIssue2(ctx context.Context, in *core.AssetIssueContract, opts ...grpc.CallOption) (*TransactionExtention, error) + // Please use UpdateWitness2 instead of this function. + UpdateWitness(ctx context.Context, in *core.WitnessUpdateContract, opts ...grpc.CallOption) (*core.Transaction, error) + // Use this function instead of UpdateWitness. + UpdateWitness2(ctx context.Context, in *core.WitnessUpdateContract, opts ...grpc.CallOption) (*TransactionExtention, error) + // Please use CreateAccount2 instead of this function. + CreateAccount(ctx context.Context, in *core.AccountCreateContract, opts ...grpc.CallOption) (*core.Transaction, error) + // Use this function instead of CreateAccount. + CreateAccount2(ctx context.Context, in *core.AccountCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error) + // Please use CreateWitness2 instead of this function. + CreateWitness(ctx context.Context, in *core.WitnessCreateContract, opts ...grpc.CallOption) (*core.Transaction, error) + // Use this function instead of CreateWitness. + CreateWitness2(ctx context.Context, in *core.WitnessCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error) + // Please use TransferAsset2 instead of this function. + TransferAsset(ctx context.Context, in *core.TransferAssetContract, opts ...grpc.CallOption) (*core.Transaction, error) + // Use this function instead of TransferAsset. + TransferAsset2(ctx context.Context, in *core.TransferAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error) + // Please use ParticipateAssetIssue2 instead of this function. + ParticipateAssetIssue(ctx context.Context, in *core.ParticipateAssetIssueContract, opts ...grpc.CallOption) (*core.Transaction, error) + // Use this function instead of ParticipateAssetIssue. + ParticipateAssetIssue2(ctx context.Context, in *core.ParticipateAssetIssueContract, opts ...grpc.CallOption) (*TransactionExtention, error) + // Please use FreezeBalance2 instead of this function. + FreezeBalance(ctx context.Context, in *core.FreezeBalanceContract, opts ...grpc.CallOption) (*core.Transaction, error) + // Use this function instead of FreezeBalance. + FreezeBalance2(ctx context.Context, in *core.FreezeBalanceContract, opts ...grpc.CallOption) (*TransactionExtention, error) + // Use this function when FreezeBalanceV2. + FreezeBalanceV2(ctx context.Context, in *core.FreezeBalanceV2Contract, opts ...grpc.CallOption) (*TransactionExtention, error) + // Please use UnfreezeBalance2 instead of this function. + UnfreezeBalance(ctx context.Context, in *core.UnfreezeBalanceContract, opts ...grpc.CallOption) (*core.Transaction, error) + // Use this function instead of UnfreezeBalance. + UnfreezeBalance2(ctx context.Context, in *core.UnfreezeBalanceContract, opts ...grpc.CallOption) (*TransactionExtention, error) + // Use this function when UnfreezeBalanceV2. + UnfreezeBalanceV2(ctx context.Context, in *core.UnfreezeBalanceV2Contract, opts ...grpc.CallOption) (*TransactionExtention, error) + // Please use UnfreezeAsset2 instead of this function. + UnfreezeAsset(ctx context.Context, in *core.UnfreezeAssetContract, opts ...grpc.CallOption) (*core.Transaction, error) + // Use this function instead of UnfreezeAsset. + UnfreezeAsset2(ctx context.Context, in *core.UnfreezeAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error) + // Please use WithdrawBalance2 instead of this function. + WithdrawBalance(ctx context.Context, in *core.WithdrawBalanceContract, opts ...grpc.CallOption) (*core.Transaction, error) + // Use this function instead of WithdrawBalance. + WithdrawBalance2(ctx context.Context, in *core.WithdrawBalanceContract, opts ...grpc.CallOption) (*TransactionExtention, error) + WithdrawExpireUnfreeze(ctx context.Context, in *core.WithdrawExpireUnfreezeContract, opts ...grpc.CallOption) (*TransactionExtention, error) + DelegateResource(ctx context.Context, in *core.DelegateResourceContract, opts ...grpc.CallOption) (*TransactionExtention, error) + UnDelegateResource(ctx context.Context, in *core.UnDelegateResourceContract, opts ...grpc.CallOption) (*TransactionExtention, error) + // Please use UpdateAsset2 instead of this function. + UpdateAsset(ctx context.Context, in *core.UpdateAssetContract, opts ...grpc.CallOption) (*core.Transaction, error) + // Use this function instead of UpdateAsset. + UpdateAsset2(ctx context.Context, in *core.UpdateAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error) + ProposalCreate(ctx context.Context, in *core.ProposalCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error) + ProposalApprove(ctx context.Context, in *core.ProposalApproveContract, opts ...grpc.CallOption) (*TransactionExtention, error) + ProposalDelete(ctx context.Context, in *core.ProposalDeleteContract, opts ...grpc.CallOption) (*TransactionExtention, error) + BuyStorage(ctx context.Context, in *core.BuyStorageContract, opts ...grpc.CallOption) (*TransactionExtention, error) + BuyStorageBytes(ctx context.Context, in *core.BuyStorageBytesContract, opts ...grpc.CallOption) (*TransactionExtention, error) + SellStorage(ctx context.Context, in *core.SellStorageContract, opts ...grpc.CallOption) (*TransactionExtention, error) + ExchangeCreate(ctx context.Context, in *core.ExchangeCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error) + ExchangeInject(ctx context.Context, in *core.ExchangeInjectContract, opts ...grpc.CallOption) (*TransactionExtention, error) + ExchangeWithdraw(ctx context.Context, in *core.ExchangeWithdrawContract, opts ...grpc.CallOption) (*TransactionExtention, error) + ExchangeTransaction(ctx context.Context, in *core.ExchangeTransactionContract, opts ...grpc.CallOption) (*TransactionExtention, error) + MarketSellAsset(ctx context.Context, in *core.MarketSellAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error) + MarketCancelOrder(ctx context.Context, in *core.MarketCancelOrderContract, opts ...grpc.CallOption) (*TransactionExtention, error) + GetMarketOrderById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.MarketOrder, error) + GetMarketOrderByAccount(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.MarketOrderList, error) + GetMarketPriceByPair(ctx context.Context, in *core.MarketOrderPair, opts ...grpc.CallOption) (*core.MarketPriceList, error) + GetMarketOrderListByPair(ctx context.Context, in *core.MarketOrderPair, opts ...grpc.CallOption) (*core.MarketOrderList, error) + GetMarketPairList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.MarketOrderPairList, error) + ListNodes(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NodeList, error) + GetAssetIssueByAccount(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*AssetIssueList, error) + GetAccountNet(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*AccountNetMessage, error) + GetAccountResource(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*AccountResourceMessage, error) + GetAssetIssueByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error) + GetAssetIssueListByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*AssetIssueList, error) + GetAssetIssueById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error) + // Please use GetNowBlock2 instead of this function. + GetNowBlock(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.Block, error) + // Use this function instead of GetNowBlock. + GetNowBlock2(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BlockExtention, error) + // Please use GetBlockByNum2 instead of this function. + GetBlockByNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*core.Block, error) + // Use this function instead of GetBlockByNum. + GetBlockByNum2(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockExtention, error) + GetTransactionCountByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*NumberMessage, error) + GetBlockById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Block, error) + // Please use GetBlockByLimitNext2 instead of this function. + GetBlockByLimitNext(ctx context.Context, in *BlockLimit, opts ...grpc.CallOption) (*BlockList, error) + // Use this function instead of GetBlockByLimitNext. + GetBlockByLimitNext2(ctx context.Context, in *BlockLimit, opts ...grpc.CallOption) (*BlockListExtention, error) + // Please use GetBlockByLatestNum2 instead of this function. + GetBlockByLatestNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockList, error) + // Use this function instead of GetBlockByLatestNum. + GetBlockByLatestNum2(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockListExtention, error) + GetTransactionById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Transaction, error) + DeployContract(ctx context.Context, in *core.CreateSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error) + GetContract(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.SmartContract, error) + GetContractInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.SmartContractDataWrapper, error) + TriggerContract(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error) + TriggerConstantContract(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error) + EstimateEnergy(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*EstimateEnergyMessage, error) + ClearContractABI(ctx context.Context, in *core.ClearABIContract, opts ...grpc.CallOption) (*TransactionExtention, error) + ListWitnesses(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*WitnessList, error) + GetDelegatedResource(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error) + GetDelegatedResourceV2(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error) + GetDelegatedResourceAccountIndex(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error) + GetDelegatedResourceAccountIndexV2(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error) + GetCanDelegatedMaxSize(ctx context.Context, in *CanDelegatedMaxSizeRequestMessage, opts ...grpc.CallOption) (*CanDelegatedMaxSizeResponseMessage, error) + GetAvailableUnfreezeCount(ctx context.Context, in *GetAvailableUnfreezeCountRequestMessage, opts ...grpc.CallOption) (*GetAvailableUnfreezeCountResponseMessage, error) + GetCanWithdrawUnfreezeAmount(ctx context.Context, in *CanWithdrawUnfreezeAmountRequestMessage, opts ...grpc.CallOption) (*CanWithdrawUnfreezeAmountResponseMessage, error) + ListProposals(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ProposalList, error) + GetPaginatedProposalList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*ProposalList, error) + GetProposalById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Proposal, error) + ListExchanges(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ExchangeList, error) + GetPaginatedExchangeList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*ExchangeList, error) + GetExchangeById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Exchange, error) + GetChainParameters(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.ChainParameters, error) + GetAssetIssueList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AssetIssueList, error) + GetPaginatedAssetIssueList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*AssetIssueList, error) + TotalTransaction(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) + GetNextMaintenanceTime(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) + // Warning: do not invoke this interface provided by others. + // Please use GetTransactionSign2 instead of this function. + GetTransactionSign(ctx context.Context, in *core.TransactionSign, opts ...grpc.CallOption) (*core.Transaction, error) + // Warning: do not invoke this interface provided by others. + // Use this function instead of GetTransactionSign. + GetTransactionSign2(ctx context.Context, in *core.TransactionSign, opts ...grpc.CallOption) (*TransactionExtention, error) + // Warning: do not invoke this interface provided by others. + CreateAddress(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*BytesMessage, error) + // Warning: do not invoke this interface provided by others. + EasyTransferAsset(ctx context.Context, in *EasyTransferAssetMessage, opts ...grpc.CallOption) (*EasyTransferResponse, error) + // Warning: do not invoke this interface provided by others. + EasyTransferAssetByPrivate(ctx context.Context, in *EasyTransferAssetByPrivateMessage, opts ...grpc.CallOption) (*EasyTransferResponse, error) + // Warning: do not invoke this interface provided by others. + EasyTransfer(ctx context.Context, in *EasyTransferMessage, opts ...grpc.CallOption) (*EasyTransferResponse, error) + // Warning: do not invoke this interface provided by others. + EasyTransferByPrivate(ctx context.Context, in *EasyTransferByPrivateMessage, opts ...grpc.CallOption) (*EasyTransferResponse, error) + // Warning: do not invoke this interface provided by others. + GenerateAddress(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AddressPrKeyPairMessage, error) + GetTransactionInfoById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.TransactionInfo, error) + AccountPermissionUpdate(ctx context.Context, in *core.AccountPermissionUpdateContract, opts ...grpc.CallOption) (*TransactionExtention, error) + AddSign(ctx context.Context, in *core.TransactionSign, opts ...grpc.CallOption) (*TransactionExtention, error) + GetTransactionSignWeight(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionSignWeight, error) + GetTransactionApprovedList(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionApprovedList, error) + GetNodeInfo(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.NodeInfo, error) + GetRewardInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error) + GetBrokerageInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error) + UpdateBrokerage(ctx context.Context, in *core.UpdateBrokerageContract, opts ...grpc.CallOption) (*TransactionExtention, error) + // for shiededTransaction + CreateShieldedTransaction(ctx context.Context, in *PrivateParameters, opts ...grpc.CallOption) (*TransactionExtention, error) + GetMerkleTreeVoucherInfo(ctx context.Context, in *core.OutputPointInfo, opts ...grpc.CallOption) (*core.IncrementalMerkleVoucherInfo, error) + ScanNoteByIvk(ctx context.Context, in *IvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) + ScanAndMarkNoteByIvk(ctx context.Context, in *IvkDecryptAndMarkParameters, opts ...grpc.CallOption) (*DecryptNotesMarked, error) + ScanNoteByOvk(ctx context.Context, in *OvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) + GetSpendingKey(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BytesMessage, error) + GetExpandedSpendingKey(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*ExpandedSpendingKeyMessage, error) + GetAkFromAsk(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*BytesMessage, error) + GetNkFromNsk(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*BytesMessage, error) + GetIncomingViewingKey(ctx context.Context, in *ViewingKeyMessage, opts ...grpc.CallOption) (*IncomingViewingKeyMessage, error) + GetDiversifier(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*DiversifierMessage, error) + GetNewShieldedAddress(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ShieldedAddressInfo, error) + GetZenPaymentAddress(ctx context.Context, in *IncomingViewingKeyDiversifierMessage, opts ...grpc.CallOption) (*PaymentAddressMessage, error) + GetRcm(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BytesMessage, error) + IsSpend(ctx context.Context, in *NoteParameters, opts ...grpc.CallOption) (*SpendResult, error) + CreateShieldedTransactionWithoutSpendAuthSig(ctx context.Context, in *PrivateParametersWithoutAsk, opts ...grpc.CallOption) (*TransactionExtention, error) + GetShieldTransactionHash(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*BytesMessage, error) + CreateSpendAuthSig(ctx context.Context, in *SpendAuthSigParameters, opts ...grpc.CallOption) (*BytesMessage, error) + CreateShieldNullifier(ctx context.Context, in *NfParameters, opts ...grpc.CallOption) (*BytesMessage, error) + // for shielded contract + CreateShieldedContractParameters(ctx context.Context, in *PrivateShieldedTRC20Parameters, opts ...grpc.CallOption) (*ShieldedTRC20Parameters, error) + CreateShieldedContractParametersWithoutAsk(ctx context.Context, in *PrivateShieldedTRC20ParametersWithoutAsk, opts ...grpc.CallOption) (*ShieldedTRC20Parameters, error) + ScanShieldedTRC20NotesByIvk(ctx context.Context, in *IvkDecryptTRC20Parameters, opts ...grpc.CallOption) (*DecryptNotesTRC20, error) + ScanShieldedTRC20NotesByOvk(ctx context.Context, in *OvkDecryptTRC20Parameters, opts ...grpc.CallOption) (*DecryptNotesTRC20, error) + IsShieldedTRC20ContractNoteSpent(ctx context.Context, in *NfTRC20Parameters, opts ...grpc.CallOption) (*NullifierResult, error) + GetTriggerInputForShieldedTRC20Contract(ctx context.Context, in *ShieldedTRC20TriggerContractParameters, opts ...grpc.CallOption) (*BytesMessage, error) + CreateCommonTransaction(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionExtention, error) + GetTransactionInfoByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*TransactionInfoList, error) + GetBurnTrx(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) + GetTransactionFromPending(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Transaction, error) + GetTransactionListFromPending(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*TransactionIdList, error) + GetPendingSize(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) + GetBlock(ctx context.Context, in *BlockReq, opts ...grpc.CallOption) (*BlockExtention, error) +} + +type walletClient struct { + cc grpc.ClientConnInterface +} + +func NewWalletClient(cc grpc.ClientConnInterface) WalletClient { + return &walletClient{cc} +} + +func (c *walletClient) GetAccount(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error) { + out := new(core.Account) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAccount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetAccountById(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error) { + out := new(core.Account) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAccountById", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetAccountBalance(ctx context.Context, in *core.AccountBalanceRequest, opts ...grpc.CallOption) (*core.AccountBalanceResponse, error) { + out := new(core.AccountBalanceResponse) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAccountBalance", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetBlockBalanceTrace(ctx context.Context, in *core.BlockBalanceTrace_BlockIdentifier, opts ...grpc.CallOption) (*core.BlockBalanceTrace, error) { + out := new(core.BlockBalanceTrace) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlockBalanceTrace", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) CreateTransaction(ctx context.Context, in *core.TransferContract, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateTransaction", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) CreateTransaction2(ctx context.Context, in *core.TransferContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateTransaction2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) BroadcastTransaction(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*Return, error) { + out := new(Return) + err := c.cc.Invoke(ctx, "/protocol.Wallet/BroadcastTransaction", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) UpdateAccount(ctx context.Context, in *core.AccountUpdateContract, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateAccount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) SetAccountId(ctx context.Context, in *core.SetAccountIdContract, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/SetAccountId", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) UpdateAccount2(ctx context.Context, in *core.AccountUpdateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateAccount2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) VoteWitnessAccount(ctx context.Context, in *core.VoteWitnessContract, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/VoteWitnessAccount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) UpdateSetting(ctx context.Context, in *core.UpdateSettingContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateSetting", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) UpdateEnergyLimit(ctx context.Context, in *core.UpdateEnergyLimitContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateEnergyLimit", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) VoteWitnessAccount2(ctx context.Context, in *core.VoteWitnessContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/VoteWitnessAccount2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) CreateAssetIssue(ctx context.Context, in *core.AssetIssueContract, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateAssetIssue", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) CreateAssetIssue2(ctx context.Context, in *core.AssetIssueContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateAssetIssue2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) UpdateWitness(ctx context.Context, in *core.WitnessUpdateContract, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateWitness", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) UpdateWitness2(ctx context.Context, in *core.WitnessUpdateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateWitness2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) CreateAccount(ctx context.Context, in *core.AccountCreateContract, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateAccount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) CreateAccount2(ctx context.Context, in *core.AccountCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateAccount2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) CreateWitness(ctx context.Context, in *core.WitnessCreateContract, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateWitness", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) CreateWitness2(ctx context.Context, in *core.WitnessCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateWitness2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) TransferAsset(ctx context.Context, in *core.TransferAssetContract, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/TransferAsset", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) TransferAsset2(ctx context.Context, in *core.TransferAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/TransferAsset2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ParticipateAssetIssue(ctx context.Context, in *core.ParticipateAssetIssueContract, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ParticipateAssetIssue", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ParticipateAssetIssue2(ctx context.Context, in *core.ParticipateAssetIssueContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ParticipateAssetIssue2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) FreezeBalance(ctx context.Context, in *core.FreezeBalanceContract, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/FreezeBalance", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) FreezeBalance2(ctx context.Context, in *core.FreezeBalanceContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/FreezeBalance2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) FreezeBalanceV2(ctx context.Context, in *core.FreezeBalanceV2Contract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/FreezeBalanceV2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) UnfreezeBalance(ctx context.Context, in *core.UnfreezeBalanceContract, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/UnfreezeBalance", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) UnfreezeBalance2(ctx context.Context, in *core.UnfreezeBalanceContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/UnfreezeBalance2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) UnfreezeBalanceV2(ctx context.Context, in *core.UnfreezeBalanceV2Contract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/UnfreezeBalanceV2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) UnfreezeAsset(ctx context.Context, in *core.UnfreezeAssetContract, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/UnfreezeAsset", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) UnfreezeAsset2(ctx context.Context, in *core.UnfreezeAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/UnfreezeAsset2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) WithdrawBalance(ctx context.Context, in *core.WithdrawBalanceContract, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/WithdrawBalance", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) WithdrawBalance2(ctx context.Context, in *core.WithdrawBalanceContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/WithdrawBalance2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) WithdrawExpireUnfreeze(ctx context.Context, in *core.WithdrawExpireUnfreezeContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/WithdrawExpireUnfreeze", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) DelegateResource(ctx context.Context, in *core.DelegateResourceContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/DelegateResource", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) UnDelegateResource(ctx context.Context, in *core.UnDelegateResourceContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/UnDelegateResource", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) UpdateAsset(ctx context.Context, in *core.UpdateAssetContract, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateAsset", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) UpdateAsset2(ctx context.Context, in *core.UpdateAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateAsset2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ProposalCreate(ctx context.Context, in *core.ProposalCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ProposalCreate", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ProposalApprove(ctx context.Context, in *core.ProposalApproveContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ProposalApprove", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ProposalDelete(ctx context.Context, in *core.ProposalDeleteContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ProposalDelete", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) BuyStorage(ctx context.Context, in *core.BuyStorageContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/BuyStorage", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) BuyStorageBytes(ctx context.Context, in *core.BuyStorageBytesContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/BuyStorageBytes", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) SellStorage(ctx context.Context, in *core.SellStorageContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/SellStorage", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ExchangeCreate(ctx context.Context, in *core.ExchangeCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ExchangeCreate", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ExchangeInject(ctx context.Context, in *core.ExchangeInjectContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ExchangeInject", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ExchangeWithdraw(ctx context.Context, in *core.ExchangeWithdrawContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ExchangeWithdraw", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ExchangeTransaction(ctx context.Context, in *core.ExchangeTransactionContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ExchangeTransaction", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) MarketSellAsset(ctx context.Context, in *core.MarketSellAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/MarketSellAsset", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) MarketCancelOrder(ctx context.Context, in *core.MarketCancelOrderContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/MarketCancelOrder", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetMarketOrderById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.MarketOrder, error) { + out := new(core.MarketOrder) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetMarketOrderById", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetMarketOrderByAccount(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.MarketOrderList, error) { + out := new(core.MarketOrderList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetMarketOrderByAccount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetMarketPriceByPair(ctx context.Context, in *core.MarketOrderPair, opts ...grpc.CallOption) (*core.MarketPriceList, error) { + out := new(core.MarketPriceList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetMarketPriceByPair", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetMarketOrderListByPair(ctx context.Context, in *core.MarketOrderPair, opts ...grpc.CallOption) (*core.MarketOrderList, error) { + out := new(core.MarketOrderList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetMarketOrderListByPair", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetMarketPairList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.MarketOrderPairList, error) { + out := new(core.MarketOrderPairList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetMarketPairList", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ListNodes(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NodeList, error) { + out := new(NodeList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ListNodes", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetAssetIssueByAccount(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*AssetIssueList, error) { + out := new(AssetIssueList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAssetIssueByAccount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetAccountNet(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*AccountNetMessage, error) { + out := new(AccountNetMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAccountNet", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetAccountResource(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*AccountResourceMessage, error) { + out := new(AccountResourceMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAccountResource", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetAssetIssueByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error) { + out := new(core.AssetIssueContract) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAssetIssueByName", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetAssetIssueListByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*AssetIssueList, error) { + out := new(AssetIssueList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAssetIssueListByName", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetAssetIssueById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error) { + out := new(core.AssetIssueContract) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAssetIssueById", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetNowBlock(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.Block, error) { + out := new(core.Block) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetNowBlock", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetNowBlock2(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BlockExtention, error) { + out := new(BlockExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetNowBlock2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetBlockByNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*core.Block, error) { + out := new(core.Block) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlockByNum", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetBlockByNum2(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockExtention, error) { + out := new(BlockExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlockByNum2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetTransactionCountByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + out := new(NumberMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionCountByBlockNum", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetBlockById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Block, error) { + out := new(core.Block) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlockById", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetBlockByLimitNext(ctx context.Context, in *BlockLimit, opts ...grpc.CallOption) (*BlockList, error) { + out := new(BlockList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlockByLimitNext", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetBlockByLimitNext2(ctx context.Context, in *BlockLimit, opts ...grpc.CallOption) (*BlockListExtention, error) { + out := new(BlockListExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlockByLimitNext2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetBlockByLatestNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockList, error) { + out := new(BlockList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlockByLatestNum", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetBlockByLatestNum2(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockListExtention, error) { + out := new(BlockListExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlockByLatestNum2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetTransactionById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionById", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) DeployContract(ctx context.Context, in *core.CreateSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/DeployContract", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetContract(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.SmartContract, error) { + out := new(core.SmartContract) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetContract", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetContractInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.SmartContractDataWrapper, error) { + out := new(core.SmartContractDataWrapper) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetContractInfo", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) TriggerContract(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/TriggerContract", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) TriggerConstantContract(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/TriggerConstantContract", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) EstimateEnergy(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*EstimateEnergyMessage, error) { + out := new(EstimateEnergyMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/EstimateEnergy", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ClearContractABI(ctx context.Context, in *core.ClearABIContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ClearContractABI", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ListWitnesses(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*WitnessList, error) { + out := new(WitnessList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ListWitnesses", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetDelegatedResource(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error) { + out := new(DelegatedResourceList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetDelegatedResource", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetDelegatedResourceV2(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error) { + out := new(DelegatedResourceList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetDelegatedResourceV2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetDelegatedResourceAccountIndex(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error) { + out := new(core.DelegatedResourceAccountIndex) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetDelegatedResourceAccountIndex", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetDelegatedResourceAccountIndexV2(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error) { + out := new(core.DelegatedResourceAccountIndex) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetDelegatedResourceAccountIndexV2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetCanDelegatedMaxSize(ctx context.Context, in *CanDelegatedMaxSizeRequestMessage, opts ...grpc.CallOption) (*CanDelegatedMaxSizeResponseMessage, error) { + out := new(CanDelegatedMaxSizeResponseMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetCanDelegatedMaxSize", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetAvailableUnfreezeCount(ctx context.Context, in *GetAvailableUnfreezeCountRequestMessage, opts ...grpc.CallOption) (*GetAvailableUnfreezeCountResponseMessage, error) { + out := new(GetAvailableUnfreezeCountResponseMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAvailableUnfreezeCount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetCanWithdrawUnfreezeAmount(ctx context.Context, in *CanWithdrawUnfreezeAmountRequestMessage, opts ...grpc.CallOption) (*CanWithdrawUnfreezeAmountResponseMessage, error) { + out := new(CanWithdrawUnfreezeAmountResponseMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetCanWithdrawUnfreezeAmount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ListProposals(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ProposalList, error) { + out := new(ProposalList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ListProposals", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetPaginatedProposalList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*ProposalList, error) { + out := new(ProposalList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetPaginatedProposalList", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetProposalById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Proposal, error) { + out := new(core.Proposal) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetProposalById", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ListExchanges(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ExchangeList, error) { + out := new(ExchangeList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ListExchanges", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetPaginatedExchangeList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*ExchangeList, error) { + out := new(ExchangeList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetPaginatedExchangeList", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetExchangeById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Exchange, error) { + out := new(core.Exchange) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetExchangeById", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetChainParameters(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.ChainParameters, error) { + out := new(core.ChainParameters) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetChainParameters", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetAssetIssueList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AssetIssueList, error) { + out := new(AssetIssueList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAssetIssueList", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetPaginatedAssetIssueList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*AssetIssueList, error) { + out := new(AssetIssueList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetPaginatedAssetIssueList", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) TotalTransaction(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + out := new(NumberMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/TotalTransaction", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetNextMaintenanceTime(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + out := new(NumberMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetNextMaintenanceTime", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetTransactionSign(ctx context.Context, in *core.TransactionSign, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionSign", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetTransactionSign2(ctx context.Context, in *core.TransactionSign, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionSign2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) CreateAddress(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*BytesMessage, error) { + out := new(BytesMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateAddress", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) EasyTransferAsset(ctx context.Context, in *EasyTransferAssetMessage, opts ...grpc.CallOption) (*EasyTransferResponse, error) { + out := new(EasyTransferResponse) + err := c.cc.Invoke(ctx, "/protocol.Wallet/EasyTransferAsset", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) EasyTransferAssetByPrivate(ctx context.Context, in *EasyTransferAssetByPrivateMessage, opts ...grpc.CallOption) (*EasyTransferResponse, error) { + out := new(EasyTransferResponse) + err := c.cc.Invoke(ctx, "/protocol.Wallet/EasyTransferAssetByPrivate", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) EasyTransfer(ctx context.Context, in *EasyTransferMessage, opts ...grpc.CallOption) (*EasyTransferResponse, error) { + out := new(EasyTransferResponse) + err := c.cc.Invoke(ctx, "/protocol.Wallet/EasyTransfer", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) EasyTransferByPrivate(ctx context.Context, in *EasyTransferByPrivateMessage, opts ...grpc.CallOption) (*EasyTransferResponse, error) { + out := new(EasyTransferResponse) + err := c.cc.Invoke(ctx, "/protocol.Wallet/EasyTransferByPrivate", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GenerateAddress(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AddressPrKeyPairMessage, error) { + out := new(AddressPrKeyPairMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GenerateAddress", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetTransactionInfoById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.TransactionInfo, error) { + out := new(core.TransactionInfo) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionInfoById", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) AccountPermissionUpdate(ctx context.Context, in *core.AccountPermissionUpdateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/AccountPermissionUpdate", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) AddSign(ctx context.Context, in *core.TransactionSign, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/AddSign", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetTransactionSignWeight(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionSignWeight, error) { + out := new(TransactionSignWeight) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionSignWeight", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetTransactionApprovedList(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionApprovedList, error) { + out := new(TransactionApprovedList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionApprovedList", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetNodeInfo(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.NodeInfo, error) { + out := new(core.NodeInfo) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetNodeInfo", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetRewardInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + out := new(NumberMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetRewardInfo", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetBrokerageInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + out := new(NumberMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBrokerageInfo", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) UpdateBrokerage(ctx context.Context, in *core.UpdateBrokerageContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateBrokerage", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) CreateShieldedTransaction(ctx context.Context, in *PrivateParameters, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateShieldedTransaction", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetMerkleTreeVoucherInfo(ctx context.Context, in *core.OutputPointInfo, opts ...grpc.CallOption) (*core.IncrementalMerkleVoucherInfo, error) { + out := new(core.IncrementalMerkleVoucherInfo) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetMerkleTreeVoucherInfo", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ScanNoteByIvk(ctx context.Context, in *IvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) { + out := new(DecryptNotes) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ScanNoteByIvk", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ScanAndMarkNoteByIvk(ctx context.Context, in *IvkDecryptAndMarkParameters, opts ...grpc.CallOption) (*DecryptNotesMarked, error) { + out := new(DecryptNotesMarked) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ScanAndMarkNoteByIvk", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ScanNoteByOvk(ctx context.Context, in *OvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) { + out := new(DecryptNotes) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ScanNoteByOvk", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetSpendingKey(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BytesMessage, error) { + out := new(BytesMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetSpendingKey", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetExpandedSpendingKey(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*ExpandedSpendingKeyMessage, error) { + out := new(ExpandedSpendingKeyMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetExpandedSpendingKey", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetAkFromAsk(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*BytesMessage, error) { + out := new(BytesMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAkFromAsk", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetNkFromNsk(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*BytesMessage, error) { + out := new(BytesMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetNkFromNsk", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetIncomingViewingKey(ctx context.Context, in *ViewingKeyMessage, opts ...grpc.CallOption) (*IncomingViewingKeyMessage, error) { + out := new(IncomingViewingKeyMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetIncomingViewingKey", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetDiversifier(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*DiversifierMessage, error) { + out := new(DiversifierMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetDiversifier", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetNewShieldedAddress(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ShieldedAddressInfo, error) { + out := new(ShieldedAddressInfo) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetNewShieldedAddress", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetZenPaymentAddress(ctx context.Context, in *IncomingViewingKeyDiversifierMessage, opts ...grpc.CallOption) (*PaymentAddressMessage, error) { + out := new(PaymentAddressMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetZenPaymentAddress", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetRcm(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BytesMessage, error) { + out := new(BytesMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetRcm", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) IsSpend(ctx context.Context, in *NoteParameters, opts ...grpc.CallOption) (*SpendResult, error) { + out := new(SpendResult) + err := c.cc.Invoke(ctx, "/protocol.Wallet/IsSpend", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) CreateShieldedTransactionWithoutSpendAuthSig(ctx context.Context, in *PrivateParametersWithoutAsk, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateShieldedTransactionWithoutSpendAuthSig", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetShieldTransactionHash(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*BytesMessage, error) { + out := new(BytesMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetShieldTransactionHash", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) CreateSpendAuthSig(ctx context.Context, in *SpendAuthSigParameters, opts ...grpc.CallOption) (*BytesMessage, error) { + out := new(BytesMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateSpendAuthSig", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) CreateShieldNullifier(ctx context.Context, in *NfParameters, opts ...grpc.CallOption) (*BytesMessage, error) { + out := new(BytesMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateShieldNullifier", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) CreateShieldedContractParameters(ctx context.Context, in *PrivateShieldedTRC20Parameters, opts ...grpc.CallOption) (*ShieldedTRC20Parameters, error) { + out := new(ShieldedTRC20Parameters) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateShieldedContractParameters", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) CreateShieldedContractParametersWithoutAsk(ctx context.Context, in *PrivateShieldedTRC20ParametersWithoutAsk, opts ...grpc.CallOption) (*ShieldedTRC20Parameters, error) { + out := new(ShieldedTRC20Parameters) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateShieldedContractParametersWithoutAsk", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ScanShieldedTRC20NotesByIvk(ctx context.Context, in *IvkDecryptTRC20Parameters, opts ...grpc.CallOption) (*DecryptNotesTRC20, error) { + out := new(DecryptNotesTRC20) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ScanShieldedTRC20NotesByIvk", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ScanShieldedTRC20NotesByOvk(ctx context.Context, in *OvkDecryptTRC20Parameters, opts ...grpc.CallOption) (*DecryptNotesTRC20, error) { + out := new(DecryptNotesTRC20) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ScanShieldedTRC20NotesByOvk", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) IsShieldedTRC20ContractNoteSpent(ctx context.Context, in *NfTRC20Parameters, opts ...grpc.CallOption) (*NullifierResult, error) { + out := new(NullifierResult) + err := c.cc.Invoke(ctx, "/protocol.Wallet/IsShieldedTRC20ContractNoteSpent", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetTriggerInputForShieldedTRC20Contract(ctx context.Context, in *ShieldedTRC20TriggerContractParameters, opts ...grpc.CallOption) (*BytesMessage, error) { + out := new(BytesMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTriggerInputForShieldedTRC20Contract", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) CreateCommonTransaction(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateCommonTransaction", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetTransactionInfoByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*TransactionInfoList, error) { + out := new(TransactionInfoList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionInfoByBlockNum", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetBurnTrx(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + out := new(NumberMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBurnTrx", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetTransactionFromPending(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionFromPending", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetTransactionListFromPending(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*TransactionIdList, error) { + out := new(TransactionIdList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionListFromPending", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetPendingSize(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + out := new(NumberMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetPendingSize", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetBlock(ctx context.Context, in *BlockReq, opts ...grpc.CallOption) (*BlockExtention, error) { + out := new(BlockExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlock", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// WalletServer is the server API for Wallet service. +// All implementations must embed UnimplementedWalletServer +// for forward compatibility +type WalletServer interface { + GetAccount(context.Context, *core.Account) (*core.Account, error) + GetAccountById(context.Context, *core.Account) (*core.Account, error) + GetAccountBalance(context.Context, *core.AccountBalanceRequest) (*core.AccountBalanceResponse, error) + GetBlockBalanceTrace(context.Context, *core.BlockBalanceTrace_BlockIdentifier) (*core.BlockBalanceTrace, error) + // Please use CreateTransaction2 instead of this function. + CreateTransaction(context.Context, *core.TransferContract) (*core.Transaction, error) + // Use this function instead of CreateTransaction. + CreateTransaction2(context.Context, *core.TransferContract) (*TransactionExtention, error) + BroadcastTransaction(context.Context, *core.Transaction) (*Return, error) + // Please use UpdateAccount2 instead of this function. + UpdateAccount(context.Context, *core.AccountUpdateContract) (*core.Transaction, error) + SetAccountId(context.Context, *core.SetAccountIdContract) (*core.Transaction, error) + // Use this function instead of UpdateAccount. + UpdateAccount2(context.Context, *core.AccountUpdateContract) (*TransactionExtention, error) + // Please use VoteWitnessAccount2 instead of this function. + VoteWitnessAccount(context.Context, *core.VoteWitnessContract) (*core.Transaction, error) + // modify the consume_user_resource_percent + UpdateSetting(context.Context, *core.UpdateSettingContract) (*TransactionExtention, error) + // modify the energy_limit + UpdateEnergyLimit(context.Context, *core.UpdateEnergyLimitContract) (*TransactionExtention, error) + // Use this function instead of VoteWitnessAccount. + VoteWitnessAccount2(context.Context, *core.VoteWitnessContract) (*TransactionExtention, error) + // Please use CreateAssetIssue2 instead of this function. + CreateAssetIssue(context.Context, *core.AssetIssueContract) (*core.Transaction, error) + // Use this function instead of CreateAssetIssue. + CreateAssetIssue2(context.Context, *core.AssetIssueContract) (*TransactionExtention, error) + // Please use UpdateWitness2 instead of this function. + UpdateWitness(context.Context, *core.WitnessUpdateContract) (*core.Transaction, error) + // Use this function instead of UpdateWitness. + UpdateWitness2(context.Context, *core.WitnessUpdateContract) (*TransactionExtention, error) + // Please use CreateAccount2 instead of this function. + CreateAccount(context.Context, *core.AccountCreateContract) (*core.Transaction, error) + // Use this function instead of CreateAccount. + CreateAccount2(context.Context, *core.AccountCreateContract) (*TransactionExtention, error) + // Please use CreateWitness2 instead of this function. + CreateWitness(context.Context, *core.WitnessCreateContract) (*core.Transaction, error) + // Use this function instead of CreateWitness. + CreateWitness2(context.Context, *core.WitnessCreateContract) (*TransactionExtention, error) + // Please use TransferAsset2 instead of this function. + TransferAsset(context.Context, *core.TransferAssetContract) (*core.Transaction, error) + // Use this function instead of TransferAsset. + TransferAsset2(context.Context, *core.TransferAssetContract) (*TransactionExtention, error) + // Please use ParticipateAssetIssue2 instead of this function. + ParticipateAssetIssue(context.Context, *core.ParticipateAssetIssueContract) (*core.Transaction, error) + // Use this function instead of ParticipateAssetIssue. + ParticipateAssetIssue2(context.Context, *core.ParticipateAssetIssueContract) (*TransactionExtention, error) + // Please use FreezeBalance2 instead of this function. + FreezeBalance(context.Context, *core.FreezeBalanceContract) (*core.Transaction, error) + // Use this function instead of FreezeBalance. + FreezeBalance2(context.Context, *core.FreezeBalanceContract) (*TransactionExtention, error) + // Use this function when FreezeBalanceV2. + FreezeBalanceV2(context.Context, *core.FreezeBalanceV2Contract) (*TransactionExtention, error) + // Please use UnfreezeBalance2 instead of this function. + UnfreezeBalance(context.Context, *core.UnfreezeBalanceContract) (*core.Transaction, error) + // Use this function instead of UnfreezeBalance. + UnfreezeBalance2(context.Context, *core.UnfreezeBalanceContract) (*TransactionExtention, error) + // Use this function when UnfreezeBalanceV2. + UnfreezeBalanceV2(context.Context, *core.UnfreezeBalanceV2Contract) (*TransactionExtention, error) + // Please use UnfreezeAsset2 instead of this function. + UnfreezeAsset(context.Context, *core.UnfreezeAssetContract) (*core.Transaction, error) + // Use this function instead of UnfreezeAsset. + UnfreezeAsset2(context.Context, *core.UnfreezeAssetContract) (*TransactionExtention, error) + // Please use WithdrawBalance2 instead of this function. + WithdrawBalance(context.Context, *core.WithdrawBalanceContract) (*core.Transaction, error) + // Use this function instead of WithdrawBalance. + WithdrawBalance2(context.Context, *core.WithdrawBalanceContract) (*TransactionExtention, error) + WithdrawExpireUnfreeze(context.Context, *core.WithdrawExpireUnfreezeContract) (*TransactionExtention, error) + DelegateResource(context.Context, *core.DelegateResourceContract) (*TransactionExtention, error) + UnDelegateResource(context.Context, *core.UnDelegateResourceContract) (*TransactionExtention, error) + // Please use UpdateAsset2 instead of this function. + UpdateAsset(context.Context, *core.UpdateAssetContract) (*core.Transaction, error) + // Use this function instead of UpdateAsset. + UpdateAsset2(context.Context, *core.UpdateAssetContract) (*TransactionExtention, error) + ProposalCreate(context.Context, *core.ProposalCreateContract) (*TransactionExtention, error) + ProposalApprove(context.Context, *core.ProposalApproveContract) (*TransactionExtention, error) + ProposalDelete(context.Context, *core.ProposalDeleteContract) (*TransactionExtention, error) + BuyStorage(context.Context, *core.BuyStorageContract) (*TransactionExtention, error) + BuyStorageBytes(context.Context, *core.BuyStorageBytesContract) (*TransactionExtention, error) + SellStorage(context.Context, *core.SellStorageContract) (*TransactionExtention, error) + ExchangeCreate(context.Context, *core.ExchangeCreateContract) (*TransactionExtention, error) + ExchangeInject(context.Context, *core.ExchangeInjectContract) (*TransactionExtention, error) + ExchangeWithdraw(context.Context, *core.ExchangeWithdrawContract) (*TransactionExtention, error) + ExchangeTransaction(context.Context, *core.ExchangeTransactionContract) (*TransactionExtention, error) + MarketSellAsset(context.Context, *core.MarketSellAssetContract) (*TransactionExtention, error) + MarketCancelOrder(context.Context, *core.MarketCancelOrderContract) (*TransactionExtention, error) + GetMarketOrderById(context.Context, *BytesMessage) (*core.MarketOrder, error) + GetMarketOrderByAccount(context.Context, *BytesMessage) (*core.MarketOrderList, error) + GetMarketPriceByPair(context.Context, *core.MarketOrderPair) (*core.MarketPriceList, error) + GetMarketOrderListByPair(context.Context, *core.MarketOrderPair) (*core.MarketOrderList, error) + GetMarketPairList(context.Context, *EmptyMessage) (*core.MarketOrderPairList, error) + ListNodes(context.Context, *EmptyMessage) (*NodeList, error) + GetAssetIssueByAccount(context.Context, *core.Account) (*AssetIssueList, error) + GetAccountNet(context.Context, *core.Account) (*AccountNetMessage, error) + GetAccountResource(context.Context, *core.Account) (*AccountResourceMessage, error) + GetAssetIssueByName(context.Context, *BytesMessage) (*core.AssetIssueContract, error) + GetAssetIssueListByName(context.Context, *BytesMessage) (*AssetIssueList, error) + GetAssetIssueById(context.Context, *BytesMessage) (*core.AssetIssueContract, error) + // Please use GetNowBlock2 instead of this function. + GetNowBlock(context.Context, *EmptyMessage) (*core.Block, error) + // Use this function instead of GetNowBlock. + GetNowBlock2(context.Context, *EmptyMessage) (*BlockExtention, error) + // Please use GetBlockByNum2 instead of this function. + GetBlockByNum(context.Context, *NumberMessage) (*core.Block, error) + // Use this function instead of GetBlockByNum. + GetBlockByNum2(context.Context, *NumberMessage) (*BlockExtention, error) + GetTransactionCountByBlockNum(context.Context, *NumberMessage) (*NumberMessage, error) + GetBlockById(context.Context, *BytesMessage) (*core.Block, error) + // Please use GetBlockByLimitNext2 instead of this function. + GetBlockByLimitNext(context.Context, *BlockLimit) (*BlockList, error) + // Use this function instead of GetBlockByLimitNext. + GetBlockByLimitNext2(context.Context, *BlockLimit) (*BlockListExtention, error) + // Please use GetBlockByLatestNum2 instead of this function. + GetBlockByLatestNum(context.Context, *NumberMessage) (*BlockList, error) + // Use this function instead of GetBlockByLatestNum. + GetBlockByLatestNum2(context.Context, *NumberMessage) (*BlockListExtention, error) + GetTransactionById(context.Context, *BytesMessage) (*core.Transaction, error) + DeployContract(context.Context, *core.CreateSmartContract) (*TransactionExtention, error) + GetContract(context.Context, *BytesMessage) (*core.SmartContract, error) + GetContractInfo(context.Context, *BytesMessage) (*core.SmartContractDataWrapper, error) + TriggerContract(context.Context, *core.TriggerSmartContract) (*TransactionExtention, error) + TriggerConstantContract(context.Context, *core.TriggerSmartContract) (*TransactionExtention, error) + EstimateEnergy(context.Context, *core.TriggerSmartContract) (*EstimateEnergyMessage, error) + ClearContractABI(context.Context, *core.ClearABIContract) (*TransactionExtention, error) + ListWitnesses(context.Context, *EmptyMessage) (*WitnessList, error) + GetDelegatedResource(context.Context, *DelegatedResourceMessage) (*DelegatedResourceList, error) + GetDelegatedResourceV2(context.Context, *DelegatedResourceMessage) (*DelegatedResourceList, error) + GetDelegatedResourceAccountIndex(context.Context, *BytesMessage) (*core.DelegatedResourceAccountIndex, error) + GetDelegatedResourceAccountIndexV2(context.Context, *BytesMessage) (*core.DelegatedResourceAccountIndex, error) + GetCanDelegatedMaxSize(context.Context, *CanDelegatedMaxSizeRequestMessage) (*CanDelegatedMaxSizeResponseMessage, error) + GetAvailableUnfreezeCount(context.Context, *GetAvailableUnfreezeCountRequestMessage) (*GetAvailableUnfreezeCountResponseMessage, error) + GetCanWithdrawUnfreezeAmount(context.Context, *CanWithdrawUnfreezeAmountRequestMessage) (*CanWithdrawUnfreezeAmountResponseMessage, error) + ListProposals(context.Context, *EmptyMessage) (*ProposalList, error) + GetPaginatedProposalList(context.Context, *PaginatedMessage) (*ProposalList, error) + GetProposalById(context.Context, *BytesMessage) (*core.Proposal, error) + ListExchanges(context.Context, *EmptyMessage) (*ExchangeList, error) + GetPaginatedExchangeList(context.Context, *PaginatedMessage) (*ExchangeList, error) + GetExchangeById(context.Context, *BytesMessage) (*core.Exchange, error) + GetChainParameters(context.Context, *EmptyMessage) (*core.ChainParameters, error) + GetAssetIssueList(context.Context, *EmptyMessage) (*AssetIssueList, error) + GetPaginatedAssetIssueList(context.Context, *PaginatedMessage) (*AssetIssueList, error) + TotalTransaction(context.Context, *EmptyMessage) (*NumberMessage, error) + GetNextMaintenanceTime(context.Context, *EmptyMessage) (*NumberMessage, error) + // Warning: do not invoke this interface provided by others. + // Please use GetTransactionSign2 instead of this function. + GetTransactionSign(context.Context, *core.TransactionSign) (*core.Transaction, error) + // Warning: do not invoke this interface provided by others. + // Use this function instead of GetTransactionSign. + GetTransactionSign2(context.Context, *core.TransactionSign) (*TransactionExtention, error) + // Warning: do not invoke this interface provided by others. + CreateAddress(context.Context, *BytesMessage) (*BytesMessage, error) + // Warning: do not invoke this interface provided by others. + EasyTransferAsset(context.Context, *EasyTransferAssetMessage) (*EasyTransferResponse, error) + // Warning: do not invoke this interface provided by others. + EasyTransferAssetByPrivate(context.Context, *EasyTransferAssetByPrivateMessage) (*EasyTransferResponse, error) + // Warning: do not invoke this interface provided by others. + EasyTransfer(context.Context, *EasyTransferMessage) (*EasyTransferResponse, error) + // Warning: do not invoke this interface provided by others. + EasyTransferByPrivate(context.Context, *EasyTransferByPrivateMessage) (*EasyTransferResponse, error) + // Warning: do not invoke this interface provided by others. + GenerateAddress(context.Context, *EmptyMessage) (*AddressPrKeyPairMessage, error) + GetTransactionInfoById(context.Context, *BytesMessage) (*core.TransactionInfo, error) + AccountPermissionUpdate(context.Context, *core.AccountPermissionUpdateContract) (*TransactionExtention, error) + AddSign(context.Context, *core.TransactionSign) (*TransactionExtention, error) + GetTransactionSignWeight(context.Context, *core.Transaction) (*TransactionSignWeight, error) + GetTransactionApprovedList(context.Context, *core.Transaction) (*TransactionApprovedList, error) + GetNodeInfo(context.Context, *EmptyMessage) (*core.NodeInfo, error) + GetRewardInfo(context.Context, *BytesMessage) (*NumberMessage, error) + GetBrokerageInfo(context.Context, *BytesMessage) (*NumberMessage, error) + UpdateBrokerage(context.Context, *core.UpdateBrokerageContract) (*TransactionExtention, error) + // for shiededTransaction + CreateShieldedTransaction(context.Context, *PrivateParameters) (*TransactionExtention, error) + GetMerkleTreeVoucherInfo(context.Context, *core.OutputPointInfo) (*core.IncrementalMerkleVoucherInfo, error) + ScanNoteByIvk(context.Context, *IvkDecryptParameters) (*DecryptNotes, error) + ScanAndMarkNoteByIvk(context.Context, *IvkDecryptAndMarkParameters) (*DecryptNotesMarked, error) + ScanNoteByOvk(context.Context, *OvkDecryptParameters) (*DecryptNotes, error) + GetSpendingKey(context.Context, *EmptyMessage) (*BytesMessage, error) + GetExpandedSpendingKey(context.Context, *BytesMessage) (*ExpandedSpendingKeyMessage, error) + GetAkFromAsk(context.Context, *BytesMessage) (*BytesMessage, error) + GetNkFromNsk(context.Context, *BytesMessage) (*BytesMessage, error) + GetIncomingViewingKey(context.Context, *ViewingKeyMessage) (*IncomingViewingKeyMessage, error) + GetDiversifier(context.Context, *EmptyMessage) (*DiversifierMessage, error) + GetNewShieldedAddress(context.Context, *EmptyMessage) (*ShieldedAddressInfo, error) + GetZenPaymentAddress(context.Context, *IncomingViewingKeyDiversifierMessage) (*PaymentAddressMessage, error) + GetRcm(context.Context, *EmptyMessage) (*BytesMessage, error) + IsSpend(context.Context, *NoteParameters) (*SpendResult, error) + CreateShieldedTransactionWithoutSpendAuthSig(context.Context, *PrivateParametersWithoutAsk) (*TransactionExtention, error) + GetShieldTransactionHash(context.Context, *core.Transaction) (*BytesMessage, error) + CreateSpendAuthSig(context.Context, *SpendAuthSigParameters) (*BytesMessage, error) + CreateShieldNullifier(context.Context, *NfParameters) (*BytesMessage, error) + // for shielded contract + CreateShieldedContractParameters(context.Context, *PrivateShieldedTRC20Parameters) (*ShieldedTRC20Parameters, error) + CreateShieldedContractParametersWithoutAsk(context.Context, *PrivateShieldedTRC20ParametersWithoutAsk) (*ShieldedTRC20Parameters, error) + ScanShieldedTRC20NotesByIvk(context.Context, *IvkDecryptTRC20Parameters) (*DecryptNotesTRC20, error) + ScanShieldedTRC20NotesByOvk(context.Context, *OvkDecryptTRC20Parameters) (*DecryptNotesTRC20, error) + IsShieldedTRC20ContractNoteSpent(context.Context, *NfTRC20Parameters) (*NullifierResult, error) + GetTriggerInputForShieldedTRC20Contract(context.Context, *ShieldedTRC20TriggerContractParameters) (*BytesMessage, error) + CreateCommonTransaction(context.Context, *core.Transaction) (*TransactionExtention, error) + GetTransactionInfoByBlockNum(context.Context, *NumberMessage) (*TransactionInfoList, error) + GetBurnTrx(context.Context, *EmptyMessage) (*NumberMessage, error) + GetTransactionFromPending(context.Context, *BytesMessage) (*core.Transaction, error) + GetTransactionListFromPending(context.Context, *EmptyMessage) (*TransactionIdList, error) + GetPendingSize(context.Context, *EmptyMessage) (*NumberMessage, error) + GetBlock(context.Context, *BlockReq) (*BlockExtention, error) + mustEmbedUnimplementedWalletServer() +} + +// UnimplementedWalletServer must be embedded to have forward compatible implementations. +type UnimplementedWalletServer struct { +} + +func (UnimplementedWalletServer) GetAccount(context.Context, *core.Account) (*core.Account, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAccount not implemented") +} +func (UnimplementedWalletServer) GetAccountById(context.Context, *core.Account) (*core.Account, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAccountById not implemented") +} +func (UnimplementedWalletServer) GetAccountBalance(context.Context, *core.AccountBalanceRequest) (*core.AccountBalanceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAccountBalance not implemented") +} +func (UnimplementedWalletServer) GetBlockBalanceTrace(context.Context, *core.BlockBalanceTrace_BlockIdentifier) (*core.BlockBalanceTrace, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBlockBalanceTrace not implemented") +} +func (UnimplementedWalletServer) CreateTransaction(context.Context, *core.TransferContract) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateTransaction not implemented") +} +func (UnimplementedWalletServer) CreateTransaction2(context.Context, *core.TransferContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateTransaction2 not implemented") +} +func (UnimplementedWalletServer) BroadcastTransaction(context.Context, *core.Transaction) (*Return, error) { + return nil, status.Errorf(codes.Unimplemented, "method BroadcastTransaction not implemented") +} +func (UnimplementedWalletServer) UpdateAccount(context.Context, *core.AccountUpdateContract) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateAccount not implemented") +} +func (UnimplementedWalletServer) SetAccountId(context.Context, *core.SetAccountIdContract) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetAccountId not implemented") +} +func (UnimplementedWalletServer) UpdateAccount2(context.Context, *core.AccountUpdateContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateAccount2 not implemented") +} +func (UnimplementedWalletServer) VoteWitnessAccount(context.Context, *core.VoteWitnessContract) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method VoteWitnessAccount not implemented") +} +func (UnimplementedWalletServer) UpdateSetting(context.Context, *core.UpdateSettingContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateSetting not implemented") +} +func (UnimplementedWalletServer) UpdateEnergyLimit(context.Context, *core.UpdateEnergyLimitContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateEnergyLimit not implemented") +} +func (UnimplementedWalletServer) VoteWitnessAccount2(context.Context, *core.VoteWitnessContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method VoteWitnessAccount2 not implemented") +} +func (UnimplementedWalletServer) CreateAssetIssue(context.Context, *core.AssetIssueContract) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateAssetIssue not implemented") +} +func (UnimplementedWalletServer) CreateAssetIssue2(context.Context, *core.AssetIssueContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateAssetIssue2 not implemented") +} +func (UnimplementedWalletServer) UpdateWitness(context.Context, *core.WitnessUpdateContract) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateWitness not implemented") +} +func (UnimplementedWalletServer) UpdateWitness2(context.Context, *core.WitnessUpdateContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateWitness2 not implemented") +} +func (UnimplementedWalletServer) CreateAccount(context.Context, *core.AccountCreateContract) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateAccount not implemented") +} +func (UnimplementedWalletServer) CreateAccount2(context.Context, *core.AccountCreateContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateAccount2 not implemented") +} +func (UnimplementedWalletServer) CreateWitness(context.Context, *core.WitnessCreateContract) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateWitness not implemented") +} +func (UnimplementedWalletServer) CreateWitness2(context.Context, *core.WitnessCreateContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateWitness2 not implemented") +} +func (UnimplementedWalletServer) TransferAsset(context.Context, *core.TransferAssetContract) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method TransferAsset not implemented") +} +func (UnimplementedWalletServer) TransferAsset2(context.Context, *core.TransferAssetContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method TransferAsset2 not implemented") +} +func (UnimplementedWalletServer) ParticipateAssetIssue(context.Context, *core.ParticipateAssetIssueContract) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method ParticipateAssetIssue not implemented") +} +func (UnimplementedWalletServer) ParticipateAssetIssue2(context.Context, *core.ParticipateAssetIssueContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method ParticipateAssetIssue2 not implemented") +} +func (UnimplementedWalletServer) FreezeBalance(context.Context, *core.FreezeBalanceContract) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method FreezeBalance not implemented") +} +func (UnimplementedWalletServer) FreezeBalance2(context.Context, *core.FreezeBalanceContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method FreezeBalance2 not implemented") +} +func (UnimplementedWalletServer) FreezeBalanceV2(context.Context, *core.FreezeBalanceV2Contract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method FreezeBalanceV2 not implemented") +} +func (UnimplementedWalletServer) UnfreezeBalance(context.Context, *core.UnfreezeBalanceContract) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method UnfreezeBalance not implemented") +} +func (UnimplementedWalletServer) UnfreezeBalance2(context.Context, *core.UnfreezeBalanceContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method UnfreezeBalance2 not implemented") +} +func (UnimplementedWalletServer) UnfreezeBalanceV2(context.Context, *core.UnfreezeBalanceV2Contract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method UnfreezeBalanceV2 not implemented") +} +func (UnimplementedWalletServer) UnfreezeAsset(context.Context, *core.UnfreezeAssetContract) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method UnfreezeAsset not implemented") +} +func (UnimplementedWalletServer) UnfreezeAsset2(context.Context, *core.UnfreezeAssetContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method UnfreezeAsset2 not implemented") +} +func (UnimplementedWalletServer) WithdrawBalance(context.Context, *core.WithdrawBalanceContract) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method WithdrawBalance not implemented") +} +func (UnimplementedWalletServer) WithdrawBalance2(context.Context, *core.WithdrawBalanceContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method WithdrawBalance2 not implemented") +} +func (UnimplementedWalletServer) WithdrawExpireUnfreeze(context.Context, *core.WithdrawExpireUnfreezeContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method WithdrawExpireUnfreeze not implemented") +} +func (UnimplementedWalletServer) DelegateResource(context.Context, *core.DelegateResourceContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method DelegateResource not implemented") +} +func (UnimplementedWalletServer) UnDelegateResource(context.Context, *core.UnDelegateResourceContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method UnDelegateResource not implemented") +} +func (UnimplementedWalletServer) UpdateAsset(context.Context, *core.UpdateAssetContract) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateAsset not implemented") +} +func (UnimplementedWalletServer) UpdateAsset2(context.Context, *core.UpdateAssetContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateAsset2 not implemented") +} +func (UnimplementedWalletServer) ProposalCreate(context.Context, *core.ProposalCreateContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProposalCreate not implemented") +} +func (UnimplementedWalletServer) ProposalApprove(context.Context, *core.ProposalApproveContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProposalApprove not implemented") +} +func (UnimplementedWalletServer) ProposalDelete(context.Context, *core.ProposalDeleteContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProposalDelete not implemented") +} +func (UnimplementedWalletServer) BuyStorage(context.Context, *core.BuyStorageContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method BuyStorage not implemented") +} +func (UnimplementedWalletServer) BuyStorageBytes(context.Context, *core.BuyStorageBytesContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method BuyStorageBytes not implemented") +} +func (UnimplementedWalletServer) SellStorage(context.Context, *core.SellStorageContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method SellStorage not implemented") +} +func (UnimplementedWalletServer) ExchangeCreate(context.Context, *core.ExchangeCreateContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method ExchangeCreate not implemented") +} +func (UnimplementedWalletServer) ExchangeInject(context.Context, *core.ExchangeInjectContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method ExchangeInject not implemented") +} +func (UnimplementedWalletServer) ExchangeWithdraw(context.Context, *core.ExchangeWithdrawContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method ExchangeWithdraw not implemented") +} +func (UnimplementedWalletServer) ExchangeTransaction(context.Context, *core.ExchangeTransactionContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method ExchangeTransaction not implemented") +} +func (UnimplementedWalletServer) MarketSellAsset(context.Context, *core.MarketSellAssetContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method MarketSellAsset not implemented") +} +func (UnimplementedWalletServer) MarketCancelOrder(context.Context, *core.MarketCancelOrderContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method MarketCancelOrder not implemented") +} +func (UnimplementedWalletServer) GetMarketOrderById(context.Context, *BytesMessage) (*core.MarketOrder, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMarketOrderById not implemented") +} +func (UnimplementedWalletServer) GetMarketOrderByAccount(context.Context, *BytesMessage) (*core.MarketOrderList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMarketOrderByAccount not implemented") +} +func (UnimplementedWalletServer) GetMarketPriceByPair(context.Context, *core.MarketOrderPair) (*core.MarketPriceList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMarketPriceByPair not implemented") +} +func (UnimplementedWalletServer) GetMarketOrderListByPair(context.Context, *core.MarketOrderPair) (*core.MarketOrderList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMarketOrderListByPair not implemented") +} +func (UnimplementedWalletServer) GetMarketPairList(context.Context, *EmptyMessage) (*core.MarketOrderPairList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMarketPairList not implemented") +} +func (UnimplementedWalletServer) ListNodes(context.Context, *EmptyMessage) (*NodeList, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListNodes not implemented") +} +func (UnimplementedWalletServer) GetAssetIssueByAccount(context.Context, *core.Account) (*AssetIssueList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAssetIssueByAccount not implemented") +} +func (UnimplementedWalletServer) GetAccountNet(context.Context, *core.Account) (*AccountNetMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAccountNet not implemented") +} +func (UnimplementedWalletServer) GetAccountResource(context.Context, *core.Account) (*AccountResourceMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAccountResource not implemented") +} +func (UnimplementedWalletServer) GetAssetIssueByName(context.Context, *BytesMessage) (*core.AssetIssueContract, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAssetIssueByName not implemented") +} +func (UnimplementedWalletServer) GetAssetIssueListByName(context.Context, *BytesMessage) (*AssetIssueList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAssetIssueListByName not implemented") +} +func (UnimplementedWalletServer) GetAssetIssueById(context.Context, *BytesMessage) (*core.AssetIssueContract, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAssetIssueById not implemented") +} +func (UnimplementedWalletServer) GetNowBlock(context.Context, *EmptyMessage) (*core.Block, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNowBlock not implemented") +} +func (UnimplementedWalletServer) GetNowBlock2(context.Context, *EmptyMessage) (*BlockExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNowBlock2 not implemented") +} +func (UnimplementedWalletServer) GetBlockByNum(context.Context, *NumberMessage) (*core.Block, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBlockByNum not implemented") +} +func (UnimplementedWalletServer) GetBlockByNum2(context.Context, *NumberMessage) (*BlockExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBlockByNum2 not implemented") +} +func (UnimplementedWalletServer) GetTransactionCountByBlockNum(context.Context, *NumberMessage) (*NumberMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionCountByBlockNum not implemented") +} +func (UnimplementedWalletServer) GetBlockById(context.Context, *BytesMessage) (*core.Block, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBlockById not implemented") +} +func (UnimplementedWalletServer) GetBlockByLimitNext(context.Context, *BlockLimit) (*BlockList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBlockByLimitNext not implemented") +} +func (UnimplementedWalletServer) GetBlockByLimitNext2(context.Context, *BlockLimit) (*BlockListExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBlockByLimitNext2 not implemented") +} +func (UnimplementedWalletServer) GetBlockByLatestNum(context.Context, *NumberMessage) (*BlockList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBlockByLatestNum not implemented") +} +func (UnimplementedWalletServer) GetBlockByLatestNum2(context.Context, *NumberMessage) (*BlockListExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBlockByLatestNum2 not implemented") +} +func (UnimplementedWalletServer) GetTransactionById(context.Context, *BytesMessage) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionById not implemented") +} +func (UnimplementedWalletServer) DeployContract(context.Context, *core.CreateSmartContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeployContract not implemented") +} +func (UnimplementedWalletServer) GetContract(context.Context, *BytesMessage) (*core.SmartContract, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetContract not implemented") +} +func (UnimplementedWalletServer) GetContractInfo(context.Context, *BytesMessage) (*core.SmartContractDataWrapper, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetContractInfo not implemented") +} +func (UnimplementedWalletServer) TriggerContract(context.Context, *core.TriggerSmartContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method TriggerContract not implemented") +} +func (UnimplementedWalletServer) TriggerConstantContract(context.Context, *core.TriggerSmartContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method TriggerConstantContract not implemented") +} +func (UnimplementedWalletServer) EstimateEnergy(context.Context, *core.TriggerSmartContract) (*EstimateEnergyMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method EstimateEnergy not implemented") +} +func (UnimplementedWalletServer) ClearContractABI(context.Context, *core.ClearABIContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method ClearContractABI not implemented") +} +func (UnimplementedWalletServer) ListWitnesses(context.Context, *EmptyMessage) (*WitnessList, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListWitnesses not implemented") +} +func (UnimplementedWalletServer) GetDelegatedResource(context.Context, *DelegatedResourceMessage) (*DelegatedResourceList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDelegatedResource not implemented") +} +func (UnimplementedWalletServer) GetDelegatedResourceV2(context.Context, *DelegatedResourceMessage) (*DelegatedResourceList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDelegatedResourceV2 not implemented") +} +func (UnimplementedWalletServer) GetDelegatedResourceAccountIndex(context.Context, *BytesMessage) (*core.DelegatedResourceAccountIndex, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDelegatedResourceAccountIndex not implemented") +} +func (UnimplementedWalletServer) GetDelegatedResourceAccountIndexV2(context.Context, *BytesMessage) (*core.DelegatedResourceAccountIndex, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDelegatedResourceAccountIndexV2 not implemented") +} +func (UnimplementedWalletServer) GetCanDelegatedMaxSize(context.Context, *CanDelegatedMaxSizeRequestMessage) (*CanDelegatedMaxSizeResponseMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetCanDelegatedMaxSize not implemented") +} +func (UnimplementedWalletServer) GetAvailableUnfreezeCount(context.Context, *GetAvailableUnfreezeCountRequestMessage) (*GetAvailableUnfreezeCountResponseMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAvailableUnfreezeCount not implemented") +} +func (UnimplementedWalletServer) GetCanWithdrawUnfreezeAmount(context.Context, *CanWithdrawUnfreezeAmountRequestMessage) (*CanWithdrawUnfreezeAmountResponseMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetCanWithdrawUnfreezeAmount not implemented") +} +func (UnimplementedWalletServer) ListProposals(context.Context, *EmptyMessage) (*ProposalList, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListProposals not implemented") +} +func (UnimplementedWalletServer) GetPaginatedProposalList(context.Context, *PaginatedMessage) (*ProposalList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetPaginatedProposalList not implemented") +} +func (UnimplementedWalletServer) GetProposalById(context.Context, *BytesMessage) (*core.Proposal, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetProposalById not implemented") +} +func (UnimplementedWalletServer) ListExchanges(context.Context, *EmptyMessage) (*ExchangeList, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListExchanges not implemented") +} +func (UnimplementedWalletServer) GetPaginatedExchangeList(context.Context, *PaginatedMessage) (*ExchangeList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetPaginatedExchangeList not implemented") +} +func (UnimplementedWalletServer) GetExchangeById(context.Context, *BytesMessage) (*core.Exchange, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetExchangeById not implemented") +} +func (UnimplementedWalletServer) GetChainParameters(context.Context, *EmptyMessage) (*core.ChainParameters, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetChainParameters not implemented") +} +func (UnimplementedWalletServer) GetAssetIssueList(context.Context, *EmptyMessage) (*AssetIssueList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAssetIssueList not implemented") +} +func (UnimplementedWalletServer) GetPaginatedAssetIssueList(context.Context, *PaginatedMessage) (*AssetIssueList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetPaginatedAssetIssueList not implemented") +} +func (UnimplementedWalletServer) TotalTransaction(context.Context, *EmptyMessage) (*NumberMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method TotalTransaction not implemented") +} +func (UnimplementedWalletServer) GetNextMaintenanceTime(context.Context, *EmptyMessage) (*NumberMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNextMaintenanceTime not implemented") +} +func (UnimplementedWalletServer) GetTransactionSign(context.Context, *core.TransactionSign) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionSign not implemented") +} +func (UnimplementedWalletServer) GetTransactionSign2(context.Context, *core.TransactionSign) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionSign2 not implemented") +} +func (UnimplementedWalletServer) CreateAddress(context.Context, *BytesMessage) (*BytesMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateAddress not implemented") +} +func (UnimplementedWalletServer) EasyTransferAsset(context.Context, *EasyTransferAssetMessage) (*EasyTransferResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method EasyTransferAsset not implemented") +} +func (UnimplementedWalletServer) EasyTransferAssetByPrivate(context.Context, *EasyTransferAssetByPrivateMessage) (*EasyTransferResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method EasyTransferAssetByPrivate not implemented") +} +func (UnimplementedWalletServer) EasyTransfer(context.Context, *EasyTransferMessage) (*EasyTransferResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method EasyTransfer not implemented") +} +func (UnimplementedWalletServer) EasyTransferByPrivate(context.Context, *EasyTransferByPrivateMessage) (*EasyTransferResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method EasyTransferByPrivate not implemented") +} +func (UnimplementedWalletServer) GenerateAddress(context.Context, *EmptyMessage) (*AddressPrKeyPairMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GenerateAddress not implemented") +} +func (UnimplementedWalletServer) GetTransactionInfoById(context.Context, *BytesMessage) (*core.TransactionInfo, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionInfoById not implemented") +} +func (UnimplementedWalletServer) AccountPermissionUpdate(context.Context, *core.AccountPermissionUpdateContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method AccountPermissionUpdate not implemented") +} +func (UnimplementedWalletServer) AddSign(context.Context, *core.TransactionSign) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddSign not implemented") +} +func (UnimplementedWalletServer) GetTransactionSignWeight(context.Context, *core.Transaction) (*TransactionSignWeight, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionSignWeight not implemented") +} +func (UnimplementedWalletServer) GetTransactionApprovedList(context.Context, *core.Transaction) (*TransactionApprovedList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionApprovedList not implemented") +} +func (UnimplementedWalletServer) GetNodeInfo(context.Context, *EmptyMessage) (*core.NodeInfo, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNodeInfo not implemented") +} +func (UnimplementedWalletServer) GetRewardInfo(context.Context, *BytesMessage) (*NumberMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetRewardInfo not implemented") +} +func (UnimplementedWalletServer) GetBrokerageInfo(context.Context, *BytesMessage) (*NumberMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBrokerageInfo not implemented") +} +func (UnimplementedWalletServer) UpdateBrokerage(context.Context, *core.UpdateBrokerageContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateBrokerage not implemented") +} +func (UnimplementedWalletServer) CreateShieldedTransaction(context.Context, *PrivateParameters) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateShieldedTransaction not implemented") +} +func (UnimplementedWalletServer) GetMerkleTreeVoucherInfo(context.Context, *core.OutputPointInfo) (*core.IncrementalMerkleVoucherInfo, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMerkleTreeVoucherInfo not implemented") +} +func (UnimplementedWalletServer) ScanNoteByIvk(context.Context, *IvkDecryptParameters) (*DecryptNotes, error) { + return nil, status.Errorf(codes.Unimplemented, "method ScanNoteByIvk not implemented") +} +func (UnimplementedWalletServer) ScanAndMarkNoteByIvk(context.Context, *IvkDecryptAndMarkParameters) (*DecryptNotesMarked, error) { + return nil, status.Errorf(codes.Unimplemented, "method ScanAndMarkNoteByIvk not implemented") +} +func (UnimplementedWalletServer) ScanNoteByOvk(context.Context, *OvkDecryptParameters) (*DecryptNotes, error) { + return nil, status.Errorf(codes.Unimplemented, "method ScanNoteByOvk not implemented") +} +func (UnimplementedWalletServer) GetSpendingKey(context.Context, *EmptyMessage) (*BytesMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetSpendingKey not implemented") +} +func (UnimplementedWalletServer) GetExpandedSpendingKey(context.Context, *BytesMessage) (*ExpandedSpendingKeyMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetExpandedSpendingKey not implemented") +} +func (UnimplementedWalletServer) GetAkFromAsk(context.Context, *BytesMessage) (*BytesMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAkFromAsk not implemented") +} +func (UnimplementedWalletServer) GetNkFromNsk(context.Context, *BytesMessage) (*BytesMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNkFromNsk not implemented") +} +func (UnimplementedWalletServer) GetIncomingViewingKey(context.Context, *ViewingKeyMessage) (*IncomingViewingKeyMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetIncomingViewingKey not implemented") +} +func (UnimplementedWalletServer) GetDiversifier(context.Context, *EmptyMessage) (*DiversifierMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDiversifier not implemented") +} +func (UnimplementedWalletServer) GetNewShieldedAddress(context.Context, *EmptyMessage) (*ShieldedAddressInfo, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNewShieldedAddress not implemented") +} +func (UnimplementedWalletServer) GetZenPaymentAddress(context.Context, *IncomingViewingKeyDiversifierMessage) (*PaymentAddressMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetZenPaymentAddress not implemented") +} +func (UnimplementedWalletServer) GetRcm(context.Context, *EmptyMessage) (*BytesMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetRcm not implemented") +} +func (UnimplementedWalletServer) IsSpend(context.Context, *NoteParameters) (*SpendResult, error) { + return nil, status.Errorf(codes.Unimplemented, "method IsSpend not implemented") +} +func (UnimplementedWalletServer) CreateShieldedTransactionWithoutSpendAuthSig(context.Context, *PrivateParametersWithoutAsk) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateShieldedTransactionWithoutSpendAuthSig not implemented") +} +func (UnimplementedWalletServer) GetShieldTransactionHash(context.Context, *core.Transaction) (*BytesMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetShieldTransactionHash not implemented") +} +func (UnimplementedWalletServer) CreateSpendAuthSig(context.Context, *SpendAuthSigParameters) (*BytesMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateSpendAuthSig not implemented") +} +func (UnimplementedWalletServer) CreateShieldNullifier(context.Context, *NfParameters) (*BytesMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateShieldNullifier not implemented") +} +func (UnimplementedWalletServer) CreateShieldedContractParameters(context.Context, *PrivateShieldedTRC20Parameters) (*ShieldedTRC20Parameters, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateShieldedContractParameters not implemented") +} +func (UnimplementedWalletServer) CreateShieldedContractParametersWithoutAsk(context.Context, *PrivateShieldedTRC20ParametersWithoutAsk) (*ShieldedTRC20Parameters, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateShieldedContractParametersWithoutAsk not implemented") +} +func (UnimplementedWalletServer) ScanShieldedTRC20NotesByIvk(context.Context, *IvkDecryptTRC20Parameters) (*DecryptNotesTRC20, error) { + return nil, status.Errorf(codes.Unimplemented, "method ScanShieldedTRC20NotesByIvk not implemented") +} +func (UnimplementedWalletServer) ScanShieldedTRC20NotesByOvk(context.Context, *OvkDecryptTRC20Parameters) (*DecryptNotesTRC20, error) { + return nil, status.Errorf(codes.Unimplemented, "method ScanShieldedTRC20NotesByOvk not implemented") +} +func (UnimplementedWalletServer) IsShieldedTRC20ContractNoteSpent(context.Context, *NfTRC20Parameters) (*NullifierResult, error) { + return nil, status.Errorf(codes.Unimplemented, "method IsShieldedTRC20ContractNoteSpent not implemented") +} +func (UnimplementedWalletServer) GetTriggerInputForShieldedTRC20Contract(context.Context, *ShieldedTRC20TriggerContractParameters) (*BytesMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTriggerInputForShieldedTRC20Contract not implemented") +} +func (UnimplementedWalletServer) CreateCommonTransaction(context.Context, *core.Transaction) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateCommonTransaction not implemented") +} +func (UnimplementedWalletServer) GetTransactionInfoByBlockNum(context.Context, *NumberMessage) (*TransactionInfoList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionInfoByBlockNum not implemented") +} +func (UnimplementedWalletServer) GetBurnTrx(context.Context, *EmptyMessage) (*NumberMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBurnTrx not implemented") +} +func (UnimplementedWalletServer) GetTransactionFromPending(context.Context, *BytesMessage) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionFromPending not implemented") +} +func (UnimplementedWalletServer) GetTransactionListFromPending(context.Context, *EmptyMessage) (*TransactionIdList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionListFromPending not implemented") +} +func (UnimplementedWalletServer) GetPendingSize(context.Context, *EmptyMessage) (*NumberMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetPendingSize not implemented") +} +func (UnimplementedWalletServer) GetBlock(context.Context, *BlockReq) (*BlockExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBlock not implemented") +} +func (UnimplementedWalletServer) mustEmbedUnimplementedWalletServer() {} + +// UnsafeWalletServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to WalletServer will +// result in compilation errors. +type UnsafeWalletServer interface { + mustEmbedUnimplementedWalletServer() +} + +func RegisterWalletServer(s grpc.ServiceRegistrar, srv WalletServer) { + s.RegisterService(&Wallet_ServiceDesc, srv) +} + +func _Wallet_GetAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.Account) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetAccount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetAccount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetAccount(ctx, req.(*core.Account)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetAccountById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.Account) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetAccountById(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetAccountById", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetAccountById(ctx, req.(*core.Account)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetAccountBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.AccountBalanceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetAccountBalance(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetAccountBalance", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetAccountBalance(ctx, req.(*core.AccountBalanceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetBlockBalanceTrace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.BlockBalanceTrace_BlockIdentifier) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetBlockBalanceTrace(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetBlockBalanceTrace", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetBlockBalanceTrace(ctx, req.(*core.BlockBalanceTrace_BlockIdentifier)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_CreateTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.TransferContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CreateTransaction(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CreateTransaction", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CreateTransaction(ctx, req.(*core.TransferContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_CreateTransaction2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.TransferContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CreateTransaction2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CreateTransaction2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CreateTransaction2(ctx, req.(*core.TransferContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_BroadcastTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.Transaction) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).BroadcastTransaction(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/BroadcastTransaction", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).BroadcastTransaction(ctx, req.(*core.Transaction)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_UpdateAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.AccountUpdateContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).UpdateAccount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/UpdateAccount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).UpdateAccount(ctx, req.(*core.AccountUpdateContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_SetAccountId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.SetAccountIdContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).SetAccountId(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/SetAccountId", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).SetAccountId(ctx, req.(*core.SetAccountIdContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_UpdateAccount2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.AccountUpdateContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).UpdateAccount2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/UpdateAccount2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).UpdateAccount2(ctx, req.(*core.AccountUpdateContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_VoteWitnessAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.VoteWitnessContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).VoteWitnessAccount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/VoteWitnessAccount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).VoteWitnessAccount(ctx, req.(*core.VoteWitnessContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_UpdateSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.UpdateSettingContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).UpdateSetting(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/UpdateSetting", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).UpdateSetting(ctx, req.(*core.UpdateSettingContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_UpdateEnergyLimit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.UpdateEnergyLimitContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).UpdateEnergyLimit(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/UpdateEnergyLimit", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).UpdateEnergyLimit(ctx, req.(*core.UpdateEnergyLimitContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_VoteWitnessAccount2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.VoteWitnessContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).VoteWitnessAccount2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/VoteWitnessAccount2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).VoteWitnessAccount2(ctx, req.(*core.VoteWitnessContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_CreateAssetIssue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.AssetIssueContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CreateAssetIssue(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CreateAssetIssue", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CreateAssetIssue(ctx, req.(*core.AssetIssueContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_CreateAssetIssue2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.AssetIssueContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CreateAssetIssue2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CreateAssetIssue2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CreateAssetIssue2(ctx, req.(*core.AssetIssueContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_UpdateWitness_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.WitnessUpdateContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).UpdateWitness(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/UpdateWitness", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).UpdateWitness(ctx, req.(*core.WitnessUpdateContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_UpdateWitness2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.WitnessUpdateContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).UpdateWitness2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/UpdateWitness2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).UpdateWitness2(ctx, req.(*core.WitnessUpdateContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_CreateAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.AccountCreateContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CreateAccount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CreateAccount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CreateAccount(ctx, req.(*core.AccountCreateContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_CreateAccount2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.AccountCreateContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CreateAccount2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CreateAccount2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CreateAccount2(ctx, req.(*core.AccountCreateContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_CreateWitness_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.WitnessCreateContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CreateWitness(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CreateWitness", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CreateWitness(ctx, req.(*core.WitnessCreateContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_CreateWitness2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.WitnessCreateContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CreateWitness2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CreateWitness2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CreateWitness2(ctx, req.(*core.WitnessCreateContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_TransferAsset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.TransferAssetContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).TransferAsset(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/TransferAsset", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).TransferAsset(ctx, req.(*core.TransferAssetContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_TransferAsset2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.TransferAssetContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).TransferAsset2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/TransferAsset2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).TransferAsset2(ctx, req.(*core.TransferAssetContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ParticipateAssetIssue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.ParticipateAssetIssueContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ParticipateAssetIssue(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ParticipateAssetIssue", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ParticipateAssetIssue(ctx, req.(*core.ParticipateAssetIssueContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ParticipateAssetIssue2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.ParticipateAssetIssueContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ParticipateAssetIssue2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ParticipateAssetIssue2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ParticipateAssetIssue2(ctx, req.(*core.ParticipateAssetIssueContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_FreezeBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.FreezeBalanceContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).FreezeBalance(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/FreezeBalance", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).FreezeBalance(ctx, req.(*core.FreezeBalanceContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_FreezeBalance2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.FreezeBalanceContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).FreezeBalance2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/FreezeBalance2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).FreezeBalance2(ctx, req.(*core.FreezeBalanceContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_FreezeBalanceV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.FreezeBalanceV2Contract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).FreezeBalanceV2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/FreezeBalanceV2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).FreezeBalanceV2(ctx, req.(*core.FreezeBalanceV2Contract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_UnfreezeBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.UnfreezeBalanceContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).UnfreezeBalance(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/UnfreezeBalance", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).UnfreezeBalance(ctx, req.(*core.UnfreezeBalanceContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_UnfreezeBalance2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.UnfreezeBalanceContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).UnfreezeBalance2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/UnfreezeBalance2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).UnfreezeBalance2(ctx, req.(*core.UnfreezeBalanceContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_UnfreezeBalanceV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.UnfreezeBalanceV2Contract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).UnfreezeBalanceV2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/UnfreezeBalanceV2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).UnfreezeBalanceV2(ctx, req.(*core.UnfreezeBalanceV2Contract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_UnfreezeAsset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.UnfreezeAssetContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).UnfreezeAsset(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/UnfreezeAsset", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).UnfreezeAsset(ctx, req.(*core.UnfreezeAssetContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_UnfreezeAsset2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.UnfreezeAssetContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).UnfreezeAsset2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/UnfreezeAsset2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).UnfreezeAsset2(ctx, req.(*core.UnfreezeAssetContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_WithdrawBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.WithdrawBalanceContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).WithdrawBalance(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/WithdrawBalance", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).WithdrawBalance(ctx, req.(*core.WithdrawBalanceContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_WithdrawBalance2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.WithdrawBalanceContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).WithdrawBalance2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/WithdrawBalance2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).WithdrawBalance2(ctx, req.(*core.WithdrawBalanceContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_WithdrawExpireUnfreeze_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.WithdrawExpireUnfreezeContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).WithdrawExpireUnfreeze(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/WithdrawExpireUnfreeze", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).WithdrawExpireUnfreeze(ctx, req.(*core.WithdrawExpireUnfreezeContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_DelegateResource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.DelegateResourceContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).DelegateResource(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/DelegateResource", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).DelegateResource(ctx, req.(*core.DelegateResourceContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_UnDelegateResource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.UnDelegateResourceContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).UnDelegateResource(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/UnDelegateResource", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).UnDelegateResource(ctx, req.(*core.UnDelegateResourceContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_UpdateAsset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.UpdateAssetContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).UpdateAsset(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/UpdateAsset", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).UpdateAsset(ctx, req.(*core.UpdateAssetContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_UpdateAsset2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.UpdateAssetContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).UpdateAsset2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/UpdateAsset2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).UpdateAsset2(ctx, req.(*core.UpdateAssetContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ProposalCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.ProposalCreateContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ProposalCreate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ProposalCreate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ProposalCreate(ctx, req.(*core.ProposalCreateContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ProposalApprove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.ProposalApproveContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ProposalApprove(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ProposalApprove", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ProposalApprove(ctx, req.(*core.ProposalApproveContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ProposalDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.ProposalDeleteContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ProposalDelete(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ProposalDelete", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ProposalDelete(ctx, req.(*core.ProposalDeleteContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_BuyStorage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.BuyStorageContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).BuyStorage(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/BuyStorage", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).BuyStorage(ctx, req.(*core.BuyStorageContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_BuyStorageBytes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.BuyStorageBytesContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).BuyStorageBytes(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/BuyStorageBytes", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).BuyStorageBytes(ctx, req.(*core.BuyStorageBytesContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_SellStorage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.SellStorageContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).SellStorage(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/SellStorage", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).SellStorage(ctx, req.(*core.SellStorageContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ExchangeCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.ExchangeCreateContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ExchangeCreate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ExchangeCreate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ExchangeCreate(ctx, req.(*core.ExchangeCreateContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ExchangeInject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.ExchangeInjectContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ExchangeInject(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ExchangeInject", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ExchangeInject(ctx, req.(*core.ExchangeInjectContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ExchangeWithdraw_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.ExchangeWithdrawContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ExchangeWithdraw(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ExchangeWithdraw", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ExchangeWithdraw(ctx, req.(*core.ExchangeWithdrawContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ExchangeTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.ExchangeTransactionContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ExchangeTransaction(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ExchangeTransaction", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ExchangeTransaction(ctx, req.(*core.ExchangeTransactionContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_MarketSellAsset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.MarketSellAssetContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).MarketSellAsset(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/MarketSellAsset", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).MarketSellAsset(ctx, req.(*core.MarketSellAssetContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_MarketCancelOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.MarketCancelOrderContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).MarketCancelOrder(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/MarketCancelOrder", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).MarketCancelOrder(ctx, req.(*core.MarketCancelOrderContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetMarketOrderById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetMarketOrderById(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetMarketOrderById", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetMarketOrderById(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetMarketOrderByAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetMarketOrderByAccount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetMarketOrderByAccount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetMarketOrderByAccount(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetMarketPriceByPair_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.MarketOrderPair) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetMarketPriceByPair(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetMarketPriceByPair", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetMarketPriceByPair(ctx, req.(*core.MarketOrderPair)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetMarketOrderListByPair_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.MarketOrderPair) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetMarketOrderListByPair(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetMarketOrderListByPair", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetMarketOrderListByPair(ctx, req.(*core.MarketOrderPair)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetMarketPairList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetMarketPairList(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetMarketPairList", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetMarketPairList(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ListNodes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ListNodes(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ListNodes", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ListNodes(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetAssetIssueByAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.Account) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetAssetIssueByAccount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetAssetIssueByAccount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetAssetIssueByAccount(ctx, req.(*core.Account)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetAccountNet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.Account) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetAccountNet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetAccountNet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetAccountNet(ctx, req.(*core.Account)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetAccountResource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.Account) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetAccountResource(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetAccountResource", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetAccountResource(ctx, req.(*core.Account)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetAssetIssueByName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetAssetIssueByName(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetAssetIssueByName", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetAssetIssueByName(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetAssetIssueListByName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetAssetIssueListByName(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetAssetIssueListByName", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetAssetIssueListByName(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetAssetIssueById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetAssetIssueById(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetAssetIssueById", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetAssetIssueById(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetNowBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetNowBlock(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetNowBlock", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetNowBlock(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetNowBlock2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetNowBlock2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetNowBlock2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetNowBlock2(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetBlockByNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NumberMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetBlockByNum(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetBlockByNum", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetBlockByNum(ctx, req.(*NumberMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetBlockByNum2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NumberMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetBlockByNum2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetBlockByNum2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetBlockByNum2(ctx, req.(*NumberMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetTransactionCountByBlockNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NumberMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetTransactionCountByBlockNum(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetTransactionCountByBlockNum", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetTransactionCountByBlockNum(ctx, req.(*NumberMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetBlockById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetBlockById(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetBlockById", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetBlockById(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetBlockByLimitNext_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BlockLimit) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetBlockByLimitNext(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetBlockByLimitNext", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetBlockByLimitNext(ctx, req.(*BlockLimit)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetBlockByLimitNext2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BlockLimit) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetBlockByLimitNext2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetBlockByLimitNext2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetBlockByLimitNext2(ctx, req.(*BlockLimit)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetBlockByLatestNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NumberMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetBlockByLatestNum(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetBlockByLatestNum", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetBlockByLatestNum(ctx, req.(*NumberMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetBlockByLatestNum2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NumberMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetBlockByLatestNum2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetBlockByLatestNum2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetBlockByLatestNum2(ctx, req.(*NumberMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetTransactionById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetTransactionById(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetTransactionById", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetTransactionById(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_DeployContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.CreateSmartContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).DeployContract(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/DeployContract", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).DeployContract(ctx, req.(*core.CreateSmartContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetContract(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetContract", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetContract(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetContractInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetContractInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetContractInfo", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetContractInfo(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_TriggerContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.TriggerSmartContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).TriggerContract(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/TriggerContract", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).TriggerContract(ctx, req.(*core.TriggerSmartContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_TriggerConstantContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.TriggerSmartContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).TriggerConstantContract(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/TriggerConstantContract", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).TriggerConstantContract(ctx, req.(*core.TriggerSmartContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_EstimateEnergy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.TriggerSmartContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).EstimateEnergy(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/EstimateEnergy", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).EstimateEnergy(ctx, req.(*core.TriggerSmartContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ClearContractABI_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.ClearABIContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ClearContractABI(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ClearContractABI", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ClearContractABI(ctx, req.(*core.ClearABIContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ListWitnesses_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ListWitnesses(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ListWitnesses", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ListWitnesses(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetDelegatedResource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DelegatedResourceMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetDelegatedResource(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetDelegatedResource", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetDelegatedResource(ctx, req.(*DelegatedResourceMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetDelegatedResourceV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DelegatedResourceMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetDelegatedResourceV2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetDelegatedResourceV2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetDelegatedResourceV2(ctx, req.(*DelegatedResourceMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetDelegatedResourceAccountIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetDelegatedResourceAccountIndex(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetDelegatedResourceAccountIndex", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetDelegatedResourceAccountIndex(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetDelegatedResourceAccountIndexV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetDelegatedResourceAccountIndexV2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetDelegatedResourceAccountIndexV2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetDelegatedResourceAccountIndexV2(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetCanDelegatedMaxSize_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CanDelegatedMaxSizeRequestMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetCanDelegatedMaxSize(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetCanDelegatedMaxSize", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetCanDelegatedMaxSize(ctx, req.(*CanDelegatedMaxSizeRequestMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetAvailableUnfreezeCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetAvailableUnfreezeCountRequestMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetAvailableUnfreezeCount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetAvailableUnfreezeCount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetAvailableUnfreezeCount(ctx, req.(*GetAvailableUnfreezeCountRequestMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetCanWithdrawUnfreezeAmount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CanWithdrawUnfreezeAmountRequestMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetCanWithdrawUnfreezeAmount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetCanWithdrawUnfreezeAmount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetCanWithdrawUnfreezeAmount(ctx, req.(*CanWithdrawUnfreezeAmountRequestMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ListProposals_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ListProposals(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ListProposals", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ListProposals(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetPaginatedProposalList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PaginatedMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetPaginatedProposalList(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetPaginatedProposalList", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetPaginatedProposalList(ctx, req.(*PaginatedMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetProposalById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetProposalById(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetProposalById", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetProposalById(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ListExchanges_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ListExchanges(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ListExchanges", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ListExchanges(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetPaginatedExchangeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PaginatedMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetPaginatedExchangeList(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetPaginatedExchangeList", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetPaginatedExchangeList(ctx, req.(*PaginatedMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetExchangeById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetExchangeById(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetExchangeById", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetExchangeById(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetChainParameters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetChainParameters(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetChainParameters", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetChainParameters(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetAssetIssueList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetAssetIssueList(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetAssetIssueList", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetAssetIssueList(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetPaginatedAssetIssueList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PaginatedMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetPaginatedAssetIssueList(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetPaginatedAssetIssueList", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetPaginatedAssetIssueList(ctx, req.(*PaginatedMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_TotalTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).TotalTransaction(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/TotalTransaction", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).TotalTransaction(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetNextMaintenanceTime_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetNextMaintenanceTime(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetNextMaintenanceTime", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetNextMaintenanceTime(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetTransactionSign_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.TransactionSign) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetTransactionSign(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetTransactionSign", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetTransactionSign(ctx, req.(*core.TransactionSign)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetTransactionSign2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.TransactionSign) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetTransactionSign2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetTransactionSign2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetTransactionSign2(ctx, req.(*core.TransactionSign)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_CreateAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CreateAddress(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CreateAddress", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CreateAddress(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_EasyTransferAsset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EasyTransferAssetMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).EasyTransferAsset(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/EasyTransferAsset", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).EasyTransferAsset(ctx, req.(*EasyTransferAssetMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_EasyTransferAssetByPrivate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EasyTransferAssetByPrivateMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).EasyTransferAssetByPrivate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/EasyTransferAssetByPrivate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).EasyTransferAssetByPrivate(ctx, req.(*EasyTransferAssetByPrivateMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_EasyTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EasyTransferMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).EasyTransfer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/EasyTransfer", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).EasyTransfer(ctx, req.(*EasyTransferMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_EasyTransferByPrivate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EasyTransferByPrivateMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).EasyTransferByPrivate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/EasyTransferByPrivate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).EasyTransferByPrivate(ctx, req.(*EasyTransferByPrivateMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GenerateAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GenerateAddress(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GenerateAddress", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GenerateAddress(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetTransactionInfoById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetTransactionInfoById(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetTransactionInfoById", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetTransactionInfoById(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_AccountPermissionUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.AccountPermissionUpdateContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).AccountPermissionUpdate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/AccountPermissionUpdate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).AccountPermissionUpdate(ctx, req.(*core.AccountPermissionUpdateContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_AddSign_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.TransactionSign) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).AddSign(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/AddSign", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).AddSign(ctx, req.(*core.TransactionSign)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetTransactionSignWeight_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.Transaction) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetTransactionSignWeight(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetTransactionSignWeight", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetTransactionSignWeight(ctx, req.(*core.Transaction)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetTransactionApprovedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.Transaction) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetTransactionApprovedList(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetTransactionApprovedList", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetTransactionApprovedList(ctx, req.(*core.Transaction)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetNodeInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetNodeInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetNodeInfo", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetNodeInfo(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetRewardInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetRewardInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetRewardInfo", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetRewardInfo(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetBrokerageInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetBrokerageInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetBrokerageInfo", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetBrokerageInfo(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_UpdateBrokerage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.UpdateBrokerageContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).UpdateBrokerage(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/UpdateBrokerage", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).UpdateBrokerage(ctx, req.(*core.UpdateBrokerageContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_CreateShieldedTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PrivateParameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CreateShieldedTransaction(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CreateShieldedTransaction", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CreateShieldedTransaction(ctx, req.(*PrivateParameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetMerkleTreeVoucherInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.OutputPointInfo) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetMerkleTreeVoucherInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetMerkleTreeVoucherInfo", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetMerkleTreeVoucherInfo(ctx, req.(*core.OutputPointInfo)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ScanNoteByIvk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IvkDecryptParameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ScanNoteByIvk(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ScanNoteByIvk", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ScanNoteByIvk(ctx, req.(*IvkDecryptParameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ScanAndMarkNoteByIvk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IvkDecryptAndMarkParameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ScanAndMarkNoteByIvk(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ScanAndMarkNoteByIvk", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ScanAndMarkNoteByIvk(ctx, req.(*IvkDecryptAndMarkParameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ScanNoteByOvk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(OvkDecryptParameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ScanNoteByOvk(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ScanNoteByOvk", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ScanNoteByOvk(ctx, req.(*OvkDecryptParameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetSpendingKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetSpendingKey(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetSpendingKey", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetSpendingKey(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetExpandedSpendingKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetExpandedSpendingKey(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetExpandedSpendingKey", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetExpandedSpendingKey(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetAkFromAsk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetAkFromAsk(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetAkFromAsk", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetAkFromAsk(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetNkFromNsk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetNkFromNsk(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetNkFromNsk", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetNkFromNsk(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetIncomingViewingKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ViewingKeyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetIncomingViewingKey(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetIncomingViewingKey", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetIncomingViewingKey(ctx, req.(*ViewingKeyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetDiversifier_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetDiversifier(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetDiversifier", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetDiversifier(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetNewShieldedAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetNewShieldedAddress(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetNewShieldedAddress", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetNewShieldedAddress(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetZenPaymentAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IncomingViewingKeyDiversifierMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetZenPaymentAddress(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetZenPaymentAddress", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetZenPaymentAddress(ctx, req.(*IncomingViewingKeyDiversifierMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetRcm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetRcm(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetRcm", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetRcm(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_IsSpend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NoteParameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).IsSpend(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/IsSpend", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).IsSpend(ctx, req.(*NoteParameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_CreateShieldedTransactionWithoutSpendAuthSig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PrivateParametersWithoutAsk) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CreateShieldedTransactionWithoutSpendAuthSig(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CreateShieldedTransactionWithoutSpendAuthSig", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CreateShieldedTransactionWithoutSpendAuthSig(ctx, req.(*PrivateParametersWithoutAsk)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetShieldTransactionHash_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.Transaction) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetShieldTransactionHash(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetShieldTransactionHash", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetShieldTransactionHash(ctx, req.(*core.Transaction)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_CreateSpendAuthSig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SpendAuthSigParameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CreateSpendAuthSig(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CreateSpendAuthSig", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CreateSpendAuthSig(ctx, req.(*SpendAuthSigParameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_CreateShieldNullifier_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NfParameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CreateShieldNullifier(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CreateShieldNullifier", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CreateShieldNullifier(ctx, req.(*NfParameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_CreateShieldedContractParameters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PrivateShieldedTRC20Parameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CreateShieldedContractParameters(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CreateShieldedContractParameters", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CreateShieldedContractParameters(ctx, req.(*PrivateShieldedTRC20Parameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_CreateShieldedContractParametersWithoutAsk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PrivateShieldedTRC20ParametersWithoutAsk) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CreateShieldedContractParametersWithoutAsk(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CreateShieldedContractParametersWithoutAsk", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CreateShieldedContractParametersWithoutAsk(ctx, req.(*PrivateShieldedTRC20ParametersWithoutAsk)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ScanShieldedTRC20NotesByIvk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IvkDecryptTRC20Parameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ScanShieldedTRC20NotesByIvk(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ScanShieldedTRC20NotesByIvk", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ScanShieldedTRC20NotesByIvk(ctx, req.(*IvkDecryptTRC20Parameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ScanShieldedTRC20NotesByOvk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(OvkDecryptTRC20Parameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ScanShieldedTRC20NotesByOvk(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ScanShieldedTRC20NotesByOvk", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ScanShieldedTRC20NotesByOvk(ctx, req.(*OvkDecryptTRC20Parameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_IsShieldedTRC20ContractNoteSpent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NfTRC20Parameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).IsShieldedTRC20ContractNoteSpent(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/IsShieldedTRC20ContractNoteSpent", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).IsShieldedTRC20ContractNoteSpent(ctx, req.(*NfTRC20Parameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetTriggerInputForShieldedTRC20Contract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ShieldedTRC20TriggerContractParameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetTriggerInputForShieldedTRC20Contract(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetTriggerInputForShieldedTRC20Contract", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetTriggerInputForShieldedTRC20Contract(ctx, req.(*ShieldedTRC20TriggerContractParameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_CreateCommonTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.Transaction) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CreateCommonTransaction(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CreateCommonTransaction", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CreateCommonTransaction(ctx, req.(*core.Transaction)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetTransactionInfoByBlockNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NumberMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetTransactionInfoByBlockNum(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetTransactionInfoByBlockNum", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetTransactionInfoByBlockNum(ctx, req.(*NumberMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetBurnTrx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetBurnTrx(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetBurnTrx", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetBurnTrx(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetTransactionFromPending_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetTransactionFromPending(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetTransactionFromPending", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetTransactionFromPending(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetTransactionListFromPending_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetTransactionListFromPending(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetTransactionListFromPending", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetTransactionListFromPending(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetPendingSize_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetPendingSize(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetPendingSize", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetPendingSize(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BlockReq) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetBlock(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetBlock", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetBlock(ctx, req.(*BlockReq)) + } + return interceptor(ctx, in, info, handler) +} + +// Wallet_ServiceDesc is the grpc.ServiceDesc for Wallet service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var Wallet_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "protocol.Wallet", + HandlerType: (*WalletServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetAccount", + Handler: _Wallet_GetAccount_Handler, + }, + { + MethodName: "GetAccountById", + Handler: _Wallet_GetAccountById_Handler, + }, + { + MethodName: "GetAccountBalance", + Handler: _Wallet_GetAccountBalance_Handler, + }, + { + MethodName: "GetBlockBalanceTrace", + Handler: _Wallet_GetBlockBalanceTrace_Handler, + }, + { + MethodName: "CreateTransaction", + Handler: _Wallet_CreateTransaction_Handler, + }, + { + MethodName: "CreateTransaction2", + Handler: _Wallet_CreateTransaction2_Handler, + }, + { + MethodName: "BroadcastTransaction", + Handler: _Wallet_BroadcastTransaction_Handler, + }, + { + MethodName: "UpdateAccount", + Handler: _Wallet_UpdateAccount_Handler, + }, + { + MethodName: "SetAccountId", + Handler: _Wallet_SetAccountId_Handler, + }, + { + MethodName: "UpdateAccount2", + Handler: _Wallet_UpdateAccount2_Handler, + }, + { + MethodName: "VoteWitnessAccount", + Handler: _Wallet_VoteWitnessAccount_Handler, + }, + { + MethodName: "UpdateSetting", + Handler: _Wallet_UpdateSetting_Handler, + }, + { + MethodName: "UpdateEnergyLimit", + Handler: _Wallet_UpdateEnergyLimit_Handler, + }, + { + MethodName: "VoteWitnessAccount2", + Handler: _Wallet_VoteWitnessAccount2_Handler, + }, + { + MethodName: "CreateAssetIssue", + Handler: _Wallet_CreateAssetIssue_Handler, + }, + { + MethodName: "CreateAssetIssue2", + Handler: _Wallet_CreateAssetIssue2_Handler, + }, + { + MethodName: "UpdateWitness", + Handler: _Wallet_UpdateWitness_Handler, + }, + { + MethodName: "UpdateWitness2", + Handler: _Wallet_UpdateWitness2_Handler, + }, + { + MethodName: "CreateAccount", + Handler: _Wallet_CreateAccount_Handler, + }, + { + MethodName: "CreateAccount2", + Handler: _Wallet_CreateAccount2_Handler, + }, + { + MethodName: "CreateWitness", + Handler: _Wallet_CreateWitness_Handler, + }, + { + MethodName: "CreateWitness2", + Handler: _Wallet_CreateWitness2_Handler, + }, + { + MethodName: "TransferAsset", + Handler: _Wallet_TransferAsset_Handler, + }, + { + MethodName: "TransferAsset2", + Handler: _Wallet_TransferAsset2_Handler, + }, + { + MethodName: "ParticipateAssetIssue", + Handler: _Wallet_ParticipateAssetIssue_Handler, + }, + { + MethodName: "ParticipateAssetIssue2", + Handler: _Wallet_ParticipateAssetIssue2_Handler, + }, + { + MethodName: "FreezeBalance", + Handler: _Wallet_FreezeBalance_Handler, + }, + { + MethodName: "FreezeBalance2", + Handler: _Wallet_FreezeBalance2_Handler, + }, + { + MethodName: "FreezeBalanceV2", + Handler: _Wallet_FreezeBalanceV2_Handler, + }, + { + MethodName: "UnfreezeBalance", + Handler: _Wallet_UnfreezeBalance_Handler, + }, + { + MethodName: "UnfreezeBalance2", + Handler: _Wallet_UnfreezeBalance2_Handler, + }, + { + MethodName: "UnfreezeBalanceV2", + Handler: _Wallet_UnfreezeBalanceV2_Handler, + }, + { + MethodName: "UnfreezeAsset", + Handler: _Wallet_UnfreezeAsset_Handler, + }, + { + MethodName: "UnfreezeAsset2", + Handler: _Wallet_UnfreezeAsset2_Handler, + }, + { + MethodName: "WithdrawBalance", + Handler: _Wallet_WithdrawBalance_Handler, + }, + { + MethodName: "WithdrawBalance2", + Handler: _Wallet_WithdrawBalance2_Handler, + }, + { + MethodName: "WithdrawExpireUnfreeze", + Handler: _Wallet_WithdrawExpireUnfreeze_Handler, + }, + { + MethodName: "DelegateResource", + Handler: _Wallet_DelegateResource_Handler, + }, + { + MethodName: "UnDelegateResource", + Handler: _Wallet_UnDelegateResource_Handler, + }, + { + MethodName: "UpdateAsset", + Handler: _Wallet_UpdateAsset_Handler, + }, + { + MethodName: "UpdateAsset2", + Handler: _Wallet_UpdateAsset2_Handler, + }, + { + MethodName: "ProposalCreate", + Handler: _Wallet_ProposalCreate_Handler, + }, + { + MethodName: "ProposalApprove", + Handler: _Wallet_ProposalApprove_Handler, + }, + { + MethodName: "ProposalDelete", + Handler: _Wallet_ProposalDelete_Handler, + }, + { + MethodName: "BuyStorage", + Handler: _Wallet_BuyStorage_Handler, + }, + { + MethodName: "BuyStorageBytes", + Handler: _Wallet_BuyStorageBytes_Handler, + }, + { + MethodName: "SellStorage", + Handler: _Wallet_SellStorage_Handler, + }, + { + MethodName: "ExchangeCreate", + Handler: _Wallet_ExchangeCreate_Handler, + }, + { + MethodName: "ExchangeInject", + Handler: _Wallet_ExchangeInject_Handler, + }, + { + MethodName: "ExchangeWithdraw", + Handler: _Wallet_ExchangeWithdraw_Handler, + }, + { + MethodName: "ExchangeTransaction", + Handler: _Wallet_ExchangeTransaction_Handler, + }, + { + MethodName: "MarketSellAsset", + Handler: _Wallet_MarketSellAsset_Handler, + }, + { + MethodName: "MarketCancelOrder", + Handler: _Wallet_MarketCancelOrder_Handler, + }, + { + MethodName: "GetMarketOrderById", + Handler: _Wallet_GetMarketOrderById_Handler, + }, + { + MethodName: "GetMarketOrderByAccount", + Handler: _Wallet_GetMarketOrderByAccount_Handler, + }, + { + MethodName: "GetMarketPriceByPair", + Handler: _Wallet_GetMarketPriceByPair_Handler, + }, + { + MethodName: "GetMarketOrderListByPair", + Handler: _Wallet_GetMarketOrderListByPair_Handler, + }, + { + MethodName: "GetMarketPairList", + Handler: _Wallet_GetMarketPairList_Handler, + }, + { + MethodName: "ListNodes", + Handler: _Wallet_ListNodes_Handler, + }, + { + MethodName: "GetAssetIssueByAccount", + Handler: _Wallet_GetAssetIssueByAccount_Handler, + }, + { + MethodName: "GetAccountNet", + Handler: _Wallet_GetAccountNet_Handler, + }, + { + MethodName: "GetAccountResource", + Handler: _Wallet_GetAccountResource_Handler, + }, + { + MethodName: "GetAssetIssueByName", + Handler: _Wallet_GetAssetIssueByName_Handler, + }, + { + MethodName: "GetAssetIssueListByName", + Handler: _Wallet_GetAssetIssueListByName_Handler, + }, + { + MethodName: "GetAssetIssueById", + Handler: _Wallet_GetAssetIssueById_Handler, + }, + { + MethodName: "GetNowBlock", + Handler: _Wallet_GetNowBlock_Handler, + }, + { + MethodName: "GetNowBlock2", + Handler: _Wallet_GetNowBlock2_Handler, + }, + { + MethodName: "GetBlockByNum", + Handler: _Wallet_GetBlockByNum_Handler, + }, + { + MethodName: "GetBlockByNum2", + Handler: _Wallet_GetBlockByNum2_Handler, + }, + { + MethodName: "GetTransactionCountByBlockNum", + Handler: _Wallet_GetTransactionCountByBlockNum_Handler, + }, + { + MethodName: "GetBlockById", + Handler: _Wallet_GetBlockById_Handler, + }, + { + MethodName: "GetBlockByLimitNext", + Handler: _Wallet_GetBlockByLimitNext_Handler, + }, + { + MethodName: "GetBlockByLimitNext2", + Handler: _Wallet_GetBlockByLimitNext2_Handler, + }, + { + MethodName: "GetBlockByLatestNum", + Handler: _Wallet_GetBlockByLatestNum_Handler, + }, + { + MethodName: "GetBlockByLatestNum2", + Handler: _Wallet_GetBlockByLatestNum2_Handler, + }, + { + MethodName: "GetTransactionById", + Handler: _Wallet_GetTransactionById_Handler, + }, + { + MethodName: "DeployContract", + Handler: _Wallet_DeployContract_Handler, + }, + { + MethodName: "GetContract", + Handler: _Wallet_GetContract_Handler, + }, + { + MethodName: "GetContractInfo", + Handler: _Wallet_GetContractInfo_Handler, + }, + { + MethodName: "TriggerContract", + Handler: _Wallet_TriggerContract_Handler, + }, + { + MethodName: "TriggerConstantContract", + Handler: _Wallet_TriggerConstantContract_Handler, + }, + { + MethodName: "EstimateEnergy", + Handler: _Wallet_EstimateEnergy_Handler, + }, + { + MethodName: "ClearContractABI", + Handler: _Wallet_ClearContractABI_Handler, + }, + { + MethodName: "ListWitnesses", + Handler: _Wallet_ListWitnesses_Handler, + }, + { + MethodName: "GetDelegatedResource", + Handler: _Wallet_GetDelegatedResource_Handler, + }, + { + MethodName: "GetDelegatedResourceV2", + Handler: _Wallet_GetDelegatedResourceV2_Handler, + }, + { + MethodName: "GetDelegatedResourceAccountIndex", + Handler: _Wallet_GetDelegatedResourceAccountIndex_Handler, + }, + { + MethodName: "GetDelegatedResourceAccountIndexV2", + Handler: _Wallet_GetDelegatedResourceAccountIndexV2_Handler, + }, + { + MethodName: "GetCanDelegatedMaxSize", + Handler: _Wallet_GetCanDelegatedMaxSize_Handler, + }, + { + MethodName: "GetAvailableUnfreezeCount", + Handler: _Wallet_GetAvailableUnfreezeCount_Handler, + }, + { + MethodName: "GetCanWithdrawUnfreezeAmount", + Handler: _Wallet_GetCanWithdrawUnfreezeAmount_Handler, + }, + { + MethodName: "ListProposals", + Handler: _Wallet_ListProposals_Handler, + }, + { + MethodName: "GetPaginatedProposalList", + Handler: _Wallet_GetPaginatedProposalList_Handler, + }, + { + MethodName: "GetProposalById", + Handler: _Wallet_GetProposalById_Handler, + }, + { + MethodName: "ListExchanges", + Handler: _Wallet_ListExchanges_Handler, + }, + { + MethodName: "GetPaginatedExchangeList", + Handler: _Wallet_GetPaginatedExchangeList_Handler, + }, + { + MethodName: "GetExchangeById", + Handler: _Wallet_GetExchangeById_Handler, + }, + { + MethodName: "GetChainParameters", + Handler: _Wallet_GetChainParameters_Handler, + }, + { + MethodName: "GetAssetIssueList", + Handler: _Wallet_GetAssetIssueList_Handler, + }, + { + MethodName: "GetPaginatedAssetIssueList", + Handler: _Wallet_GetPaginatedAssetIssueList_Handler, + }, + { + MethodName: "TotalTransaction", + Handler: _Wallet_TotalTransaction_Handler, + }, + { + MethodName: "GetNextMaintenanceTime", + Handler: _Wallet_GetNextMaintenanceTime_Handler, + }, + { + MethodName: "GetTransactionSign", + Handler: _Wallet_GetTransactionSign_Handler, + }, + { + MethodName: "GetTransactionSign2", + Handler: _Wallet_GetTransactionSign2_Handler, + }, + { + MethodName: "CreateAddress", + Handler: _Wallet_CreateAddress_Handler, + }, + { + MethodName: "EasyTransferAsset", + Handler: _Wallet_EasyTransferAsset_Handler, + }, + { + MethodName: "EasyTransferAssetByPrivate", + Handler: _Wallet_EasyTransferAssetByPrivate_Handler, + }, + { + MethodName: "EasyTransfer", + Handler: _Wallet_EasyTransfer_Handler, + }, + { + MethodName: "EasyTransferByPrivate", + Handler: _Wallet_EasyTransferByPrivate_Handler, + }, + { + MethodName: "GenerateAddress", + Handler: _Wallet_GenerateAddress_Handler, + }, + { + MethodName: "GetTransactionInfoById", + Handler: _Wallet_GetTransactionInfoById_Handler, + }, + { + MethodName: "AccountPermissionUpdate", + Handler: _Wallet_AccountPermissionUpdate_Handler, + }, + { + MethodName: "AddSign", + Handler: _Wallet_AddSign_Handler, + }, + { + MethodName: "GetTransactionSignWeight", + Handler: _Wallet_GetTransactionSignWeight_Handler, + }, + { + MethodName: "GetTransactionApprovedList", + Handler: _Wallet_GetTransactionApprovedList_Handler, + }, + { + MethodName: "GetNodeInfo", + Handler: _Wallet_GetNodeInfo_Handler, + }, + { + MethodName: "GetRewardInfo", + Handler: _Wallet_GetRewardInfo_Handler, + }, + { + MethodName: "GetBrokerageInfo", + Handler: _Wallet_GetBrokerageInfo_Handler, + }, + { + MethodName: "UpdateBrokerage", + Handler: _Wallet_UpdateBrokerage_Handler, + }, + { + MethodName: "CreateShieldedTransaction", + Handler: _Wallet_CreateShieldedTransaction_Handler, + }, + { + MethodName: "GetMerkleTreeVoucherInfo", + Handler: _Wallet_GetMerkleTreeVoucherInfo_Handler, + }, + { + MethodName: "ScanNoteByIvk", + Handler: _Wallet_ScanNoteByIvk_Handler, + }, + { + MethodName: "ScanAndMarkNoteByIvk", + Handler: _Wallet_ScanAndMarkNoteByIvk_Handler, + }, + { + MethodName: "ScanNoteByOvk", + Handler: _Wallet_ScanNoteByOvk_Handler, + }, + { + MethodName: "GetSpendingKey", + Handler: _Wallet_GetSpendingKey_Handler, + }, + { + MethodName: "GetExpandedSpendingKey", + Handler: _Wallet_GetExpandedSpendingKey_Handler, + }, + { + MethodName: "GetAkFromAsk", + Handler: _Wallet_GetAkFromAsk_Handler, + }, + { + MethodName: "GetNkFromNsk", + Handler: _Wallet_GetNkFromNsk_Handler, + }, + { + MethodName: "GetIncomingViewingKey", + Handler: _Wallet_GetIncomingViewingKey_Handler, + }, + { + MethodName: "GetDiversifier", + Handler: _Wallet_GetDiversifier_Handler, + }, + { + MethodName: "GetNewShieldedAddress", + Handler: _Wallet_GetNewShieldedAddress_Handler, + }, + { + MethodName: "GetZenPaymentAddress", + Handler: _Wallet_GetZenPaymentAddress_Handler, + }, + { + MethodName: "GetRcm", + Handler: _Wallet_GetRcm_Handler, + }, + { + MethodName: "IsSpend", + Handler: _Wallet_IsSpend_Handler, + }, + { + MethodName: "CreateShieldedTransactionWithoutSpendAuthSig", + Handler: _Wallet_CreateShieldedTransactionWithoutSpendAuthSig_Handler, + }, + { + MethodName: "GetShieldTransactionHash", + Handler: _Wallet_GetShieldTransactionHash_Handler, + }, + { + MethodName: "CreateSpendAuthSig", + Handler: _Wallet_CreateSpendAuthSig_Handler, + }, + { + MethodName: "CreateShieldNullifier", + Handler: _Wallet_CreateShieldNullifier_Handler, + }, + { + MethodName: "CreateShieldedContractParameters", + Handler: _Wallet_CreateShieldedContractParameters_Handler, + }, + { + MethodName: "CreateShieldedContractParametersWithoutAsk", + Handler: _Wallet_CreateShieldedContractParametersWithoutAsk_Handler, + }, + { + MethodName: "ScanShieldedTRC20NotesByIvk", + Handler: _Wallet_ScanShieldedTRC20NotesByIvk_Handler, + }, + { + MethodName: "ScanShieldedTRC20NotesByOvk", + Handler: _Wallet_ScanShieldedTRC20NotesByOvk_Handler, + }, + { + MethodName: "IsShieldedTRC20ContractNoteSpent", + Handler: _Wallet_IsShieldedTRC20ContractNoteSpent_Handler, + }, + { + MethodName: "GetTriggerInputForShieldedTRC20Contract", + Handler: _Wallet_GetTriggerInputForShieldedTRC20Contract_Handler, + }, + { + MethodName: "CreateCommonTransaction", + Handler: _Wallet_CreateCommonTransaction_Handler, + }, + { + MethodName: "GetTransactionInfoByBlockNum", + Handler: _Wallet_GetTransactionInfoByBlockNum_Handler, + }, + { + MethodName: "GetBurnTrx", + Handler: _Wallet_GetBurnTrx_Handler, + }, + { + MethodName: "GetTransactionFromPending", + Handler: _Wallet_GetTransactionFromPending_Handler, + }, + { + MethodName: "GetTransactionListFromPending", + Handler: _Wallet_GetTransactionListFromPending_Handler, + }, + { + MethodName: "GetPendingSize", + Handler: _Wallet_GetPendingSize_Handler, + }, + { + MethodName: "GetBlock", + Handler: _Wallet_GetBlock_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "api/api.proto", +} + +// WalletSolidityClient is the client API for WalletSolidity service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type WalletSolidityClient interface { + GetAccount(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error) + GetAccountById(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error) + ListWitnesses(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*WitnessList, error) + GetAssetIssueList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AssetIssueList, error) + GetPaginatedAssetIssueList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*AssetIssueList, error) + GetAssetIssueByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error) + GetAssetIssueListByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*AssetIssueList, error) + GetAssetIssueById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error) + // Please use GetNowBlock2 instead of this function. + GetNowBlock(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.Block, error) + // Use this function instead of GetNowBlock. + GetNowBlock2(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BlockExtention, error) + // Please use GetBlockByNum2 instead of this function. + GetBlockByNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*core.Block, error) + // Use this function instead of GetBlockByNum. + GetBlockByNum2(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockExtention, error) + GetTransactionCountByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*NumberMessage, error) + GetDelegatedResource(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error) + GetDelegatedResourceV2(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error) + GetDelegatedResourceAccountIndex(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error) + GetDelegatedResourceAccountIndexV2(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error) + GetCanDelegatedMaxSize(ctx context.Context, in *CanDelegatedMaxSizeRequestMessage, opts ...grpc.CallOption) (*CanDelegatedMaxSizeResponseMessage, error) + GetAvailableUnfreezeCount(ctx context.Context, in *GetAvailableUnfreezeCountRequestMessage, opts ...grpc.CallOption) (*GetAvailableUnfreezeCountResponseMessage, error) + GetCanWithdrawUnfreezeAmount(ctx context.Context, in *CanWithdrawUnfreezeAmountRequestMessage, opts ...grpc.CallOption) (*CanWithdrawUnfreezeAmountResponseMessage, error) + GetExchangeById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Exchange, error) + ListExchanges(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ExchangeList, error) + GetTransactionById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Transaction, error) + GetTransactionInfoById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.TransactionInfo, error) + // Warning: do not invoke this interface provided by others. + GenerateAddress(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AddressPrKeyPairMessage, error) + GetMerkleTreeVoucherInfo(ctx context.Context, in *core.OutputPointInfo, opts ...grpc.CallOption) (*core.IncrementalMerkleVoucherInfo, error) + ScanNoteByIvk(ctx context.Context, in *IvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) + ScanAndMarkNoteByIvk(ctx context.Context, in *IvkDecryptAndMarkParameters, opts ...grpc.CallOption) (*DecryptNotesMarked, error) + ScanNoteByOvk(ctx context.Context, in *OvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) + IsSpend(ctx context.Context, in *NoteParameters, opts ...grpc.CallOption) (*SpendResult, error) + ScanShieldedTRC20NotesByIvk(ctx context.Context, in *IvkDecryptTRC20Parameters, opts ...grpc.CallOption) (*DecryptNotesTRC20, error) + ScanShieldedTRC20NotesByOvk(ctx context.Context, in *OvkDecryptTRC20Parameters, opts ...grpc.CallOption) (*DecryptNotesTRC20, error) + IsShieldedTRC20ContractNoteSpent(ctx context.Context, in *NfTRC20Parameters, opts ...grpc.CallOption) (*NullifierResult, error) + GetRewardInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error) + GetBrokerageInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error) + TriggerConstantContract(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error) + EstimateEnergy(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*EstimateEnergyMessage, error) + GetTransactionInfoByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*TransactionInfoList, error) + GetMarketOrderById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.MarketOrder, error) + GetMarketOrderByAccount(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.MarketOrderList, error) + GetMarketPriceByPair(ctx context.Context, in *core.MarketOrderPair, opts ...grpc.CallOption) (*core.MarketPriceList, error) + GetMarketOrderListByPair(ctx context.Context, in *core.MarketOrderPair, opts ...grpc.CallOption) (*core.MarketOrderList, error) + GetMarketPairList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.MarketOrderPairList, error) + GetBurnTrx(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) + GetBlock(ctx context.Context, in *BlockReq, opts ...grpc.CallOption) (*BlockExtention, error) +} + +type walletSolidityClient struct { + cc grpc.ClientConnInterface +} + +func NewWalletSolidityClient(cc grpc.ClientConnInterface) WalletSolidityClient { + return &walletSolidityClient{cc} +} + +func (c *walletSolidityClient) GetAccount(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error) { + out := new(core.Account) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetAccount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetAccountById(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error) { + out := new(core.Account) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetAccountById", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) ListWitnesses(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*WitnessList, error) { + out := new(WitnessList) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/ListWitnesses", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetAssetIssueList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AssetIssueList, error) { + out := new(AssetIssueList) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetAssetIssueList", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetPaginatedAssetIssueList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*AssetIssueList, error) { + out := new(AssetIssueList) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetPaginatedAssetIssueList", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetAssetIssueByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error) { + out := new(core.AssetIssueContract) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetAssetIssueByName", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetAssetIssueListByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*AssetIssueList, error) { + out := new(AssetIssueList) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetAssetIssueListByName", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetAssetIssueById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error) { + out := new(core.AssetIssueContract) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetAssetIssueById", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetNowBlock(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.Block, error) { + out := new(core.Block) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetNowBlock", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetNowBlock2(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BlockExtention, error) { + out := new(BlockExtention) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetNowBlock2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetBlockByNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*core.Block, error) { + out := new(core.Block) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetBlockByNum", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetBlockByNum2(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockExtention, error) { + out := new(BlockExtention) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetBlockByNum2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetTransactionCountByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + out := new(NumberMessage) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetTransactionCountByBlockNum", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetDelegatedResource(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error) { + out := new(DelegatedResourceList) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetDelegatedResource", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetDelegatedResourceV2(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error) { + out := new(DelegatedResourceList) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetDelegatedResourceV2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetDelegatedResourceAccountIndex(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error) { + out := new(core.DelegatedResourceAccountIndex) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetDelegatedResourceAccountIndex", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetDelegatedResourceAccountIndexV2(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error) { + out := new(core.DelegatedResourceAccountIndex) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetDelegatedResourceAccountIndexV2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetCanDelegatedMaxSize(ctx context.Context, in *CanDelegatedMaxSizeRequestMessage, opts ...grpc.CallOption) (*CanDelegatedMaxSizeResponseMessage, error) { + out := new(CanDelegatedMaxSizeResponseMessage) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetCanDelegatedMaxSize", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetAvailableUnfreezeCount(ctx context.Context, in *GetAvailableUnfreezeCountRequestMessage, opts ...grpc.CallOption) (*GetAvailableUnfreezeCountResponseMessage, error) { + out := new(GetAvailableUnfreezeCountResponseMessage) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetAvailableUnfreezeCount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetCanWithdrawUnfreezeAmount(ctx context.Context, in *CanWithdrawUnfreezeAmountRequestMessage, opts ...grpc.CallOption) (*CanWithdrawUnfreezeAmountResponseMessage, error) { + out := new(CanWithdrawUnfreezeAmountResponseMessage) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetCanWithdrawUnfreezeAmount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetExchangeById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Exchange, error) { + out := new(core.Exchange) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetExchangeById", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) ListExchanges(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ExchangeList, error) { + out := new(ExchangeList) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/ListExchanges", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetTransactionById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetTransactionById", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetTransactionInfoById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.TransactionInfo, error) { + out := new(core.TransactionInfo) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetTransactionInfoById", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GenerateAddress(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AddressPrKeyPairMessage, error) { + out := new(AddressPrKeyPairMessage) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GenerateAddress", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetMerkleTreeVoucherInfo(ctx context.Context, in *core.OutputPointInfo, opts ...grpc.CallOption) (*core.IncrementalMerkleVoucherInfo, error) { + out := new(core.IncrementalMerkleVoucherInfo) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetMerkleTreeVoucherInfo", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) ScanNoteByIvk(ctx context.Context, in *IvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) { + out := new(DecryptNotes) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/ScanNoteByIvk", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) ScanAndMarkNoteByIvk(ctx context.Context, in *IvkDecryptAndMarkParameters, opts ...grpc.CallOption) (*DecryptNotesMarked, error) { + out := new(DecryptNotesMarked) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/ScanAndMarkNoteByIvk", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) ScanNoteByOvk(ctx context.Context, in *OvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) { + out := new(DecryptNotes) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/ScanNoteByOvk", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) IsSpend(ctx context.Context, in *NoteParameters, opts ...grpc.CallOption) (*SpendResult, error) { + out := new(SpendResult) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/IsSpend", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) ScanShieldedTRC20NotesByIvk(ctx context.Context, in *IvkDecryptTRC20Parameters, opts ...grpc.CallOption) (*DecryptNotesTRC20, error) { + out := new(DecryptNotesTRC20) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/ScanShieldedTRC20NotesByIvk", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) ScanShieldedTRC20NotesByOvk(ctx context.Context, in *OvkDecryptTRC20Parameters, opts ...grpc.CallOption) (*DecryptNotesTRC20, error) { + out := new(DecryptNotesTRC20) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/ScanShieldedTRC20NotesByOvk", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) IsShieldedTRC20ContractNoteSpent(ctx context.Context, in *NfTRC20Parameters, opts ...grpc.CallOption) (*NullifierResult, error) { + out := new(NullifierResult) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/IsShieldedTRC20ContractNoteSpent", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetRewardInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + out := new(NumberMessage) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetRewardInfo", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetBrokerageInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + out := new(NumberMessage) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetBrokerageInfo", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) TriggerConstantContract(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/TriggerConstantContract", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) EstimateEnergy(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*EstimateEnergyMessage, error) { + out := new(EstimateEnergyMessage) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/EstimateEnergy", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetTransactionInfoByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*TransactionInfoList, error) { + out := new(TransactionInfoList) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetTransactionInfoByBlockNum", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetMarketOrderById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.MarketOrder, error) { + out := new(core.MarketOrder) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetMarketOrderById", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetMarketOrderByAccount(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.MarketOrderList, error) { + out := new(core.MarketOrderList) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetMarketOrderByAccount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetMarketPriceByPair(ctx context.Context, in *core.MarketOrderPair, opts ...grpc.CallOption) (*core.MarketPriceList, error) { + out := new(core.MarketPriceList) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetMarketPriceByPair", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetMarketOrderListByPair(ctx context.Context, in *core.MarketOrderPair, opts ...grpc.CallOption) (*core.MarketOrderList, error) { + out := new(core.MarketOrderList) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetMarketOrderListByPair", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetMarketPairList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.MarketOrderPairList, error) { + out := new(core.MarketOrderPairList) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetMarketPairList", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetBurnTrx(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + out := new(NumberMessage) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetBurnTrx", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetBlock(ctx context.Context, in *BlockReq, opts ...grpc.CallOption) (*BlockExtention, error) { + out := new(BlockExtention) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetBlock", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// WalletSolidityServer is the server API for WalletSolidity service. +// All implementations must embed UnimplementedWalletSolidityServer +// for forward compatibility +type WalletSolidityServer interface { + GetAccount(context.Context, *core.Account) (*core.Account, error) + GetAccountById(context.Context, *core.Account) (*core.Account, error) + ListWitnesses(context.Context, *EmptyMessage) (*WitnessList, error) + GetAssetIssueList(context.Context, *EmptyMessage) (*AssetIssueList, error) + GetPaginatedAssetIssueList(context.Context, *PaginatedMessage) (*AssetIssueList, error) + GetAssetIssueByName(context.Context, *BytesMessage) (*core.AssetIssueContract, error) + GetAssetIssueListByName(context.Context, *BytesMessage) (*AssetIssueList, error) + GetAssetIssueById(context.Context, *BytesMessage) (*core.AssetIssueContract, error) + // Please use GetNowBlock2 instead of this function. + GetNowBlock(context.Context, *EmptyMessage) (*core.Block, error) + // Use this function instead of GetNowBlock. + GetNowBlock2(context.Context, *EmptyMessage) (*BlockExtention, error) + // Please use GetBlockByNum2 instead of this function. + GetBlockByNum(context.Context, *NumberMessage) (*core.Block, error) + // Use this function instead of GetBlockByNum. + GetBlockByNum2(context.Context, *NumberMessage) (*BlockExtention, error) + GetTransactionCountByBlockNum(context.Context, *NumberMessage) (*NumberMessage, error) + GetDelegatedResource(context.Context, *DelegatedResourceMessage) (*DelegatedResourceList, error) + GetDelegatedResourceV2(context.Context, *DelegatedResourceMessage) (*DelegatedResourceList, error) + GetDelegatedResourceAccountIndex(context.Context, *BytesMessage) (*core.DelegatedResourceAccountIndex, error) + GetDelegatedResourceAccountIndexV2(context.Context, *BytesMessage) (*core.DelegatedResourceAccountIndex, error) + GetCanDelegatedMaxSize(context.Context, *CanDelegatedMaxSizeRequestMessage) (*CanDelegatedMaxSizeResponseMessage, error) + GetAvailableUnfreezeCount(context.Context, *GetAvailableUnfreezeCountRequestMessage) (*GetAvailableUnfreezeCountResponseMessage, error) + GetCanWithdrawUnfreezeAmount(context.Context, *CanWithdrawUnfreezeAmountRequestMessage) (*CanWithdrawUnfreezeAmountResponseMessage, error) + GetExchangeById(context.Context, *BytesMessage) (*core.Exchange, error) + ListExchanges(context.Context, *EmptyMessage) (*ExchangeList, error) + GetTransactionById(context.Context, *BytesMessage) (*core.Transaction, error) + GetTransactionInfoById(context.Context, *BytesMessage) (*core.TransactionInfo, error) + // Warning: do not invoke this interface provided by others. + GenerateAddress(context.Context, *EmptyMessage) (*AddressPrKeyPairMessage, error) + GetMerkleTreeVoucherInfo(context.Context, *core.OutputPointInfo) (*core.IncrementalMerkleVoucherInfo, error) + ScanNoteByIvk(context.Context, *IvkDecryptParameters) (*DecryptNotes, error) + ScanAndMarkNoteByIvk(context.Context, *IvkDecryptAndMarkParameters) (*DecryptNotesMarked, error) + ScanNoteByOvk(context.Context, *OvkDecryptParameters) (*DecryptNotes, error) + IsSpend(context.Context, *NoteParameters) (*SpendResult, error) + ScanShieldedTRC20NotesByIvk(context.Context, *IvkDecryptTRC20Parameters) (*DecryptNotesTRC20, error) + ScanShieldedTRC20NotesByOvk(context.Context, *OvkDecryptTRC20Parameters) (*DecryptNotesTRC20, error) + IsShieldedTRC20ContractNoteSpent(context.Context, *NfTRC20Parameters) (*NullifierResult, error) + GetRewardInfo(context.Context, *BytesMessage) (*NumberMessage, error) + GetBrokerageInfo(context.Context, *BytesMessage) (*NumberMessage, error) + TriggerConstantContract(context.Context, *core.TriggerSmartContract) (*TransactionExtention, error) + EstimateEnergy(context.Context, *core.TriggerSmartContract) (*EstimateEnergyMessage, error) + GetTransactionInfoByBlockNum(context.Context, *NumberMessage) (*TransactionInfoList, error) + GetMarketOrderById(context.Context, *BytesMessage) (*core.MarketOrder, error) + GetMarketOrderByAccount(context.Context, *BytesMessage) (*core.MarketOrderList, error) + GetMarketPriceByPair(context.Context, *core.MarketOrderPair) (*core.MarketPriceList, error) + GetMarketOrderListByPair(context.Context, *core.MarketOrderPair) (*core.MarketOrderList, error) + GetMarketPairList(context.Context, *EmptyMessage) (*core.MarketOrderPairList, error) + GetBurnTrx(context.Context, *EmptyMessage) (*NumberMessage, error) + GetBlock(context.Context, *BlockReq) (*BlockExtention, error) + mustEmbedUnimplementedWalletSolidityServer() +} + +// UnimplementedWalletSolidityServer must be embedded to have forward compatible implementations. +type UnimplementedWalletSolidityServer struct { +} + +func (UnimplementedWalletSolidityServer) GetAccount(context.Context, *core.Account) (*core.Account, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAccount not implemented") +} +func (UnimplementedWalletSolidityServer) GetAccountById(context.Context, *core.Account) (*core.Account, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAccountById not implemented") +} +func (UnimplementedWalletSolidityServer) ListWitnesses(context.Context, *EmptyMessage) (*WitnessList, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListWitnesses not implemented") +} +func (UnimplementedWalletSolidityServer) GetAssetIssueList(context.Context, *EmptyMessage) (*AssetIssueList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAssetIssueList not implemented") +} +func (UnimplementedWalletSolidityServer) GetPaginatedAssetIssueList(context.Context, *PaginatedMessage) (*AssetIssueList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetPaginatedAssetIssueList not implemented") +} +func (UnimplementedWalletSolidityServer) GetAssetIssueByName(context.Context, *BytesMessage) (*core.AssetIssueContract, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAssetIssueByName not implemented") +} +func (UnimplementedWalletSolidityServer) GetAssetIssueListByName(context.Context, *BytesMessage) (*AssetIssueList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAssetIssueListByName not implemented") +} +func (UnimplementedWalletSolidityServer) GetAssetIssueById(context.Context, *BytesMessage) (*core.AssetIssueContract, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAssetIssueById not implemented") +} +func (UnimplementedWalletSolidityServer) GetNowBlock(context.Context, *EmptyMessage) (*core.Block, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNowBlock not implemented") +} +func (UnimplementedWalletSolidityServer) GetNowBlock2(context.Context, *EmptyMessage) (*BlockExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNowBlock2 not implemented") +} +func (UnimplementedWalletSolidityServer) GetBlockByNum(context.Context, *NumberMessage) (*core.Block, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBlockByNum not implemented") +} +func (UnimplementedWalletSolidityServer) GetBlockByNum2(context.Context, *NumberMessage) (*BlockExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBlockByNum2 not implemented") +} +func (UnimplementedWalletSolidityServer) GetTransactionCountByBlockNum(context.Context, *NumberMessage) (*NumberMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionCountByBlockNum not implemented") +} +func (UnimplementedWalletSolidityServer) GetDelegatedResource(context.Context, *DelegatedResourceMessage) (*DelegatedResourceList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDelegatedResource not implemented") +} +func (UnimplementedWalletSolidityServer) GetDelegatedResourceV2(context.Context, *DelegatedResourceMessage) (*DelegatedResourceList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDelegatedResourceV2 not implemented") +} +func (UnimplementedWalletSolidityServer) GetDelegatedResourceAccountIndex(context.Context, *BytesMessage) (*core.DelegatedResourceAccountIndex, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDelegatedResourceAccountIndex not implemented") +} +func (UnimplementedWalletSolidityServer) GetDelegatedResourceAccountIndexV2(context.Context, *BytesMessage) (*core.DelegatedResourceAccountIndex, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDelegatedResourceAccountIndexV2 not implemented") +} +func (UnimplementedWalletSolidityServer) GetCanDelegatedMaxSize(context.Context, *CanDelegatedMaxSizeRequestMessage) (*CanDelegatedMaxSizeResponseMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetCanDelegatedMaxSize not implemented") +} +func (UnimplementedWalletSolidityServer) GetAvailableUnfreezeCount(context.Context, *GetAvailableUnfreezeCountRequestMessage) (*GetAvailableUnfreezeCountResponseMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAvailableUnfreezeCount not implemented") +} +func (UnimplementedWalletSolidityServer) GetCanWithdrawUnfreezeAmount(context.Context, *CanWithdrawUnfreezeAmountRequestMessage) (*CanWithdrawUnfreezeAmountResponseMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetCanWithdrawUnfreezeAmount not implemented") +} +func (UnimplementedWalletSolidityServer) GetExchangeById(context.Context, *BytesMessage) (*core.Exchange, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetExchangeById not implemented") +} +func (UnimplementedWalletSolidityServer) ListExchanges(context.Context, *EmptyMessage) (*ExchangeList, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListExchanges not implemented") +} +func (UnimplementedWalletSolidityServer) GetTransactionById(context.Context, *BytesMessage) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionById not implemented") +} +func (UnimplementedWalletSolidityServer) GetTransactionInfoById(context.Context, *BytesMessage) (*core.TransactionInfo, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionInfoById not implemented") +} +func (UnimplementedWalletSolidityServer) GenerateAddress(context.Context, *EmptyMessage) (*AddressPrKeyPairMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GenerateAddress not implemented") +} +func (UnimplementedWalletSolidityServer) GetMerkleTreeVoucherInfo(context.Context, *core.OutputPointInfo) (*core.IncrementalMerkleVoucherInfo, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMerkleTreeVoucherInfo not implemented") +} +func (UnimplementedWalletSolidityServer) ScanNoteByIvk(context.Context, *IvkDecryptParameters) (*DecryptNotes, error) { + return nil, status.Errorf(codes.Unimplemented, "method ScanNoteByIvk not implemented") +} +func (UnimplementedWalletSolidityServer) ScanAndMarkNoteByIvk(context.Context, *IvkDecryptAndMarkParameters) (*DecryptNotesMarked, error) { + return nil, status.Errorf(codes.Unimplemented, "method ScanAndMarkNoteByIvk not implemented") +} +func (UnimplementedWalletSolidityServer) ScanNoteByOvk(context.Context, *OvkDecryptParameters) (*DecryptNotes, error) { + return nil, status.Errorf(codes.Unimplemented, "method ScanNoteByOvk not implemented") +} +func (UnimplementedWalletSolidityServer) IsSpend(context.Context, *NoteParameters) (*SpendResult, error) { + return nil, status.Errorf(codes.Unimplemented, "method IsSpend not implemented") +} +func (UnimplementedWalletSolidityServer) ScanShieldedTRC20NotesByIvk(context.Context, *IvkDecryptTRC20Parameters) (*DecryptNotesTRC20, error) { + return nil, status.Errorf(codes.Unimplemented, "method ScanShieldedTRC20NotesByIvk not implemented") +} +func (UnimplementedWalletSolidityServer) ScanShieldedTRC20NotesByOvk(context.Context, *OvkDecryptTRC20Parameters) (*DecryptNotesTRC20, error) { + return nil, status.Errorf(codes.Unimplemented, "method ScanShieldedTRC20NotesByOvk not implemented") +} +func (UnimplementedWalletSolidityServer) IsShieldedTRC20ContractNoteSpent(context.Context, *NfTRC20Parameters) (*NullifierResult, error) { + return nil, status.Errorf(codes.Unimplemented, "method IsShieldedTRC20ContractNoteSpent not implemented") +} +func (UnimplementedWalletSolidityServer) GetRewardInfo(context.Context, *BytesMessage) (*NumberMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetRewardInfo not implemented") +} +func (UnimplementedWalletSolidityServer) GetBrokerageInfo(context.Context, *BytesMessage) (*NumberMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBrokerageInfo not implemented") +} +func (UnimplementedWalletSolidityServer) TriggerConstantContract(context.Context, *core.TriggerSmartContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method TriggerConstantContract not implemented") +} +func (UnimplementedWalletSolidityServer) EstimateEnergy(context.Context, *core.TriggerSmartContract) (*EstimateEnergyMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method EstimateEnergy not implemented") +} +func (UnimplementedWalletSolidityServer) GetTransactionInfoByBlockNum(context.Context, *NumberMessage) (*TransactionInfoList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionInfoByBlockNum not implemented") +} +func (UnimplementedWalletSolidityServer) GetMarketOrderById(context.Context, *BytesMessage) (*core.MarketOrder, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMarketOrderById not implemented") +} +func (UnimplementedWalletSolidityServer) GetMarketOrderByAccount(context.Context, *BytesMessage) (*core.MarketOrderList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMarketOrderByAccount not implemented") +} +func (UnimplementedWalletSolidityServer) GetMarketPriceByPair(context.Context, *core.MarketOrderPair) (*core.MarketPriceList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMarketPriceByPair not implemented") +} +func (UnimplementedWalletSolidityServer) GetMarketOrderListByPair(context.Context, *core.MarketOrderPair) (*core.MarketOrderList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMarketOrderListByPair not implemented") +} +func (UnimplementedWalletSolidityServer) GetMarketPairList(context.Context, *EmptyMessage) (*core.MarketOrderPairList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMarketPairList not implemented") +} +func (UnimplementedWalletSolidityServer) GetBurnTrx(context.Context, *EmptyMessage) (*NumberMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBurnTrx not implemented") +} +func (UnimplementedWalletSolidityServer) GetBlock(context.Context, *BlockReq) (*BlockExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBlock not implemented") +} +func (UnimplementedWalletSolidityServer) mustEmbedUnimplementedWalletSolidityServer() {} + +// UnsafeWalletSolidityServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to WalletSolidityServer will +// result in compilation errors. +type UnsafeWalletSolidityServer interface { + mustEmbedUnimplementedWalletSolidityServer() +} + +func RegisterWalletSolidityServer(s grpc.ServiceRegistrar, srv WalletSolidityServer) { + s.RegisterService(&WalletSolidity_ServiceDesc, srv) +} + +func _WalletSolidity_GetAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.Account) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetAccount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetAccount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetAccount(ctx, req.(*core.Account)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetAccountById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.Account) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetAccountById(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetAccountById", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetAccountById(ctx, req.(*core.Account)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_ListWitnesses_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).ListWitnesses(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/ListWitnesses", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).ListWitnesses(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetAssetIssueList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetAssetIssueList(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetAssetIssueList", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetAssetIssueList(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetPaginatedAssetIssueList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PaginatedMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetPaginatedAssetIssueList(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetPaginatedAssetIssueList", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetPaginatedAssetIssueList(ctx, req.(*PaginatedMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetAssetIssueByName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetAssetIssueByName(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetAssetIssueByName", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetAssetIssueByName(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetAssetIssueListByName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetAssetIssueListByName(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetAssetIssueListByName", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetAssetIssueListByName(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetAssetIssueById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetAssetIssueById(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetAssetIssueById", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetAssetIssueById(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetNowBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetNowBlock(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetNowBlock", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetNowBlock(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetNowBlock2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetNowBlock2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetNowBlock2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetNowBlock2(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetBlockByNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NumberMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetBlockByNum(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetBlockByNum", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetBlockByNum(ctx, req.(*NumberMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetBlockByNum2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NumberMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetBlockByNum2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetBlockByNum2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetBlockByNum2(ctx, req.(*NumberMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetTransactionCountByBlockNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NumberMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetTransactionCountByBlockNum(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetTransactionCountByBlockNum", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetTransactionCountByBlockNum(ctx, req.(*NumberMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetDelegatedResource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DelegatedResourceMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetDelegatedResource(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetDelegatedResource", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetDelegatedResource(ctx, req.(*DelegatedResourceMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetDelegatedResourceV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DelegatedResourceMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetDelegatedResourceV2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetDelegatedResourceV2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetDelegatedResourceV2(ctx, req.(*DelegatedResourceMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetDelegatedResourceAccountIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetDelegatedResourceAccountIndex(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetDelegatedResourceAccountIndex", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetDelegatedResourceAccountIndex(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetDelegatedResourceAccountIndexV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetDelegatedResourceAccountIndexV2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetDelegatedResourceAccountIndexV2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetDelegatedResourceAccountIndexV2(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetCanDelegatedMaxSize_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CanDelegatedMaxSizeRequestMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetCanDelegatedMaxSize(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetCanDelegatedMaxSize", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetCanDelegatedMaxSize(ctx, req.(*CanDelegatedMaxSizeRequestMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetAvailableUnfreezeCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetAvailableUnfreezeCountRequestMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetAvailableUnfreezeCount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetAvailableUnfreezeCount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetAvailableUnfreezeCount(ctx, req.(*GetAvailableUnfreezeCountRequestMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetCanWithdrawUnfreezeAmount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CanWithdrawUnfreezeAmountRequestMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetCanWithdrawUnfreezeAmount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetCanWithdrawUnfreezeAmount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetCanWithdrawUnfreezeAmount(ctx, req.(*CanWithdrawUnfreezeAmountRequestMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetExchangeById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetExchangeById(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetExchangeById", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetExchangeById(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_ListExchanges_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).ListExchanges(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/ListExchanges", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).ListExchanges(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetTransactionById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetTransactionById(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetTransactionById", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetTransactionById(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetTransactionInfoById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetTransactionInfoById(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetTransactionInfoById", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetTransactionInfoById(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GenerateAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GenerateAddress(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GenerateAddress", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GenerateAddress(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetMerkleTreeVoucherInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.OutputPointInfo) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetMerkleTreeVoucherInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetMerkleTreeVoucherInfo", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetMerkleTreeVoucherInfo(ctx, req.(*core.OutputPointInfo)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_ScanNoteByIvk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IvkDecryptParameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).ScanNoteByIvk(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/ScanNoteByIvk", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).ScanNoteByIvk(ctx, req.(*IvkDecryptParameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_ScanAndMarkNoteByIvk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IvkDecryptAndMarkParameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).ScanAndMarkNoteByIvk(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/ScanAndMarkNoteByIvk", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).ScanAndMarkNoteByIvk(ctx, req.(*IvkDecryptAndMarkParameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_ScanNoteByOvk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(OvkDecryptParameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).ScanNoteByOvk(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/ScanNoteByOvk", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).ScanNoteByOvk(ctx, req.(*OvkDecryptParameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_IsSpend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NoteParameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).IsSpend(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/IsSpend", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).IsSpend(ctx, req.(*NoteParameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_ScanShieldedTRC20NotesByIvk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IvkDecryptTRC20Parameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).ScanShieldedTRC20NotesByIvk(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/ScanShieldedTRC20NotesByIvk", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).ScanShieldedTRC20NotesByIvk(ctx, req.(*IvkDecryptTRC20Parameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_ScanShieldedTRC20NotesByOvk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(OvkDecryptTRC20Parameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).ScanShieldedTRC20NotesByOvk(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/ScanShieldedTRC20NotesByOvk", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).ScanShieldedTRC20NotesByOvk(ctx, req.(*OvkDecryptTRC20Parameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_IsShieldedTRC20ContractNoteSpent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NfTRC20Parameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).IsShieldedTRC20ContractNoteSpent(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/IsShieldedTRC20ContractNoteSpent", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).IsShieldedTRC20ContractNoteSpent(ctx, req.(*NfTRC20Parameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetRewardInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetRewardInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetRewardInfo", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetRewardInfo(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetBrokerageInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetBrokerageInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetBrokerageInfo", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetBrokerageInfo(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_TriggerConstantContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.TriggerSmartContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).TriggerConstantContract(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/TriggerConstantContract", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).TriggerConstantContract(ctx, req.(*core.TriggerSmartContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_EstimateEnergy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.TriggerSmartContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).EstimateEnergy(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/EstimateEnergy", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).EstimateEnergy(ctx, req.(*core.TriggerSmartContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetTransactionInfoByBlockNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NumberMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetTransactionInfoByBlockNum(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetTransactionInfoByBlockNum", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetTransactionInfoByBlockNum(ctx, req.(*NumberMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetMarketOrderById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetMarketOrderById(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetMarketOrderById", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetMarketOrderById(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetMarketOrderByAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetMarketOrderByAccount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetMarketOrderByAccount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetMarketOrderByAccount(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetMarketPriceByPair_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.MarketOrderPair) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetMarketPriceByPair(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetMarketPriceByPair", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetMarketPriceByPair(ctx, req.(*core.MarketOrderPair)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetMarketOrderListByPair_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.MarketOrderPair) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetMarketOrderListByPair(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetMarketOrderListByPair", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetMarketOrderListByPair(ctx, req.(*core.MarketOrderPair)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetMarketPairList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetMarketPairList(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetMarketPairList", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetMarketPairList(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetBurnTrx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetBurnTrx(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetBurnTrx", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetBurnTrx(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BlockReq) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetBlock(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetBlock", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetBlock(ctx, req.(*BlockReq)) + } + return interceptor(ctx, in, info, handler) +} + +// WalletSolidity_ServiceDesc is the grpc.ServiceDesc for WalletSolidity service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var WalletSolidity_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "protocol.WalletSolidity", + HandlerType: (*WalletSolidityServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetAccount", + Handler: _WalletSolidity_GetAccount_Handler, + }, + { + MethodName: "GetAccountById", + Handler: _WalletSolidity_GetAccountById_Handler, + }, + { + MethodName: "ListWitnesses", + Handler: _WalletSolidity_ListWitnesses_Handler, + }, + { + MethodName: "GetAssetIssueList", + Handler: _WalletSolidity_GetAssetIssueList_Handler, + }, + { + MethodName: "GetPaginatedAssetIssueList", + Handler: _WalletSolidity_GetPaginatedAssetIssueList_Handler, + }, + { + MethodName: "GetAssetIssueByName", + Handler: _WalletSolidity_GetAssetIssueByName_Handler, + }, + { + MethodName: "GetAssetIssueListByName", + Handler: _WalletSolidity_GetAssetIssueListByName_Handler, + }, + { + MethodName: "GetAssetIssueById", + Handler: _WalletSolidity_GetAssetIssueById_Handler, + }, + { + MethodName: "GetNowBlock", + Handler: _WalletSolidity_GetNowBlock_Handler, + }, + { + MethodName: "GetNowBlock2", + Handler: _WalletSolidity_GetNowBlock2_Handler, + }, + { + MethodName: "GetBlockByNum", + Handler: _WalletSolidity_GetBlockByNum_Handler, + }, + { + MethodName: "GetBlockByNum2", + Handler: _WalletSolidity_GetBlockByNum2_Handler, + }, + { + MethodName: "GetTransactionCountByBlockNum", + Handler: _WalletSolidity_GetTransactionCountByBlockNum_Handler, + }, + { + MethodName: "GetDelegatedResource", + Handler: _WalletSolidity_GetDelegatedResource_Handler, + }, + { + MethodName: "GetDelegatedResourceV2", + Handler: _WalletSolidity_GetDelegatedResourceV2_Handler, + }, + { + MethodName: "GetDelegatedResourceAccountIndex", + Handler: _WalletSolidity_GetDelegatedResourceAccountIndex_Handler, + }, + { + MethodName: "GetDelegatedResourceAccountIndexV2", + Handler: _WalletSolidity_GetDelegatedResourceAccountIndexV2_Handler, + }, + { + MethodName: "GetCanDelegatedMaxSize", + Handler: _WalletSolidity_GetCanDelegatedMaxSize_Handler, + }, + { + MethodName: "GetAvailableUnfreezeCount", + Handler: _WalletSolidity_GetAvailableUnfreezeCount_Handler, + }, + { + MethodName: "GetCanWithdrawUnfreezeAmount", + Handler: _WalletSolidity_GetCanWithdrawUnfreezeAmount_Handler, + }, + { + MethodName: "GetExchangeById", + Handler: _WalletSolidity_GetExchangeById_Handler, + }, + { + MethodName: "ListExchanges", + Handler: _WalletSolidity_ListExchanges_Handler, + }, + { + MethodName: "GetTransactionById", + Handler: _WalletSolidity_GetTransactionById_Handler, + }, + { + MethodName: "GetTransactionInfoById", + Handler: _WalletSolidity_GetTransactionInfoById_Handler, + }, + { + MethodName: "GenerateAddress", + Handler: _WalletSolidity_GenerateAddress_Handler, + }, + { + MethodName: "GetMerkleTreeVoucherInfo", + Handler: _WalletSolidity_GetMerkleTreeVoucherInfo_Handler, + }, + { + MethodName: "ScanNoteByIvk", + Handler: _WalletSolidity_ScanNoteByIvk_Handler, + }, + { + MethodName: "ScanAndMarkNoteByIvk", + Handler: _WalletSolidity_ScanAndMarkNoteByIvk_Handler, + }, + { + MethodName: "ScanNoteByOvk", + Handler: _WalletSolidity_ScanNoteByOvk_Handler, + }, + { + MethodName: "IsSpend", + Handler: _WalletSolidity_IsSpend_Handler, + }, + { + MethodName: "ScanShieldedTRC20NotesByIvk", + Handler: _WalletSolidity_ScanShieldedTRC20NotesByIvk_Handler, + }, + { + MethodName: "ScanShieldedTRC20NotesByOvk", + Handler: _WalletSolidity_ScanShieldedTRC20NotesByOvk_Handler, + }, + { + MethodName: "IsShieldedTRC20ContractNoteSpent", + Handler: _WalletSolidity_IsShieldedTRC20ContractNoteSpent_Handler, + }, + { + MethodName: "GetRewardInfo", + Handler: _WalletSolidity_GetRewardInfo_Handler, + }, + { + MethodName: "GetBrokerageInfo", + Handler: _WalletSolidity_GetBrokerageInfo_Handler, + }, + { + MethodName: "TriggerConstantContract", + Handler: _WalletSolidity_TriggerConstantContract_Handler, + }, + { + MethodName: "EstimateEnergy", + Handler: _WalletSolidity_EstimateEnergy_Handler, + }, + { + MethodName: "GetTransactionInfoByBlockNum", + Handler: _WalletSolidity_GetTransactionInfoByBlockNum_Handler, + }, + { + MethodName: "GetMarketOrderById", + Handler: _WalletSolidity_GetMarketOrderById_Handler, + }, + { + MethodName: "GetMarketOrderByAccount", + Handler: _WalletSolidity_GetMarketOrderByAccount_Handler, + }, + { + MethodName: "GetMarketPriceByPair", + Handler: _WalletSolidity_GetMarketPriceByPair_Handler, + }, + { + MethodName: "GetMarketOrderListByPair", + Handler: _WalletSolidity_GetMarketOrderListByPair_Handler, + }, + { + MethodName: "GetMarketPairList", + Handler: _WalletSolidity_GetMarketPairList_Handler, + }, + { + MethodName: "GetBurnTrx", + Handler: _WalletSolidity_GetBurnTrx_Handler, + }, + { + MethodName: "GetBlock", + Handler: _WalletSolidity_GetBlock_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "api/api.proto", +} + +// WalletExtensionClient is the client API for WalletExtension service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type WalletExtensionClient interface { + // Please use GetTransactionsFromThis2 instead of this function. + GetTransactionsFromThis(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionList, error) + // Use this function instead of GetTransactionsFromThis. + GetTransactionsFromThis2(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionListExtention, error) + // Please use GetTransactionsToThis2 instead of this function. + GetTransactionsToThis(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionList, error) + // Use this function instead of GetTransactionsToThis. + GetTransactionsToThis2(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionListExtention, error) +} + +type walletExtensionClient struct { + cc grpc.ClientConnInterface +} + +func NewWalletExtensionClient(cc grpc.ClientConnInterface) WalletExtensionClient { + return &walletExtensionClient{cc} +} + +func (c *walletExtensionClient) GetTransactionsFromThis(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionList, error) { + out := new(TransactionList) + err := c.cc.Invoke(ctx, "/protocol.WalletExtension/GetTransactionsFromThis", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletExtensionClient) GetTransactionsFromThis2(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionListExtention, error) { + out := new(TransactionListExtention) + err := c.cc.Invoke(ctx, "/protocol.WalletExtension/GetTransactionsFromThis2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletExtensionClient) GetTransactionsToThis(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionList, error) { + out := new(TransactionList) + err := c.cc.Invoke(ctx, "/protocol.WalletExtension/GetTransactionsToThis", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletExtensionClient) GetTransactionsToThis2(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionListExtention, error) { + out := new(TransactionListExtention) + err := c.cc.Invoke(ctx, "/protocol.WalletExtension/GetTransactionsToThis2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// WalletExtensionServer is the server API for WalletExtension service. +// All implementations must embed UnimplementedWalletExtensionServer +// for forward compatibility +type WalletExtensionServer interface { + // Please use GetTransactionsFromThis2 instead of this function. + GetTransactionsFromThis(context.Context, *AccountPaginated) (*TransactionList, error) + // Use this function instead of GetTransactionsFromThis. + GetTransactionsFromThis2(context.Context, *AccountPaginated) (*TransactionListExtention, error) + // Please use GetTransactionsToThis2 instead of this function. + GetTransactionsToThis(context.Context, *AccountPaginated) (*TransactionList, error) + // Use this function instead of GetTransactionsToThis. + GetTransactionsToThis2(context.Context, *AccountPaginated) (*TransactionListExtention, error) + mustEmbedUnimplementedWalletExtensionServer() +} + +// UnimplementedWalletExtensionServer must be embedded to have forward compatible implementations. +type UnimplementedWalletExtensionServer struct { +} + +func (UnimplementedWalletExtensionServer) GetTransactionsFromThis(context.Context, *AccountPaginated) (*TransactionList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionsFromThis not implemented") +} +func (UnimplementedWalletExtensionServer) GetTransactionsFromThis2(context.Context, *AccountPaginated) (*TransactionListExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionsFromThis2 not implemented") +} +func (UnimplementedWalletExtensionServer) GetTransactionsToThis(context.Context, *AccountPaginated) (*TransactionList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionsToThis not implemented") +} +func (UnimplementedWalletExtensionServer) GetTransactionsToThis2(context.Context, *AccountPaginated) (*TransactionListExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionsToThis2 not implemented") +} +func (UnimplementedWalletExtensionServer) mustEmbedUnimplementedWalletExtensionServer() {} + +// UnsafeWalletExtensionServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to WalletExtensionServer will +// result in compilation errors. +type UnsafeWalletExtensionServer interface { + mustEmbedUnimplementedWalletExtensionServer() +} + +func RegisterWalletExtensionServer(s grpc.ServiceRegistrar, srv WalletExtensionServer) { + s.RegisterService(&WalletExtension_ServiceDesc, srv) +} + +func _WalletExtension_GetTransactionsFromThis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AccountPaginated) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletExtensionServer).GetTransactionsFromThis(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletExtension/GetTransactionsFromThis", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletExtensionServer).GetTransactionsFromThis(ctx, req.(*AccountPaginated)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletExtension_GetTransactionsFromThis2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AccountPaginated) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletExtensionServer).GetTransactionsFromThis2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletExtension/GetTransactionsFromThis2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletExtensionServer).GetTransactionsFromThis2(ctx, req.(*AccountPaginated)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletExtension_GetTransactionsToThis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AccountPaginated) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletExtensionServer).GetTransactionsToThis(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletExtension/GetTransactionsToThis", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletExtensionServer).GetTransactionsToThis(ctx, req.(*AccountPaginated)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletExtension_GetTransactionsToThis2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AccountPaginated) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletExtensionServer).GetTransactionsToThis2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletExtension/GetTransactionsToThis2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletExtensionServer).GetTransactionsToThis2(ctx, req.(*AccountPaginated)) + } + return interceptor(ctx, in, info, handler) +} + +// WalletExtension_ServiceDesc is the grpc.ServiceDesc for WalletExtension service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var WalletExtension_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "protocol.WalletExtension", + HandlerType: (*WalletExtensionServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetTransactionsFromThis", + Handler: _WalletExtension_GetTransactionsFromThis_Handler, + }, + { + MethodName: "GetTransactionsFromThis2", + Handler: _WalletExtension_GetTransactionsFromThis2_Handler, + }, + { + MethodName: "GetTransactionsToThis", + Handler: _WalletExtension_GetTransactionsToThis_Handler, + }, + { + MethodName: "GetTransactionsToThis2", + Handler: _WalletExtension_GetTransactionsToThis2_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "api/api.proto", +} + +// DatabaseClient is the client API for Database service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type DatabaseClient interface { + // for tapos + GetBlockReference(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BlockReference, error) + GetDynamicProperties(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.DynamicProperties, error) + GetNowBlock(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.Block, error) + GetBlockByNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*core.Block, error) +} + +type databaseClient struct { + cc grpc.ClientConnInterface +} + +func NewDatabaseClient(cc grpc.ClientConnInterface) DatabaseClient { + return &databaseClient{cc} +} + +func (c *databaseClient) GetBlockReference(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BlockReference, error) { + out := new(BlockReference) + err := c.cc.Invoke(ctx, "/protocol.Database/getBlockReference", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *databaseClient) GetDynamicProperties(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.DynamicProperties, error) { + out := new(core.DynamicProperties) + err := c.cc.Invoke(ctx, "/protocol.Database/GetDynamicProperties", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *databaseClient) GetNowBlock(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.Block, error) { + out := new(core.Block) + err := c.cc.Invoke(ctx, "/protocol.Database/GetNowBlock", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *databaseClient) GetBlockByNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*core.Block, error) { + out := new(core.Block) + err := c.cc.Invoke(ctx, "/protocol.Database/GetBlockByNum", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// DatabaseServer is the server API for Database service. +// All implementations must embed UnimplementedDatabaseServer +// for forward compatibility +type DatabaseServer interface { + // for tapos + GetBlockReference(context.Context, *EmptyMessage) (*BlockReference, error) + GetDynamicProperties(context.Context, *EmptyMessage) (*core.DynamicProperties, error) + GetNowBlock(context.Context, *EmptyMessage) (*core.Block, error) + GetBlockByNum(context.Context, *NumberMessage) (*core.Block, error) + mustEmbedUnimplementedDatabaseServer() +} + +// UnimplementedDatabaseServer must be embedded to have forward compatible implementations. +type UnimplementedDatabaseServer struct { +} + +func (UnimplementedDatabaseServer) GetBlockReference(context.Context, *EmptyMessage) (*BlockReference, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBlockReference not implemented") +} +func (UnimplementedDatabaseServer) GetDynamicProperties(context.Context, *EmptyMessage) (*core.DynamicProperties, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDynamicProperties not implemented") +} +func (UnimplementedDatabaseServer) GetNowBlock(context.Context, *EmptyMessage) (*core.Block, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNowBlock not implemented") +} +func (UnimplementedDatabaseServer) GetBlockByNum(context.Context, *NumberMessage) (*core.Block, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBlockByNum not implemented") +} +func (UnimplementedDatabaseServer) mustEmbedUnimplementedDatabaseServer() {} + +// UnsafeDatabaseServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to DatabaseServer will +// result in compilation errors. +type UnsafeDatabaseServer interface { + mustEmbedUnimplementedDatabaseServer() +} + +func RegisterDatabaseServer(s grpc.ServiceRegistrar, srv DatabaseServer) { + s.RegisterService(&Database_ServiceDesc, srv) +} + +func _Database_GetBlockReference_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DatabaseServer).GetBlockReference(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Database/getBlockReference", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DatabaseServer).GetBlockReference(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Database_GetDynamicProperties_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DatabaseServer).GetDynamicProperties(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Database/GetDynamicProperties", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DatabaseServer).GetDynamicProperties(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Database_GetNowBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DatabaseServer).GetNowBlock(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Database/GetNowBlock", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DatabaseServer).GetNowBlock(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Database_GetBlockByNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NumberMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DatabaseServer).GetBlockByNum(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Database/GetBlockByNum", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DatabaseServer).GetBlockByNum(ctx, req.(*NumberMessage)) + } + return interceptor(ctx, in, info, handler) +} + +// Database_ServiceDesc is the grpc.ServiceDesc for Database service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var Database_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "protocol.Database", + HandlerType: (*DatabaseServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "getBlockReference", + Handler: _Database_GetBlockReference_Handler, + }, + { + MethodName: "GetDynamicProperties", + Handler: _Database_GetDynamicProperties_Handler, + }, + { + MethodName: "GetNowBlock", + Handler: _Database_GetNowBlock_Handler, + }, + { + MethodName: "GetBlockByNum", + Handler: _Database_GetBlockByNum_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "api/api.proto", +} + +// MonitorClient is the client API for Monitor service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type MonitorClient interface { + GetStatsInfo(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.MetricsInfo, error) +} + +type monitorClient struct { + cc grpc.ClientConnInterface +} + +func NewMonitorClient(cc grpc.ClientConnInterface) MonitorClient { + return &monitorClient{cc} +} + +func (c *monitorClient) GetStatsInfo(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.MetricsInfo, error) { + out := new(core.MetricsInfo) + err := c.cc.Invoke(ctx, "/protocol.Monitor/GetStatsInfo", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// MonitorServer is the server API for Monitor service. +// All implementations must embed UnimplementedMonitorServer +// for forward compatibility +type MonitorServer interface { + GetStatsInfo(context.Context, *EmptyMessage) (*core.MetricsInfo, error) + mustEmbedUnimplementedMonitorServer() +} + +// UnimplementedMonitorServer must be embedded to have forward compatible implementations. +type UnimplementedMonitorServer struct { +} + +func (UnimplementedMonitorServer) GetStatsInfo(context.Context, *EmptyMessage) (*core.MetricsInfo, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetStatsInfo not implemented") +} +func (UnimplementedMonitorServer) mustEmbedUnimplementedMonitorServer() {} + +// UnsafeMonitorServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to MonitorServer will +// result in compilation errors. +type UnsafeMonitorServer interface { + mustEmbedUnimplementedMonitorServer() +} + +func RegisterMonitorServer(s grpc.ServiceRegistrar, srv MonitorServer) { + s.RegisterService(&Monitor_ServiceDesc, srv) +} + +func _Monitor_GetStatsInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MonitorServer).GetStatsInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Monitor/GetStatsInfo", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MonitorServer).GetStatsInfo(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +// Monitor_ServiceDesc is the grpc.ServiceDesc for Monitor service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var Monitor_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "protocol.Monitor", + HandlerType: (*MonitorServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetStatsInfo", + Handler: _Monitor_GetStatsInfo_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "api/api.proto", +} + +// NetworkClient is the client API for Network service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type NetworkClient interface { +} + +type networkClient struct { + cc grpc.ClientConnInterface +} + +func NewNetworkClient(cc grpc.ClientConnInterface) NetworkClient { + return &networkClient{cc} +} + +// NetworkServer is the server API for Network service. +// All implementations must embed UnimplementedNetworkServer +// for forward compatibility +type NetworkServer interface { + mustEmbedUnimplementedNetworkServer() +} + +// UnimplementedNetworkServer must be embedded to have forward compatible implementations. +type UnimplementedNetworkServer struct { +} + +func (UnimplementedNetworkServer) mustEmbedUnimplementedNetworkServer() {} + +// UnsafeNetworkServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to NetworkServer will +// result in compilation errors. +type UnsafeNetworkServer interface { + mustEmbedUnimplementedNetworkServer() +} + +func RegisterNetworkServer(s grpc.ServiceRegistrar, srv NetworkServer) { + s.RegisterService(&Network_ServiceDesc, srv) +} + +// Network_ServiceDesc is the grpc.ServiceDesc for Network service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var Network_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "protocol.Network", + HandlerType: (*NetworkServer)(nil), + Methods: []grpc.MethodDesc{}, + Streams: []grpc.StreamDesc{}, + Metadata: "api/api.proto", +} diff --git a/pkg/proto/api/zksnark.pb.go b/pkg/proto/api/zksnark.pb.go index a7f0b913d..888c99640 100644 --- a/pkg/proto/api/zksnark.pb.go +++ b/pkg/proto/api/zksnark.pb.go @@ -1,18 +1,13 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.21.0-devel -// protoc v3.11.4 +// protoc-gen-go v1.28.0 +// protoc v3.21.12 // source: api/zksnark.proto package api import ( - context "context" core "github.com/fbsobreira/gotron-sdk/pkg/proto/core" - proto "github.com/golang/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -26,10 +21,6 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -// This is a compile-time assertion that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 - type ZksnarkResponse_Code int32 const ( @@ -313,83 +304,3 @@ func file_api_zksnark_proto_init() { file_api_zksnark_proto_goTypes = nil file_api_zksnark_proto_depIdxs = nil } - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConnInterface - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 - -// TronZksnarkClient is the client API for TronZksnark service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type TronZksnarkClient interface { - CheckZksnarkProof(ctx context.Context, in *ZksnarkRequest, opts ...grpc.CallOption) (*ZksnarkResponse, error) -} - -type tronZksnarkClient struct { - cc grpc.ClientConnInterface -} - -func NewTronZksnarkClient(cc grpc.ClientConnInterface) TronZksnarkClient { - return &tronZksnarkClient{cc} -} - -func (c *tronZksnarkClient) CheckZksnarkProof(ctx context.Context, in *ZksnarkRequest, opts ...grpc.CallOption) (*ZksnarkResponse, error) { - out := new(ZksnarkResponse) - err := c.cc.Invoke(ctx, "/protocol.TronZksnark/CheckZksnarkProof", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// TronZksnarkServer is the server API for TronZksnark service. -type TronZksnarkServer interface { - CheckZksnarkProof(context.Context, *ZksnarkRequest) (*ZksnarkResponse, error) -} - -// UnimplementedTronZksnarkServer can be embedded to have forward compatible implementations. -type UnimplementedTronZksnarkServer struct { -} - -func (*UnimplementedTronZksnarkServer) CheckZksnarkProof(context.Context, *ZksnarkRequest) (*ZksnarkResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CheckZksnarkProof not implemented") -} - -func RegisterTronZksnarkServer(s *grpc.Server, srv TronZksnarkServer) { - s.RegisterService(&_TronZksnark_serviceDesc, srv) -} - -func _TronZksnark_CheckZksnarkProof_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ZksnarkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(TronZksnarkServer).CheckZksnarkProof(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.TronZksnark/CheckZksnarkProof", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TronZksnarkServer).CheckZksnarkProof(ctx, req.(*ZksnarkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _TronZksnark_serviceDesc = grpc.ServiceDesc{ - ServiceName: "protocol.TronZksnark", - HandlerType: (*TronZksnarkServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CheckZksnarkProof", - Handler: _TronZksnark_CheckZksnarkProof_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "api/zksnark.proto", -} diff --git a/pkg/proto/api/zksnark_grpc.pb.go b/pkg/proto/api/zksnark_grpc.pb.go new file mode 100644 index 000000000..92b0606a6 --- /dev/null +++ b/pkg/proto/api/zksnark_grpc.pb.go @@ -0,0 +1,105 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.2.0 +// - protoc v3.21.12 +// source: api/zksnark.proto + +package api + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// TronZksnarkClient is the client API for TronZksnark service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type TronZksnarkClient interface { + CheckZksnarkProof(ctx context.Context, in *ZksnarkRequest, opts ...grpc.CallOption) (*ZksnarkResponse, error) +} + +type tronZksnarkClient struct { + cc grpc.ClientConnInterface +} + +func NewTronZksnarkClient(cc grpc.ClientConnInterface) TronZksnarkClient { + return &tronZksnarkClient{cc} +} + +func (c *tronZksnarkClient) CheckZksnarkProof(ctx context.Context, in *ZksnarkRequest, opts ...grpc.CallOption) (*ZksnarkResponse, error) { + out := new(ZksnarkResponse) + err := c.cc.Invoke(ctx, "/protocol.TronZksnark/CheckZksnarkProof", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// TronZksnarkServer is the server API for TronZksnark service. +// All implementations must embed UnimplementedTronZksnarkServer +// for forward compatibility +type TronZksnarkServer interface { + CheckZksnarkProof(context.Context, *ZksnarkRequest) (*ZksnarkResponse, error) + mustEmbedUnimplementedTronZksnarkServer() +} + +// UnimplementedTronZksnarkServer must be embedded to have forward compatible implementations. +type UnimplementedTronZksnarkServer struct { +} + +func (UnimplementedTronZksnarkServer) CheckZksnarkProof(context.Context, *ZksnarkRequest) (*ZksnarkResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CheckZksnarkProof not implemented") +} +func (UnimplementedTronZksnarkServer) mustEmbedUnimplementedTronZksnarkServer() {} + +// UnsafeTronZksnarkServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to TronZksnarkServer will +// result in compilation errors. +type UnsafeTronZksnarkServer interface { + mustEmbedUnimplementedTronZksnarkServer() +} + +func RegisterTronZksnarkServer(s grpc.ServiceRegistrar, srv TronZksnarkServer) { + s.RegisterService(&TronZksnark_ServiceDesc, srv) +} + +func _TronZksnark_CheckZksnarkProof_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ZksnarkRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(TronZksnarkServer).CheckZksnarkProof(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.TronZksnark/CheckZksnarkProof", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(TronZksnarkServer).CheckZksnarkProof(ctx, req.(*ZksnarkRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// TronZksnark_ServiceDesc is the grpc.ServiceDesc for TronZksnark service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var TronZksnark_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "protocol.TronZksnark", + HandlerType: (*TronZksnarkServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "CheckZksnarkProof", + Handler: _TronZksnark_CheckZksnarkProof_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "api/zksnark.proto", +} diff --git a/pkg/proto/core/Discover.pb.go b/pkg/proto/core/Discover.pb.go index 1bcbb5411..80a6809d5 100644 --- a/pkg/proto/core/Discover.pb.go +++ b/pkg/proto/core/Discover.pb.go @@ -1,13 +1,12 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.21.0-devel -// protoc v3.11.4 +// protoc-gen-go v1.28.0 +// protoc v3.21.12 // source: core/Discover.proto package core import ( - proto "github.com/golang/protobuf/proto" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -21,10 +20,6 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -// This is a compile-time assertion that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 - type Endpoint struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/pkg/proto/core/Tron.pb.go b/pkg/proto/core/Tron.pb.go index 0d2edd31f..1ccf9c67d 100644 --- a/pkg/proto/core/Tron.pb.go +++ b/pkg/proto/core/Tron.pb.go @@ -1,16 +1,15 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.21.0-devel -// protoc v3.11.4 +// protoc-gen-go v1.28.0 +// protoc v3.21.12 // source: core/Tron.proto package core import ( - proto "github.com/golang/protobuf/proto" - any "github.com/golang/protobuf/ptypes/any" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + anypb "google.golang.org/protobuf/types/known/anypb" reflect "reflect" sync "sync" ) @@ -22,10 +21,6 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -// This is a compile-time assertion that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 - type AccountType int32 const ( @@ -83,7 +78,7 @@ const ( ReasonCode_TOO_MANY_PEERS ReasonCode = 4 ReasonCode_DUPLICATE_PEER ReasonCode = 5 ReasonCode_INCOMPATIBLE_PROTOCOL ReasonCode = 6 - ReasonCode_NULL_IDENTITY ReasonCode = 7 + ReasonCode_RANDOM_ELIMINATION ReasonCode = 7 ReasonCode_PEER_QUITING ReasonCode = 8 ReasonCode_UNEXPECTED_IDENTITY ReasonCode = 9 ReasonCode_LOCAL_IDENTITY ReasonCode = 10 @@ -101,6 +96,7 @@ const ( ReasonCode_TIME_OUT ReasonCode = 32 ReasonCode_CONNECT_FAIL ReasonCode = 33 ReasonCode_TOO_MANY_PEERS_WITH_SAME_IP ReasonCode = 34 + ReasonCode_LIGHT_NODE_SYNC_FAIL ReasonCode = 35 ReasonCode_UNKNOWN ReasonCode = 255 ) @@ -112,7 +108,7 @@ var ( 4: "TOO_MANY_PEERS", 5: "DUPLICATE_PEER", 6: "INCOMPATIBLE_PROTOCOL", - 7: "NULL_IDENTITY", + 7: "RANDOM_ELIMINATION", 8: "PEER_QUITING", 9: "UNEXPECTED_IDENTITY", 10: "LOCAL_IDENTITY", @@ -130,6 +126,7 @@ var ( 32: "TIME_OUT", 33: "CONNECT_FAIL", 34: "TOO_MANY_PEERS_WITH_SAME_IP", + 35: "LIGHT_NODE_SYNC_FAIL", 255: "UNKNOWN", } ReasonCode_value = map[string]int32{ @@ -138,7 +135,7 @@ var ( "TOO_MANY_PEERS": 4, "DUPLICATE_PEER": 5, "INCOMPATIBLE_PROTOCOL": 6, - "NULL_IDENTITY": 7, + "RANDOM_ELIMINATION": 7, "PEER_QUITING": 8, "UNEXPECTED_IDENTITY": 9, "LOCAL_IDENTITY": 10, @@ -156,6 +153,7 @@ var ( "TIME_OUT": 32, "CONNECT_FAIL": 33, "TOO_MANY_PEERS_WITH_SAME_IP": 34, + "LIGHT_NODE_SYNC_FAIL": 35, "UNKNOWN": 255, } ) @@ -239,6 +237,55 @@ func (Proposal_State) EnumDescriptor() ([]byte, []int) { return file_core_Tron_proto_rawDescGZIP(), []int{2, 0} } +type MarketOrder_State int32 + +const ( + MarketOrder_ACTIVE MarketOrder_State = 0 + MarketOrder_INACTIVE MarketOrder_State = 1 + MarketOrder_CANCELED MarketOrder_State = 2 +) + +// Enum value maps for MarketOrder_State. +var ( + MarketOrder_State_name = map[int32]string{ + 0: "ACTIVE", + 1: "INACTIVE", + 2: "CANCELED", + } + MarketOrder_State_value = map[string]int32{ + "ACTIVE": 0, + "INACTIVE": 1, + "CANCELED": 2, + } +) + +func (x MarketOrder_State) Enum() *MarketOrder_State { + p := new(MarketOrder_State) + *p = x + return p +} + +func (x MarketOrder_State) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (MarketOrder_State) Descriptor() protoreflect.EnumDescriptor { + return file_core_Tron_proto_enumTypes[3].Descriptor() +} + +func (MarketOrder_State) Type() protoreflect.EnumType { + return &file_core_Tron_proto_enumTypes[3] +} + +func (x MarketOrder_State) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use MarketOrder_State.Descriptor instead. +func (MarketOrder_State) EnumDescriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{4, 0} +} + type Permission_PermissionType int32 const ( @@ -272,11 +319,11 @@ func (x Permission_PermissionType) String() string { } func (Permission_PermissionType) Descriptor() protoreflect.EnumDescriptor { - return file_core_Tron_proto_enumTypes[3].Descriptor() + return file_core_Tron_proto_enumTypes[4].Descriptor() } func (Permission_PermissionType) Type() protoreflect.EnumType { - return &file_core_Tron_proto_enumTypes[3] + return &file_core_Tron_proto_enumTypes[4] } func (x Permission_PermissionType) Number() protoreflect.EnumNumber { @@ -285,7 +332,7 @@ func (x Permission_PermissionType) Number() protoreflect.EnumNumber { // Deprecated: Use Permission_PermissionType.Descriptor instead. func (Permission_PermissionType) EnumDescriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{9, 0} + return file_core_Tron_proto_rawDescGZIP(), []int{17, 0} } type Transaction_Contract_ContractType int32 @@ -324,6 +371,13 @@ const ( Transaction_Contract_ClearABIContract Transaction_Contract_ContractType = 48 Transaction_Contract_UpdateBrokerageContract Transaction_Contract_ContractType = 49 Transaction_Contract_ShieldedTransferContract Transaction_Contract_ContractType = 51 + Transaction_Contract_MarketSellAssetContract Transaction_Contract_ContractType = 52 + Transaction_Contract_MarketCancelOrderContract Transaction_Contract_ContractType = 53 + Transaction_Contract_FreezeBalanceV2Contract Transaction_Contract_ContractType = 54 + Transaction_Contract_UnfreezeBalanceV2Contract Transaction_Contract_ContractType = 55 + Transaction_Contract_WithdrawExpireUnfreezeContract Transaction_Contract_ContractType = 56 + Transaction_Contract_DelegateResourceContract Transaction_Contract_ContractType = 57 + Transaction_Contract_UnDelegateResourceContract Transaction_Contract_ContractType = 58 ) // Enum value maps for Transaction_Contract_ContractType. @@ -362,6 +416,13 @@ var ( 48: "ClearABIContract", 49: "UpdateBrokerageContract", 51: "ShieldedTransferContract", + 52: "MarketSellAssetContract", + 53: "MarketCancelOrderContract", + 54: "FreezeBalanceV2Contract", + 55: "UnfreezeBalanceV2Contract", + 56: "WithdrawExpireUnfreezeContract", + 57: "DelegateResourceContract", + 58: "UnDelegateResourceContract", } Transaction_Contract_ContractType_value = map[string]int32{ "AccountCreateContract": 0, @@ -397,6 +458,13 @@ var ( "ClearABIContract": 48, "UpdateBrokerageContract": 49, "ShieldedTransferContract": 51, + "MarketSellAssetContract": 52, + "MarketCancelOrderContract": 53, + "FreezeBalanceV2Contract": 54, + "UnfreezeBalanceV2Contract": 55, + "WithdrawExpireUnfreezeContract": 56, + "DelegateResourceContract": 57, + "UnDelegateResourceContract": 58, } ) @@ -411,11 +479,11 @@ func (x Transaction_Contract_ContractType) String() string { } func (Transaction_Contract_ContractType) Descriptor() protoreflect.EnumDescriptor { - return file_core_Tron_proto_enumTypes[4].Descriptor() + return file_core_Tron_proto_enumTypes[5].Descriptor() } func (Transaction_Contract_ContractType) Type() protoreflect.EnumType { - return &file_core_Tron_proto_enumTypes[4] + return &file_core_Tron_proto_enumTypes[5] } func (x Transaction_Contract_ContractType) Number() protoreflect.EnumNumber { @@ -424,7 +492,7 @@ func (x Transaction_Contract_ContractType) Number() protoreflect.EnumNumber { // Deprecated: Use Transaction_Contract_ContractType.Descriptor instead. func (Transaction_Contract_ContractType) EnumDescriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{16, 0, 0} + return file_core_Tron_proto_rawDescGZIP(), []int{25, 0, 0} } type Transaction_ResultCode int32 @@ -457,11 +525,11 @@ func (x Transaction_ResultCode) String() string { } func (Transaction_ResultCode) Descriptor() protoreflect.EnumDescriptor { - return file_core_Tron_proto_enumTypes[5].Descriptor() + return file_core_Tron_proto_enumTypes[6].Descriptor() } func (Transaction_ResultCode) Type() protoreflect.EnumType { - return &file_core_Tron_proto_enumTypes[5] + return &file_core_Tron_proto_enumTypes[6] } func (x Transaction_ResultCode) Number() protoreflect.EnumNumber { @@ -470,7 +538,7 @@ func (x Transaction_ResultCode) Number() protoreflect.EnumNumber { // Deprecated: Use Transaction_ResultCode.Descriptor instead. func (Transaction_ResultCode) EnumDescriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{16, 1, 0} + return file_core_Tron_proto_rawDescGZIP(), []int{25, 1, 0} } type Transaction_ResultContractResult int32 @@ -491,6 +559,7 @@ const ( Transaction_Result_JVM_STACK_OVER_FLOW Transaction_ResultContractResult = 12 Transaction_Result_UNKNOWN Transaction_ResultContractResult = 13 Transaction_Result_TRANSFER_FAILED Transaction_ResultContractResult = 14 + Transaction_Result_INVALID_CODE Transaction_ResultContractResult = 15 ) // Enum value maps for Transaction_ResultContractResult. @@ -511,6 +580,7 @@ var ( 12: "JVM_STACK_OVER_FLOW", 13: "UNKNOWN", 14: "TRANSFER_FAILED", + 15: "INVALID_CODE", } Transaction_ResultContractResult_value = map[string]int32{ "DEFAULT": 0, @@ -528,6 +598,7 @@ var ( "JVM_STACK_OVER_FLOW": 12, "UNKNOWN": 13, "TRANSFER_FAILED": 14, + "INVALID_CODE": 15, } ) @@ -542,11 +613,11 @@ func (x Transaction_ResultContractResult) String() string { } func (Transaction_ResultContractResult) Descriptor() protoreflect.EnumDescriptor { - return file_core_Tron_proto_enumTypes[6].Descriptor() + return file_core_Tron_proto_enumTypes[7].Descriptor() } func (Transaction_ResultContractResult) Type() protoreflect.EnumType { - return &file_core_Tron_proto_enumTypes[6] + return &file_core_Tron_proto_enumTypes[7] } func (x Transaction_ResultContractResult) Number() protoreflect.EnumNumber { @@ -555,7 +626,7 @@ func (x Transaction_ResultContractResult) Number() protoreflect.EnumNumber { // Deprecated: Use Transaction_ResultContractResult.Descriptor instead. func (Transaction_ResultContractResult) EnumDescriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{16, 1, 1} + return file_core_Tron_proto_rawDescGZIP(), []int{25, 1, 1} } type TransactionInfoCode int32 @@ -588,11 +659,11 @@ func (x TransactionInfoCode) String() string { } func (TransactionInfoCode) Descriptor() protoreflect.EnumDescriptor { - return file_core_Tron_proto_enumTypes[7].Descriptor() + return file_core_Tron_proto_enumTypes[8].Descriptor() } func (TransactionInfoCode) Type() protoreflect.EnumType { - return &file_core_Tron_proto_enumTypes[7] + return &file_core_Tron_proto_enumTypes[8] } func (x TransactionInfoCode) Number() protoreflect.EnumNumber { @@ -601,7 +672,7 @@ func (x TransactionInfoCode) Number() protoreflect.EnumNumber { // Deprecated: Use TransactionInfoCode.Descriptor instead. func (TransactionInfoCode) EnumDescriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{17, 0} + return file_core_Tron_proto_rawDescGZIP(), []int{26, 0} } type BlockInventory_Type int32 @@ -637,11 +708,11 @@ func (x BlockInventory_Type) String() string { } func (BlockInventory_Type) Descriptor() protoreflect.EnumDescriptor { - return file_core_Tron_proto_enumTypes[8].Descriptor() + return file_core_Tron_proto_enumTypes[9].Descriptor() } func (BlockInventory_Type) Type() protoreflect.EnumType { - return &file_core_Tron_proto_enumTypes[8] + return &file_core_Tron_proto_enumTypes[9] } func (x BlockInventory_Type) Number() protoreflect.EnumNumber { @@ -650,7 +721,7 @@ func (x BlockInventory_Type) Number() protoreflect.EnumNumber { // Deprecated: Use BlockInventory_Type.Descriptor instead. func (BlockInventory_Type) EnumDescriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{24, 0} + return file_core_Tron_proto_rawDescGZIP(), []int{33, 0} } type Inventory_InventoryType int32 @@ -683,11 +754,11 @@ func (x Inventory_InventoryType) String() string { } func (Inventory_InventoryType) Descriptor() protoreflect.EnumDescriptor { - return file_core_Tron_proto_enumTypes[9].Descriptor() + return file_core_Tron_proto_enumTypes[10].Descriptor() } func (Inventory_InventoryType) Type() protoreflect.EnumType { - return &file_core_Tron_proto_enumTypes[9] + return &file_core_Tron_proto_enumTypes[10] } func (x Inventory_InventoryType) Number() protoreflect.EnumNumber { @@ -696,7 +767,7 @@ func (x Inventory_InventoryType) Number() protoreflect.EnumNumber { // Deprecated: Use Inventory_InventoryType.Descriptor instead. func (Inventory_InventoryType) EnumDescriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{25, 0} + return file_core_Tron_proto_rawDescGZIP(), []int{34, 0} } type Items_ItemType int32 @@ -735,11 +806,11 @@ func (x Items_ItemType) String() string { } func (Items_ItemType) Descriptor() protoreflect.EnumDescriptor { - return file_core_Tron_proto_enumTypes[10].Descriptor() + return file_core_Tron_proto_enumTypes[11].Descriptor() } func (Items_ItemType) Type() protoreflect.EnumType { - return &file_core_Tron_proto_enumTypes[10] + return &file_core_Tron_proto_enumTypes[11] } func (x Items_ItemType) Number() protoreflect.EnumNumber { @@ -748,7 +819,108 @@ func (x Items_ItemType) Number() protoreflect.EnumNumber { // Deprecated: Use Items_ItemType.Descriptor instead. func (Items_ItemType) EnumDescriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{26, 0} + return file_core_Tron_proto_rawDescGZIP(), []int{35, 0} +} + +type PBFTMessage_MsgType int32 + +const ( + PBFTMessage_VIEW_CHANGE PBFTMessage_MsgType = 0 + PBFTMessage_REQUEST PBFTMessage_MsgType = 1 + PBFTMessage_PREPREPARE PBFTMessage_MsgType = 2 + PBFTMessage_PREPARE PBFTMessage_MsgType = 3 + PBFTMessage_COMMIT PBFTMessage_MsgType = 4 +) + +// Enum value maps for PBFTMessage_MsgType. +var ( + PBFTMessage_MsgType_name = map[int32]string{ + 0: "VIEW_CHANGE", + 1: "REQUEST", + 2: "PREPREPARE", + 3: "PREPARE", + 4: "COMMIT", + } + PBFTMessage_MsgType_value = map[string]int32{ + "VIEW_CHANGE": 0, + "REQUEST": 1, + "PREPREPARE": 2, + "PREPARE": 3, + "COMMIT": 4, + } +) + +func (x PBFTMessage_MsgType) Enum() *PBFTMessage_MsgType { + p := new(PBFTMessage_MsgType) + *p = x + return p +} + +func (x PBFTMessage_MsgType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PBFTMessage_MsgType) Descriptor() protoreflect.EnumDescriptor { + return file_core_Tron_proto_enumTypes[12].Descriptor() +} + +func (PBFTMessage_MsgType) Type() protoreflect.EnumType { + return &file_core_Tron_proto_enumTypes[12] +} + +func (x PBFTMessage_MsgType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PBFTMessage_MsgType.Descriptor instead. +func (PBFTMessage_MsgType) EnumDescriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{43, 0} +} + +type PBFTMessage_DataType int32 + +const ( + PBFTMessage_BLOCK PBFTMessage_DataType = 0 + PBFTMessage_SRL PBFTMessage_DataType = 1 +) + +// Enum value maps for PBFTMessage_DataType. +var ( + PBFTMessage_DataType_name = map[int32]string{ + 0: "BLOCK", + 1: "SRL", + } + PBFTMessage_DataType_value = map[string]int32{ + "BLOCK": 0, + "SRL": 1, + } +) + +func (x PBFTMessage_DataType) Enum() *PBFTMessage_DataType { + p := new(PBFTMessage_DataType) + *p = x + return p +} + +func (x PBFTMessage_DataType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PBFTMessage_DataType) Descriptor() protoreflect.EnumDescriptor { + return file_core_Tron_proto_enumTypes[13].Descriptor() +} + +func (PBFTMessage_DataType) Type() protoreflect.EnumType { + return &file_core_Tron_proto_enumTypes[13] +} + +func (x PBFTMessage_DataType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PBFTMessage_DataType.Descriptor instead. +func (PBFTMessage_DataType) EnumDescriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{43, 1} } // AccountId, (name, address) use name, (null, address) use address, (name, null) use name, @@ -1057,16 +1229,30 @@ func (x *Exchange) GetSecondTokenBalance() int64 { return 0 } -type ChainParameters struct { +// market +type MarketOrder struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ChainParameter []*ChainParameters_ChainParameter `protobuf:"bytes,1,rep,name=chainParameter,proto3" json:"chainParameter,omitempty"` -} - -func (x *ChainParameters) Reset() { - *x = ChainParameters{} + OrderId []byte `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` + OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + CreateTime int64 `protobuf:"varint,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + SellTokenId []byte `protobuf:"bytes,4,opt,name=sell_token_id,json=sellTokenId,proto3" json:"sell_token_id,omitempty"` + SellTokenQuantity int64 `protobuf:"varint,5,opt,name=sell_token_quantity,json=sellTokenQuantity,proto3" json:"sell_token_quantity,omitempty"` + BuyTokenId []byte `protobuf:"bytes,6,opt,name=buy_token_id,json=buyTokenId,proto3" json:"buy_token_id,omitempty"` + BuyTokenQuantity int64 `protobuf:"varint,7,opt,name=buy_token_quantity,json=buyTokenQuantity,proto3" json:"buy_token_quantity,omitempty"` // min to receive + SellTokenQuantityRemain int64 `protobuf:"varint,9,opt,name=sell_token_quantity_remain,json=sellTokenQuantityRemain,proto3" json:"sell_token_quantity_remain,omitempty"` + // When state != ACTIVE and sell_token_quantity_return !=0, + //it means that some sell tokens are returned to the account due to insufficient remaining amount + SellTokenQuantityReturn int64 `protobuf:"varint,10,opt,name=sell_token_quantity_return,json=sellTokenQuantityReturn,proto3" json:"sell_token_quantity_return,omitempty"` + State MarketOrder_State `protobuf:"varint,11,opt,name=state,proto3,enum=protocol.MarketOrder_State" json:"state,omitempty"` + Prev []byte `protobuf:"bytes,12,opt,name=prev,proto3" json:"prev,omitempty"` + Next []byte `protobuf:"bytes,13,opt,name=next,proto3" json:"next,omitempty"` +} + +func (x *MarketOrder) Reset() { + *x = MarketOrder{} if protoimpl.UnsafeEnabled { mi := &file_core_Tron_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1074,13 +1260,13 @@ func (x *ChainParameters) Reset() { } } -func (x *ChainParameters) String() string { +func (x *MarketOrder) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ChainParameters) ProtoMessage() {} +func (*MarketOrder) ProtoMessage() {} -func (x *ChainParameters) ProtoReflect() protoreflect.Message { +func (x *MarketOrder) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1092,374 +1278,341 @@ func (x *ChainParameters) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ChainParameters.ProtoReflect.Descriptor instead. -func (*ChainParameters) Descriptor() ([]byte, []int) { +// Deprecated: Use MarketOrder.ProtoReflect.Descriptor instead. +func (*MarketOrder) Descriptor() ([]byte, []int) { return file_core_Tron_proto_rawDescGZIP(), []int{4} } -func (x *ChainParameters) GetChainParameter() []*ChainParameters_ChainParameter { +func (x *MarketOrder) GetOrderId() []byte { if x != nil { - return x.ChainParameter + return x.OrderId } return nil } -// Account -type Account struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // account nick name - AccountName []byte `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` - Type AccountType `protobuf:"varint,2,opt,name=type,proto3,enum=protocol.AccountType" json:"type,omitempty"` - // the create address - Address []byte `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` - // the trx balance - Balance int64 `protobuf:"varint,4,opt,name=balance,proto3" json:"balance,omitempty"` - // the votes - Votes []*Vote `protobuf:"bytes,5,rep,name=votes,proto3" json:"votes,omitempty"` - // the other asset owned by this account - Asset map[string]int64 `protobuf:"bytes,6,rep,name=asset,proto3" json:"asset,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - // the other asset owned by this account,key is assetId - AssetV2 map[string]int64 `protobuf:"bytes,56,rep,name=assetV2,proto3" json:"assetV2,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - // the frozen balance for bandwidth - Frozen []*Account_Frozen `protobuf:"bytes,7,rep,name=frozen,proto3" json:"frozen,omitempty"` - // bandwidth, get from frozen - NetUsage int64 `protobuf:"varint,8,opt,name=net_usage,json=netUsage,proto3" json:"net_usage,omitempty"` - //Frozen balance provided by other accounts to this account - AcquiredDelegatedFrozenBalanceForBandwidth int64 `protobuf:"varint,41,opt,name=acquired_delegated_frozen_balance_for_bandwidth,json=acquiredDelegatedFrozenBalanceForBandwidth,proto3" json:"acquired_delegated_frozen_balance_for_bandwidth,omitempty"` - //Freeze and provide balances to other accounts - DelegatedFrozenBalanceForBandwidth int64 `protobuf:"varint,42,opt,name=delegated_frozen_balance_for_bandwidth,json=delegatedFrozenBalanceForBandwidth,proto3" json:"delegated_frozen_balance_for_bandwidth,omitempty"` - // this account create time - CreateTime int64 `protobuf:"varint,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - // this last operation time, including transfer, voting and so on. //FIXME fix grammar - LatestOprationTime int64 `protobuf:"varint,10,opt,name=latest_opration_time,json=latestOprationTime,proto3" json:"latest_opration_time,omitempty"` - // witness block producing allowance - Allowance int64 `protobuf:"varint,11,opt,name=allowance,proto3" json:"allowance,omitempty"` - // last withdraw time - LatestWithdrawTime int64 `protobuf:"varint,12,opt,name=latest_withdraw_time,json=latestWithdrawTime,proto3" json:"latest_withdraw_time,omitempty"` - // not used so far - Code []byte `protobuf:"bytes,13,opt,name=code,proto3" json:"code,omitempty"` - IsWitness bool `protobuf:"varint,14,opt,name=is_witness,json=isWitness,proto3" json:"is_witness,omitempty"` - IsCommittee bool `protobuf:"varint,15,opt,name=is_committee,json=isCommittee,proto3" json:"is_committee,omitempty"` - // frozen asset(for asset issuer) - FrozenSupply []*Account_Frozen `protobuf:"bytes,16,rep,name=frozen_supply,json=frozenSupply,proto3" json:"frozen_supply,omitempty"` - // asset_issued_name - AssetIssuedName []byte `protobuf:"bytes,17,opt,name=asset_issued_name,json=assetIssuedName,proto3" json:"asset_issued_name,omitempty"` - AssetIssued_ID []byte `protobuf:"bytes,57,opt,name=asset_issued_ID,json=assetIssuedID,proto3" json:"asset_issued_ID,omitempty"` - LatestAssetOperationTime map[string]int64 `protobuf:"bytes,18,rep,name=latest_asset_operation_time,json=latestAssetOperationTime,proto3" json:"latest_asset_operation_time,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - LatestAssetOperationTimeV2 map[string]int64 `protobuf:"bytes,58,rep,name=latest_asset_operation_timeV2,json=latestAssetOperationTimeV2,proto3" json:"latest_asset_operation_timeV2,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - FreeNetUsage int64 `protobuf:"varint,19,opt,name=free_net_usage,json=freeNetUsage,proto3" json:"free_net_usage,omitempty"` - FreeAssetNetUsage map[string]int64 `protobuf:"bytes,20,rep,name=free_asset_net_usage,json=freeAssetNetUsage,proto3" json:"free_asset_net_usage,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - FreeAssetNetUsageV2 map[string]int64 `protobuf:"bytes,59,rep,name=free_asset_net_usageV2,json=freeAssetNetUsageV2,proto3" json:"free_asset_net_usageV2,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - LatestConsumeTime int64 `protobuf:"varint,21,opt,name=latest_consume_time,json=latestConsumeTime,proto3" json:"latest_consume_time,omitempty"` - LatestConsumeFreeTime int64 `protobuf:"varint,22,opt,name=latest_consume_free_time,json=latestConsumeFreeTime,proto3" json:"latest_consume_free_time,omitempty"` - // the identity of this account, case insensitive - AccountId []byte `protobuf:"bytes,23,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` - AccountResource *Account_AccountResource `protobuf:"bytes,26,opt,name=account_resource,json=accountResource,proto3" json:"account_resource,omitempty"` - CodeHash []byte `protobuf:"bytes,30,opt,name=codeHash,proto3" json:"codeHash,omitempty"` - OwnerPermission *Permission `protobuf:"bytes,31,opt,name=owner_permission,json=ownerPermission,proto3" json:"owner_permission,omitempty"` - WitnessPermission *Permission `protobuf:"bytes,32,opt,name=witness_permission,json=witnessPermission,proto3" json:"witness_permission,omitempty"` - ActivePermission []*Permission `protobuf:"bytes,33,rep,name=active_permission,json=activePermission,proto3" json:"active_permission,omitempty"` -} - -func (x *Account) Reset() { - *x = Account{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *MarketOrder) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress } + return nil } -func (x *Account) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Account) ProtoMessage() {} - -func (x *Account) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *MarketOrder) GetCreateTime() int64 { + if x != nil { + return x.CreateTime } - return mi.MessageOf(x) -} - -// Deprecated: Use Account.ProtoReflect.Descriptor instead. -func (*Account) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{5} + return 0 } -func (x *Account) GetAccountName() []byte { +func (x *MarketOrder) GetSellTokenId() []byte { if x != nil { - return x.AccountName + return x.SellTokenId } return nil } -func (x *Account) GetType() AccountType { +func (x *MarketOrder) GetSellTokenQuantity() int64 { if x != nil { - return x.Type + return x.SellTokenQuantity } - return AccountType_Normal + return 0 } -func (x *Account) GetAddress() []byte { +func (x *MarketOrder) GetBuyTokenId() []byte { if x != nil { - return x.Address + return x.BuyTokenId } return nil } -func (x *Account) GetBalance() int64 { +func (x *MarketOrder) GetBuyTokenQuantity() int64 { if x != nil { - return x.Balance + return x.BuyTokenQuantity } return 0 } -func (x *Account) GetVotes() []*Vote { +func (x *MarketOrder) GetSellTokenQuantityRemain() int64 { if x != nil { - return x.Votes + return x.SellTokenQuantityRemain } - return nil + return 0 } -func (x *Account) GetAsset() map[string]int64 { +func (x *MarketOrder) GetSellTokenQuantityReturn() int64 { if x != nil { - return x.Asset + return x.SellTokenQuantityReturn } - return nil + return 0 } -func (x *Account) GetAssetV2() map[string]int64 { +func (x *MarketOrder) GetState() MarketOrder_State { if x != nil { - return x.AssetV2 + return x.State } - return nil + return MarketOrder_ACTIVE } -func (x *Account) GetFrozen() []*Account_Frozen { +func (x *MarketOrder) GetPrev() []byte { if x != nil { - return x.Frozen + return x.Prev } return nil } -func (x *Account) GetNetUsage() int64 { +func (x *MarketOrder) GetNext() []byte { if x != nil { - return x.NetUsage + return x.Next } - return 0 + return nil } -func (x *Account) GetAcquiredDelegatedFrozenBalanceForBandwidth() int64 { - if x != nil { - return x.AcquiredDelegatedFrozenBalanceForBandwidth - } - return 0 +type MarketOrderList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Orders []*MarketOrder `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"` } -func (x *Account) GetDelegatedFrozenBalanceForBandwidth() int64 { - if x != nil { - return x.DelegatedFrozenBalanceForBandwidth +func (x *MarketOrderList) Reset() { + *x = MarketOrderList{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return 0 } -func (x *Account) GetCreateTime() int64 { - if x != nil { - return x.CreateTime - } - return 0 +func (x *MarketOrderList) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *Account) GetLatestOprationTime() int64 { - if x != nil { - return x.LatestOprationTime - } - return 0 -} +func (*MarketOrderList) ProtoMessage() {} -func (x *Account) GetAllowance() int64 { - if x != nil { - return x.Allowance +func (x *MarketOrderList) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return 0 + return mi.MessageOf(x) } -func (x *Account) GetLatestWithdrawTime() int64 { - if x != nil { - return x.LatestWithdrawTime - } - return 0 +// Deprecated: Use MarketOrderList.ProtoReflect.Descriptor instead. +func (*MarketOrderList) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{5} } -func (x *Account) GetCode() []byte { +func (x *MarketOrderList) GetOrders() []*MarketOrder { if x != nil { - return x.Code + return x.Orders } return nil } -func (x *Account) GetIsWitness() bool { - if x != nil { - return x.IsWitness - } - return false +type MarketOrderPairList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OrderPair []*MarketOrderPair `protobuf:"bytes,1,rep,name=orderPair,proto3" json:"orderPair,omitempty"` } -func (x *Account) GetIsCommittee() bool { - if x != nil { - return x.IsCommittee +func (x *MarketOrderPairList) Reset() { + *x = MarketOrderPairList{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return false } -func (x *Account) GetFrozenSupply() []*Account_Frozen { - if x != nil { - return x.FrozenSupply - } - return nil +func (x *MarketOrderPairList) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *Account) GetAssetIssuedName() []byte { - if x != nil { - return x.AssetIssuedName +func (*MarketOrderPairList) ProtoMessage() {} + +func (x *MarketOrderPairList) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (x *Account) GetAssetIssued_ID() []byte { - if x != nil { - return x.AssetIssued_ID - } - return nil +// Deprecated: Use MarketOrderPairList.ProtoReflect.Descriptor instead. +func (*MarketOrderPairList) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{6} } -func (x *Account) GetLatestAssetOperationTime() map[string]int64 { +func (x *MarketOrderPairList) GetOrderPair() []*MarketOrderPair { if x != nil { - return x.LatestAssetOperationTime + return x.OrderPair } return nil } -func (x *Account) GetLatestAssetOperationTimeV2() map[string]int64 { - if x != nil { - return x.LatestAssetOperationTimeV2 +type MarketOrderPair struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SellTokenId []byte `protobuf:"bytes,1,opt,name=sell_token_id,json=sellTokenId,proto3" json:"sell_token_id,omitempty"` + BuyTokenId []byte `protobuf:"bytes,2,opt,name=buy_token_id,json=buyTokenId,proto3" json:"buy_token_id,omitempty"` +} + +func (x *MarketOrderPair) Reset() { + *x = MarketOrderPair{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (x *Account) GetFreeNetUsage() int64 { - if x != nil { - return x.FreeNetUsage +func (x *MarketOrderPair) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MarketOrderPair) ProtoMessage() {} + +func (x *MarketOrderPair) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return 0 + return mi.MessageOf(x) } -func (x *Account) GetFreeAssetNetUsage() map[string]int64 { +// Deprecated: Use MarketOrderPair.ProtoReflect.Descriptor instead. +func (*MarketOrderPair) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{7} +} + +func (x *MarketOrderPair) GetSellTokenId() []byte { if x != nil { - return x.FreeAssetNetUsage + return x.SellTokenId } return nil } -func (x *Account) GetFreeAssetNetUsageV2() map[string]int64 { +func (x *MarketOrderPair) GetBuyTokenId() []byte { if x != nil { - return x.FreeAssetNetUsageV2 + return x.BuyTokenId } return nil } -func (x *Account) GetLatestConsumeTime() int64 { - if x != nil { - return x.LatestConsumeTime - } - return 0 +type MarketAccountOrder struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Orders [][]byte `protobuf:"bytes,2,rep,name=orders,proto3" json:"orders,omitempty"` // order_id list + Count int64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` // active count + TotalCount int64 `protobuf:"varint,4,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` } -func (x *Account) GetLatestConsumeFreeTime() int64 { - if x != nil { - return x.LatestConsumeFreeTime +func (x *MarketAccountOrder) Reset() { + *x = MarketAccountOrder{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return 0 } -func (x *Account) GetAccountId() []byte { - if x != nil { - return x.AccountId - } - return nil +func (x *MarketAccountOrder) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *Account) GetAccountResource() *Account_AccountResource { - if x != nil { - return x.AccountResource +func (*MarketAccountOrder) ProtoMessage() {} + +func (x *MarketAccountOrder) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (x *Account) GetCodeHash() []byte { +// Deprecated: Use MarketAccountOrder.ProtoReflect.Descriptor instead. +func (*MarketAccountOrder) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{8} +} + +func (x *MarketAccountOrder) GetOwnerAddress() []byte { if x != nil { - return x.CodeHash + return x.OwnerAddress } return nil } -func (x *Account) GetOwnerPermission() *Permission { +func (x *MarketAccountOrder) GetOrders() [][]byte { if x != nil { - return x.OwnerPermission + return x.Orders } return nil } -func (x *Account) GetWitnessPermission() *Permission { +func (x *MarketAccountOrder) GetCount() int64 { if x != nil { - return x.WitnessPermission + return x.Count } - return nil + return 0 } -func (x *Account) GetActivePermission() []*Permission { +func (x *MarketAccountOrder) GetTotalCount() int64 { if x != nil { - return x.ActivePermission + return x.TotalCount } - return nil + return 0 } -type Key struct { +type MarketPrice struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - Weight int64 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"` + SellTokenQuantity int64 `protobuf:"varint,1,opt,name=sell_token_quantity,json=sellTokenQuantity,proto3" json:"sell_token_quantity,omitempty"` + BuyTokenQuantity int64 `protobuf:"varint,2,opt,name=buy_token_quantity,json=buyTokenQuantity,proto3" json:"buy_token_quantity,omitempty"` } -func (x *Key) Reset() { - *x = Key{} +func (x *MarketPrice) Reset() { + *x = MarketPrice{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[6] + mi := &file_core_Tron_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *Key) String() string { +func (x *MarketPrice) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Key) ProtoMessage() {} +func (*MarketPrice) ProtoMessage() {} -func (x *Key) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[6] +func (x *MarketPrice) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1470,55 +1623,52 @@ func (x *Key) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Key.ProtoReflect.Descriptor instead. -func (*Key) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{6} +// Deprecated: Use MarketPrice.ProtoReflect.Descriptor instead. +func (*MarketPrice) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{9} } -func (x *Key) GetAddress() []byte { +func (x *MarketPrice) GetSellTokenQuantity() int64 { if x != nil { - return x.Address + return x.SellTokenQuantity } - return nil + return 0 } -func (x *Key) GetWeight() int64 { +func (x *MarketPrice) GetBuyTokenQuantity() int64 { if x != nil { - return x.Weight + return x.BuyTokenQuantity } return 0 } -type DelegatedResource struct { +type MarketPriceList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - From []byte `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` - To []byte `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` - FrozenBalanceForBandwidth int64 `protobuf:"varint,3,opt,name=frozen_balance_for_bandwidth,json=frozenBalanceForBandwidth,proto3" json:"frozen_balance_for_bandwidth,omitempty"` - FrozenBalanceForEnergy int64 `protobuf:"varint,4,opt,name=frozen_balance_for_energy,json=frozenBalanceForEnergy,proto3" json:"frozen_balance_for_energy,omitempty"` - ExpireTimeForBandwidth int64 `protobuf:"varint,5,opt,name=expire_time_for_bandwidth,json=expireTimeForBandwidth,proto3" json:"expire_time_for_bandwidth,omitempty"` - ExpireTimeForEnergy int64 `protobuf:"varint,6,opt,name=expire_time_for_energy,json=expireTimeForEnergy,proto3" json:"expire_time_for_energy,omitempty"` + SellTokenId []byte `protobuf:"bytes,1,opt,name=sell_token_id,json=sellTokenId,proto3" json:"sell_token_id,omitempty"` + BuyTokenId []byte `protobuf:"bytes,2,opt,name=buy_token_id,json=buyTokenId,proto3" json:"buy_token_id,omitempty"` + Prices []*MarketPrice `protobuf:"bytes,3,rep,name=prices,proto3" json:"prices,omitempty"` } -func (x *DelegatedResource) Reset() { - *x = DelegatedResource{} +func (x *MarketPriceList) Reset() { + *x = MarketPriceList{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[7] + mi := &file_core_Tron_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *DelegatedResource) String() string { +func (x *MarketPriceList) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DelegatedResource) ProtoMessage() {} +func (*MarketPriceList) ProtoMessage() {} -func (x *DelegatedResource) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[7] +func (x *MarketPriceList) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1529,79 +1679,58 @@ func (x *DelegatedResource) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DelegatedResource.ProtoReflect.Descriptor instead. -func (*DelegatedResource) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{7} +// Deprecated: Use MarketPriceList.ProtoReflect.Descriptor instead. +func (*MarketPriceList) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{10} } -func (x *DelegatedResource) GetFrom() []byte { +func (x *MarketPriceList) GetSellTokenId() []byte { if x != nil { - return x.From + return x.SellTokenId } return nil } -func (x *DelegatedResource) GetTo() []byte { +func (x *MarketPriceList) GetBuyTokenId() []byte { if x != nil { - return x.To + return x.BuyTokenId } return nil } -func (x *DelegatedResource) GetFrozenBalanceForBandwidth() int64 { - if x != nil { - return x.FrozenBalanceForBandwidth - } - return 0 -} - -func (x *DelegatedResource) GetFrozenBalanceForEnergy() int64 { - if x != nil { - return x.FrozenBalanceForEnergy - } - return 0 -} - -func (x *DelegatedResource) GetExpireTimeForBandwidth() int64 { - if x != nil { - return x.ExpireTimeForBandwidth - } - return 0 -} - -func (x *DelegatedResource) GetExpireTimeForEnergy() int64 { +func (x *MarketPriceList) GetPrices() []*MarketPrice { if x != nil { - return x.ExpireTimeForEnergy + return x.Prices } - return 0 + return nil } -type Authority struct { +type MarketOrderIdList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Account *AccountId `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` - PermissionName []byte `protobuf:"bytes,2,opt,name=permission_name,json=permissionName,proto3" json:"permission_name,omitempty"` + Head []byte `protobuf:"bytes,1,opt,name=head,proto3" json:"head,omitempty"` + Tail []byte `protobuf:"bytes,2,opt,name=tail,proto3" json:"tail,omitempty"` } -func (x *Authority) Reset() { - *x = Authority{} +func (x *MarketOrderIdList) Reset() { + *x = MarketOrderIdList{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[8] + mi := &file_core_Tron_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *Authority) String() string { +func (x *MarketOrderIdList) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Authority) ProtoMessage() {} +func (*MarketOrderIdList) ProtoMessage() {} -func (x *Authority) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[8] +func (x *MarketOrderIdList) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1612,26 +1741,664 @@ func (x *Authority) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Authority.ProtoReflect.Descriptor instead. -func (*Authority) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{8} +// Deprecated: Use MarketOrderIdList.ProtoReflect.Descriptor instead. +func (*MarketOrderIdList) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{11} } -func (x *Authority) GetAccount() *AccountId { +func (x *MarketOrderIdList) GetHead() []byte { if x != nil { - return x.Account + return x.Head } return nil } -func (x *Authority) GetPermissionName() []byte { +func (x *MarketOrderIdList) GetTail() []byte { if x != nil { - return x.PermissionName + return x.Tail } return nil } -type Permission struct { +type ChainParameters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChainParameter []*ChainParameters_ChainParameter `protobuf:"bytes,1,rep,name=chainParameter,proto3" json:"chainParameter,omitempty"` +} + +func (x *ChainParameters) Reset() { + *x = ChainParameters{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChainParameters) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChainParameters) ProtoMessage() {} + +func (x *ChainParameters) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChainParameters.ProtoReflect.Descriptor instead. +func (*ChainParameters) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{12} +} + +func (x *ChainParameters) GetChainParameter() []*ChainParameters_ChainParameter { + if x != nil { + return x.ChainParameter + } + return nil +} + +// Account +type Account struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // account nick name + AccountName []byte `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` + Type AccountType `protobuf:"varint,2,opt,name=type,proto3,enum=protocol.AccountType" json:"type,omitempty"` + // the create address + Address []byte `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` + // the trx balance + Balance int64 `protobuf:"varint,4,opt,name=balance,proto3" json:"balance,omitempty"` + // the votes + Votes []*Vote `protobuf:"bytes,5,rep,name=votes,proto3" json:"votes,omitempty"` + // the other asset owned by this account + Asset map[string]int64 `protobuf:"bytes,6,rep,name=asset,proto3" json:"asset,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + // the other asset owned by this account,key is assetId + AssetV2 map[string]int64 `protobuf:"bytes,56,rep,name=assetV2,proto3" json:"assetV2,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + // the frozen balance for bandwidth + Frozen []*Account_Frozen `protobuf:"bytes,7,rep,name=frozen,proto3" json:"frozen,omitempty"` + // bandwidth, get from frozen + NetUsage int64 `protobuf:"varint,8,opt,name=net_usage,json=netUsage,proto3" json:"net_usage,omitempty"` + //Frozen balance provided by other accounts to this account + AcquiredDelegatedFrozenBalanceForBandwidth int64 `protobuf:"varint,41,opt,name=acquired_delegated_frozen_balance_for_bandwidth,json=acquiredDelegatedFrozenBalanceForBandwidth,proto3" json:"acquired_delegated_frozen_balance_for_bandwidth,omitempty"` + //Freeze and provide balances to other accounts + DelegatedFrozenBalanceForBandwidth int64 `protobuf:"varint,42,opt,name=delegated_frozen_balance_for_bandwidth,json=delegatedFrozenBalanceForBandwidth,proto3" json:"delegated_frozen_balance_for_bandwidth,omitempty"` + OldTronPower int64 `protobuf:"varint,46,opt,name=old_tron_power,json=oldTronPower,proto3" json:"old_tron_power,omitempty"` + TronPower *Account_Frozen `protobuf:"bytes,47,opt,name=tron_power,json=tronPower,proto3" json:"tron_power,omitempty"` + AssetOptimized bool `protobuf:"varint,60,opt,name=asset_optimized,json=assetOptimized,proto3" json:"asset_optimized,omitempty"` + // this account create time + CreateTime int64 `protobuf:"varint,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + // this last operation time, including transfer, voting and so on. //FIXME fix grammar + LatestOprationTime int64 `protobuf:"varint,10,opt,name=latest_opration_time,json=latestOprationTime,proto3" json:"latest_opration_time,omitempty"` + // witness block producing allowance + Allowance int64 `protobuf:"varint,11,opt,name=allowance,proto3" json:"allowance,omitempty"` + // last withdraw time + LatestWithdrawTime int64 `protobuf:"varint,12,opt,name=latest_withdraw_time,json=latestWithdrawTime,proto3" json:"latest_withdraw_time,omitempty"` + // not used so far + Code []byte `protobuf:"bytes,13,opt,name=code,proto3" json:"code,omitempty"` + IsWitness bool `protobuf:"varint,14,opt,name=is_witness,json=isWitness,proto3" json:"is_witness,omitempty"` + IsCommittee bool `protobuf:"varint,15,opt,name=is_committee,json=isCommittee,proto3" json:"is_committee,omitempty"` + // frozen asset(for asset issuer) + FrozenSupply []*Account_Frozen `protobuf:"bytes,16,rep,name=frozen_supply,json=frozenSupply,proto3" json:"frozen_supply,omitempty"` + // asset_issued_name + AssetIssuedName []byte `protobuf:"bytes,17,opt,name=asset_issued_name,json=assetIssuedName,proto3" json:"asset_issued_name,omitempty"` + AssetIssued_ID []byte `protobuf:"bytes,57,opt,name=asset_issued_ID,json=assetIssuedID,proto3" json:"asset_issued_ID,omitempty"` + LatestAssetOperationTime map[string]int64 `protobuf:"bytes,18,rep,name=latest_asset_operation_time,json=latestAssetOperationTime,proto3" json:"latest_asset_operation_time,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + LatestAssetOperationTimeV2 map[string]int64 `protobuf:"bytes,58,rep,name=latest_asset_operation_timeV2,json=latestAssetOperationTimeV2,proto3" json:"latest_asset_operation_timeV2,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + FreeNetUsage int64 `protobuf:"varint,19,opt,name=free_net_usage,json=freeNetUsage,proto3" json:"free_net_usage,omitempty"` + FreeAssetNetUsage map[string]int64 `protobuf:"bytes,20,rep,name=free_asset_net_usage,json=freeAssetNetUsage,proto3" json:"free_asset_net_usage,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + FreeAssetNetUsageV2 map[string]int64 `protobuf:"bytes,59,rep,name=free_asset_net_usageV2,json=freeAssetNetUsageV2,proto3" json:"free_asset_net_usageV2,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + LatestConsumeTime int64 `protobuf:"varint,21,opt,name=latest_consume_time,json=latestConsumeTime,proto3" json:"latest_consume_time,omitempty"` + LatestConsumeFreeTime int64 `protobuf:"varint,22,opt,name=latest_consume_free_time,json=latestConsumeFreeTime,proto3" json:"latest_consume_free_time,omitempty"` + // the identity of this account, case insensitive + AccountId []byte `protobuf:"bytes,23,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` + NetWindowSize int64 `protobuf:"varint,24,opt,name=net_window_size,json=netWindowSize,proto3" json:"net_window_size,omitempty"` + AccountResource *Account_AccountResource `protobuf:"bytes,26,opt,name=account_resource,json=accountResource,proto3" json:"account_resource,omitempty"` + CodeHash []byte `protobuf:"bytes,30,opt,name=codeHash,proto3" json:"codeHash,omitempty"` + OwnerPermission *Permission `protobuf:"bytes,31,opt,name=owner_permission,json=ownerPermission,proto3" json:"owner_permission,omitempty"` + WitnessPermission *Permission `protobuf:"bytes,32,opt,name=witness_permission,json=witnessPermission,proto3" json:"witness_permission,omitempty"` + ActivePermission []*Permission `protobuf:"bytes,33,rep,name=active_permission,json=activePermission,proto3" json:"active_permission,omitempty"` + FrozenV2 []*Account_FreezeV2 `protobuf:"bytes,34,rep,name=frozenV2,proto3" json:"frozenV2,omitempty"` + UnfrozenV2 []*Account_UnFreezeV2 `protobuf:"bytes,35,rep,name=unfrozenV2,proto3" json:"unfrozenV2,omitempty"` + DelegatedFrozenV2BalanceForBandwidth int64 `protobuf:"varint,36,opt,name=delegated_frozenV2_balance_for_bandwidth,json=delegatedFrozenV2BalanceForBandwidth,proto3" json:"delegated_frozenV2_balance_for_bandwidth,omitempty"` + AcquiredDelegatedFrozenV2BalanceForBandwidth int64 `protobuf:"varint,37,opt,name=acquired_delegated_frozenV2_balance_for_bandwidth,json=acquiredDelegatedFrozenV2BalanceForBandwidth,proto3" json:"acquired_delegated_frozenV2_balance_for_bandwidth,omitempty"` +} + +func (x *Account) Reset() { + *x = Account{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[13] + 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_core_Tron_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Account.ProtoReflect.Descriptor instead. +func (*Account) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{13} +} + +func (x *Account) GetAccountName() []byte { + if x != nil { + return x.AccountName + } + return nil +} + +func (x *Account) GetType() AccountType { + if x != nil { + return x.Type + } + return AccountType_Normal +} + +func (x *Account) GetAddress() []byte { + if x != nil { + return x.Address + } + return nil +} + +func (x *Account) GetBalance() int64 { + if x != nil { + return x.Balance + } + return 0 +} + +func (x *Account) GetVotes() []*Vote { + if x != nil { + return x.Votes + } + return nil +} + +func (x *Account) GetAsset() map[string]int64 { + if x != nil { + return x.Asset + } + return nil +} + +func (x *Account) GetAssetV2() map[string]int64 { + if x != nil { + return x.AssetV2 + } + return nil +} + +func (x *Account) GetFrozen() []*Account_Frozen { + if x != nil { + return x.Frozen + } + return nil +} + +func (x *Account) GetNetUsage() int64 { + if x != nil { + return x.NetUsage + } + return 0 +} + +func (x *Account) GetAcquiredDelegatedFrozenBalanceForBandwidth() int64 { + if x != nil { + return x.AcquiredDelegatedFrozenBalanceForBandwidth + } + return 0 +} + +func (x *Account) GetDelegatedFrozenBalanceForBandwidth() int64 { + if x != nil { + return x.DelegatedFrozenBalanceForBandwidth + } + return 0 +} + +func (x *Account) GetOldTronPower() int64 { + if x != nil { + return x.OldTronPower + } + return 0 +} + +func (x *Account) GetTronPower() *Account_Frozen { + if x != nil { + return x.TronPower + } + return nil +} + +func (x *Account) GetAssetOptimized() bool { + if x != nil { + return x.AssetOptimized + } + return false +} + +func (x *Account) GetCreateTime() int64 { + if x != nil { + return x.CreateTime + } + return 0 +} + +func (x *Account) GetLatestOprationTime() int64 { + if x != nil { + return x.LatestOprationTime + } + return 0 +} + +func (x *Account) GetAllowance() int64 { + if x != nil { + return x.Allowance + } + return 0 +} + +func (x *Account) GetLatestWithdrawTime() int64 { + if x != nil { + return x.LatestWithdrawTime + } + return 0 +} + +func (x *Account) GetCode() []byte { + if x != nil { + return x.Code + } + return nil +} + +func (x *Account) GetIsWitness() bool { + if x != nil { + return x.IsWitness + } + return false +} + +func (x *Account) GetIsCommittee() bool { + if x != nil { + return x.IsCommittee + } + return false +} + +func (x *Account) GetFrozenSupply() []*Account_Frozen { + if x != nil { + return x.FrozenSupply + } + return nil +} + +func (x *Account) GetAssetIssuedName() []byte { + if x != nil { + return x.AssetIssuedName + } + return nil +} + +func (x *Account) GetAssetIssued_ID() []byte { + if x != nil { + return x.AssetIssued_ID + } + return nil +} + +func (x *Account) GetLatestAssetOperationTime() map[string]int64 { + if x != nil { + return x.LatestAssetOperationTime + } + return nil +} + +func (x *Account) GetLatestAssetOperationTimeV2() map[string]int64 { + if x != nil { + return x.LatestAssetOperationTimeV2 + } + return nil +} + +func (x *Account) GetFreeNetUsage() int64 { + if x != nil { + return x.FreeNetUsage + } + return 0 +} + +func (x *Account) GetFreeAssetNetUsage() map[string]int64 { + if x != nil { + return x.FreeAssetNetUsage + } + return nil +} + +func (x *Account) GetFreeAssetNetUsageV2() map[string]int64 { + if x != nil { + return x.FreeAssetNetUsageV2 + } + return nil +} + +func (x *Account) GetLatestConsumeTime() int64 { + if x != nil { + return x.LatestConsumeTime + } + return 0 +} + +func (x *Account) GetLatestConsumeFreeTime() int64 { + if x != nil { + return x.LatestConsumeFreeTime + } + return 0 +} + +func (x *Account) GetAccountId() []byte { + if x != nil { + return x.AccountId + } + return nil +} + +func (x *Account) GetNetWindowSize() int64 { + if x != nil { + return x.NetWindowSize + } + return 0 +} + +func (x *Account) GetAccountResource() *Account_AccountResource { + if x != nil { + return x.AccountResource + } + return nil +} + +func (x *Account) GetCodeHash() []byte { + if x != nil { + return x.CodeHash + } + return nil +} + +func (x *Account) GetOwnerPermission() *Permission { + if x != nil { + return x.OwnerPermission + } + return nil +} + +func (x *Account) GetWitnessPermission() *Permission { + if x != nil { + return x.WitnessPermission + } + return nil +} + +func (x *Account) GetActivePermission() []*Permission { + if x != nil { + return x.ActivePermission + } + return nil +} + +func (x *Account) GetFrozenV2() []*Account_FreezeV2 { + if x != nil { + return x.FrozenV2 + } + return nil +} + +func (x *Account) GetUnfrozenV2() []*Account_UnFreezeV2 { + if x != nil { + return x.UnfrozenV2 + } + return nil +} + +func (x *Account) GetDelegatedFrozenV2BalanceForBandwidth() int64 { + if x != nil { + return x.DelegatedFrozenV2BalanceForBandwidth + } + return 0 +} + +func (x *Account) GetAcquiredDelegatedFrozenV2BalanceForBandwidth() int64 { + if x != nil { + return x.AcquiredDelegatedFrozenV2BalanceForBandwidth + } + return 0 +} + +type Key struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Weight int64 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"` +} + +func (x *Key) Reset() { + *x = Key{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Key) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Key) ProtoMessage() {} + +func (x *Key) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Key.ProtoReflect.Descriptor instead. +func (*Key) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{14} +} + +func (x *Key) GetAddress() []byte { + if x != nil { + return x.Address + } + return nil +} + +func (x *Key) GetWeight() int64 { + if x != nil { + return x.Weight + } + return 0 +} + +type DelegatedResource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + From []byte `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` + To []byte `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` + FrozenBalanceForBandwidth int64 `protobuf:"varint,3,opt,name=frozen_balance_for_bandwidth,json=frozenBalanceForBandwidth,proto3" json:"frozen_balance_for_bandwidth,omitempty"` + FrozenBalanceForEnergy int64 `protobuf:"varint,4,opt,name=frozen_balance_for_energy,json=frozenBalanceForEnergy,proto3" json:"frozen_balance_for_energy,omitempty"` + ExpireTimeForBandwidth int64 `protobuf:"varint,5,opt,name=expire_time_for_bandwidth,json=expireTimeForBandwidth,proto3" json:"expire_time_for_bandwidth,omitempty"` + ExpireTimeForEnergy int64 `protobuf:"varint,6,opt,name=expire_time_for_energy,json=expireTimeForEnergy,proto3" json:"expire_time_for_energy,omitempty"` +} + +func (x *DelegatedResource) Reset() { + *x = DelegatedResource{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DelegatedResource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DelegatedResource) ProtoMessage() {} + +func (x *DelegatedResource) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DelegatedResource.ProtoReflect.Descriptor instead. +func (*DelegatedResource) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{15} +} + +func (x *DelegatedResource) GetFrom() []byte { + if x != nil { + return x.From + } + return nil +} + +func (x *DelegatedResource) GetTo() []byte { + if x != nil { + return x.To + } + return nil +} + +func (x *DelegatedResource) GetFrozenBalanceForBandwidth() int64 { + if x != nil { + return x.FrozenBalanceForBandwidth + } + return 0 +} + +func (x *DelegatedResource) GetFrozenBalanceForEnergy() int64 { + if x != nil { + return x.FrozenBalanceForEnergy + } + return 0 +} + +func (x *DelegatedResource) GetExpireTimeForBandwidth() int64 { + if x != nil { + return x.ExpireTimeForBandwidth + } + return 0 +} + +func (x *DelegatedResource) GetExpireTimeForEnergy() int64 { + if x != nil { + return x.ExpireTimeForEnergy + } + return 0 +} + +type Authority struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Account *AccountId `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` + PermissionName []byte `protobuf:"bytes,2,opt,name=permission_name,json=permissionName,proto3" json:"permission_name,omitempty"` +} + +func (x *Authority) Reset() { + *x = Authority{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Authority) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Authority) ProtoMessage() {} + +func (x *Authority) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Authority.ProtoReflect.Descriptor instead. +func (*Authority) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{16} +} + +func (x *Authority) GetAccount() *AccountId { + if x != nil { + return x.Account + } + return nil +} + +func (x *Authority) GetPermissionName() []byte { + if x != nil { + return x.PermissionName + } + return nil +} + +type Permission struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -1645,23 +2412,1183 @@ type Permission struct { Keys []*Key `protobuf:"bytes,7,rep,name=keys,proto3" json:"keys,omitempty"` } -func (x *Permission) Reset() { - *x = Permission{} +func (x *Permission) Reset() { + *x = Permission{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Permission) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Permission) ProtoMessage() {} + +func (x *Permission) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Permission.ProtoReflect.Descriptor instead. +func (*Permission) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{17} +} + +func (x *Permission) GetType() Permission_PermissionType { + if x != nil { + return x.Type + } + return Permission_Owner +} + +func (x *Permission) GetId() int32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *Permission) GetPermissionName() string { + if x != nil { + return x.PermissionName + } + return "" +} + +func (x *Permission) GetThreshold() int64 { + if x != nil { + return x.Threshold + } + return 0 +} + +func (x *Permission) GetParentId() int32 { + if x != nil { + return x.ParentId + } + return 0 +} + +func (x *Permission) GetOperations() []byte { + if x != nil { + return x.Operations + } + return nil +} + +func (x *Permission) GetKeys() []*Key { + if x != nil { + return x.Keys + } + return nil +} + +// Witness +type Witness struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + VoteCount int64 `protobuf:"varint,2,opt,name=voteCount,proto3" json:"voteCount,omitempty"` + PubKey []byte `protobuf:"bytes,3,opt,name=pubKey,proto3" json:"pubKey,omitempty"` + Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` + TotalProduced int64 `protobuf:"varint,5,opt,name=totalProduced,proto3" json:"totalProduced,omitempty"` + TotalMissed int64 `protobuf:"varint,6,opt,name=totalMissed,proto3" json:"totalMissed,omitempty"` + LatestBlockNum int64 `protobuf:"varint,7,opt,name=latestBlockNum,proto3" json:"latestBlockNum,omitempty"` + LatestSlotNum int64 `protobuf:"varint,8,opt,name=latestSlotNum,proto3" json:"latestSlotNum,omitempty"` + IsJobs bool `protobuf:"varint,9,opt,name=isJobs,proto3" json:"isJobs,omitempty"` +} + +func (x *Witness) Reset() { + *x = Witness{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Witness) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Witness) ProtoMessage() {} + +func (x *Witness) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Witness.ProtoReflect.Descriptor instead. +func (*Witness) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{18} +} + +func (x *Witness) GetAddress() []byte { + if x != nil { + return x.Address + } + return nil +} + +func (x *Witness) GetVoteCount() int64 { + if x != nil { + return x.VoteCount + } + return 0 +} + +func (x *Witness) GetPubKey() []byte { + if x != nil { + return x.PubKey + } + return nil +} + +func (x *Witness) GetUrl() string { + if x != nil { + return x.Url + } + return "" +} + +func (x *Witness) GetTotalProduced() int64 { + if x != nil { + return x.TotalProduced + } + return 0 +} + +func (x *Witness) GetTotalMissed() int64 { + if x != nil { + return x.TotalMissed + } + return 0 +} + +func (x *Witness) GetLatestBlockNum() int64 { + if x != nil { + return x.LatestBlockNum + } + return 0 +} + +func (x *Witness) GetLatestSlotNum() int64 { + if x != nil { + return x.LatestSlotNum + } + return 0 +} + +func (x *Witness) GetIsJobs() bool { + if x != nil { + return x.IsJobs + } + return false +} + +// Vote Change +type Votes struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + OldVotes []*Vote `protobuf:"bytes,2,rep,name=old_votes,json=oldVotes,proto3" json:"old_votes,omitempty"` + NewVotes []*Vote `protobuf:"bytes,3,rep,name=new_votes,json=newVotes,proto3" json:"new_votes,omitempty"` +} + +func (x *Votes) Reset() { + *x = Votes{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Votes) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Votes) ProtoMessage() {} + +func (x *Votes) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Votes.ProtoReflect.Descriptor instead. +func (*Votes) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{19} +} + +func (x *Votes) GetAddress() []byte { + if x != nil { + return x.Address + } + return nil +} + +func (x *Votes) GetOldVotes() []*Vote { + if x != nil { + return x.OldVotes + } + return nil +} + +func (x *Votes) GetNewVotes() []*Vote { + if x != nil { + return x.NewVotes + } + return nil +} + +type TXOutput struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` + PubKeyHash []byte `protobuf:"bytes,2,opt,name=pubKeyHash,proto3" json:"pubKeyHash,omitempty"` +} + +func (x *TXOutput) Reset() { + *x = TXOutput{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TXOutput) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TXOutput) ProtoMessage() {} + +func (x *TXOutput) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TXOutput.ProtoReflect.Descriptor instead. +func (*TXOutput) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{20} +} + +func (x *TXOutput) GetValue() int64 { + if x != nil { + return x.Value + } + return 0 +} + +func (x *TXOutput) GetPubKeyHash() []byte { + if x != nil { + return x.PubKeyHash + } + return nil +} + +type TXInput struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RawData *TXInputRaw `protobuf:"bytes,1,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` + Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` +} + +func (x *TXInput) Reset() { + *x = TXInput{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TXInput) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TXInput) ProtoMessage() {} + +func (x *TXInput) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TXInput.ProtoReflect.Descriptor instead. +func (*TXInput) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{21} +} + +func (x *TXInput) GetRawData() *TXInputRaw { + if x != nil { + return x.RawData + } + return nil +} + +func (x *TXInput) GetSignature() []byte { + if x != nil { + return x.Signature + } + return nil +} + +type TXOutputs struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Outputs []*TXOutput `protobuf:"bytes,1,rep,name=outputs,proto3" json:"outputs,omitempty"` +} + +func (x *TXOutputs) Reset() { + *x = TXOutputs{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TXOutputs) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TXOutputs) ProtoMessage() {} + +func (x *TXOutputs) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TXOutputs.ProtoReflect.Descriptor instead. +func (*TXOutputs) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{22} +} + +func (x *TXOutputs) GetOutputs() []*TXOutput { + if x != nil { + return x.Outputs + } + return nil +} + +type ResourceReceipt struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EnergyUsage int64 `protobuf:"varint,1,opt,name=energy_usage,json=energyUsage,proto3" json:"energy_usage,omitempty"` + EnergyFee int64 `protobuf:"varint,2,opt,name=energy_fee,json=energyFee,proto3" json:"energy_fee,omitempty"` + OriginEnergyUsage int64 `protobuf:"varint,3,opt,name=origin_energy_usage,json=originEnergyUsage,proto3" json:"origin_energy_usage,omitempty"` + EnergyUsageTotal int64 `protobuf:"varint,4,opt,name=energy_usage_total,json=energyUsageTotal,proto3" json:"energy_usage_total,omitempty"` + NetUsage int64 `protobuf:"varint,5,opt,name=net_usage,json=netUsage,proto3" json:"net_usage,omitempty"` + NetFee int64 `protobuf:"varint,6,opt,name=net_fee,json=netFee,proto3" json:"net_fee,omitempty"` + Result Transaction_ResultContractResult `protobuf:"varint,7,opt,name=result,proto3,enum=protocol.Transaction_ResultContractResult" json:"result,omitempty"` + EnergyPenaltyTotal int64 `protobuf:"varint,8,opt,name=energy_penalty_total,json=energyPenaltyTotal,proto3" json:"energy_penalty_total,omitempty"` +} + +func (x *ResourceReceipt) Reset() { + *x = ResourceReceipt{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResourceReceipt) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResourceReceipt) ProtoMessage() {} + +func (x *ResourceReceipt) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResourceReceipt.ProtoReflect.Descriptor instead. +func (*ResourceReceipt) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{23} +} + +func (x *ResourceReceipt) GetEnergyUsage() int64 { + if x != nil { + return x.EnergyUsage + } + return 0 +} + +func (x *ResourceReceipt) GetEnergyFee() int64 { + if x != nil { + return x.EnergyFee + } + return 0 +} + +func (x *ResourceReceipt) GetOriginEnergyUsage() int64 { + if x != nil { + return x.OriginEnergyUsage + } + return 0 +} + +func (x *ResourceReceipt) GetEnergyUsageTotal() int64 { + if x != nil { + return x.EnergyUsageTotal + } + return 0 +} + +func (x *ResourceReceipt) GetNetUsage() int64 { + if x != nil { + return x.NetUsage + } + return 0 +} + +func (x *ResourceReceipt) GetNetFee() int64 { + if x != nil { + return x.NetFee + } + return 0 +} + +func (x *ResourceReceipt) GetResult() Transaction_ResultContractResult { + if x != nil { + return x.Result + } + return Transaction_Result_DEFAULT +} + +func (x *ResourceReceipt) GetEnergyPenaltyTotal() int64 { + if x != nil { + return x.EnergyPenaltyTotal + } + return 0 +} + +type MarketOrderDetail struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MakerOrderId []byte `protobuf:"bytes,1,opt,name=makerOrderId,proto3" json:"makerOrderId,omitempty"` + TakerOrderId []byte `protobuf:"bytes,2,opt,name=takerOrderId,proto3" json:"takerOrderId,omitempty"` + FillSellQuantity int64 `protobuf:"varint,3,opt,name=fillSellQuantity,proto3" json:"fillSellQuantity,omitempty"` + FillBuyQuantity int64 `protobuf:"varint,4,opt,name=fillBuyQuantity,proto3" json:"fillBuyQuantity,omitempty"` +} + +func (x *MarketOrderDetail) Reset() { + *x = MarketOrderDetail{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MarketOrderDetail) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MarketOrderDetail) ProtoMessage() {} + +func (x *MarketOrderDetail) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MarketOrderDetail.ProtoReflect.Descriptor instead. +func (*MarketOrderDetail) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{24} +} + +func (x *MarketOrderDetail) GetMakerOrderId() []byte { + if x != nil { + return x.MakerOrderId + } + return nil +} + +func (x *MarketOrderDetail) GetTakerOrderId() []byte { + if x != nil { + return x.TakerOrderId + } + return nil +} + +func (x *MarketOrderDetail) GetFillSellQuantity() int64 { + if x != nil { + return x.FillSellQuantity + } + return 0 +} + +func (x *MarketOrderDetail) GetFillBuyQuantity() int64 { + if x != nil { + return x.FillBuyQuantity + } + return 0 +} + +type Transaction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RawData *TransactionRaw `protobuf:"bytes,1,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` + // only support size = 1, repeated list here for muti-sig extension + Signature [][]byte `protobuf:"bytes,2,rep,name=signature,proto3" json:"signature,omitempty"` + Ret []*Transaction_Result `protobuf:"bytes,5,rep,name=ret,proto3" json:"ret,omitempty"` +} + +func (x *Transaction) Reset() { + *x = Transaction{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Transaction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Transaction) ProtoMessage() {} + +func (x *Transaction) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[25] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Transaction.ProtoReflect.Descriptor instead. +func (*Transaction) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{25} +} + +func (x *Transaction) GetRawData() *TransactionRaw { + if x != nil { + return x.RawData + } + return nil +} + +func (x *Transaction) GetSignature() [][]byte { + if x != nil { + return x.Signature + } + return nil +} + +func (x *Transaction) GetRet() []*Transaction_Result { + if x != nil { + return x.Ret + } + return nil +} + +type TransactionInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Fee int64 `protobuf:"varint,2,opt,name=fee,proto3" json:"fee,omitempty"` + BlockNumber int64 `protobuf:"varint,3,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` + BlockTimeStamp int64 `protobuf:"varint,4,opt,name=blockTimeStamp,proto3" json:"blockTimeStamp,omitempty"` + ContractResult [][]byte `protobuf:"bytes,5,rep,name=contractResult,proto3" json:"contractResult,omitempty"` + ContractAddress []byte `protobuf:"bytes,6,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` + Receipt *ResourceReceipt `protobuf:"bytes,7,opt,name=receipt,proto3" json:"receipt,omitempty"` + Log []*TransactionInfo_Log `protobuf:"bytes,8,rep,name=log,proto3" json:"log,omitempty"` + Result TransactionInfoCode `protobuf:"varint,9,opt,name=result,proto3,enum=protocol.TransactionInfoCode" json:"result,omitempty"` + ResMessage []byte `protobuf:"bytes,10,opt,name=resMessage,proto3" json:"resMessage,omitempty"` + AssetIssueID string `protobuf:"bytes,14,opt,name=assetIssueID,proto3" json:"assetIssueID,omitempty"` + WithdrawAmount int64 `protobuf:"varint,15,opt,name=withdraw_amount,json=withdrawAmount,proto3" json:"withdraw_amount,omitempty"` + UnfreezeAmount int64 `protobuf:"varint,16,opt,name=unfreeze_amount,json=unfreezeAmount,proto3" json:"unfreeze_amount,omitempty"` + InternalTransactions []*InternalTransaction `protobuf:"bytes,17,rep,name=internal_transactions,json=internalTransactions,proto3" json:"internal_transactions,omitempty"` + ExchangeReceivedAmount int64 `protobuf:"varint,18,opt,name=exchange_received_amount,json=exchangeReceivedAmount,proto3" json:"exchange_received_amount,omitempty"` + ExchangeInjectAnotherAmount int64 `protobuf:"varint,19,opt,name=exchange_inject_another_amount,json=exchangeInjectAnotherAmount,proto3" json:"exchange_inject_another_amount,omitempty"` + ExchangeWithdrawAnotherAmount int64 `protobuf:"varint,20,opt,name=exchange_withdraw_another_amount,json=exchangeWithdrawAnotherAmount,proto3" json:"exchange_withdraw_another_amount,omitempty"` + ExchangeId int64 `protobuf:"varint,21,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"` + ShieldedTransactionFee int64 `protobuf:"varint,22,opt,name=shielded_transaction_fee,json=shieldedTransactionFee,proto3" json:"shielded_transaction_fee,omitempty"` + OrderId []byte `protobuf:"bytes,25,opt,name=orderId,proto3" json:"orderId,omitempty"` + OrderDetails []*MarketOrderDetail `protobuf:"bytes,26,rep,name=orderDetails,proto3" json:"orderDetails,omitempty"` + PackingFee int64 `protobuf:"varint,27,opt,name=packingFee,proto3" json:"packingFee,omitempty"` + WithdrawExpireAmount int64 `protobuf:"varint,28,opt,name=withdraw_expire_amount,json=withdrawExpireAmount,proto3" json:"withdraw_expire_amount,omitempty"` +} + +func (x *TransactionInfo) Reset() { + *x = TransactionInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TransactionInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TransactionInfo) ProtoMessage() {} + +func (x *TransactionInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TransactionInfo.ProtoReflect.Descriptor instead. +func (*TransactionInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{26} +} + +func (x *TransactionInfo) GetId() []byte { + if x != nil { + return x.Id + } + return nil +} + +func (x *TransactionInfo) GetFee() int64 { + if x != nil { + return x.Fee + } + return 0 +} + +func (x *TransactionInfo) GetBlockNumber() int64 { + if x != nil { + return x.BlockNumber + } + return 0 +} + +func (x *TransactionInfo) GetBlockTimeStamp() int64 { + if x != nil { + return x.BlockTimeStamp + } + return 0 +} + +func (x *TransactionInfo) GetContractResult() [][]byte { + if x != nil { + return x.ContractResult + } + return nil +} + +func (x *TransactionInfo) GetContractAddress() []byte { + if x != nil { + return x.ContractAddress + } + return nil +} + +func (x *TransactionInfo) GetReceipt() *ResourceReceipt { + if x != nil { + return x.Receipt + } + return nil +} + +func (x *TransactionInfo) GetLog() []*TransactionInfo_Log { + if x != nil { + return x.Log + } + return nil +} + +func (x *TransactionInfo) GetResult() TransactionInfoCode { + if x != nil { + return x.Result + } + return TransactionInfo_SUCESS +} + +func (x *TransactionInfo) GetResMessage() []byte { + if x != nil { + return x.ResMessage + } + return nil +} + +func (x *TransactionInfo) GetAssetIssueID() string { + if x != nil { + return x.AssetIssueID + } + return "" +} + +func (x *TransactionInfo) GetWithdrawAmount() int64 { + if x != nil { + return x.WithdrawAmount + } + return 0 +} + +func (x *TransactionInfo) GetUnfreezeAmount() int64 { + if x != nil { + return x.UnfreezeAmount + } + return 0 +} + +func (x *TransactionInfo) GetInternalTransactions() []*InternalTransaction { + if x != nil { + return x.InternalTransactions + } + return nil +} + +func (x *TransactionInfo) GetExchangeReceivedAmount() int64 { + if x != nil { + return x.ExchangeReceivedAmount + } + return 0 +} + +func (x *TransactionInfo) GetExchangeInjectAnotherAmount() int64 { + if x != nil { + return x.ExchangeInjectAnotherAmount + } + return 0 +} + +func (x *TransactionInfo) GetExchangeWithdrawAnotherAmount() int64 { + if x != nil { + return x.ExchangeWithdrawAnotherAmount + } + return 0 +} + +func (x *TransactionInfo) GetExchangeId() int64 { + if x != nil { + return x.ExchangeId + } + return 0 +} + +func (x *TransactionInfo) GetShieldedTransactionFee() int64 { + if x != nil { + return x.ShieldedTransactionFee + } + return 0 +} + +func (x *TransactionInfo) GetOrderId() []byte { + if x != nil { + return x.OrderId + } + return nil +} + +func (x *TransactionInfo) GetOrderDetails() []*MarketOrderDetail { + if x != nil { + return x.OrderDetails + } + return nil +} + +func (x *TransactionInfo) GetPackingFee() int64 { + if x != nil { + return x.PackingFee + } + return 0 +} + +func (x *TransactionInfo) GetWithdrawExpireAmount() int64 { + if x != nil { + return x.WithdrawExpireAmount + } + return 0 +} + +type TransactionRet struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BlockNumber int64 `protobuf:"varint,1,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` + BlockTimeStamp int64 `protobuf:"varint,2,opt,name=blockTimeStamp,proto3" json:"blockTimeStamp,omitempty"` + Transactioninfo []*TransactionInfo `protobuf:"bytes,3,rep,name=transactioninfo,proto3" json:"transactioninfo,omitempty"` +} + +func (x *TransactionRet) Reset() { + *x = TransactionRet{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TransactionRet) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TransactionRet) ProtoMessage() {} + +func (x *TransactionRet) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[27] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TransactionRet.ProtoReflect.Descriptor instead. +func (*TransactionRet) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{27} +} + +func (x *TransactionRet) GetBlockNumber() int64 { + if x != nil { + return x.BlockNumber + } + return 0 +} + +func (x *TransactionRet) GetBlockTimeStamp() int64 { + if x != nil { + return x.BlockTimeStamp + } + return 0 +} + +func (x *TransactionRet) GetTransactioninfo() []*TransactionInfo { + if x != nil { + return x.Transactioninfo + } + return nil +} + +type Transactions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` +} + +func (x *Transactions) Reset() { + *x = Transactions{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[9] + mi := &file_core_Tron_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Transactions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Transactions) ProtoMessage() {} + +func (x *Transactions) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[28] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Transactions.ProtoReflect.Descriptor instead. +func (*Transactions) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{28} +} + +func (x *Transactions) GetTransactions() []*Transaction { + if x != nil { + return x.Transactions + } + return nil +} + +type TransactionSign struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Transaction *Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` + PrivateKey []byte `protobuf:"bytes,2,opt,name=privateKey,proto3" json:"privateKey,omitempty"` +} + +func (x *TransactionSign) Reset() { + *x = TransactionSign{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TransactionSign) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TransactionSign) ProtoMessage() {} + +func (x *TransactionSign) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[29] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TransactionSign.ProtoReflect.Descriptor instead. +func (*TransactionSign) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{29} +} + +func (x *TransactionSign) GetTransaction() *Transaction { + if x != nil { + return x.Transaction + } + return nil +} + +func (x *TransactionSign) GetPrivateKey() []byte { + if x != nil { + return x.PrivateKey + } + return nil +} + +type BlockHeader struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RawData *BlockHeaderRaw `protobuf:"bytes,1,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` + WitnessSignature []byte `protobuf:"bytes,2,opt,name=witness_signature,json=witnessSignature,proto3" json:"witness_signature,omitempty"` +} + +func (x *BlockHeader) Reset() { + *x = BlockHeader{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlockHeader) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlockHeader) ProtoMessage() {} + +func (x *BlockHeader) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[30] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlockHeader.ProtoReflect.Descriptor instead. +func (*BlockHeader) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{30} +} + +func (x *BlockHeader) GetRawData() *BlockHeaderRaw { + if x != nil { + return x.RawData + } + return nil +} + +func (x *BlockHeader) GetWitnessSignature() []byte { + if x != nil { + return x.WitnessSignature + } + return nil +} + +// block +type Block struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` + BlockHeader *BlockHeader `protobuf:"bytes,2,opt,name=block_header,json=blockHeader,proto3" json:"block_header,omitempty"` +} + +func (x *Block) Reset() { + *x = Block{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Block) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Block) ProtoMessage() {} + +func (x *Block) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[31] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Block.ProtoReflect.Descriptor instead. +func (*Block) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{31} +} + +func (x *Block) GetTransactions() []*Transaction { + if x != nil { + return x.Transactions + } + return nil +} + +func (x *Block) GetBlockHeader() *BlockHeader { + if x != nil { + return x.BlockHeader + } + return nil +} + +type ChainInventory struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ids []*ChainInventory_BlockId `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` + RemainNum int64 `protobuf:"varint,2,opt,name=remain_num,json=remainNum,proto3" json:"remain_num,omitempty"` +} + +func (x *ChainInventory) Reset() { + *x = ChainInventory{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *Permission) String() string { +func (x *ChainInventory) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Permission) ProtoMessage() {} +func (*ChainInventory) ProtoMessage() {} -func (x *Permission) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[9] +func (x *ChainInventory) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1672,94 +3599,107 @@ func (x *Permission) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Permission.ProtoReflect.Descriptor instead. -func (*Permission) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{9} +// Deprecated: Use ChainInventory.ProtoReflect.Descriptor instead. +func (*ChainInventory) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{32} } -func (x *Permission) GetType() Permission_PermissionType { +func (x *ChainInventory) GetIds() []*ChainInventory_BlockId { if x != nil { - return x.Type + return x.Ids } - return Permission_Owner + return nil } -func (x *Permission) GetId() int32 { +func (x *ChainInventory) GetRemainNum() int64 { if x != nil { - return x.Id + return x.RemainNum } return 0 } -func (x *Permission) GetPermissionName() string { - if x != nil { - return x.PermissionName - } - return "" +// Inventory +type BlockInventory struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ids []*BlockInventory_BlockId `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` + Type BlockInventory_Type `protobuf:"varint,2,opt,name=type,proto3,enum=protocol.BlockInventory_Type" json:"type,omitempty"` } -func (x *Permission) GetThreshold() int64 { - if x != nil { - return x.Threshold +func (x *BlockInventory) Reset() { + *x = BlockInventory{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return 0 } -func (x *Permission) GetParentId() int32 { - if x != nil { - return x.ParentId +func (x *BlockInventory) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlockInventory) ProtoMessage() {} + +func (x *BlockInventory) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[33] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return 0 + return mi.MessageOf(x) } -func (x *Permission) GetOperations() []byte { +// Deprecated: Use BlockInventory.ProtoReflect.Descriptor instead. +func (*BlockInventory) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{33} +} + +func (x *BlockInventory) GetIds() []*BlockInventory_BlockId { if x != nil { - return x.Operations + return x.Ids } return nil } -func (x *Permission) GetKeys() []*Key { +func (x *BlockInventory) GetType() BlockInventory_Type { if x != nil { - return x.Keys + return x.Type } - return nil + return BlockInventory_SYNC } -// Witness -type Witness struct { +type Inventory struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - VoteCount int64 `protobuf:"varint,2,opt,name=voteCount,proto3" json:"voteCount,omitempty"` - PubKey []byte `protobuf:"bytes,3,opt,name=pubKey,proto3" json:"pubKey,omitempty"` - Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` - TotalProduced int64 `protobuf:"varint,5,opt,name=totalProduced,proto3" json:"totalProduced,omitempty"` - TotalMissed int64 `protobuf:"varint,6,opt,name=totalMissed,proto3" json:"totalMissed,omitempty"` - LatestBlockNum int64 `protobuf:"varint,7,opt,name=latestBlockNum,proto3" json:"latestBlockNum,omitempty"` - LatestSlotNum int64 `protobuf:"varint,8,opt,name=latestSlotNum,proto3" json:"latestSlotNum,omitempty"` - IsJobs bool `protobuf:"varint,9,opt,name=isJobs,proto3" json:"isJobs,omitempty"` + Type Inventory_InventoryType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Inventory_InventoryType" json:"type,omitempty"` + Ids [][]byte `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` } -func (x *Witness) Reset() { - *x = Witness{} +func (x *Inventory) Reset() { + *x = Inventory{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[10] + mi := &file_core_Tron_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *Witness) String() string { +func (x *Inventory) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Witness) ProtoMessage() {} +func (*Inventory) ProtoMessage() {} -func (x *Witness) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[10] +func (x *Inventory) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1770,102 +3710,122 @@ func (x *Witness) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Witness.ProtoReflect.Descriptor instead. -func (*Witness) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{10} +// Deprecated: Use Inventory.ProtoReflect.Descriptor instead. +func (*Inventory) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{34} } -func (x *Witness) GetAddress() []byte { +func (x *Inventory) GetType() Inventory_InventoryType { if x != nil { - return x.Address + return x.Type } - return nil + return Inventory_TRX } -func (x *Witness) GetVoteCount() int64 { +func (x *Inventory) GetIds() [][]byte { if x != nil { - return x.VoteCount + return x.Ids } - return 0 + return nil } -func (x *Witness) GetPubKey() []byte { - if x != nil { - return x.PubKey - } - return nil +type Items struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type Items_ItemType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Items_ItemType" json:"type,omitempty"` + Blocks []*Block `protobuf:"bytes,2,rep,name=blocks,proto3" json:"blocks,omitempty"` + BlockHeaders []*BlockHeader `protobuf:"bytes,3,rep,name=block_headers,json=blockHeaders,proto3" json:"block_headers,omitempty"` + Transactions []*Transaction `protobuf:"bytes,4,rep,name=transactions,proto3" json:"transactions,omitempty"` } -func (x *Witness) GetUrl() string { - if x != nil { - return x.Url +func (x *Items) Reset() { + *x = Items{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return "" } -func (x *Witness) GetTotalProduced() int64 { - if x != nil { - return x.TotalProduced +func (x *Items) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Items) ProtoMessage() {} + +func (x *Items) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[35] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return 0 + return mi.MessageOf(x) } -func (x *Witness) GetTotalMissed() int64 { +// Deprecated: Use Items.ProtoReflect.Descriptor instead. +func (*Items) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{35} +} + +func (x *Items) GetType() Items_ItemType { if x != nil { - return x.TotalMissed + return x.Type } - return 0 + return Items_ERR } -func (x *Witness) GetLatestBlockNum() int64 { +func (x *Items) GetBlocks() []*Block { if x != nil { - return x.LatestBlockNum + return x.Blocks } - return 0 + return nil } -func (x *Witness) GetLatestSlotNum() int64 { +func (x *Items) GetBlockHeaders() []*BlockHeader { if x != nil { - return x.LatestSlotNum + return x.BlockHeaders } - return 0 + return nil } -func (x *Witness) GetIsJobs() bool { +func (x *Items) GetTransactions() []*Transaction { if x != nil { - return x.IsJobs + return x.Transactions } - return false + return nil } -// Vote Change -type Votes struct { +// DynamicProperties +type DynamicProperties struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - OldVotes []*Vote `protobuf:"bytes,2,rep,name=old_votes,json=oldVotes,proto3" json:"old_votes,omitempty"` - NewVotes []*Vote `protobuf:"bytes,3,rep,name=new_votes,json=newVotes,proto3" json:"new_votes,omitempty"` + LastSolidityBlockNum int64 `protobuf:"varint,1,opt,name=last_solidity_block_num,json=lastSolidityBlockNum,proto3" json:"last_solidity_block_num,omitempty"` } -func (x *Votes) Reset() { - *x = Votes{} +func (x *DynamicProperties) Reset() { + *x = DynamicProperties{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[11] + mi := &file_core_Tron_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *Votes) String() string { +func (x *DynamicProperties) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Votes) ProtoMessage() {} +func (*DynamicProperties) ProtoMessage() {} -func (x *Votes) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[11] +func (x *DynamicProperties) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1876,58 +3836,43 @@ func (x *Votes) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Votes.ProtoReflect.Descriptor instead. -func (*Votes) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{11} -} - -func (x *Votes) GetAddress() []byte { - if x != nil { - return x.Address - } - return nil -} - -func (x *Votes) GetOldVotes() []*Vote { - if x != nil { - return x.OldVotes - } - return nil +// Deprecated: Use DynamicProperties.ProtoReflect.Descriptor instead. +func (*DynamicProperties) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{36} } -func (x *Votes) GetNewVotes() []*Vote { +func (x *DynamicProperties) GetLastSolidityBlockNum() int64 { if x != nil { - return x.NewVotes + return x.LastSolidityBlockNum } - return nil + return 0 } -type TXOutput struct { +type DisconnectMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` - PubKeyHash []byte `protobuf:"bytes,2,opt,name=pubKeyHash,proto3" json:"pubKeyHash,omitempty"` + Reason ReasonCode `protobuf:"varint,1,opt,name=reason,proto3,enum=protocol.ReasonCode" json:"reason,omitempty"` } -func (x *TXOutput) Reset() { - *x = TXOutput{} +func (x *DisconnectMessage) Reset() { + *x = DisconnectMessage{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[12] + mi := &file_core_Tron_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *TXOutput) String() string { +func (x *DisconnectMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*TXOutput) ProtoMessage() {} +func (*DisconnectMessage) ProtoMessage() {} -func (x *TXOutput) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[12] +func (x *DisconnectMessage) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1938,51 +3883,52 @@ func (x *TXOutput) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use TXOutput.ProtoReflect.Descriptor instead. -func (*TXOutput) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{12} -} - -func (x *TXOutput) GetValue() int64 { - if x != nil { - return x.Value - } - return 0 +// Deprecated: Use DisconnectMessage.ProtoReflect.Descriptor instead. +func (*DisconnectMessage) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{37} } -func (x *TXOutput) GetPubKeyHash() []byte { +func (x *DisconnectMessage) GetReason() ReasonCode { if x != nil { - return x.PubKeyHash + return x.Reason } - return nil + return ReasonCode_REQUESTED } -type TXInput struct { +type HelloMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - RawData *TXInputRaw `protobuf:"bytes,1,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` - Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` + From *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` + Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` + Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + GenesisBlockId *HelloMessage_BlockId `protobuf:"bytes,4,opt,name=genesisBlockId,proto3" json:"genesisBlockId,omitempty"` + SolidBlockId *HelloMessage_BlockId `protobuf:"bytes,5,opt,name=solidBlockId,proto3" json:"solidBlockId,omitempty"` + HeadBlockId *HelloMessage_BlockId `protobuf:"bytes,6,opt,name=headBlockId,proto3" json:"headBlockId,omitempty"` + Address []byte `protobuf:"bytes,7,opt,name=address,proto3" json:"address,omitempty"` + Signature []byte `protobuf:"bytes,8,opt,name=signature,proto3" json:"signature,omitempty"` + NodeType int32 `protobuf:"varint,9,opt,name=nodeType,proto3" json:"nodeType,omitempty"` + LowestBlockNum int64 `protobuf:"varint,10,opt,name=lowestBlockNum,proto3" json:"lowestBlockNum,omitempty"` } -func (x *TXInput) Reset() { - *x = TXInput{} +func (x *HelloMessage) Reset() { + *x = HelloMessage{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[13] + mi := &file_core_Tron_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *TXInput) String() string { +func (x *HelloMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*TXInput) ProtoMessage() {} +func (*HelloMessage) ProtoMessage() {} -func (x *TXInput) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[13] +func (x *HelloMessage) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[38] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1993,103 +3939,116 @@ func (x *TXInput) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use TXInput.ProtoReflect.Descriptor instead. -func (*TXInput) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{13} +// Deprecated: Use HelloMessage.ProtoReflect.Descriptor instead. +func (*HelloMessage) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{38} } -func (x *TXInput) GetRawData() *TXInputRaw { +func (x *HelloMessage) GetFrom() *Endpoint { if x != nil { - return x.RawData + return x.From } return nil } -func (x *TXInput) GetSignature() []byte { +func (x *HelloMessage) GetVersion() int32 { if x != nil { - return x.Signature + return x.Version } - return nil + return 0 } -type TXOutputs struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (x *HelloMessage) GetTimestamp() int64 { + if x != nil { + return x.Timestamp + } + return 0 +} - Outputs []*TXOutput `protobuf:"bytes,1,rep,name=outputs,proto3" json:"outputs,omitempty"` +func (x *HelloMessage) GetGenesisBlockId() *HelloMessage_BlockId { + if x != nil { + return x.GenesisBlockId + } + return nil } -func (x *TXOutputs) Reset() { - *x = TXOutputs{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *HelloMessage) GetSolidBlockId() *HelloMessage_BlockId { + if x != nil { + return x.SolidBlockId } + return nil } -func (x *TXOutputs) String() string { - return protoimpl.X.MessageStringOf(x) +func (x *HelloMessage) GetHeadBlockId() *HelloMessage_BlockId { + if x != nil { + return x.HeadBlockId + } + return nil } -func (*TXOutputs) ProtoMessage() {} +func (x *HelloMessage) GetAddress() []byte { + if x != nil { + return x.Address + } + return nil +} -func (x *TXOutputs) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *HelloMessage) GetSignature() []byte { + if x != nil { + return x.Signature } - return mi.MessageOf(x) + return nil } -// Deprecated: Use TXOutputs.ProtoReflect.Descriptor instead. -func (*TXOutputs) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{14} +func (x *HelloMessage) GetNodeType() int32 { + if x != nil { + return x.NodeType + } + return 0 } -func (x *TXOutputs) GetOutputs() []*TXOutput { +func (x *HelloMessage) GetLowestBlockNum() int64 { if x != nil { - return x.Outputs + return x.LowestBlockNum } - return nil + return 0 } -type ResourceReceipt struct { +type InternalTransaction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - EnergyUsage int64 `protobuf:"varint,1,opt,name=energy_usage,json=energyUsage,proto3" json:"energy_usage,omitempty"` - EnergyFee int64 `protobuf:"varint,2,opt,name=energy_fee,json=energyFee,proto3" json:"energy_fee,omitempty"` - OriginEnergyUsage int64 `protobuf:"varint,3,opt,name=origin_energy_usage,json=originEnergyUsage,proto3" json:"origin_energy_usage,omitempty"` - EnergyUsageTotal int64 `protobuf:"varint,4,opt,name=energy_usage_total,json=energyUsageTotal,proto3" json:"energy_usage_total,omitempty"` - NetUsage int64 `protobuf:"varint,5,opt,name=net_usage,json=netUsage,proto3" json:"net_usage,omitempty"` - NetFee int64 `protobuf:"varint,6,opt,name=net_fee,json=netFee,proto3" json:"net_fee,omitempty"` - Result Transaction_ResultContractResult `protobuf:"varint,7,opt,name=result,proto3,enum=protocol.Transaction_ResultContractResult" json:"result,omitempty"` + // internalTransaction identity, the root InternalTransaction hash + // should equals to root transaction id. + Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` + // the one send trx (TBD: or token) via function + CallerAddress []byte `protobuf:"bytes,2,opt,name=caller_address,json=callerAddress,proto3" json:"caller_address,omitempty"` + // the one recieve trx (TBD: or token) via function + TransferToAddress []byte `protobuf:"bytes,3,opt,name=transferTo_address,json=transferToAddress,proto3" json:"transferTo_address,omitempty"` + CallValueInfo []*InternalTransaction_CallValueInfo `protobuf:"bytes,4,rep,name=callValueInfo,proto3" json:"callValueInfo,omitempty"` + Note []byte `protobuf:"bytes,5,opt,name=note,proto3" json:"note,omitempty"` + Rejected bool `protobuf:"varint,6,opt,name=rejected,proto3" json:"rejected,omitempty"` + Extra string `protobuf:"bytes,7,opt,name=extra,proto3" json:"extra,omitempty"` } -func (x *ResourceReceipt) Reset() { - *x = ResourceReceipt{} +func (x *InternalTransaction) Reset() { + *x = InternalTransaction{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[15] + mi := &file_core_Tron_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ResourceReceipt) String() string { +func (x *InternalTransaction) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ResourceReceipt) ProtoMessage() {} +func (*InternalTransaction) ProtoMessage() {} -func (x *ResourceReceipt) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[15] +func (x *InternalTransaction) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2100,88 +4059,88 @@ func (x *ResourceReceipt) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ResourceReceipt.ProtoReflect.Descriptor instead. -func (*ResourceReceipt) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{15} +// Deprecated: Use InternalTransaction.ProtoReflect.Descriptor instead. +func (*InternalTransaction) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{39} } -func (x *ResourceReceipt) GetEnergyUsage() int64 { +func (x *InternalTransaction) GetHash() []byte { if x != nil { - return x.EnergyUsage + return x.Hash } - return 0 + return nil } -func (x *ResourceReceipt) GetEnergyFee() int64 { +func (x *InternalTransaction) GetCallerAddress() []byte { if x != nil { - return x.EnergyFee + return x.CallerAddress } - return 0 + return nil } -func (x *ResourceReceipt) GetOriginEnergyUsage() int64 { +func (x *InternalTransaction) GetTransferToAddress() []byte { if x != nil { - return x.OriginEnergyUsage + return x.TransferToAddress } - return 0 + return nil } -func (x *ResourceReceipt) GetEnergyUsageTotal() int64 { +func (x *InternalTransaction) GetCallValueInfo() []*InternalTransaction_CallValueInfo { if x != nil { - return x.EnergyUsageTotal + return x.CallValueInfo } - return 0 + return nil } -func (x *ResourceReceipt) GetNetUsage() int64 { +func (x *InternalTransaction) GetNote() []byte { if x != nil { - return x.NetUsage + return x.Note } - return 0 + return nil } -func (x *ResourceReceipt) GetNetFee() int64 { +func (x *InternalTransaction) GetRejected() bool { if x != nil { - return x.NetFee + return x.Rejected } - return 0 + return false } -func (x *ResourceReceipt) GetResult() Transaction_ResultContractResult { +func (x *InternalTransaction) GetExtra() string { if x != nil { - return x.Result + return x.Extra } - return Transaction_Result_DEFAULT + return "" } -type Transaction struct { +type DelegatedResourceAccountIndex struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - RawData *TransactionRaw `protobuf:"bytes,1,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` - // only support size = 1, repeated list here for muti-sig extension - Signature [][]byte `protobuf:"bytes,2,rep,name=signature,proto3" json:"signature,omitempty"` - Ret []*Transaction_Result `protobuf:"bytes,5,rep,name=ret,proto3" json:"ret,omitempty"` + Account []byte `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` + FromAccounts [][]byte `protobuf:"bytes,2,rep,name=fromAccounts,proto3" json:"fromAccounts,omitempty"` + ToAccounts [][]byte `protobuf:"bytes,3,rep,name=toAccounts,proto3" json:"toAccounts,omitempty"` + Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` } -func (x *Transaction) Reset() { - *x = Transaction{} +func (x *DelegatedResourceAccountIndex) Reset() { + *x = DelegatedResourceAccountIndex{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[16] + mi := &file_core_Tron_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *Transaction) String() string { +func (x *DelegatedResourceAccountIndex) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Transaction) ProtoMessage() {} +func (*DelegatedResourceAccountIndex) ProtoMessage() {} -func (x *Transaction) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[16] +func (x *DelegatedResourceAccountIndex) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[40] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2192,75 +4151,75 @@ func (x *Transaction) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Transaction.ProtoReflect.Descriptor instead. -func (*Transaction) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{16} +// Deprecated: Use DelegatedResourceAccountIndex.ProtoReflect.Descriptor instead. +func (*DelegatedResourceAccountIndex) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{40} } -func (x *Transaction) GetRawData() *TransactionRaw { +func (x *DelegatedResourceAccountIndex) GetAccount() []byte { if x != nil { - return x.RawData + return x.Account } return nil } -func (x *Transaction) GetSignature() [][]byte { +func (x *DelegatedResourceAccountIndex) GetFromAccounts() [][]byte { if x != nil { - return x.Signature + return x.FromAccounts } return nil } -func (x *Transaction) GetRet() []*Transaction_Result { +func (x *DelegatedResourceAccountIndex) GetToAccounts() [][]byte { if x != nil { - return x.Ret + return x.ToAccounts } return nil } -type TransactionInfo struct { +func (x *DelegatedResourceAccountIndex) GetTimestamp() int64 { + if x != nil { + return x.Timestamp + } + return 0 +} + +type NodeInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Fee int64 `protobuf:"varint,2,opt,name=fee,proto3" json:"fee,omitempty"` - BlockNumber int64 `protobuf:"varint,3,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` - BlockTimeStamp int64 `protobuf:"varint,4,opt,name=blockTimeStamp,proto3" json:"blockTimeStamp,omitempty"` - ContractResult [][]byte `protobuf:"bytes,5,rep,name=contractResult,proto3" json:"contractResult,omitempty"` - ContractAddress []byte `protobuf:"bytes,6,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` - Receipt *ResourceReceipt `protobuf:"bytes,7,opt,name=receipt,proto3" json:"receipt,omitempty"` - Log []*TransactionInfo_Log `protobuf:"bytes,8,rep,name=log,proto3" json:"log,omitempty"` - Result TransactionInfoCode `protobuf:"varint,9,opt,name=result,proto3,enum=protocol.TransactionInfoCode" json:"result,omitempty"` - ResMessage []byte `protobuf:"bytes,10,opt,name=resMessage,proto3" json:"resMessage,omitempty"` - AssetIssueID string `protobuf:"bytes,14,opt,name=assetIssueID,proto3" json:"assetIssueID,omitempty"` - WithdrawAmount int64 `protobuf:"varint,15,opt,name=withdraw_amount,json=withdrawAmount,proto3" json:"withdraw_amount,omitempty"` - UnfreezeAmount int64 `protobuf:"varint,16,opt,name=unfreeze_amount,json=unfreezeAmount,proto3" json:"unfreeze_amount,omitempty"` - InternalTransactions []*InternalTransaction `protobuf:"bytes,17,rep,name=internal_transactions,json=internalTransactions,proto3" json:"internal_transactions,omitempty"` - ExchangeReceivedAmount int64 `protobuf:"varint,18,opt,name=exchange_received_amount,json=exchangeReceivedAmount,proto3" json:"exchange_received_amount,omitempty"` - ExchangeInjectAnotherAmount int64 `protobuf:"varint,19,opt,name=exchange_inject_another_amount,json=exchangeInjectAnotherAmount,proto3" json:"exchange_inject_another_amount,omitempty"` - ExchangeWithdrawAnotherAmount int64 `protobuf:"varint,20,opt,name=exchange_withdraw_another_amount,json=exchangeWithdrawAnotherAmount,proto3" json:"exchange_withdraw_another_amount,omitempty"` - ExchangeId int64 `protobuf:"varint,21,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"` - ShieldedTransactionFee int64 `protobuf:"varint,22,opt,name=shielded_transaction_fee,json=shieldedTransactionFee,proto3" json:"shielded_transaction_fee,omitempty"` + BeginSyncNum int64 `protobuf:"varint,1,opt,name=beginSyncNum,proto3" json:"beginSyncNum,omitempty"` + Block string `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"` + SolidityBlock string `protobuf:"bytes,3,opt,name=solidityBlock,proto3" json:"solidityBlock,omitempty"` + //connect information + CurrentConnectCount int32 `protobuf:"varint,4,opt,name=currentConnectCount,proto3" json:"currentConnectCount,omitempty"` + ActiveConnectCount int32 `protobuf:"varint,5,opt,name=activeConnectCount,proto3" json:"activeConnectCount,omitempty"` + PassiveConnectCount int32 `protobuf:"varint,6,opt,name=passiveConnectCount,proto3" json:"passiveConnectCount,omitempty"` + TotalFlow int64 `protobuf:"varint,7,opt,name=totalFlow,proto3" json:"totalFlow,omitempty"` + PeerInfoList []*NodeInfo_PeerInfo `protobuf:"bytes,8,rep,name=peerInfoList,proto3" json:"peerInfoList,omitempty"` + ConfigNodeInfo *NodeInfo_ConfigNodeInfo `protobuf:"bytes,9,opt,name=configNodeInfo,proto3" json:"configNodeInfo,omitempty"` + MachineInfo *NodeInfo_MachineInfo `protobuf:"bytes,10,opt,name=machineInfo,proto3" json:"machineInfo,omitempty"` + CheatWitnessInfoMap map[string]string `protobuf:"bytes,11,rep,name=cheatWitnessInfoMap,proto3" json:"cheatWitnessInfoMap,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (x *TransactionInfo) Reset() { - *x = TransactionInfo{} +func (x *NodeInfo) Reset() { + *x = NodeInfo{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[17] + mi := &file_core_Tron_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *TransactionInfo) String() string { +func (x *NodeInfo) String() string { return protoimpl.X.MessageStringOf(x) } -func (*TransactionInfo) ProtoMessage() {} +func (*NodeInfo) ProtoMessage() {} -func (x *TransactionInfo) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[17] +func (x *NodeInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2271,171 +4230,240 @@ func (x *TransactionInfo) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use TransactionInfo.ProtoReflect.Descriptor instead. -func (*TransactionInfo) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{17} +// Deprecated: Use NodeInfo.ProtoReflect.Descriptor instead. +func (*NodeInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{41} } -func (x *TransactionInfo) GetId() []byte { +func (x *NodeInfo) GetBeginSyncNum() int64 { if x != nil { - return x.Id + return x.BeginSyncNum } - return nil + return 0 } -func (x *TransactionInfo) GetFee() int64 { +func (x *NodeInfo) GetBlock() string { if x != nil { - return x.Fee + return x.Block } - return 0 + return "" } -func (x *TransactionInfo) GetBlockNumber() int64 { +func (x *NodeInfo) GetSolidityBlock() string { if x != nil { - return x.BlockNumber + return x.SolidityBlock + } + return "" +} + +func (x *NodeInfo) GetCurrentConnectCount() int32 { + if x != nil { + return x.CurrentConnectCount } return 0 } -func (x *TransactionInfo) GetBlockTimeStamp() int64 { +func (x *NodeInfo) GetActiveConnectCount() int32 { if x != nil { - return x.BlockTimeStamp + return x.ActiveConnectCount } return 0 } -func (x *TransactionInfo) GetContractResult() [][]byte { +func (x *NodeInfo) GetPassiveConnectCount() int32 { if x != nil { - return x.ContractResult + return x.PassiveConnectCount } - return nil + return 0 } -func (x *TransactionInfo) GetContractAddress() []byte { +func (x *NodeInfo) GetTotalFlow() int64 { if x != nil { - return x.ContractAddress + return x.TotalFlow } - return nil + return 0 } -func (x *TransactionInfo) GetReceipt() *ResourceReceipt { +func (x *NodeInfo) GetPeerInfoList() []*NodeInfo_PeerInfo { if x != nil { - return x.Receipt + return x.PeerInfoList } return nil } -func (x *TransactionInfo) GetLog() []*TransactionInfo_Log { +func (x *NodeInfo) GetConfigNodeInfo() *NodeInfo_ConfigNodeInfo { if x != nil { - return x.Log + return x.ConfigNodeInfo } return nil } -func (x *TransactionInfo) GetResult() TransactionInfoCode { +func (x *NodeInfo) GetMachineInfo() *NodeInfo_MachineInfo { if x != nil { - return x.Result + return x.MachineInfo } - return TransactionInfo_SUCESS + return nil } -func (x *TransactionInfo) GetResMessage() []byte { +func (x *NodeInfo) GetCheatWitnessInfoMap() map[string]string { if x != nil { - return x.ResMessage + return x.CheatWitnessInfoMap } return nil } -func (x *TransactionInfo) GetAssetIssueID() string { - if x != nil { - return x.AssetIssueID +type MetricsInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Interval int64 `protobuf:"varint,1,opt,name=interval,proto3" json:"interval,omitempty"` + Node *MetricsInfo_NodeInfo `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` + Blockchain *MetricsInfo_BlockChainInfo `protobuf:"bytes,3,opt,name=blockchain,proto3" json:"blockchain,omitempty"` + Net *MetricsInfo_NetInfo `protobuf:"bytes,4,opt,name=net,proto3" json:"net,omitempty"` +} + +func (x *MetricsInfo) Reset() { + *x = MetricsInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return "" } -func (x *TransactionInfo) GetWithdrawAmount() int64 { - if x != nil { - return x.WithdrawAmount +func (x *MetricsInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MetricsInfo) ProtoMessage() {} + +func (x *MetricsInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[42] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return 0 + return mi.MessageOf(x) } -func (x *TransactionInfo) GetUnfreezeAmount() int64 { +// Deprecated: Use MetricsInfo.ProtoReflect.Descriptor instead. +func (*MetricsInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{42} +} + +func (x *MetricsInfo) GetInterval() int64 { if x != nil { - return x.UnfreezeAmount + return x.Interval } return 0 } -func (x *TransactionInfo) GetInternalTransactions() []*InternalTransaction { +func (x *MetricsInfo) GetNode() *MetricsInfo_NodeInfo { if x != nil { - return x.InternalTransactions + return x.Node } return nil } -func (x *TransactionInfo) GetExchangeReceivedAmount() int64 { +func (x *MetricsInfo) GetBlockchain() *MetricsInfo_BlockChainInfo { if x != nil { - return x.ExchangeReceivedAmount + return x.Blockchain } - return 0 + return nil } -func (x *TransactionInfo) GetExchangeInjectAnotherAmount() int64 { +func (x *MetricsInfo) GetNet() *MetricsInfo_NetInfo { if x != nil { - return x.ExchangeInjectAnotherAmount + return x.Net } - return 0 + return nil } -func (x *TransactionInfo) GetExchangeWithdrawAnotherAmount() int64 { - if x != nil { - return x.ExchangeWithdrawAnotherAmount +type PBFTMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RawData *PBFTMessage_Raw `protobuf:"bytes,1,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` + Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` +} + +func (x *PBFTMessage) Reset() { + *x = PBFTMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return 0 } -func (x *TransactionInfo) GetExchangeId() int64 { +func (x *PBFTMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PBFTMessage) ProtoMessage() {} + +func (x *PBFTMessage) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[43] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PBFTMessage.ProtoReflect.Descriptor instead. +func (*PBFTMessage) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{43} +} + +func (x *PBFTMessage) GetRawData() *PBFTMessage_Raw { if x != nil { - return x.ExchangeId + return x.RawData } - return 0 + return nil } -func (x *TransactionInfo) GetShieldedTransactionFee() int64 { +func (x *PBFTMessage) GetSignature() []byte { if x != nil { - return x.ShieldedTransactionFee + return x.Signature } - return 0 + return nil } -type TransactionRet struct { +type PBFTCommitResult struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - BlockNumber int64 `protobuf:"varint,1,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` - BlockTimeStamp int64 `protobuf:"varint,2,opt,name=blockTimeStamp,proto3" json:"blockTimeStamp,omitempty"` - Transactioninfo []*TransactionInfo `protobuf:"bytes,3,rep,name=transactioninfo,proto3" json:"transactioninfo,omitempty"` + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` + Signature [][]byte `protobuf:"bytes,2,rep,name=signature,proto3" json:"signature,omitempty"` } -func (x *TransactionRet) Reset() { - *x = TransactionRet{} +func (x *PBFTCommitResult) Reset() { + *x = PBFTCommitResult{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[18] + mi := &file_core_Tron_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *TransactionRet) String() string { +func (x *PBFTCommitResult) String() string { return protoimpl.X.MessageStringOf(x) } -func (*TransactionRet) ProtoMessage() {} +func (*PBFTCommitResult) ProtoMessage() {} -func (x *TransactionRet) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[18] +func (x *PBFTCommitResult) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[44] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2446,57 +4474,98 @@ func (x *TransactionRet) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use TransactionRet.ProtoReflect.Descriptor instead. -func (*TransactionRet) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{18} +// Deprecated: Use PBFTCommitResult.ProtoReflect.Descriptor instead. +func (*PBFTCommitResult) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{44} } -func (x *TransactionRet) GetBlockNumber() int64 { +func (x *PBFTCommitResult) GetData() []byte { if x != nil { - return x.BlockNumber + return x.Data } - return 0 + return nil } -func (x *TransactionRet) GetBlockTimeStamp() int64 { +func (x *PBFTCommitResult) GetSignature() [][]byte { if x != nil { - return x.BlockTimeStamp + return x.Signature } - return 0 + return nil } -func (x *TransactionRet) GetTransactioninfo() []*TransactionInfo { +type SRL struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SrAddress [][]byte `protobuf:"bytes,1,rep,name=srAddress,proto3" json:"srAddress,omitempty"` +} + +func (x *SRL) Reset() { + *x = SRL{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SRL) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SRL) ProtoMessage() {} + +func (x *SRL) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[45] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SRL.ProtoReflect.Descriptor instead. +func (*SRL) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{45} +} + +func (x *SRL) GetSrAddress() [][]byte { if x != nil { - return x.Transactioninfo + return x.SrAddress } return nil } -type Transactions struct { +type ChainParameters_ChainParameter struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` } -func (x *Transactions) Reset() { - *x = Transactions{} +func (x *ChainParameters_ChainParameter) Reset() { + *x = ChainParameters_ChainParameter{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[19] + mi := &file_core_Tron_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *Transactions) String() string { +func (x *ChainParameters_ChainParameter) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Transactions) ProtoMessage() {} +func (*ChainParameters_ChainParameter) ProtoMessage() {} -func (x *Transactions) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[19] +func (x *ChainParameters_ChainParameter) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[47] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2507,44 +4576,52 @@ func (x *Transactions) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Transactions.ProtoReflect.Descriptor instead. -func (*Transactions) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{19} +// Deprecated: Use ChainParameters_ChainParameter.ProtoReflect.Descriptor instead. +func (*ChainParameters_ChainParameter) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{12, 0} } -func (x *Transactions) GetTransactions() []*Transaction { +func (x *ChainParameters_ChainParameter) GetKey() string { if x != nil { - return x.Transactions + return x.Key + } + return "" +} + +func (x *ChainParameters_ChainParameter) GetValue() int64 { + if x != nil { + return x.Value } - return nil + return 0 } -type TransactionSign struct { +// frozen balance +type Account_Frozen struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Transaction *Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` - PrivateKey []byte `protobuf:"bytes,2,opt,name=privateKey,proto3" json:"privateKey,omitempty"` + FrozenBalance int64 `protobuf:"varint,1,opt,name=frozen_balance,json=frozenBalance,proto3" json:"frozen_balance,omitempty"` // the frozen trx balance + ExpireTime int64 `protobuf:"varint,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // the expire time } -func (x *TransactionSign) Reset() { - *x = TransactionSign{} +func (x *Account_Frozen) Reset() { + *x = Account_Frozen{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[20] + mi := &file_core_Tron_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *TransactionSign) String() string { +func (x *Account_Frozen) String() string { return protoimpl.X.MessageStringOf(x) } -func (*TransactionSign) ProtoMessage() {} +func (*Account_Frozen) ProtoMessage() {} -func (x *TransactionSign) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[20] +func (x *Account_Frozen) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[48] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2555,51 +4632,65 @@ func (x *TransactionSign) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use TransactionSign.ProtoReflect.Descriptor instead. -func (*TransactionSign) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{20} +// Deprecated: Use Account_Frozen.ProtoReflect.Descriptor instead. +func (*Account_Frozen) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{13, 0} } -func (x *TransactionSign) GetTransaction() *Transaction { +func (x *Account_Frozen) GetFrozenBalance() int64 { if x != nil { - return x.Transaction + return x.FrozenBalance } - return nil + return 0 } -func (x *TransactionSign) GetPrivateKey() []byte { +func (x *Account_Frozen) GetExpireTime() int64 { if x != nil { - return x.PrivateKey + return x.ExpireTime } - return nil + return 0 } -type BlockHeader struct { +type Account_AccountResource struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - RawData *BlockHeaderRaw `protobuf:"bytes,1,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` - WitnessSignature []byte `protobuf:"bytes,2,opt,name=witness_signature,json=witnessSignature,proto3" json:"witness_signature,omitempty"` + // energy resource, get from frozen + EnergyUsage int64 `protobuf:"varint,1,opt,name=energy_usage,json=energyUsage,proto3" json:"energy_usage,omitempty"` + // the frozen balance for energy + FrozenBalanceForEnergy *Account_Frozen `protobuf:"bytes,2,opt,name=frozen_balance_for_energy,json=frozenBalanceForEnergy,proto3" json:"frozen_balance_for_energy,omitempty"` + LatestConsumeTimeForEnergy int64 `protobuf:"varint,3,opt,name=latest_consume_time_for_energy,json=latestConsumeTimeForEnergy,proto3" json:"latest_consume_time_for_energy,omitempty"` + //Frozen balance provided by other accounts to this account + AcquiredDelegatedFrozenBalanceForEnergy int64 `protobuf:"varint,4,opt,name=acquired_delegated_frozen_balance_for_energy,json=acquiredDelegatedFrozenBalanceForEnergy,proto3" json:"acquired_delegated_frozen_balance_for_energy,omitempty"` + //Frozen balances provided to other accounts + DelegatedFrozenBalanceForEnergy int64 `protobuf:"varint,5,opt,name=delegated_frozen_balance_for_energy,json=delegatedFrozenBalanceForEnergy,proto3" json:"delegated_frozen_balance_for_energy,omitempty"` + // storage resource, get from market + StorageLimit int64 `protobuf:"varint,6,opt,name=storage_limit,json=storageLimit,proto3" json:"storage_limit,omitempty"` + StorageUsage int64 `protobuf:"varint,7,opt,name=storage_usage,json=storageUsage,proto3" json:"storage_usage,omitempty"` + LatestExchangeStorageTime int64 `protobuf:"varint,8,opt,name=latest_exchange_storage_time,json=latestExchangeStorageTime,proto3" json:"latest_exchange_storage_time,omitempty"` + EnergyWindowSize int64 `protobuf:"varint,9,opt,name=energy_window_size,json=energyWindowSize,proto3" json:"energy_window_size,omitempty"` + DelegatedFrozenV2BalanceForEnergy int64 `protobuf:"varint,10,opt,name=delegated_frozenV2_balance_for_energy,json=delegatedFrozenV2BalanceForEnergy,proto3" json:"delegated_frozenV2_balance_for_energy,omitempty"` + AcquiredDelegatedFrozenV2BalanceForEnergy int64 `protobuf:"varint,11,opt,name=acquired_delegated_frozenV2_balance_for_energy,json=acquiredDelegatedFrozenV2BalanceForEnergy,proto3" json:"acquired_delegated_frozenV2_balance_for_energy,omitempty"` } -func (x *BlockHeader) Reset() { - *x = BlockHeader{} +func (x *Account_AccountResource) Reset() { + *x = Account_AccountResource{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[21] + mi := &file_core_Tron_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *BlockHeader) String() string { +func (x *Account_AccountResource) String() string { return protoimpl.X.MessageStringOf(x) } -func (*BlockHeader) ProtoMessage() {} +func (*Account_AccountResource) ProtoMessage() {} -func (x *BlockHeader) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[21] +func (x *Account_AccountResource) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[55] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2610,107 +4701,114 @@ func (x *BlockHeader) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use BlockHeader.ProtoReflect.Descriptor instead. -func (*BlockHeader) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{21} +// Deprecated: Use Account_AccountResource.ProtoReflect.Descriptor instead. +func (*Account_AccountResource) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{13, 7} } -func (x *BlockHeader) GetRawData() *BlockHeaderRaw { +func (x *Account_AccountResource) GetEnergyUsage() int64 { if x != nil { - return x.RawData + return x.EnergyUsage } - return nil + return 0 } -func (x *BlockHeader) GetWitnessSignature() []byte { +func (x *Account_AccountResource) GetFrozenBalanceForEnergy() *Account_Frozen { if x != nil { - return x.WitnessSignature + return x.FrozenBalanceForEnergy } return nil } -// block -type Block struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (x *Account_AccountResource) GetLatestConsumeTimeForEnergy() int64 { + if x != nil { + return x.LatestConsumeTimeForEnergy + } + return 0 +} - Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` - BlockHeader *BlockHeader `protobuf:"bytes,2,opt,name=block_header,json=blockHeader,proto3" json:"block_header,omitempty"` +func (x *Account_AccountResource) GetAcquiredDelegatedFrozenBalanceForEnergy() int64 { + if x != nil { + return x.AcquiredDelegatedFrozenBalanceForEnergy + } + return 0 } -func (x *Block) Reset() { - *x = Block{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *Account_AccountResource) GetDelegatedFrozenBalanceForEnergy() int64 { + if x != nil { + return x.DelegatedFrozenBalanceForEnergy } + return 0 } -func (x *Block) String() string { - return protoimpl.X.MessageStringOf(x) +func (x *Account_AccountResource) GetStorageLimit() int64 { + if x != nil { + return x.StorageLimit + } + return 0 } -func (*Block) ProtoMessage() {} +func (x *Account_AccountResource) GetStorageUsage() int64 { + if x != nil { + return x.StorageUsage + } + return 0 +} -func (x *Block) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *Account_AccountResource) GetLatestExchangeStorageTime() int64 { + if x != nil { + return x.LatestExchangeStorageTime } - return mi.MessageOf(x) + return 0 } -// Deprecated: Use Block.ProtoReflect.Descriptor instead. -func (*Block) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{22} +func (x *Account_AccountResource) GetEnergyWindowSize() int64 { + if x != nil { + return x.EnergyWindowSize + } + return 0 } -func (x *Block) GetTransactions() []*Transaction { +func (x *Account_AccountResource) GetDelegatedFrozenV2BalanceForEnergy() int64 { if x != nil { - return x.Transactions + return x.DelegatedFrozenV2BalanceForEnergy } - return nil + return 0 } -func (x *Block) GetBlockHeader() *BlockHeader { +func (x *Account_AccountResource) GetAcquiredDelegatedFrozenV2BalanceForEnergy() int64 { if x != nil { - return x.BlockHeader + return x.AcquiredDelegatedFrozenV2BalanceForEnergy } - return nil + return 0 } -type ChainInventory struct { +type Account_FreezeV2 struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Ids []*ChainInventory_BlockId `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` - RemainNum int64 `protobuf:"varint,2,opt,name=remain_num,json=remainNum,proto3" json:"remain_num,omitempty"` + Type ResourceCode `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.ResourceCode" json:"type,omitempty"` + Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` } -func (x *ChainInventory) Reset() { - *x = ChainInventory{} +func (x *Account_FreezeV2) Reset() { + *x = Account_FreezeV2{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[23] + mi := &file_core_Tron_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ChainInventory) String() string { +func (x *Account_FreezeV2) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ChainInventory) ProtoMessage() {} +func (*Account_FreezeV2) ProtoMessage() {} -func (x *ChainInventory) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[23] +func (x *Account_FreezeV2) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[56] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2721,52 +4819,52 @@ func (x *ChainInventory) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ChainInventory.ProtoReflect.Descriptor instead. -func (*ChainInventory) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{23} +// Deprecated: Use Account_FreezeV2.ProtoReflect.Descriptor instead. +func (*Account_FreezeV2) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{13, 8} } -func (x *ChainInventory) GetIds() []*ChainInventory_BlockId { +func (x *Account_FreezeV2) GetType() ResourceCode { if x != nil { - return x.Ids + return x.Type } - return nil + return ResourceCode_BANDWIDTH } -func (x *ChainInventory) GetRemainNum() int64 { +func (x *Account_FreezeV2) GetAmount() int64 { if x != nil { - return x.RemainNum + return x.Amount } return 0 } -// Inventory -type BlockInventory struct { +type Account_UnFreezeV2 struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Ids []*BlockInventory_BlockId `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` - Type BlockInventory_Type `protobuf:"varint,2,opt,name=type,proto3,enum=protocol.BlockInventory_Type" json:"type,omitempty"` + Type ResourceCode `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.ResourceCode" json:"type,omitempty"` + UnfreezeAmount int64 `protobuf:"varint,3,opt,name=unfreeze_amount,json=unfreezeAmount,proto3" json:"unfreeze_amount,omitempty"` + UnfreezeExpireTime int64 `protobuf:"varint,4,opt,name=unfreeze_expire_time,json=unfreezeExpireTime,proto3" json:"unfreeze_expire_time,omitempty"` } -func (x *BlockInventory) Reset() { - *x = BlockInventory{} +func (x *Account_UnFreezeV2) Reset() { + *x = Account_UnFreezeV2{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[24] + mi := &file_core_Tron_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *BlockInventory) String() string { +func (x *Account_UnFreezeV2) String() string { return protoimpl.X.MessageStringOf(x) } -func (*BlockInventory) ProtoMessage() {} +func (*Account_UnFreezeV2) ProtoMessage() {} -func (x *BlockInventory) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[24] +func (x *Account_UnFreezeV2) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[57] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2777,51 +4875,59 @@ func (x *BlockInventory) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use BlockInventory.ProtoReflect.Descriptor instead. -func (*BlockInventory) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{24} +// Deprecated: Use Account_UnFreezeV2.ProtoReflect.Descriptor instead. +func (*Account_UnFreezeV2) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{13, 9} } -func (x *BlockInventory) GetIds() []*BlockInventory_BlockId { +func (x *Account_UnFreezeV2) GetType() ResourceCode { if x != nil { - return x.Ids + return x.Type } - return nil + return ResourceCode_BANDWIDTH } -func (x *BlockInventory) GetType() BlockInventory_Type { +func (x *Account_UnFreezeV2) GetUnfreezeAmount() int64 { if x != nil { - return x.Type + return x.UnfreezeAmount } - return BlockInventory_SYNC + return 0 } -type Inventory struct { +func (x *Account_UnFreezeV2) GetUnfreezeExpireTime() int64 { + if x != nil { + return x.UnfreezeExpireTime + } + return 0 +} + +type TXInputRaw struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Type Inventory_InventoryType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Inventory_InventoryType" json:"type,omitempty"` - Ids [][]byte `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` + TxID []byte `protobuf:"bytes,1,opt,name=txID,proto3" json:"txID,omitempty"` + Vout int64 `protobuf:"varint,2,opt,name=vout,proto3" json:"vout,omitempty"` + PubKey []byte `protobuf:"bytes,3,opt,name=pubKey,proto3" json:"pubKey,omitempty"` } -func (x *Inventory) Reset() { - *x = Inventory{} +func (x *TXInputRaw) Reset() { + *x = TXInputRaw{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[25] + mi := &file_core_Tron_proto_msgTypes[58] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *Inventory) String() string { +func (x *TXInputRaw) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Inventory) ProtoMessage() {} +func (*TXInputRaw) ProtoMessage() {} -func (x *Inventory) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[25] +func (x *TXInputRaw) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[58] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2832,53 +4938,61 @@ func (x *Inventory) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Inventory.ProtoReflect.Descriptor instead. -func (*Inventory) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{25} +// Deprecated: Use TXInputRaw.ProtoReflect.Descriptor instead. +func (*TXInputRaw) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{21, 0} } -func (x *Inventory) GetType() Inventory_InventoryType { +func (x *TXInputRaw) GetTxID() []byte { if x != nil { - return x.Type + return x.TxID } - return Inventory_TRX + return nil } -func (x *Inventory) GetIds() [][]byte { +func (x *TXInputRaw) GetVout() int64 { if x != nil { - return x.Ids + return x.Vout + } + return 0 +} + +func (x *TXInputRaw) GetPubKey() []byte { + if x != nil { + return x.PubKey } return nil } -type Items struct { +type Transaction_Contract struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - Type Items_ItemType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Items_ItemType" json:"type,omitempty"` - Blocks []*Block `protobuf:"bytes,2,rep,name=blocks,proto3" json:"blocks,omitempty"` - BlockHeaders []*BlockHeader `protobuf:"bytes,3,rep,name=block_headers,json=blockHeaders,proto3" json:"block_headers,omitempty"` - Transactions []*Transaction `protobuf:"bytes,4,rep,name=transactions,proto3" json:"transactions,omitempty"` + + Type Transaction_Contract_ContractType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Transaction_Contract_ContractType" json:"type,omitempty"` + Parameter *anypb.Any `protobuf:"bytes,2,opt,name=parameter,proto3" json:"parameter,omitempty"` + Provider []byte `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` + ContractName []byte `protobuf:"bytes,4,opt,name=ContractName,proto3" json:"ContractName,omitempty"` + PermissionId int32 `protobuf:"varint,5,opt,name=Permission_id,json=PermissionId,proto3" json:"Permission_id,omitempty"` } -func (x *Items) Reset() { - *x = Items{} +func (x *Transaction_Contract) Reset() { + *x = Transaction_Contract{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[26] + mi := &file_core_Tron_proto_msgTypes[59] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *Items) String() string { +func (x *Transaction_Contract) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Items) ProtoMessage() {} +func (*Transaction_Contract) ProtoMessage() {} -func (x *Items) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[26] +func (x *Transaction_Contract) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[59] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2889,65 +5003,84 @@ func (x *Items) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Items.ProtoReflect.Descriptor instead. -func (*Items) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{26} +// Deprecated: Use Transaction_Contract.ProtoReflect.Descriptor instead. +func (*Transaction_Contract) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{25, 0} } -func (x *Items) GetType() Items_ItemType { +func (x *Transaction_Contract) GetType() Transaction_Contract_ContractType { if x != nil { return x.Type } - return Items_ERR + return Transaction_Contract_AccountCreateContract } -func (x *Items) GetBlocks() []*Block { +func (x *Transaction_Contract) GetParameter() *anypb.Any { if x != nil { - return x.Blocks + return x.Parameter } return nil } -func (x *Items) GetBlockHeaders() []*BlockHeader { +func (x *Transaction_Contract) GetProvider() []byte { if x != nil { - return x.BlockHeaders + return x.Provider } return nil } -func (x *Items) GetTransactions() []*Transaction { +func (x *Transaction_Contract) GetContractName() []byte { if x != nil { - return x.Transactions + return x.ContractName } return nil } -// DynamicProperties -type DynamicProperties struct { +func (x *Transaction_Contract) GetPermissionId() int32 { + if x != nil { + return x.PermissionId + } + return 0 +} + +type Transaction_Result struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - LastSolidityBlockNum int64 `protobuf:"varint,1,opt,name=last_solidity_block_num,json=lastSolidityBlockNum,proto3" json:"last_solidity_block_num,omitempty"` + Fee int64 `protobuf:"varint,1,opt,name=fee,proto3" json:"fee,omitempty"` + Ret Transaction_ResultCode `protobuf:"varint,2,opt,name=ret,proto3,enum=protocol.Transaction_ResultCode" json:"ret,omitempty"` + ContractRet Transaction_ResultContractResult `protobuf:"varint,3,opt,name=contractRet,proto3,enum=protocol.Transaction_ResultContractResult" json:"contractRet,omitempty"` + AssetIssueID string `protobuf:"bytes,14,opt,name=assetIssueID,proto3" json:"assetIssueID,omitempty"` + WithdrawAmount int64 `protobuf:"varint,15,opt,name=withdraw_amount,json=withdrawAmount,proto3" json:"withdraw_amount,omitempty"` + UnfreezeAmount int64 `protobuf:"varint,16,opt,name=unfreeze_amount,json=unfreezeAmount,proto3" json:"unfreeze_amount,omitempty"` + ExchangeReceivedAmount int64 `protobuf:"varint,18,opt,name=exchange_received_amount,json=exchangeReceivedAmount,proto3" json:"exchange_received_amount,omitempty"` + ExchangeInjectAnotherAmount int64 `protobuf:"varint,19,opt,name=exchange_inject_another_amount,json=exchangeInjectAnotherAmount,proto3" json:"exchange_inject_another_amount,omitempty"` + ExchangeWithdrawAnotherAmount int64 `protobuf:"varint,20,opt,name=exchange_withdraw_another_amount,json=exchangeWithdrawAnotherAmount,proto3" json:"exchange_withdraw_another_amount,omitempty"` + ExchangeId int64 `protobuf:"varint,21,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"` + ShieldedTransactionFee int64 `protobuf:"varint,22,opt,name=shielded_transaction_fee,json=shieldedTransactionFee,proto3" json:"shielded_transaction_fee,omitempty"` + OrderId []byte `protobuf:"bytes,25,opt,name=orderId,proto3" json:"orderId,omitempty"` + OrderDetails []*MarketOrderDetail `protobuf:"bytes,26,rep,name=orderDetails,proto3" json:"orderDetails,omitempty"` + WithdrawExpireAmount int64 `protobuf:"varint,27,opt,name=withdraw_expire_amount,json=withdrawExpireAmount,proto3" json:"withdraw_expire_amount,omitempty"` } -func (x *DynamicProperties) Reset() { - *x = DynamicProperties{} +func (x *Transaction_Result) Reset() { + *x = Transaction_Result{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[27] + mi := &file_core_Tron_proto_msgTypes[60] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *DynamicProperties) String() string { +func (x *Transaction_Result) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DynamicProperties) ProtoMessage() {} +func (*Transaction_Result) ProtoMessage() {} -func (x *DynamicProperties) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[27] +func (x *Transaction_Result) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[60] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2958,95 +5091,146 @@ func (x *DynamicProperties) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DynamicProperties.ProtoReflect.Descriptor instead. -func (*DynamicProperties) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{27} +// Deprecated: Use Transaction_Result.ProtoReflect.Descriptor instead. +func (*Transaction_Result) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{25, 1} } -func (x *DynamicProperties) GetLastSolidityBlockNum() int64 { +func (x *Transaction_Result) GetFee() int64 { if x != nil { - return x.LastSolidityBlockNum + return x.Fee } return 0 } -type DisconnectMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (x *Transaction_Result) GetRet() Transaction_ResultCode { + if x != nil { + return x.Ret + } + return Transaction_Result_SUCESS +} - Reason ReasonCode `protobuf:"varint,1,opt,name=reason,proto3,enum=protocol.ReasonCode" json:"reason,omitempty"` +func (x *Transaction_Result) GetContractRet() Transaction_ResultContractResult { + if x != nil { + return x.ContractRet + } + return Transaction_Result_DEFAULT } -func (x *DisconnectMessage) Reset() { - *x = DisconnectMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *Transaction_Result) GetAssetIssueID() string { + if x != nil { + return x.AssetIssueID } + return "" } -func (x *DisconnectMessage) String() string { - return protoimpl.X.MessageStringOf(x) +func (x *Transaction_Result) GetWithdrawAmount() int64 { + if x != nil { + return x.WithdrawAmount + } + return 0 } -func (*DisconnectMessage) ProtoMessage() {} +func (x *Transaction_Result) GetUnfreezeAmount() int64 { + if x != nil { + return x.UnfreezeAmount + } + return 0 +} -func (x *DisconnectMessage) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *Transaction_Result) GetExchangeReceivedAmount() int64 { + if x != nil { + return x.ExchangeReceivedAmount } - return mi.MessageOf(x) + return 0 } -// Deprecated: Use DisconnectMessage.ProtoReflect.Descriptor instead. -func (*DisconnectMessage) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{28} +func (x *Transaction_Result) GetExchangeInjectAnotherAmount() int64 { + if x != nil { + return x.ExchangeInjectAnotherAmount + } + return 0 } -func (x *DisconnectMessage) GetReason() ReasonCode { +func (x *Transaction_Result) GetExchangeWithdrawAnotherAmount() int64 { if x != nil { - return x.Reason + return x.ExchangeWithdrawAnotherAmount } - return ReasonCode_REQUESTED + return 0 } -type HelloMessage struct { +func (x *Transaction_Result) GetExchangeId() int64 { + if x != nil { + return x.ExchangeId + } + return 0 +} + +func (x *Transaction_Result) GetShieldedTransactionFee() int64 { + if x != nil { + return x.ShieldedTransactionFee + } + return 0 +} + +func (x *Transaction_Result) GetOrderId() []byte { + if x != nil { + return x.OrderId + } + return nil +} + +func (x *Transaction_Result) GetOrderDetails() []*MarketOrderDetail { + if x != nil { + return x.OrderDetails + } + return nil +} + +func (x *Transaction_Result) GetWithdrawExpireAmount() int64 { + if x != nil { + return x.WithdrawExpireAmount + } + return 0 +} + +type TransactionRaw struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - From *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` - Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` - Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - GenesisBlockId *HelloMessage_BlockId `protobuf:"bytes,4,opt,name=genesisBlockId,proto3" json:"genesisBlockId,omitempty"` - SolidBlockId *HelloMessage_BlockId `protobuf:"bytes,5,opt,name=solidBlockId,proto3" json:"solidBlockId,omitempty"` - HeadBlockId *HelloMessage_BlockId `protobuf:"bytes,6,opt,name=headBlockId,proto3" json:"headBlockId,omitempty"` + RefBlockBytes []byte `protobuf:"bytes,1,opt,name=ref_block_bytes,json=refBlockBytes,proto3" json:"ref_block_bytes,omitempty"` + RefBlockNum int64 `protobuf:"varint,3,opt,name=ref_block_num,json=refBlockNum,proto3" json:"ref_block_num,omitempty"` + RefBlockHash []byte `protobuf:"bytes,4,opt,name=ref_block_hash,json=refBlockHash,proto3" json:"ref_block_hash,omitempty"` + Expiration int64 `protobuf:"varint,8,opt,name=expiration,proto3" json:"expiration,omitempty"` + Auths []*Authority `protobuf:"bytes,9,rep,name=auths,proto3" json:"auths,omitempty"` + // data not used + Data []byte `protobuf:"bytes,10,opt,name=data,proto3" json:"data,omitempty"` + //only support size = 1, repeated list here for extension + Contract []*Transaction_Contract `protobuf:"bytes,11,rep,name=contract,proto3" json:"contract,omitempty"` + // scripts not used + Scripts []byte `protobuf:"bytes,12,opt,name=scripts,proto3" json:"scripts,omitempty"` + Timestamp int64 `protobuf:"varint,14,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + FeeLimit int64 `protobuf:"varint,18,opt,name=fee_limit,json=feeLimit,proto3" json:"fee_limit,omitempty"` } -func (x *HelloMessage) Reset() { - *x = HelloMessage{} +func (x *TransactionRaw) Reset() { + *x = TransactionRaw{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[29] + mi := &file_core_Tron_proto_msgTypes[61] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *HelloMessage) String() string { +func (x *TransactionRaw) String() string { return protoimpl.X.MessageStringOf(x) } -func (*HelloMessage) ProtoMessage() {} +func (*TransactionRaw) ProtoMessage() {} -func (x *HelloMessage) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[29] +func (x *TransactionRaw) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[61] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3057,87 +5241,108 @@ func (x *HelloMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use HelloMessage.ProtoReflect.Descriptor instead. -func (*HelloMessage) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{29} +// Deprecated: Use TransactionRaw.ProtoReflect.Descriptor instead. +func (*TransactionRaw) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{25, 2} } -func (x *HelloMessage) GetFrom() *Endpoint { +func (x *TransactionRaw) GetRefBlockBytes() []byte { if x != nil { - return x.From + return x.RefBlockBytes } return nil } -func (x *HelloMessage) GetVersion() int32 { +func (x *TransactionRaw) GetRefBlockNum() int64 { if x != nil { - return x.Version + return x.RefBlockNum } return 0 } -func (x *HelloMessage) GetTimestamp() int64 { +func (x *TransactionRaw) GetRefBlockHash() []byte { if x != nil { - return x.Timestamp + return x.RefBlockHash + } + return nil +} + +func (x *TransactionRaw) GetExpiration() int64 { + if x != nil { + return x.Expiration } return 0 } -func (x *HelloMessage) GetGenesisBlockId() *HelloMessage_BlockId { +func (x *TransactionRaw) GetAuths() []*Authority { if x != nil { - return x.GenesisBlockId + return x.Auths + } + return nil +} + +func (x *TransactionRaw) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +func (x *TransactionRaw) GetContract() []*Transaction_Contract { + if x != nil { + return x.Contract + } + return nil +} + +func (x *TransactionRaw) GetScripts() []byte { + if x != nil { + return x.Scripts } return nil } -func (x *HelloMessage) GetSolidBlockId() *HelloMessage_BlockId { +func (x *TransactionRaw) GetTimestamp() int64 { if x != nil { - return x.SolidBlockId + return x.Timestamp } - return nil + return 0 } -func (x *HelloMessage) GetHeadBlockId() *HelloMessage_BlockId { +func (x *TransactionRaw) GetFeeLimit() int64 { if x != nil { - return x.HeadBlockId + return x.FeeLimit } - return nil + return 0 } -type InternalTransaction struct { +type TransactionInfo_Log struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // internalTransaction identity, the root InternalTransaction hash - // should equals to root transaction id. - Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - // the one send trx (TBD: or token) via function - CallerAddress []byte `protobuf:"bytes,2,opt,name=caller_address,json=callerAddress,proto3" json:"caller_address,omitempty"` - // the one recieve trx (TBD: or token) via function - TransferToAddress []byte `protobuf:"bytes,3,opt,name=transferTo_address,json=transferToAddress,proto3" json:"transferTo_address,omitempty"` - CallValueInfo []*InternalTransaction_CallValueInfo `protobuf:"bytes,4,rep,name=callValueInfo,proto3" json:"callValueInfo,omitempty"` - Note []byte `protobuf:"bytes,5,opt,name=note,proto3" json:"note,omitempty"` - Rejected bool `protobuf:"varint,6,opt,name=rejected,proto3" json:"rejected,omitempty"` + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Topics [][]byte `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"` + Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` } -func (x *InternalTransaction) Reset() { - *x = InternalTransaction{} +func (x *TransactionInfo_Log) Reset() { + *x = TransactionInfo_Log{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[30] + mi := &file_core_Tron_proto_msgTypes[62] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *InternalTransaction) String() string { +func (x *TransactionInfo_Log) String() string { return protoimpl.X.MessageStringOf(x) } -func (*InternalTransaction) ProtoMessage() {} +func (*TransactionInfo_Log) ProtoMessage() {} -func (x *InternalTransaction) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[30] +func (x *TransactionInfo_Log) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[62] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3148,80 +5353,66 @@ func (x *InternalTransaction) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use InternalTransaction.ProtoReflect.Descriptor instead. -func (*InternalTransaction) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{30} -} - -func (x *InternalTransaction) GetHash() []byte { - if x != nil { - return x.Hash - } - return nil -} - -func (x *InternalTransaction) GetCallerAddress() []byte { - if x != nil { - return x.CallerAddress - } - return nil +// Deprecated: Use TransactionInfo_Log.ProtoReflect.Descriptor instead. +func (*TransactionInfo_Log) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{26, 0} } -func (x *InternalTransaction) GetTransferToAddress() []byte { +func (x *TransactionInfo_Log) GetAddress() []byte { if x != nil { - return x.TransferToAddress + return x.Address } return nil } -func (x *InternalTransaction) GetCallValueInfo() []*InternalTransaction_CallValueInfo { +func (x *TransactionInfo_Log) GetTopics() [][]byte { if x != nil { - return x.CallValueInfo + return x.Topics } return nil } -func (x *InternalTransaction) GetNote() []byte { +func (x *TransactionInfo_Log) GetData() []byte { if x != nil { - return x.Note + return x.Data } return nil } -func (x *InternalTransaction) GetRejected() bool { - if x != nil { - return x.Rejected - } - return false -} - -type DelegatedResourceAccountIndex struct { +type BlockHeaderRaw struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Account []byte `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` - FromAccounts [][]byte `protobuf:"bytes,2,rep,name=fromAccounts,proto3" json:"fromAccounts,omitempty"` - ToAccounts [][]byte `protobuf:"bytes,3,rep,name=toAccounts,proto3" json:"toAccounts,omitempty"` + Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + TxTrieRoot []byte `protobuf:"bytes,2,opt,name=txTrieRoot,proto3" json:"txTrieRoot,omitempty"` + ParentHash []byte `protobuf:"bytes,3,opt,name=parentHash,proto3" json:"parentHash,omitempty"` + //bytes nonce = 5; + //bytes difficulty = 6; + Number int64 `protobuf:"varint,7,opt,name=number,proto3" json:"number,omitempty"` + WitnessId int64 `protobuf:"varint,8,opt,name=witness_id,json=witnessId,proto3" json:"witness_id,omitempty"` + WitnessAddress []byte `protobuf:"bytes,9,opt,name=witness_address,json=witnessAddress,proto3" json:"witness_address,omitempty"` + Version int32 `protobuf:"varint,10,opt,name=version,proto3" json:"version,omitempty"` + AccountStateRoot []byte `protobuf:"bytes,11,opt,name=accountStateRoot,proto3" json:"accountStateRoot,omitempty"` } -func (x *DelegatedResourceAccountIndex) Reset() { - *x = DelegatedResourceAccountIndex{} +func (x *BlockHeaderRaw) Reset() { + *x = BlockHeaderRaw{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[31] + mi := &file_core_Tron_proto_msgTypes[63] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *DelegatedResourceAccountIndex) String() string { +func (x *BlockHeaderRaw) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DelegatedResourceAccountIndex) ProtoMessage() {} +func (*BlockHeaderRaw) ProtoMessage() {} -func (x *DelegatedResourceAccountIndex) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[31] +func (x *BlockHeaderRaw) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[63] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3232,68 +5423,93 @@ func (x *DelegatedResourceAccountIndex) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DelegatedResourceAccountIndex.ProtoReflect.Descriptor instead. -func (*DelegatedResourceAccountIndex) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{31} +// Deprecated: Use BlockHeaderRaw.ProtoReflect.Descriptor instead. +func (*BlockHeaderRaw) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{30, 0} } -func (x *DelegatedResourceAccountIndex) GetAccount() []byte { +func (x *BlockHeaderRaw) GetTimestamp() int64 { if x != nil { - return x.Account + return x.Timestamp + } + return 0 +} + +func (x *BlockHeaderRaw) GetTxTrieRoot() []byte { + if x != nil { + return x.TxTrieRoot } return nil } -func (x *DelegatedResourceAccountIndex) GetFromAccounts() [][]byte { +func (x *BlockHeaderRaw) GetParentHash() []byte { if x != nil { - return x.FromAccounts + return x.ParentHash } return nil } -func (x *DelegatedResourceAccountIndex) GetToAccounts() [][]byte { +func (x *BlockHeaderRaw) GetNumber() int64 { if x != nil { - return x.ToAccounts + return x.Number + } + return 0 +} + +func (x *BlockHeaderRaw) GetWitnessId() int64 { + if x != nil { + return x.WitnessId + } + return 0 +} + +func (x *BlockHeaderRaw) GetWitnessAddress() []byte { + if x != nil { + return x.WitnessAddress } return nil } -type NodeInfo struct { +func (x *BlockHeaderRaw) GetVersion() int32 { + if x != nil { + return x.Version + } + return 0 +} + +func (x *BlockHeaderRaw) GetAccountStateRoot() []byte { + if x != nil { + return x.AccountStateRoot + } + return nil +} + +type ChainInventory_BlockId struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - BeginSyncNum int64 `protobuf:"varint,1,opt,name=beginSyncNum,proto3" json:"beginSyncNum,omitempty"` - Block string `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"` - SolidityBlock string `protobuf:"bytes,3,opt,name=solidityBlock,proto3" json:"solidityBlock,omitempty"` - //connect information - CurrentConnectCount int32 `protobuf:"varint,4,opt,name=currentConnectCount,proto3" json:"currentConnectCount,omitempty"` - ActiveConnectCount int32 `protobuf:"varint,5,opt,name=activeConnectCount,proto3" json:"activeConnectCount,omitempty"` - PassiveConnectCount int32 `protobuf:"varint,6,opt,name=passiveConnectCount,proto3" json:"passiveConnectCount,omitempty"` - TotalFlow int64 `protobuf:"varint,7,opt,name=totalFlow,proto3" json:"totalFlow,omitempty"` - PeerInfoList []*NodeInfo_PeerInfo `protobuf:"bytes,8,rep,name=peerInfoList,proto3" json:"peerInfoList,omitempty"` - ConfigNodeInfo *NodeInfo_ConfigNodeInfo `protobuf:"bytes,9,opt,name=configNodeInfo,proto3" json:"configNodeInfo,omitempty"` - MachineInfo *NodeInfo_MachineInfo `protobuf:"bytes,10,opt,name=machineInfo,proto3" json:"machineInfo,omitempty"` - CheatWitnessInfoMap map[string]string `protobuf:"bytes,11,rep,name=cheatWitnessInfoMap,proto3" json:"cheatWitnessInfoMap,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` + Number int64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` } -func (x *NodeInfo) Reset() { - *x = NodeInfo{} +func (x *ChainInventory_BlockId) Reset() { + *x = ChainInventory_BlockId{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[32] + mi := &file_core_Tron_proto_msgTypes[64] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *NodeInfo) String() string { +func (x *ChainInventory_BlockId) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NodeInfo) ProtoMessage() {} +func (*ChainInventory_BlockId) ProtoMessage() {} -func (x *NodeInfo) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[32] +func (x *ChainInventory_BlockId) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[64] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3304,114 +5520,106 @@ func (x *NodeInfo) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use NodeInfo.ProtoReflect.Descriptor instead. -func (*NodeInfo) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{32} +// Deprecated: Use ChainInventory_BlockId.ProtoReflect.Descriptor instead. +func (*ChainInventory_BlockId) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{32, 0} } -func (x *NodeInfo) GetBeginSyncNum() int64 { +func (x *ChainInventory_BlockId) GetHash() []byte { if x != nil { - return x.BeginSyncNum + return x.Hash } - return 0 + return nil } -func (x *NodeInfo) GetBlock() string { +func (x *ChainInventory_BlockId) GetNumber() int64 { if x != nil { - return x.Block + return x.Number } - return "" + return 0 } -func (x *NodeInfo) GetSolidityBlock() string { - if x != nil { - return x.SolidityBlock - } - return "" -} +type BlockInventory_BlockId struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (x *NodeInfo) GetCurrentConnectCount() int32 { - if x != nil { - return x.CurrentConnectCount - } - return 0 + Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` + Number int64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` } -func (x *NodeInfo) GetActiveConnectCount() int32 { - if x != nil { - return x.ActiveConnectCount +func (x *BlockInventory_BlockId) Reset() { + *x = BlockInventory_BlockId{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return 0 } -func (x *NodeInfo) GetPassiveConnectCount() int32 { - if x != nil { - return x.PassiveConnectCount - } - return 0 +func (x *BlockInventory_BlockId) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *NodeInfo) GetTotalFlow() int64 { - if x != nil { - return x.TotalFlow - } - return 0 -} +func (*BlockInventory_BlockId) ProtoMessage() {} -func (x *NodeInfo) GetPeerInfoList() []*NodeInfo_PeerInfo { - if x != nil { - return x.PeerInfoList +func (x *BlockInventory_BlockId) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[65] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (x *NodeInfo) GetConfigNodeInfo() *NodeInfo_ConfigNodeInfo { - if x != nil { - return x.ConfigNodeInfo - } - return nil +// Deprecated: Use BlockInventory_BlockId.ProtoReflect.Descriptor instead. +func (*BlockInventory_BlockId) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{33, 0} } -func (x *NodeInfo) GetMachineInfo() *NodeInfo_MachineInfo { +func (x *BlockInventory_BlockId) GetHash() []byte { if x != nil { - return x.MachineInfo + return x.Hash } return nil } -func (x *NodeInfo) GetCheatWitnessInfoMap() map[string]string { +func (x *BlockInventory_BlockId) GetNumber() int64 { if x != nil { - return x.CheatWitnessInfoMap + return x.Number } - return nil + return 0 } -type ChainParameters_ChainParameter struct { +type HelloMessage_BlockId struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` + Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` + Number int64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` } -func (x *ChainParameters_ChainParameter) Reset() { - *x = ChainParameters_ChainParameter{} +func (x *HelloMessage_BlockId) Reset() { + *x = HelloMessage_BlockId{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[34] + mi := &file_core_Tron_proto_msgTypes[66] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ChainParameters_ChainParameter) String() string { +func (x *HelloMessage_BlockId) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ChainParameters_ChainParameter) ProtoMessage() {} +func (*HelloMessage_BlockId) ProtoMessage() {} -func (x *ChainParameters_ChainParameter) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[34] +func (x *HelloMessage_BlockId) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[66] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3422,52 +5630,53 @@ func (x *ChainParameters_ChainParameter) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ChainParameters_ChainParameter.ProtoReflect.Descriptor instead. -func (*ChainParameters_ChainParameter) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{4, 0} +// Deprecated: Use HelloMessage_BlockId.ProtoReflect.Descriptor instead. +func (*HelloMessage_BlockId) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{38, 0} } -func (x *ChainParameters_ChainParameter) GetKey() string { +func (x *HelloMessage_BlockId) GetHash() []byte { if x != nil { - return x.Key + return x.Hash } - return "" + return nil } -func (x *ChainParameters_ChainParameter) GetValue() int64 { +func (x *HelloMessage_BlockId) GetNumber() int64 { if x != nil { - return x.Value + return x.Number } return 0 } -// frozen balance -type Account_Frozen struct { +type InternalTransaction_CallValueInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - FrozenBalance int64 `protobuf:"varint,1,opt,name=frozen_balance,json=frozenBalance,proto3" json:"frozen_balance,omitempty"` // the frozen trx balance - ExpireTime int64 `protobuf:"varint,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // the expire time + // trx (TBD: or token) value + CallValue int64 `protobuf:"varint,1,opt,name=callValue,proto3" json:"callValue,omitempty"` + // TBD: tokenName, trx should be empty + TokenId string `protobuf:"bytes,2,opt,name=tokenId,proto3" json:"tokenId,omitempty"` } -func (x *Account_Frozen) Reset() { - *x = Account_Frozen{} +func (x *InternalTransaction_CallValueInfo) Reset() { + *x = InternalTransaction_CallValueInfo{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[35] + mi := &file_core_Tron_proto_msgTypes[67] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *Account_Frozen) String() string { +func (x *InternalTransaction_CallValueInfo) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Account_Frozen) ProtoMessage() {} +func (*InternalTransaction_CallValueInfo) ProtoMessage() {} -func (x *Account_Frozen) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[35] +func (x *InternalTransaction_CallValueInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[67] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3478,62 +5687,74 @@ func (x *Account_Frozen) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Account_Frozen.ProtoReflect.Descriptor instead. -func (*Account_Frozen) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{5, 0} +// Deprecated: Use InternalTransaction_CallValueInfo.ProtoReflect.Descriptor instead. +func (*InternalTransaction_CallValueInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{39, 0} } -func (x *Account_Frozen) GetFrozenBalance() int64 { +func (x *InternalTransaction_CallValueInfo) GetCallValue() int64 { if x != nil { - return x.FrozenBalance + return x.CallValue } return 0 } -func (x *Account_Frozen) GetExpireTime() int64 { +func (x *InternalTransaction_CallValueInfo) GetTokenId() string { if x != nil { - return x.ExpireTime + return x.TokenId } - return 0 + return "" } -type Account_AccountResource struct { +type NodeInfo_PeerInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // energy resource, get from frozen - EnergyUsage int64 `protobuf:"varint,1,opt,name=energy_usage,json=energyUsage,proto3" json:"energy_usage,omitempty"` - // the frozen balance for energy - FrozenBalanceForEnergy *Account_Frozen `protobuf:"bytes,2,opt,name=frozen_balance_for_energy,json=frozenBalanceForEnergy,proto3" json:"frozen_balance_for_energy,omitempty"` - LatestConsumeTimeForEnergy int64 `protobuf:"varint,3,opt,name=latest_consume_time_for_energy,json=latestConsumeTimeForEnergy,proto3" json:"latest_consume_time_for_energy,omitempty"` - //Frozen balance provided by other accounts to this account - AcquiredDelegatedFrozenBalanceForEnergy int64 `protobuf:"varint,4,opt,name=acquired_delegated_frozen_balance_for_energy,json=acquiredDelegatedFrozenBalanceForEnergy,proto3" json:"acquired_delegated_frozen_balance_for_energy,omitempty"` - //Frozen balances provided to other accounts - DelegatedFrozenBalanceForEnergy int64 `protobuf:"varint,5,opt,name=delegated_frozen_balance_for_energy,json=delegatedFrozenBalanceForEnergy,proto3" json:"delegated_frozen_balance_for_energy,omitempty"` - // storage resource, get from market - StorageLimit int64 `protobuf:"varint,6,opt,name=storage_limit,json=storageLimit,proto3" json:"storage_limit,omitempty"` - StorageUsage int64 `protobuf:"varint,7,opt,name=storage_usage,json=storageUsage,proto3" json:"storage_usage,omitempty"` - LatestExchangeStorageTime int64 `protobuf:"varint,8,opt,name=latest_exchange_storage_time,json=latestExchangeStorageTime,proto3" json:"latest_exchange_storage_time,omitempty"` + LastSyncBlock string `protobuf:"bytes,1,opt,name=lastSyncBlock,proto3" json:"lastSyncBlock,omitempty"` + RemainNum int64 `protobuf:"varint,2,opt,name=remainNum,proto3" json:"remainNum,omitempty"` + LastBlockUpdateTime int64 `protobuf:"varint,3,opt,name=lastBlockUpdateTime,proto3" json:"lastBlockUpdateTime,omitempty"` + SyncFlag bool `protobuf:"varint,4,opt,name=syncFlag,proto3" json:"syncFlag,omitempty"` + HeadBlockTimeWeBothHave int64 `protobuf:"varint,5,opt,name=headBlockTimeWeBothHave,proto3" json:"headBlockTimeWeBothHave,omitempty"` + NeedSyncFromPeer bool `protobuf:"varint,6,opt,name=needSyncFromPeer,proto3" json:"needSyncFromPeer,omitempty"` + NeedSyncFromUs bool `protobuf:"varint,7,opt,name=needSyncFromUs,proto3" json:"needSyncFromUs,omitempty"` + Host string `protobuf:"bytes,8,opt,name=host,proto3" json:"host,omitempty"` + Port int32 `protobuf:"varint,9,opt,name=port,proto3" json:"port,omitempty"` + NodeId string `protobuf:"bytes,10,opt,name=nodeId,proto3" json:"nodeId,omitempty"` + ConnectTime int64 `protobuf:"varint,11,opt,name=connectTime,proto3" json:"connectTime,omitempty"` + AvgLatency float64 `protobuf:"fixed64,12,opt,name=avgLatency,proto3" json:"avgLatency,omitempty"` + SyncToFetchSize int32 `protobuf:"varint,13,opt,name=syncToFetchSize,proto3" json:"syncToFetchSize,omitempty"` + SyncToFetchSizePeekNum int64 `protobuf:"varint,14,opt,name=syncToFetchSizePeekNum,proto3" json:"syncToFetchSizePeekNum,omitempty"` + SyncBlockRequestedSize int32 `protobuf:"varint,15,opt,name=syncBlockRequestedSize,proto3" json:"syncBlockRequestedSize,omitempty"` + UnFetchSynNum int64 `protobuf:"varint,16,opt,name=unFetchSynNum,proto3" json:"unFetchSynNum,omitempty"` + BlockInPorcSize int32 `protobuf:"varint,17,opt,name=blockInPorcSize,proto3" json:"blockInPorcSize,omitempty"` + HeadBlockWeBothHave string `protobuf:"bytes,18,opt,name=headBlockWeBothHave,proto3" json:"headBlockWeBothHave,omitempty"` + IsActive bool `protobuf:"varint,19,opt,name=isActive,proto3" json:"isActive,omitempty"` + Score int32 `protobuf:"varint,20,opt,name=score,proto3" json:"score,omitempty"` + NodeCount int32 `protobuf:"varint,21,opt,name=nodeCount,proto3" json:"nodeCount,omitempty"` + InFlow int64 `protobuf:"varint,22,opt,name=inFlow,proto3" json:"inFlow,omitempty"` + DisconnectTimes int32 `protobuf:"varint,23,opt,name=disconnectTimes,proto3" json:"disconnectTimes,omitempty"` + LocalDisconnectReason string `protobuf:"bytes,24,opt,name=localDisconnectReason,proto3" json:"localDisconnectReason,omitempty"` + RemoteDisconnectReason string `protobuf:"bytes,25,opt,name=remoteDisconnectReason,proto3" json:"remoteDisconnectReason,omitempty"` } -func (x *Account_AccountResource) Reset() { - *x = Account_AccountResource{} +func (x *NodeInfo_PeerInfo) Reset() { + *x = NodeInfo_PeerInfo{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[42] + mi := &file_core_Tron_proto_msgTypes[69] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *Account_AccountResource) String() string { +func (x *NodeInfo_PeerInfo) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Account_AccountResource) ProtoMessage() {} +func (*NodeInfo_PeerInfo) ProtoMessage() {} -func (x *Account_AccountResource) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[42] +func (x *NodeInfo_PeerInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[69] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3544,159 +5765,229 @@ func (x *Account_AccountResource) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Account_AccountResource.ProtoReflect.Descriptor instead. -func (*Account_AccountResource) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{5, 7} +// Deprecated: Use NodeInfo_PeerInfo.ProtoReflect.Descriptor instead. +func (*NodeInfo_PeerInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{41, 1} } -func (x *Account_AccountResource) GetEnergyUsage() int64 { +func (x *NodeInfo_PeerInfo) GetLastSyncBlock() string { if x != nil { - return x.EnergyUsage + return x.LastSyncBlock + } + return "" +} + +func (x *NodeInfo_PeerInfo) GetRemainNum() int64 { + if x != nil { + return x.RemainNum } return 0 } -func (x *Account_AccountResource) GetFrozenBalanceForEnergy() *Account_Frozen { +func (x *NodeInfo_PeerInfo) GetLastBlockUpdateTime() int64 { if x != nil { - return x.FrozenBalanceForEnergy + return x.LastBlockUpdateTime } - return nil + return 0 } -func (x *Account_AccountResource) GetLatestConsumeTimeForEnergy() int64 { +func (x *NodeInfo_PeerInfo) GetSyncFlag() bool { if x != nil { - return x.LatestConsumeTimeForEnergy + return x.SyncFlag + } + return false +} + +func (x *NodeInfo_PeerInfo) GetHeadBlockTimeWeBothHave() int64 { + if x != nil { + return x.HeadBlockTimeWeBothHave } return 0 } -func (x *Account_AccountResource) GetAcquiredDelegatedFrozenBalanceForEnergy() int64 { +func (x *NodeInfo_PeerInfo) GetNeedSyncFromPeer() bool { if x != nil { - return x.AcquiredDelegatedFrozenBalanceForEnergy + return x.NeedSyncFromPeer + } + return false +} + +func (x *NodeInfo_PeerInfo) GetNeedSyncFromUs() bool { + if x != nil { + return x.NeedSyncFromUs + } + return false +} + +func (x *NodeInfo_PeerInfo) GetHost() string { + if x != nil { + return x.Host + } + return "" +} + +func (x *NodeInfo_PeerInfo) GetPort() int32 { + if x != nil { + return x.Port } return 0 } -func (x *Account_AccountResource) GetDelegatedFrozenBalanceForEnergy() int64 { +func (x *NodeInfo_PeerInfo) GetNodeId() string { if x != nil { - return x.DelegatedFrozenBalanceForEnergy + return x.NodeId + } + return "" +} + +func (x *NodeInfo_PeerInfo) GetConnectTime() int64 { + if x != nil { + return x.ConnectTime } return 0 } -func (x *Account_AccountResource) GetStorageLimit() int64 { +func (x *NodeInfo_PeerInfo) GetAvgLatency() float64 { if x != nil { - return x.StorageLimit + return x.AvgLatency } return 0 } -func (x *Account_AccountResource) GetStorageUsage() int64 { +func (x *NodeInfo_PeerInfo) GetSyncToFetchSize() int32 { if x != nil { - return x.StorageUsage + return x.SyncToFetchSize } return 0 } -func (x *Account_AccountResource) GetLatestExchangeStorageTime() int64 { +func (x *NodeInfo_PeerInfo) GetSyncToFetchSizePeekNum() int64 { if x != nil { - return x.LatestExchangeStorageTime + return x.SyncToFetchSizePeekNum } return 0 } -type TXInputRaw struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (x *NodeInfo_PeerInfo) GetSyncBlockRequestedSize() int32 { + if x != nil { + return x.SyncBlockRequestedSize + } + return 0 +} - TxID []byte `protobuf:"bytes,1,opt,name=txID,proto3" json:"txID,omitempty"` - Vout int64 `protobuf:"varint,2,opt,name=vout,proto3" json:"vout,omitempty"` - PubKey []byte `protobuf:"bytes,3,opt,name=pubKey,proto3" json:"pubKey,omitempty"` +func (x *NodeInfo_PeerInfo) GetUnFetchSynNum() int64 { + if x != nil { + return x.UnFetchSynNum + } + return 0 } -func (x *TXInputRaw) Reset() { - *x = TXInputRaw{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *NodeInfo_PeerInfo) GetBlockInPorcSize() int32 { + if x != nil { + return x.BlockInPorcSize } + return 0 } -func (x *TXInputRaw) String() string { - return protoimpl.X.MessageStringOf(x) +func (x *NodeInfo_PeerInfo) GetHeadBlockWeBothHave() string { + if x != nil { + return x.HeadBlockWeBothHave + } + return "" } -func (*TXInputRaw) ProtoMessage() {} +func (x *NodeInfo_PeerInfo) GetIsActive() bool { + if x != nil { + return x.IsActive + } + return false +} -func (x *TXInputRaw) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[43] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *NodeInfo_PeerInfo) GetScore() int32 { + if x != nil { + return x.Score } - return mi.MessageOf(x) + return 0 } -// Deprecated: Use TXInputRaw.ProtoReflect.Descriptor instead. -func (*TXInputRaw) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{13, 0} +func (x *NodeInfo_PeerInfo) GetNodeCount() int32 { + if x != nil { + return x.NodeCount + } + return 0 } -func (x *TXInputRaw) GetTxID() []byte { +func (x *NodeInfo_PeerInfo) GetInFlow() int64 { if x != nil { - return x.TxID + return x.InFlow } - return nil + return 0 } -func (x *TXInputRaw) GetVout() int64 { +func (x *NodeInfo_PeerInfo) GetDisconnectTimes() int32 { if x != nil { - return x.Vout + return x.DisconnectTimes } return 0 } -func (x *TXInputRaw) GetPubKey() []byte { +func (x *NodeInfo_PeerInfo) GetLocalDisconnectReason() string { if x != nil { - return x.PubKey + return x.LocalDisconnectReason } - return nil + return "" } -type Transaction_Contract struct { +func (x *NodeInfo_PeerInfo) GetRemoteDisconnectReason() string { + if x != nil { + return x.RemoteDisconnectReason + } + return "" +} + +type NodeInfo_ConfigNodeInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Type Transaction_Contract_ContractType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Transaction_Contract_ContractType" json:"type,omitempty"` - Parameter *any.Any `protobuf:"bytes,2,opt,name=parameter,proto3" json:"parameter,omitempty"` - Provider []byte `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` - ContractName []byte `protobuf:"bytes,4,opt,name=ContractName,proto3" json:"ContractName,omitempty"` - PermissionId int32 `protobuf:"varint,5,opt,name=Permission_id,json=PermissionId,proto3" json:"Permission_id,omitempty"` + CodeVersion string `protobuf:"bytes,1,opt,name=codeVersion,proto3" json:"codeVersion,omitempty"` + P2PVersion string `protobuf:"bytes,2,opt,name=p2pVersion,proto3" json:"p2pVersion,omitempty"` + ListenPort int32 `protobuf:"varint,3,opt,name=listenPort,proto3" json:"listenPort,omitempty"` + DiscoverEnable bool `protobuf:"varint,4,opt,name=discoverEnable,proto3" json:"discoverEnable,omitempty"` + ActiveNodeSize int32 `protobuf:"varint,5,opt,name=activeNodeSize,proto3" json:"activeNodeSize,omitempty"` + PassiveNodeSize int32 `protobuf:"varint,6,opt,name=passiveNodeSize,proto3" json:"passiveNodeSize,omitempty"` + SendNodeSize int32 `protobuf:"varint,7,opt,name=sendNodeSize,proto3" json:"sendNodeSize,omitempty"` + MaxConnectCount int32 `protobuf:"varint,8,opt,name=maxConnectCount,proto3" json:"maxConnectCount,omitempty"` + SameIpMaxConnectCount int32 `protobuf:"varint,9,opt,name=sameIpMaxConnectCount,proto3" json:"sameIpMaxConnectCount,omitempty"` + BackupListenPort int32 `protobuf:"varint,10,opt,name=backupListenPort,proto3" json:"backupListenPort,omitempty"` + BackupMemberSize int32 `protobuf:"varint,11,opt,name=backupMemberSize,proto3" json:"backupMemberSize,omitempty"` + BackupPriority int32 `protobuf:"varint,12,opt,name=backupPriority,proto3" json:"backupPriority,omitempty"` + DbVersion int32 `protobuf:"varint,13,opt,name=dbVersion,proto3" json:"dbVersion,omitempty"` + MinParticipationRate int32 `protobuf:"varint,14,opt,name=minParticipationRate,proto3" json:"minParticipationRate,omitempty"` + SupportConstant bool `protobuf:"varint,15,opt,name=supportConstant,proto3" json:"supportConstant,omitempty"` + MinTimeRatio float64 `protobuf:"fixed64,16,opt,name=minTimeRatio,proto3" json:"minTimeRatio,omitempty"` + MaxTimeRatio float64 `protobuf:"fixed64,17,opt,name=maxTimeRatio,proto3" json:"maxTimeRatio,omitempty"` + AllowCreationOfContracts int64 `protobuf:"varint,18,opt,name=allowCreationOfContracts,proto3" json:"allowCreationOfContracts,omitempty"` + AllowAdaptiveEnergy int64 `protobuf:"varint,19,opt,name=allowAdaptiveEnergy,proto3" json:"allowAdaptiveEnergy,omitempty"` } -func (x *Transaction_Contract) Reset() { - *x = Transaction_Contract{} +func (x *NodeInfo_ConfigNodeInfo) Reset() { + *x = NodeInfo_ConfigNodeInfo{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[44] + mi := &file_core_Tron_proto_msgTypes[70] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *Transaction_Contract) String() string { +func (x *NodeInfo_ConfigNodeInfo) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Transaction_Contract) ProtoMessage() {} +func (*NodeInfo_ConfigNodeInfo) ProtoMessage() {} -func (x *Transaction_Contract) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[44] +func (x *NodeInfo_ConfigNodeInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[70] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3707,210 +5998,181 @@ func (x *Transaction_Contract) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Transaction_Contract.ProtoReflect.Descriptor instead. -func (*Transaction_Contract) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{16, 0} +// Deprecated: Use NodeInfo_ConfigNodeInfo.ProtoReflect.Descriptor instead. +func (*NodeInfo_ConfigNodeInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{41, 2} } -func (x *Transaction_Contract) GetType() Transaction_Contract_ContractType { +func (x *NodeInfo_ConfigNodeInfo) GetCodeVersion() string { if x != nil { - return x.Type + return x.CodeVersion } - return Transaction_Contract_AccountCreateContract + return "" } -func (x *Transaction_Contract) GetParameter() *any.Any { +func (x *NodeInfo_ConfigNodeInfo) GetP2PVersion() string { if x != nil { - return x.Parameter + return x.P2PVersion } - return nil + return "" } -func (x *Transaction_Contract) GetProvider() []byte { +func (x *NodeInfo_ConfigNodeInfo) GetListenPort() int32 { if x != nil { - return x.Provider + return x.ListenPort } - return nil + return 0 } -func (x *Transaction_Contract) GetContractName() []byte { +func (x *NodeInfo_ConfigNodeInfo) GetDiscoverEnable() bool { if x != nil { - return x.ContractName + return x.DiscoverEnable } - return nil + return false } -func (x *Transaction_Contract) GetPermissionId() int32 { +func (x *NodeInfo_ConfigNodeInfo) GetActiveNodeSize() int32 { if x != nil { - return x.PermissionId + return x.ActiveNodeSize } return 0 } -type Transaction_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Fee int64 `protobuf:"varint,1,opt,name=fee,proto3" json:"fee,omitempty"` - Ret Transaction_ResultCode `protobuf:"varint,2,opt,name=ret,proto3,enum=protocol.Transaction_ResultCode" json:"ret,omitempty"` - ContractRet Transaction_ResultContractResult `protobuf:"varint,3,opt,name=contractRet,proto3,enum=protocol.Transaction_ResultContractResult" json:"contractRet,omitempty"` - AssetIssueID string `protobuf:"bytes,14,opt,name=assetIssueID,proto3" json:"assetIssueID,omitempty"` - WithdrawAmount int64 `protobuf:"varint,15,opt,name=withdraw_amount,json=withdrawAmount,proto3" json:"withdraw_amount,omitempty"` - UnfreezeAmount int64 `protobuf:"varint,16,opt,name=unfreeze_amount,json=unfreezeAmount,proto3" json:"unfreeze_amount,omitempty"` - ExchangeReceivedAmount int64 `protobuf:"varint,18,opt,name=exchange_received_amount,json=exchangeReceivedAmount,proto3" json:"exchange_received_amount,omitempty"` - ExchangeInjectAnotherAmount int64 `protobuf:"varint,19,opt,name=exchange_inject_another_amount,json=exchangeInjectAnotherAmount,proto3" json:"exchange_inject_another_amount,omitempty"` - ExchangeWithdrawAnotherAmount int64 `protobuf:"varint,20,opt,name=exchange_withdraw_another_amount,json=exchangeWithdrawAnotherAmount,proto3" json:"exchange_withdraw_another_amount,omitempty"` - ExchangeId int64 `protobuf:"varint,21,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"` - ShieldedTransactionFee int64 `protobuf:"varint,22,opt,name=shielded_transaction_fee,json=shieldedTransactionFee,proto3" json:"shielded_transaction_fee,omitempty"` -} - -func (x *Transaction_Result) Reset() { - *x = Transaction_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *NodeInfo_ConfigNodeInfo) GetPassiveNodeSize() int32 { + if x != nil { + return x.PassiveNodeSize } + return 0 } -func (x *Transaction_Result) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Transaction_Result) ProtoMessage() {} - -func (x *Transaction_Result) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[45] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *NodeInfo_ConfigNodeInfo) GetSendNodeSize() int32 { + if x != nil { + return x.SendNodeSize } - return mi.MessageOf(x) + return 0 } -// Deprecated: Use Transaction_Result.ProtoReflect.Descriptor instead. -func (*Transaction_Result) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{16, 1} +func (x *NodeInfo_ConfigNodeInfo) GetMaxConnectCount() int32 { + if x != nil { + return x.MaxConnectCount + } + return 0 } -func (x *Transaction_Result) GetFee() int64 { +func (x *NodeInfo_ConfigNodeInfo) GetSameIpMaxConnectCount() int32 { if x != nil { - return x.Fee + return x.SameIpMaxConnectCount } return 0 } -func (x *Transaction_Result) GetRet() Transaction_ResultCode { +func (x *NodeInfo_ConfigNodeInfo) GetBackupListenPort() int32 { if x != nil { - return x.Ret + return x.BackupListenPort } - return Transaction_Result_SUCESS + return 0 } -func (x *Transaction_Result) GetContractRet() Transaction_ResultContractResult { +func (x *NodeInfo_ConfigNodeInfo) GetBackupMemberSize() int32 { if x != nil { - return x.ContractRet + return x.BackupMemberSize } - return Transaction_Result_DEFAULT + return 0 } -func (x *Transaction_Result) GetAssetIssueID() string { +func (x *NodeInfo_ConfigNodeInfo) GetBackupPriority() int32 { if x != nil { - return x.AssetIssueID + return x.BackupPriority } - return "" + return 0 } -func (x *Transaction_Result) GetWithdrawAmount() int64 { +func (x *NodeInfo_ConfigNodeInfo) GetDbVersion() int32 { if x != nil { - return x.WithdrawAmount + return x.DbVersion } return 0 } -func (x *Transaction_Result) GetUnfreezeAmount() int64 { +func (x *NodeInfo_ConfigNodeInfo) GetMinParticipationRate() int32 { if x != nil { - return x.UnfreezeAmount + return x.MinParticipationRate } return 0 } -func (x *Transaction_Result) GetExchangeReceivedAmount() int64 { +func (x *NodeInfo_ConfigNodeInfo) GetSupportConstant() bool { if x != nil { - return x.ExchangeReceivedAmount + return x.SupportConstant } - return 0 + return false } -func (x *Transaction_Result) GetExchangeInjectAnotherAmount() int64 { +func (x *NodeInfo_ConfigNodeInfo) GetMinTimeRatio() float64 { if x != nil { - return x.ExchangeInjectAnotherAmount + return x.MinTimeRatio } return 0 } -func (x *Transaction_Result) GetExchangeWithdrawAnotherAmount() int64 { +func (x *NodeInfo_ConfigNodeInfo) GetMaxTimeRatio() float64 { if x != nil { - return x.ExchangeWithdrawAnotherAmount + return x.MaxTimeRatio } return 0 } -func (x *Transaction_Result) GetExchangeId() int64 { +func (x *NodeInfo_ConfigNodeInfo) GetAllowCreationOfContracts() int64 { if x != nil { - return x.ExchangeId + return x.AllowCreationOfContracts } return 0 } -func (x *Transaction_Result) GetShieldedTransactionFee() int64 { +func (x *NodeInfo_ConfigNodeInfo) GetAllowAdaptiveEnergy() int64 { if x != nil { - return x.ShieldedTransactionFee + return x.AllowAdaptiveEnergy } return 0 } -type TransactionRaw struct { +type NodeInfo_MachineInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - RefBlockBytes []byte `protobuf:"bytes,1,opt,name=ref_block_bytes,json=refBlockBytes,proto3" json:"ref_block_bytes,omitempty"` - RefBlockNum int64 `protobuf:"varint,3,opt,name=ref_block_num,json=refBlockNum,proto3" json:"ref_block_num,omitempty"` - RefBlockHash []byte `protobuf:"bytes,4,opt,name=ref_block_hash,json=refBlockHash,proto3" json:"ref_block_hash,omitempty"` - Expiration int64 `protobuf:"varint,8,opt,name=expiration,proto3" json:"expiration,omitempty"` - Auths []*Authority `protobuf:"bytes,9,rep,name=auths,proto3" json:"auths,omitempty"` - // transaction note - Data []byte `protobuf:"bytes,10,opt,name=data,proto3" json:"data,omitempty"` - //only support size = 1, repeated list here for extension - Contract []*Transaction_Contract `protobuf:"bytes,11,rep,name=contract,proto3" json:"contract,omitempty"` - // scripts not used - Scripts []byte `protobuf:"bytes,12,opt,name=scripts,proto3" json:"scripts,omitempty"` - Timestamp int64 `protobuf:"varint,14,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - FeeLimit int64 `protobuf:"varint,18,opt,name=fee_limit,json=feeLimit,proto3" json:"fee_limit,omitempty"` + ThreadCount int32 `protobuf:"varint,1,opt,name=threadCount,proto3" json:"threadCount,omitempty"` + DeadLockThreadCount int32 `protobuf:"varint,2,opt,name=deadLockThreadCount,proto3" json:"deadLockThreadCount,omitempty"` + CpuCount int32 `protobuf:"varint,3,opt,name=cpuCount,proto3" json:"cpuCount,omitempty"` + TotalMemory int64 `protobuf:"varint,4,opt,name=totalMemory,proto3" json:"totalMemory,omitempty"` + FreeMemory int64 `protobuf:"varint,5,opt,name=freeMemory,proto3" json:"freeMemory,omitempty"` + CpuRate float64 `protobuf:"fixed64,6,opt,name=cpuRate,proto3" json:"cpuRate,omitempty"` + JavaVersion string `protobuf:"bytes,7,opt,name=javaVersion,proto3" json:"javaVersion,omitempty"` + OsName string `protobuf:"bytes,8,opt,name=osName,proto3" json:"osName,omitempty"` + JvmTotalMemory int64 `protobuf:"varint,9,opt,name=jvmTotalMemory,proto3" json:"jvmTotalMemory,omitempty"` + JvmFreeMemory int64 `protobuf:"varint,10,opt,name=jvmFreeMemory,proto3" json:"jvmFreeMemory,omitempty"` + ProcessCpuRate float64 `protobuf:"fixed64,11,opt,name=processCpuRate,proto3" json:"processCpuRate,omitempty"` + MemoryDescInfoList []*NodeInfo_MachineInfo_MemoryDescInfo `protobuf:"bytes,12,rep,name=memoryDescInfoList,proto3" json:"memoryDescInfoList,omitempty"` + DeadLockThreadInfoList []*NodeInfo_MachineInfo_DeadLockThreadInfo `protobuf:"bytes,13,rep,name=deadLockThreadInfoList,proto3" json:"deadLockThreadInfoList,omitempty"` } -func (x *TransactionRaw) Reset() { - *x = TransactionRaw{} +func (x *NodeInfo_MachineInfo) Reset() { + *x = NodeInfo_MachineInfo{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[46] + mi := &file_core_Tron_proto_msgTypes[71] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *TransactionRaw) String() string { +func (x *NodeInfo_MachineInfo) String() string { return protoimpl.X.MessageStringOf(x) } -func (*TransactionRaw) ProtoMessage() {} +func (*NodeInfo_MachineInfo) ProtoMessage() {} -func (x *TransactionRaw) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[46] +func (x *NodeInfo_MachineInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[71] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3921,178 +6183,131 @@ func (x *TransactionRaw) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use TransactionRaw.ProtoReflect.Descriptor instead. -func (*TransactionRaw) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{16, 2} +// Deprecated: Use NodeInfo_MachineInfo.ProtoReflect.Descriptor instead. +func (*NodeInfo_MachineInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{41, 3} } -func (x *TransactionRaw) GetRefBlockBytes() []byte { +func (x *NodeInfo_MachineInfo) GetThreadCount() int32 { if x != nil { - return x.RefBlockBytes + return x.ThreadCount } - return nil + return 0 } -func (x *TransactionRaw) GetRefBlockNum() int64 { +func (x *NodeInfo_MachineInfo) GetDeadLockThreadCount() int32 { if x != nil { - return x.RefBlockNum + return x.DeadLockThreadCount } return 0 } -func (x *TransactionRaw) GetRefBlockHash() []byte { +func (x *NodeInfo_MachineInfo) GetCpuCount() int32 { if x != nil { - return x.RefBlockHash + return x.CpuCount } - return nil + return 0 } -func (x *TransactionRaw) GetExpiration() int64 { +func (x *NodeInfo_MachineInfo) GetTotalMemory() int64 { if x != nil { - return x.Expiration + return x.TotalMemory } return 0 } -func (x *TransactionRaw) GetAuths() []*Authority { +func (x *NodeInfo_MachineInfo) GetFreeMemory() int64 { if x != nil { - return x.Auths + return x.FreeMemory } - return nil + return 0 } -func (x *TransactionRaw) GetData() []byte { +func (x *NodeInfo_MachineInfo) GetCpuRate() float64 { if x != nil { - return x.Data + return x.CpuRate } - return nil + return 0 } -func (x *TransactionRaw) GetContract() []*Transaction_Contract { +func (x *NodeInfo_MachineInfo) GetJavaVersion() string { if x != nil { - return x.Contract + return x.JavaVersion } - return nil + return "" } -func (x *TransactionRaw) GetScripts() []byte { +func (x *NodeInfo_MachineInfo) GetOsName() string { if x != nil { - return x.Scripts + return x.OsName } - return nil + return "" } -func (x *TransactionRaw) GetTimestamp() int64 { +func (x *NodeInfo_MachineInfo) GetJvmTotalMemory() int64 { if x != nil { - return x.Timestamp + return x.JvmTotalMemory } return 0 } -func (x *TransactionRaw) GetFeeLimit() int64 { +func (x *NodeInfo_MachineInfo) GetJvmFreeMemory() int64 { if x != nil { - return x.FeeLimit + return x.JvmFreeMemory } return 0 } -type TransactionInfo_Log struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - Topics [][]byte `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"` - Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` -} - -func (x *TransactionInfo_Log) Reset() { - *x = TransactionInfo_Log{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[47] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TransactionInfo_Log) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TransactionInfo_Log) ProtoMessage() {} - -func (x *TransactionInfo_Log) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[47] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TransactionInfo_Log.ProtoReflect.Descriptor instead. -func (*TransactionInfo_Log) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{17, 0} -} - -func (x *TransactionInfo_Log) GetAddress() []byte { +func (x *NodeInfo_MachineInfo) GetProcessCpuRate() float64 { if x != nil { - return x.Address + return x.ProcessCpuRate } - return nil + return 0 } -func (x *TransactionInfo_Log) GetTopics() [][]byte { +func (x *NodeInfo_MachineInfo) GetMemoryDescInfoList() []*NodeInfo_MachineInfo_MemoryDescInfo { if x != nil { - return x.Topics + return x.MemoryDescInfoList } return nil } -func (x *TransactionInfo_Log) GetData() []byte { +func (x *NodeInfo_MachineInfo) GetDeadLockThreadInfoList() []*NodeInfo_MachineInfo_DeadLockThreadInfo { if x != nil { - return x.Data + return x.DeadLockThreadInfoList } return nil } -type BlockHeaderRaw struct { +type NodeInfo_MachineInfo_MemoryDescInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - TxTrieRoot []byte `protobuf:"bytes,2,opt,name=txTrieRoot,proto3" json:"txTrieRoot,omitempty"` - ParentHash []byte `protobuf:"bytes,3,opt,name=parentHash,proto3" json:"parentHash,omitempty"` - //bytes nonce = 5; - //bytes difficulty = 6; - Number int64 `protobuf:"varint,7,opt,name=number,proto3" json:"number,omitempty"` - WitnessId int64 `protobuf:"varint,8,opt,name=witness_id,json=witnessId,proto3" json:"witness_id,omitempty"` - WitnessAddress []byte `protobuf:"bytes,9,opt,name=witness_address,json=witnessAddress,proto3" json:"witness_address,omitempty"` - Version int32 `protobuf:"varint,10,opt,name=version,proto3" json:"version,omitempty"` - AccountStateRoot []byte `protobuf:"bytes,11,opt,name=accountStateRoot,proto3" json:"accountStateRoot,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + InitSize int64 `protobuf:"varint,2,opt,name=initSize,proto3" json:"initSize,omitempty"` + UseSize int64 `protobuf:"varint,3,opt,name=useSize,proto3" json:"useSize,omitempty"` + MaxSize int64 `protobuf:"varint,4,opt,name=maxSize,proto3" json:"maxSize,omitempty"` + UseRate float64 `protobuf:"fixed64,5,opt,name=useRate,proto3" json:"useRate,omitempty"` } -func (x *BlockHeaderRaw) Reset() { - *x = BlockHeaderRaw{} +func (x *NodeInfo_MachineInfo_MemoryDescInfo) Reset() { + *x = NodeInfo_MachineInfo_MemoryDescInfo{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[48] + mi := &file_core_Tron_proto_msgTypes[72] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *BlockHeaderRaw) String() string { +func (x *NodeInfo_MachineInfo_MemoryDescInfo) String() string { return protoimpl.X.MessageStringOf(x) } -func (*BlockHeaderRaw) ProtoMessage() {} +func (*NodeInfo_MachineInfo_MemoryDescInfo) ProtoMessage() {} -func (x *BlockHeaderRaw) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[48] +func (x *NodeInfo_MachineInfo_MemoryDescInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[72] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4103,93 +6318,77 @@ func (x *BlockHeaderRaw) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use BlockHeaderRaw.ProtoReflect.Descriptor instead. -func (*BlockHeaderRaw) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{21, 0} -} - -func (x *BlockHeaderRaw) GetTimestamp() int64 { - if x != nil { - return x.Timestamp - } - return 0 -} - -func (x *BlockHeaderRaw) GetTxTrieRoot() []byte { - if x != nil { - return x.TxTrieRoot - } - return nil +// Deprecated: Use NodeInfo_MachineInfo_MemoryDescInfo.ProtoReflect.Descriptor instead. +func (*NodeInfo_MachineInfo_MemoryDescInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{41, 3, 0} } -func (x *BlockHeaderRaw) GetParentHash() []byte { +func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetName() string { if x != nil { - return x.ParentHash + return x.Name } - return nil + return "" } -func (x *BlockHeaderRaw) GetNumber() int64 { +func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetInitSize() int64 { if x != nil { - return x.Number + return x.InitSize } return 0 } -func (x *BlockHeaderRaw) GetWitnessId() int64 { +func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetUseSize() int64 { if x != nil { - return x.WitnessId + return x.UseSize } return 0 } -func (x *BlockHeaderRaw) GetWitnessAddress() []byte { - if x != nil { - return x.WitnessAddress - } - return nil -} - -func (x *BlockHeaderRaw) GetVersion() int32 { +func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetMaxSize() int64 { if x != nil { - return x.Version + return x.MaxSize } return 0 } -func (x *BlockHeaderRaw) GetAccountStateRoot() []byte { +func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetUseRate() float64 { if x != nil { - return x.AccountStateRoot + return x.UseRate } - return nil + return 0 } -type ChainInventory_BlockId struct { +type NodeInfo_MachineInfo_DeadLockThreadInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - Number int64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + LockName string `protobuf:"bytes,2,opt,name=lockName,proto3" json:"lockName,omitempty"` + LockOwner string `protobuf:"bytes,3,opt,name=lockOwner,proto3" json:"lockOwner,omitempty"` + State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"` + BlockTime int64 `protobuf:"varint,5,opt,name=blockTime,proto3" json:"blockTime,omitempty"` + WaitTime int64 `protobuf:"varint,6,opt,name=waitTime,proto3" json:"waitTime,omitempty"` + StackTrace string `protobuf:"bytes,7,opt,name=stackTrace,proto3" json:"stackTrace,omitempty"` } -func (x *ChainInventory_BlockId) Reset() { - *x = ChainInventory_BlockId{} +func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) Reset() { + *x = NodeInfo_MachineInfo_DeadLockThreadInfo{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[49] + mi := &file_core_Tron_proto_msgTypes[73] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ChainInventory_BlockId) String() string { +func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ChainInventory_BlockId) ProtoMessage() {} +func (*NodeInfo_MachineInfo_DeadLockThreadInfo) ProtoMessage() {} -func (x *ChainInventory_BlockId) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[49] +func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[73] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4200,51 +6399,88 @@ func (x *ChainInventory_BlockId) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ChainInventory_BlockId.ProtoReflect.Descriptor instead. -func (*ChainInventory_BlockId) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{23, 0} +// Deprecated: Use NodeInfo_MachineInfo_DeadLockThreadInfo.ProtoReflect.Descriptor instead. +func (*NodeInfo_MachineInfo_DeadLockThreadInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{41, 3, 1} } -func (x *ChainInventory_BlockId) GetHash() []byte { +func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetName() string { if x != nil { - return x.Hash + return x.Name } - return nil + return "" } -func (x *ChainInventory_BlockId) GetNumber() int64 { +func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetLockName() string { if x != nil { - return x.Number + return x.LockName + } + return "" +} + +func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetLockOwner() string { + if x != nil { + return x.LockOwner + } + return "" +} + +func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetState() string { + if x != nil { + return x.State + } + return "" +} + +func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetBlockTime() int64 { + if x != nil { + return x.BlockTime + } + return 0 +} + +func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetWaitTime() int64 { + if x != nil { + return x.WaitTime + } + return 0 +} + +func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetStackTrace() string { + if x != nil { + return x.StackTrace } - return 0 + return "" } -type BlockInventory_BlockId struct { +type MetricsInfo_NodeInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - Number int64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` + Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` + NodeType int32 `protobuf:"varint,2,opt,name=nodeType,proto3" json:"nodeType,omitempty"` + Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` + BackupStatus int32 `protobuf:"varint,4,opt,name=backupStatus,proto3" json:"backupStatus,omitempty"` } -func (x *BlockInventory_BlockId) Reset() { - *x = BlockInventory_BlockId{} +func (x *MetricsInfo_NodeInfo) Reset() { + *x = MetricsInfo_NodeInfo{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[50] + mi := &file_core_Tron_proto_msgTypes[74] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *BlockInventory_BlockId) String() string { +func (x *MetricsInfo_NodeInfo) String() string { return protoimpl.X.MessageStringOf(x) } -func (*BlockInventory_BlockId) ProtoMessage() {} +func (*MetricsInfo_NodeInfo) ProtoMessage() {} -func (x *BlockInventory_BlockId) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[50] +func (x *MetricsInfo_NodeInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[74] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4255,51 +6491,76 @@ func (x *BlockInventory_BlockId) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use BlockInventory_BlockId.ProtoReflect.Descriptor instead. -func (*BlockInventory_BlockId) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{24, 0} +// Deprecated: Use MetricsInfo_NodeInfo.ProtoReflect.Descriptor instead. +func (*MetricsInfo_NodeInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{42, 0} } -func (x *BlockInventory_BlockId) GetHash() []byte { +func (x *MetricsInfo_NodeInfo) GetIp() string { if x != nil { - return x.Hash + return x.Ip } - return nil + return "" } -func (x *BlockInventory_BlockId) GetNumber() int64 { +func (x *MetricsInfo_NodeInfo) GetNodeType() int32 { if x != nil { - return x.Number + return x.NodeType } return 0 } -type HelloMessage_BlockId struct { +func (x *MetricsInfo_NodeInfo) GetVersion() string { + if x != nil { + return x.Version + } + return "" +} + +func (x *MetricsInfo_NodeInfo) GetBackupStatus() int32 { + if x != nil { + return x.BackupStatus + } + return 0 +} + +type MetricsInfo_BlockChainInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - Number int64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` -} - -func (x *HelloMessage_BlockId) Reset() { - *x = HelloMessage_BlockId{} + HeadBlockNum int64 `protobuf:"varint,1,opt,name=headBlockNum,proto3" json:"headBlockNum,omitempty"` + HeadBlockTimestamp int64 `protobuf:"varint,2,opt,name=headBlockTimestamp,proto3" json:"headBlockTimestamp,omitempty"` + HeadBlockHash string `protobuf:"bytes,3,opt,name=headBlockHash,proto3" json:"headBlockHash,omitempty"` + ForkCount int32 `protobuf:"varint,4,opt,name=forkCount,proto3" json:"forkCount,omitempty"` + FailForkCount int32 `protobuf:"varint,5,opt,name=failForkCount,proto3" json:"failForkCount,omitempty"` + BlockProcessTime *MetricsInfo_RateInfo `protobuf:"bytes,6,opt,name=blockProcessTime,proto3" json:"blockProcessTime,omitempty"` + Tps *MetricsInfo_RateInfo `protobuf:"bytes,7,opt,name=tps,proto3" json:"tps,omitempty"` + TransactionCacheSize int32 `protobuf:"varint,8,opt,name=transactionCacheSize,proto3" json:"transactionCacheSize,omitempty"` + MissedTransaction *MetricsInfo_RateInfo `protobuf:"bytes,9,opt,name=missedTransaction,proto3" json:"missedTransaction,omitempty"` + Witnesses []*MetricsInfo_BlockChainInfo_Witness `protobuf:"bytes,10,rep,name=witnesses,proto3" json:"witnesses,omitempty"` + FailProcessBlockNum int64 `protobuf:"varint,11,opt,name=failProcessBlockNum,proto3" json:"failProcessBlockNum,omitempty"` + FailProcessBlockReason string `protobuf:"bytes,12,opt,name=failProcessBlockReason,proto3" json:"failProcessBlockReason,omitempty"` + DupWitness []*MetricsInfo_BlockChainInfo_DupWitness `protobuf:"bytes,13,rep,name=dupWitness,proto3" json:"dupWitness,omitempty"` +} + +func (x *MetricsInfo_BlockChainInfo) Reset() { + *x = MetricsInfo_BlockChainInfo{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[51] + mi := &file_core_Tron_proto_msgTypes[75] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *HelloMessage_BlockId) String() string { +func (x *MetricsInfo_BlockChainInfo) String() string { return protoimpl.X.MessageStringOf(x) } -func (*HelloMessage_BlockId) ProtoMessage() {} +func (*MetricsInfo_BlockChainInfo) ProtoMessage() {} -func (x *HelloMessage_BlockId) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[51] +func (x *MetricsInfo_BlockChainInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[75] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4310,131 +6571,131 @@ func (x *HelloMessage_BlockId) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use HelloMessage_BlockId.ProtoReflect.Descriptor instead. -func (*HelloMessage_BlockId) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{29, 0} +// Deprecated: Use MetricsInfo_BlockChainInfo.ProtoReflect.Descriptor instead. +func (*MetricsInfo_BlockChainInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{42, 1} } -func (x *HelloMessage_BlockId) GetHash() []byte { +func (x *MetricsInfo_BlockChainInfo) GetHeadBlockNum() int64 { if x != nil { - return x.Hash + return x.HeadBlockNum } - return nil + return 0 } -func (x *HelloMessage_BlockId) GetNumber() int64 { +func (x *MetricsInfo_BlockChainInfo) GetHeadBlockTimestamp() int64 { if x != nil { - return x.Number + return x.HeadBlockTimestamp } return 0 } -type InternalTransaction_CallValueInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (x *MetricsInfo_BlockChainInfo) GetHeadBlockHash() string { + if x != nil { + return x.HeadBlockHash + } + return "" +} - // trx (TBD: or token) value - CallValue int64 `protobuf:"varint,1,opt,name=callValue,proto3" json:"callValue,omitempty"` - // TBD: tokenName, trx should be empty - TokenId string `protobuf:"bytes,2,opt,name=tokenId,proto3" json:"tokenId,omitempty"` +func (x *MetricsInfo_BlockChainInfo) GetForkCount() int32 { + if x != nil { + return x.ForkCount + } + return 0 } -func (x *InternalTransaction_CallValueInfo) Reset() { - *x = InternalTransaction_CallValueInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[52] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *MetricsInfo_BlockChainInfo) GetFailForkCount() int32 { + if x != nil { + return x.FailForkCount } + return 0 } -func (x *InternalTransaction_CallValueInfo) String() string { - return protoimpl.X.MessageStringOf(x) +func (x *MetricsInfo_BlockChainInfo) GetBlockProcessTime() *MetricsInfo_RateInfo { + if x != nil { + return x.BlockProcessTime + } + return nil } -func (*InternalTransaction_CallValueInfo) ProtoMessage() {} +func (x *MetricsInfo_BlockChainInfo) GetTps() *MetricsInfo_RateInfo { + if x != nil { + return x.Tps + } + return nil +} -func (x *InternalTransaction_CallValueInfo) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[52] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms +func (x *MetricsInfo_BlockChainInfo) GetTransactionCacheSize() int32 { + if x != nil { + return x.TransactionCacheSize } - return mi.MessageOf(x) + return 0 } -// Deprecated: Use InternalTransaction_CallValueInfo.ProtoReflect.Descriptor instead. -func (*InternalTransaction_CallValueInfo) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{30, 0} +func (x *MetricsInfo_BlockChainInfo) GetMissedTransaction() *MetricsInfo_RateInfo { + if x != nil { + return x.MissedTransaction + } + return nil } -func (x *InternalTransaction_CallValueInfo) GetCallValue() int64 { +func (x *MetricsInfo_BlockChainInfo) GetWitnesses() []*MetricsInfo_BlockChainInfo_Witness { if x != nil { - return x.CallValue + return x.Witnesses + } + return nil +} + +func (x *MetricsInfo_BlockChainInfo) GetFailProcessBlockNum() int64 { + if x != nil { + return x.FailProcessBlockNum } return 0 } -func (x *InternalTransaction_CallValueInfo) GetTokenId() string { +func (x *MetricsInfo_BlockChainInfo) GetFailProcessBlockReason() string { if x != nil { - return x.TokenId + return x.FailProcessBlockReason } return "" } -type NodeInfo_PeerInfo struct { +func (x *MetricsInfo_BlockChainInfo) GetDupWitness() []*MetricsInfo_BlockChainInfo_DupWitness { + if x != nil { + return x.DupWitness + } + return nil +} + +type MetricsInfo_RateInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - LastSyncBlock string `protobuf:"bytes,1,opt,name=lastSyncBlock,proto3" json:"lastSyncBlock,omitempty"` - RemainNum int64 `protobuf:"varint,2,opt,name=remainNum,proto3" json:"remainNum,omitempty"` - LastBlockUpdateTime int64 `protobuf:"varint,3,opt,name=lastBlockUpdateTime,proto3" json:"lastBlockUpdateTime,omitempty"` - SyncFlag bool `protobuf:"varint,4,opt,name=syncFlag,proto3" json:"syncFlag,omitempty"` - HeadBlockTimeWeBothHave int64 `protobuf:"varint,5,opt,name=headBlockTimeWeBothHave,proto3" json:"headBlockTimeWeBothHave,omitempty"` - NeedSyncFromPeer bool `protobuf:"varint,6,opt,name=needSyncFromPeer,proto3" json:"needSyncFromPeer,omitempty"` - NeedSyncFromUs bool `protobuf:"varint,7,opt,name=needSyncFromUs,proto3" json:"needSyncFromUs,omitempty"` - Host string `protobuf:"bytes,8,opt,name=host,proto3" json:"host,omitempty"` - Port int32 `protobuf:"varint,9,opt,name=port,proto3" json:"port,omitempty"` - NodeId string `protobuf:"bytes,10,opt,name=nodeId,proto3" json:"nodeId,omitempty"` - ConnectTime int64 `protobuf:"varint,11,opt,name=connectTime,proto3" json:"connectTime,omitempty"` - AvgLatency float64 `protobuf:"fixed64,12,opt,name=avgLatency,proto3" json:"avgLatency,omitempty"` - SyncToFetchSize int32 `protobuf:"varint,13,opt,name=syncToFetchSize,proto3" json:"syncToFetchSize,omitempty"` - SyncToFetchSizePeekNum int64 `protobuf:"varint,14,opt,name=syncToFetchSizePeekNum,proto3" json:"syncToFetchSizePeekNum,omitempty"` - SyncBlockRequestedSize int32 `protobuf:"varint,15,opt,name=syncBlockRequestedSize,proto3" json:"syncBlockRequestedSize,omitempty"` - UnFetchSynNum int64 `protobuf:"varint,16,opt,name=unFetchSynNum,proto3" json:"unFetchSynNum,omitempty"` - BlockInPorcSize int32 `protobuf:"varint,17,opt,name=blockInPorcSize,proto3" json:"blockInPorcSize,omitempty"` - HeadBlockWeBothHave string `protobuf:"bytes,18,opt,name=headBlockWeBothHave,proto3" json:"headBlockWeBothHave,omitempty"` - IsActive bool `protobuf:"varint,19,opt,name=isActive,proto3" json:"isActive,omitempty"` - Score int32 `protobuf:"varint,20,opt,name=score,proto3" json:"score,omitempty"` - NodeCount int32 `protobuf:"varint,21,opt,name=nodeCount,proto3" json:"nodeCount,omitempty"` - InFlow int64 `protobuf:"varint,22,opt,name=inFlow,proto3" json:"inFlow,omitempty"` - DisconnectTimes int32 `protobuf:"varint,23,opt,name=disconnectTimes,proto3" json:"disconnectTimes,omitempty"` - LocalDisconnectReason string `protobuf:"bytes,24,opt,name=localDisconnectReason,proto3" json:"localDisconnectReason,omitempty"` - RemoteDisconnectReason string `protobuf:"bytes,25,opt,name=remoteDisconnectReason,proto3" json:"remoteDisconnectReason,omitempty"` + Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` + MeanRate float64 `protobuf:"fixed64,2,opt,name=meanRate,proto3" json:"meanRate,omitempty"` + OneMinuteRate float64 `protobuf:"fixed64,3,opt,name=oneMinuteRate,proto3" json:"oneMinuteRate,omitempty"` + FiveMinuteRate float64 `protobuf:"fixed64,4,opt,name=fiveMinuteRate,proto3" json:"fiveMinuteRate,omitempty"` + FifteenMinuteRate float64 `protobuf:"fixed64,5,opt,name=fifteenMinuteRate,proto3" json:"fifteenMinuteRate,omitempty"` } -func (x *NodeInfo_PeerInfo) Reset() { - *x = NodeInfo_PeerInfo{} +func (x *MetricsInfo_RateInfo) Reset() { + *x = MetricsInfo_RateInfo{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[54] + mi := &file_core_Tron_proto_msgTypes[76] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *NodeInfo_PeerInfo) String() string { +func (x *MetricsInfo_RateInfo) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NodeInfo_PeerInfo) ProtoMessage() {} +func (*MetricsInfo_RateInfo) ProtoMessage() {} -func (x *NodeInfo_PeerInfo) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[54] +func (x *MetricsInfo_RateInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[76] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4445,229 +6706,255 @@ func (x *NodeInfo_PeerInfo) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use NodeInfo_PeerInfo.ProtoReflect.Descriptor instead. -func (*NodeInfo_PeerInfo) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{32, 1} +// Deprecated: Use MetricsInfo_RateInfo.ProtoReflect.Descriptor instead. +func (*MetricsInfo_RateInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{42, 2} } -func (x *NodeInfo_PeerInfo) GetLastSyncBlock() string { +func (x *MetricsInfo_RateInfo) GetCount() int64 { if x != nil { - return x.LastSyncBlock + return x.Count } - return "" + return 0 } -func (x *NodeInfo_PeerInfo) GetRemainNum() int64 { +func (x *MetricsInfo_RateInfo) GetMeanRate() float64 { if x != nil { - return x.RemainNum + return x.MeanRate } return 0 } -func (x *NodeInfo_PeerInfo) GetLastBlockUpdateTime() int64 { +func (x *MetricsInfo_RateInfo) GetOneMinuteRate() float64 { if x != nil { - return x.LastBlockUpdateTime + return x.OneMinuteRate } return 0 } -func (x *NodeInfo_PeerInfo) GetSyncFlag() bool { +func (x *MetricsInfo_RateInfo) GetFiveMinuteRate() float64 { if x != nil { - return x.SyncFlag + return x.FiveMinuteRate } - return false + return 0 } -func (x *NodeInfo_PeerInfo) GetHeadBlockTimeWeBothHave() int64 { +func (x *MetricsInfo_RateInfo) GetFifteenMinuteRate() float64 { if x != nil { - return x.HeadBlockTimeWeBothHave + return x.FifteenMinuteRate } return 0 } -func (x *NodeInfo_PeerInfo) GetNeedSyncFromPeer() bool { - if x != nil { - return x.NeedSyncFromPeer +type MetricsInfo_NetInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ErrorProtoCount int32 `protobuf:"varint,1,opt,name=errorProtoCount,proto3" json:"errorProtoCount,omitempty"` + Api *MetricsInfo_NetInfo_ApiInfo `protobuf:"bytes,2,opt,name=api,proto3" json:"api,omitempty"` + ConnectionCount int32 `protobuf:"varint,3,opt,name=connectionCount,proto3" json:"connectionCount,omitempty"` + ValidConnectionCount int32 `protobuf:"varint,4,opt,name=validConnectionCount,proto3" json:"validConnectionCount,omitempty"` + TcpInTraffic *MetricsInfo_RateInfo `protobuf:"bytes,5,opt,name=tcpInTraffic,proto3" json:"tcpInTraffic,omitempty"` + TcpOutTraffic *MetricsInfo_RateInfo `protobuf:"bytes,6,opt,name=tcpOutTraffic,proto3" json:"tcpOutTraffic,omitempty"` + DisconnectionCount int32 `protobuf:"varint,7,opt,name=disconnectionCount,proto3" json:"disconnectionCount,omitempty"` + DisconnectionDetail []*MetricsInfo_NetInfo_DisconnectionDetailInfo `protobuf:"bytes,8,rep,name=disconnectionDetail,proto3" json:"disconnectionDetail,omitempty"` + UdpInTraffic *MetricsInfo_RateInfo `protobuf:"bytes,9,opt,name=udpInTraffic,proto3" json:"udpInTraffic,omitempty"` + UdpOutTraffic *MetricsInfo_RateInfo `protobuf:"bytes,10,opt,name=udpOutTraffic,proto3" json:"udpOutTraffic,omitempty"` + Latency *MetricsInfo_NetInfo_LatencyInfo `protobuf:"bytes,11,opt,name=latency,proto3" json:"latency,omitempty"` +} + +func (x *MetricsInfo_NetInfo) Reset() { + *x = MetricsInfo_NetInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[77] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return false } -func (x *NodeInfo_PeerInfo) GetNeedSyncFromUs() bool { - if x != nil { - return x.NeedSyncFromUs - } - return false +func (x *MetricsInfo_NetInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *NodeInfo_PeerInfo) GetHost() string { - if x != nil { - return x.Host +func (*MetricsInfo_NetInfo) ProtoMessage() {} + +func (x *MetricsInfo_NetInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[77] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return "" + return mi.MessageOf(x) } -func (x *NodeInfo_PeerInfo) GetPort() int32 { +// Deprecated: Use MetricsInfo_NetInfo.ProtoReflect.Descriptor instead. +func (*MetricsInfo_NetInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{42, 3} +} + +func (x *MetricsInfo_NetInfo) GetErrorProtoCount() int32 { if x != nil { - return x.Port + return x.ErrorProtoCount } return 0 } -func (x *NodeInfo_PeerInfo) GetNodeId() string { +func (x *MetricsInfo_NetInfo) GetApi() *MetricsInfo_NetInfo_ApiInfo { if x != nil { - return x.NodeId + return x.Api } - return "" + return nil } -func (x *NodeInfo_PeerInfo) GetConnectTime() int64 { +func (x *MetricsInfo_NetInfo) GetConnectionCount() int32 { if x != nil { - return x.ConnectTime + return x.ConnectionCount } return 0 } -func (x *NodeInfo_PeerInfo) GetAvgLatency() float64 { +func (x *MetricsInfo_NetInfo) GetValidConnectionCount() int32 { if x != nil { - return x.AvgLatency + return x.ValidConnectionCount } return 0 } -func (x *NodeInfo_PeerInfo) GetSyncToFetchSize() int32 { +func (x *MetricsInfo_NetInfo) GetTcpInTraffic() *MetricsInfo_RateInfo { if x != nil { - return x.SyncToFetchSize + return x.TcpInTraffic } - return 0 + return nil } -func (x *NodeInfo_PeerInfo) GetSyncToFetchSizePeekNum() int64 { +func (x *MetricsInfo_NetInfo) GetTcpOutTraffic() *MetricsInfo_RateInfo { if x != nil { - return x.SyncToFetchSizePeekNum + return x.TcpOutTraffic } - return 0 + return nil } -func (x *NodeInfo_PeerInfo) GetSyncBlockRequestedSize() int32 { +func (x *MetricsInfo_NetInfo) GetDisconnectionCount() int32 { if x != nil { - return x.SyncBlockRequestedSize + return x.DisconnectionCount } return 0 } -func (x *NodeInfo_PeerInfo) GetUnFetchSynNum() int64 { +func (x *MetricsInfo_NetInfo) GetDisconnectionDetail() []*MetricsInfo_NetInfo_DisconnectionDetailInfo { if x != nil { - return x.UnFetchSynNum + return x.DisconnectionDetail } - return 0 + return nil } -func (x *NodeInfo_PeerInfo) GetBlockInPorcSize() int32 { +func (x *MetricsInfo_NetInfo) GetUdpInTraffic() *MetricsInfo_RateInfo { if x != nil { - return x.BlockInPorcSize + return x.UdpInTraffic } - return 0 + return nil } -func (x *NodeInfo_PeerInfo) GetHeadBlockWeBothHave() string { +func (x *MetricsInfo_NetInfo) GetUdpOutTraffic() *MetricsInfo_RateInfo { if x != nil { - return x.HeadBlockWeBothHave + return x.UdpOutTraffic } - return "" + return nil } -func (x *NodeInfo_PeerInfo) GetIsActive() bool { +func (x *MetricsInfo_NetInfo) GetLatency() *MetricsInfo_NetInfo_LatencyInfo { if x != nil { - return x.IsActive + return x.Latency } - return false + return nil } -func (x *NodeInfo_PeerInfo) GetScore() int32 { - if x != nil { - return x.Score - } - return 0 +type MetricsInfo_BlockChainInfo_Witness struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` } -func (x *NodeInfo_PeerInfo) GetNodeCount() int32 { - if x != nil { - return x.NodeCount +func (x *MetricsInfo_BlockChainInfo_Witness) Reset() { + *x = MetricsInfo_BlockChainInfo_Witness{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[78] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return 0 } -func (x *NodeInfo_PeerInfo) GetInFlow() int64 { - if x != nil { - return x.InFlow - } - return 0 +func (x *MetricsInfo_BlockChainInfo_Witness) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *NodeInfo_PeerInfo) GetDisconnectTimes() int32 { - if x != nil { - return x.DisconnectTimes +func (*MetricsInfo_BlockChainInfo_Witness) ProtoMessage() {} + +func (x *MetricsInfo_BlockChainInfo_Witness) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[78] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return 0 + return mi.MessageOf(x) } -func (x *NodeInfo_PeerInfo) GetLocalDisconnectReason() string { +// Deprecated: Use MetricsInfo_BlockChainInfo_Witness.ProtoReflect.Descriptor instead. +func (*MetricsInfo_BlockChainInfo_Witness) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{42, 1, 0} +} + +func (x *MetricsInfo_BlockChainInfo_Witness) GetAddress() string { if x != nil { - return x.LocalDisconnectReason + return x.Address } return "" } -func (x *NodeInfo_PeerInfo) GetRemoteDisconnectReason() string { +func (x *MetricsInfo_BlockChainInfo_Witness) GetVersion() int32 { if x != nil { - return x.RemoteDisconnectReason + return x.Version } - return "" + return 0 } -type NodeInfo_ConfigNodeInfo struct { +type MetricsInfo_BlockChainInfo_DupWitness struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - CodeVersion string `protobuf:"bytes,1,opt,name=codeVersion,proto3" json:"codeVersion,omitempty"` - P2PVersion string `protobuf:"bytes,2,opt,name=p2pVersion,proto3" json:"p2pVersion,omitempty"` - ListenPort int32 `protobuf:"varint,3,opt,name=listenPort,proto3" json:"listenPort,omitempty"` - DiscoverEnable bool `protobuf:"varint,4,opt,name=discoverEnable,proto3" json:"discoverEnable,omitempty"` - ActiveNodeSize int32 `protobuf:"varint,5,opt,name=activeNodeSize,proto3" json:"activeNodeSize,omitempty"` - PassiveNodeSize int32 `protobuf:"varint,6,opt,name=passiveNodeSize,proto3" json:"passiveNodeSize,omitempty"` - SendNodeSize int32 `protobuf:"varint,7,opt,name=sendNodeSize,proto3" json:"sendNodeSize,omitempty"` - MaxConnectCount int32 `protobuf:"varint,8,opt,name=maxConnectCount,proto3" json:"maxConnectCount,omitempty"` - SameIpMaxConnectCount int32 `protobuf:"varint,9,opt,name=sameIpMaxConnectCount,proto3" json:"sameIpMaxConnectCount,omitempty"` - BackupListenPort int32 `protobuf:"varint,10,opt,name=backupListenPort,proto3" json:"backupListenPort,omitempty"` - BackupMemberSize int32 `protobuf:"varint,11,opt,name=backupMemberSize,proto3" json:"backupMemberSize,omitempty"` - BackupPriority int32 `protobuf:"varint,12,opt,name=backupPriority,proto3" json:"backupPriority,omitempty"` - DbVersion int32 `protobuf:"varint,13,opt,name=dbVersion,proto3" json:"dbVersion,omitempty"` - MinParticipationRate int32 `protobuf:"varint,14,opt,name=minParticipationRate,proto3" json:"minParticipationRate,omitempty"` - SupportConstant bool `protobuf:"varint,15,opt,name=supportConstant,proto3" json:"supportConstant,omitempty"` - MinTimeRatio float64 `protobuf:"fixed64,16,opt,name=minTimeRatio,proto3" json:"minTimeRatio,omitempty"` - MaxTimeRatio float64 `protobuf:"fixed64,17,opt,name=maxTimeRatio,proto3" json:"maxTimeRatio,omitempty"` - AllowCreationOfContracts int64 `protobuf:"varint,18,opt,name=allowCreationOfContracts,proto3" json:"allowCreationOfContracts,omitempty"` - AllowAdaptiveEnergy int64 `protobuf:"varint,19,opt,name=allowAdaptiveEnergy,proto3" json:"allowAdaptiveEnergy,omitempty"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + BlockNum int64 `protobuf:"varint,2,opt,name=blockNum,proto3" json:"blockNum,omitempty"` + Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` } -func (x *NodeInfo_ConfigNodeInfo) Reset() { - *x = NodeInfo_ConfigNodeInfo{} +func (x *MetricsInfo_BlockChainInfo_DupWitness) Reset() { + *x = MetricsInfo_BlockChainInfo_DupWitness{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[55] + mi := &file_core_Tron_proto_msgTypes[79] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *NodeInfo_ConfigNodeInfo) String() string { +func (x *MetricsInfo_BlockChainInfo_DupWitness) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NodeInfo_ConfigNodeInfo) ProtoMessage() {} +func (*MetricsInfo_BlockChainInfo_DupWitness) ProtoMessage() {} -func (x *NodeInfo_ConfigNodeInfo) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[55] +func (x *MetricsInfo_BlockChainInfo_DupWitness) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[79] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4678,181 +6965,190 @@ func (x *NodeInfo_ConfigNodeInfo) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use NodeInfo_ConfigNodeInfo.ProtoReflect.Descriptor instead. -func (*NodeInfo_ConfigNodeInfo) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{32, 2} +// Deprecated: Use MetricsInfo_BlockChainInfo_DupWitness.ProtoReflect.Descriptor instead. +func (*MetricsInfo_BlockChainInfo_DupWitness) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{42, 1, 1} } -func (x *NodeInfo_ConfigNodeInfo) GetCodeVersion() string { +func (x *MetricsInfo_BlockChainInfo_DupWitness) GetAddress() string { if x != nil { - return x.CodeVersion + return x.Address } return "" } -func (x *NodeInfo_ConfigNodeInfo) GetP2PVersion() string { +func (x *MetricsInfo_BlockChainInfo_DupWitness) GetBlockNum() int64 { if x != nil { - return x.P2PVersion + return x.BlockNum } - return "" + return 0 } -func (x *NodeInfo_ConfigNodeInfo) GetListenPort() int32 { +func (x *MetricsInfo_BlockChainInfo_DupWitness) GetCount() int32 { if x != nil { - return x.ListenPort + return x.Count } return 0 } -func (x *NodeInfo_ConfigNodeInfo) GetDiscoverEnable() bool { - if x != nil { - return x.DiscoverEnable - } - return false +type MetricsInfo_NetInfo_ApiInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Qps *MetricsInfo_RateInfo `protobuf:"bytes,1,opt,name=qps,proto3" json:"qps,omitempty"` + FailQps *MetricsInfo_RateInfo `protobuf:"bytes,2,opt,name=failQps,proto3" json:"failQps,omitempty"` + OutTraffic *MetricsInfo_RateInfo `protobuf:"bytes,3,opt,name=outTraffic,proto3" json:"outTraffic,omitempty"` + Detail []*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo `protobuf:"bytes,4,rep,name=detail,proto3" json:"detail,omitempty"` } -func (x *NodeInfo_ConfigNodeInfo) GetActiveNodeSize() int32 { - if x != nil { - return x.ActiveNodeSize +func (x *MetricsInfo_NetInfo_ApiInfo) Reset() { + *x = MetricsInfo_NetInfo_ApiInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[80] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return 0 } -func (x *NodeInfo_ConfigNodeInfo) GetPassiveNodeSize() int32 { - if x != nil { - return x.PassiveNodeSize - } - return 0 +func (x *MetricsInfo_NetInfo_ApiInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *NodeInfo_ConfigNodeInfo) GetSendNodeSize() int32 { - if x != nil { - return x.SendNodeSize +func (*MetricsInfo_NetInfo_ApiInfo) ProtoMessage() {} + +func (x *MetricsInfo_NetInfo_ApiInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[80] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return 0 + return mi.MessageOf(x) } -func (x *NodeInfo_ConfigNodeInfo) GetMaxConnectCount() int32 { - if x != nil { - return x.MaxConnectCount - } - return 0 +// Deprecated: Use MetricsInfo_NetInfo_ApiInfo.ProtoReflect.Descriptor instead. +func (*MetricsInfo_NetInfo_ApiInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{42, 3, 0} } -func (x *NodeInfo_ConfigNodeInfo) GetSameIpMaxConnectCount() int32 { +func (x *MetricsInfo_NetInfo_ApiInfo) GetQps() *MetricsInfo_RateInfo { if x != nil { - return x.SameIpMaxConnectCount + return x.Qps } - return 0 + return nil } -func (x *NodeInfo_ConfigNodeInfo) GetBackupListenPort() int32 { +func (x *MetricsInfo_NetInfo_ApiInfo) GetFailQps() *MetricsInfo_RateInfo { if x != nil { - return x.BackupListenPort + return x.FailQps } - return 0 + return nil } -func (x *NodeInfo_ConfigNodeInfo) GetBackupMemberSize() int32 { +func (x *MetricsInfo_NetInfo_ApiInfo) GetOutTraffic() *MetricsInfo_RateInfo { if x != nil { - return x.BackupMemberSize + return x.OutTraffic } - return 0 + return nil } -func (x *NodeInfo_ConfigNodeInfo) GetBackupPriority() int32 { +func (x *MetricsInfo_NetInfo_ApiInfo) GetDetail() []*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo { if x != nil { - return x.BackupPriority + return x.Detail } - return 0 + return nil } -func (x *NodeInfo_ConfigNodeInfo) GetDbVersion() int32 { - if x != nil { - return x.DbVersion - } - return 0 +type MetricsInfo_NetInfo_DisconnectionDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` + Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` } -func (x *NodeInfo_ConfigNodeInfo) GetMinParticipationRate() int32 { - if x != nil { - return x.MinParticipationRate +func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) Reset() { + *x = MetricsInfo_NetInfo_DisconnectionDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[81] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return 0 } -func (x *NodeInfo_ConfigNodeInfo) GetSupportConstant() bool { - if x != nil { - return x.SupportConstant - } - return false +func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *NodeInfo_ConfigNodeInfo) GetMinTimeRatio() float64 { - if x != nil { - return x.MinTimeRatio +func (*MetricsInfo_NetInfo_DisconnectionDetailInfo) ProtoMessage() {} + +func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[81] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return 0 + return mi.MessageOf(x) } -func (x *NodeInfo_ConfigNodeInfo) GetMaxTimeRatio() float64 { - if x != nil { - return x.MaxTimeRatio - } - return 0 +// Deprecated: Use MetricsInfo_NetInfo_DisconnectionDetailInfo.ProtoReflect.Descriptor instead. +func (*MetricsInfo_NetInfo_DisconnectionDetailInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{42, 3, 1} } -func (x *NodeInfo_ConfigNodeInfo) GetAllowCreationOfContracts() int64 { +func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) GetReason() string { if x != nil { - return x.AllowCreationOfContracts + return x.Reason } - return 0 + return "" } -func (x *NodeInfo_ConfigNodeInfo) GetAllowAdaptiveEnergy() int64 { +func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) GetCount() int32 { if x != nil { - return x.AllowAdaptiveEnergy + return x.Count } return 0 } -type NodeInfo_MachineInfo struct { +type MetricsInfo_NetInfo_LatencyInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ThreadCount int32 `protobuf:"varint,1,opt,name=threadCount,proto3" json:"threadCount,omitempty"` - DeadLockThreadCount int32 `protobuf:"varint,2,opt,name=deadLockThreadCount,proto3" json:"deadLockThreadCount,omitempty"` - CpuCount int32 `protobuf:"varint,3,opt,name=cpuCount,proto3" json:"cpuCount,omitempty"` - TotalMemory int64 `protobuf:"varint,4,opt,name=totalMemory,proto3" json:"totalMemory,omitempty"` - FreeMemory int64 `protobuf:"varint,5,opt,name=freeMemory,proto3" json:"freeMemory,omitempty"` - CpuRate float64 `protobuf:"fixed64,6,opt,name=cpuRate,proto3" json:"cpuRate,omitempty"` - JavaVersion string `protobuf:"bytes,7,opt,name=javaVersion,proto3" json:"javaVersion,omitempty"` - OsName string `protobuf:"bytes,8,opt,name=osName,proto3" json:"osName,omitempty"` - JvmTotalMemoery int64 `protobuf:"varint,9,opt,name=jvmTotalMemoery,proto3" json:"jvmTotalMemoery,omitempty"` - JvmFreeMemory int64 `protobuf:"varint,10,opt,name=jvmFreeMemory,proto3" json:"jvmFreeMemory,omitempty"` - ProcessCpuRate float64 `protobuf:"fixed64,11,opt,name=processCpuRate,proto3" json:"processCpuRate,omitempty"` - MemoryDescInfoList []*NodeInfo_MachineInfo_MemoryDescInfo `protobuf:"bytes,12,rep,name=memoryDescInfoList,proto3" json:"memoryDescInfoList,omitempty"` - DeadLockThreadInfoList []*NodeInfo_MachineInfo_DeadLockThreadInfo `protobuf:"bytes,13,rep,name=deadLockThreadInfoList,proto3" json:"deadLockThreadInfoList,omitempty"` + Top99 int32 `protobuf:"varint,1,opt,name=top99,proto3" json:"top99,omitempty"` + Top95 int32 `protobuf:"varint,2,opt,name=top95,proto3" json:"top95,omitempty"` + Top75 int32 `protobuf:"varint,3,opt,name=top75,proto3" json:"top75,omitempty"` + TotalCount int32 `protobuf:"varint,4,opt,name=totalCount,proto3" json:"totalCount,omitempty"` + Delay1S int32 `protobuf:"varint,5,opt,name=delay1S,proto3" json:"delay1S,omitempty"` + Delay2S int32 `protobuf:"varint,6,opt,name=delay2S,proto3" json:"delay2S,omitempty"` + Delay3S int32 `protobuf:"varint,7,opt,name=delay3S,proto3" json:"delay3S,omitempty"` + Detail []*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo `protobuf:"bytes,8,rep,name=detail,proto3" json:"detail,omitempty"` } -func (x *NodeInfo_MachineInfo) Reset() { - *x = NodeInfo_MachineInfo{} +func (x *MetricsInfo_NetInfo_LatencyInfo) Reset() { + *x = MetricsInfo_NetInfo_LatencyInfo{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[56] + mi := &file_core_Tron_proto_msgTypes[82] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *NodeInfo_MachineInfo) String() string { +func (x *MetricsInfo_NetInfo_LatencyInfo) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NodeInfo_MachineInfo) ProtoMessage() {} +func (*MetricsInfo_NetInfo_LatencyInfo) ProtoMessage() {} -func (x *NodeInfo_MachineInfo) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[56] +func (x *MetricsInfo_NetInfo_LatencyInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[82] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4863,131 +7159,170 @@ func (x *NodeInfo_MachineInfo) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use NodeInfo_MachineInfo.ProtoReflect.Descriptor instead. -func (*NodeInfo_MachineInfo) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{32, 3} +// Deprecated: Use MetricsInfo_NetInfo_LatencyInfo.ProtoReflect.Descriptor instead. +func (*MetricsInfo_NetInfo_LatencyInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{42, 3, 2} } -func (x *NodeInfo_MachineInfo) GetThreadCount() int32 { +func (x *MetricsInfo_NetInfo_LatencyInfo) GetTop99() int32 { if x != nil { - return x.ThreadCount + return x.Top99 } return 0 } -func (x *NodeInfo_MachineInfo) GetDeadLockThreadCount() int32 { +func (x *MetricsInfo_NetInfo_LatencyInfo) GetTop95() int32 { if x != nil { - return x.DeadLockThreadCount + return x.Top95 } return 0 } -func (x *NodeInfo_MachineInfo) GetCpuCount() int32 { +func (x *MetricsInfo_NetInfo_LatencyInfo) GetTop75() int32 { if x != nil { - return x.CpuCount + return x.Top75 } return 0 } -func (x *NodeInfo_MachineInfo) GetTotalMemory() int64 { +func (x *MetricsInfo_NetInfo_LatencyInfo) GetTotalCount() int32 { if x != nil { - return x.TotalMemory + return x.TotalCount } return 0 } -func (x *NodeInfo_MachineInfo) GetFreeMemory() int64 { +func (x *MetricsInfo_NetInfo_LatencyInfo) GetDelay1S() int32 { if x != nil { - return x.FreeMemory + return x.Delay1S } return 0 } -func (x *NodeInfo_MachineInfo) GetCpuRate() float64 { +func (x *MetricsInfo_NetInfo_LatencyInfo) GetDelay2S() int32 { if x != nil { - return x.CpuRate + return x.Delay2S } return 0 } -func (x *NodeInfo_MachineInfo) GetJavaVersion() string { +func (x *MetricsInfo_NetInfo_LatencyInfo) GetDelay3S() int32 { if x != nil { - return x.JavaVersion + return x.Delay3S } - return "" + return 0 } -func (x *NodeInfo_MachineInfo) GetOsName() string { +func (x *MetricsInfo_NetInfo_LatencyInfo) GetDetail() []*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo { if x != nil { - return x.OsName + return x.Detail } - return "" + return nil } -func (x *NodeInfo_MachineInfo) GetJvmTotalMemoery() int64 { - if x != nil { - return x.JvmTotalMemoery +type MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Qps *MetricsInfo_RateInfo `protobuf:"bytes,2,opt,name=qps,proto3" json:"qps,omitempty"` + FailQps *MetricsInfo_RateInfo `protobuf:"bytes,3,opt,name=failQps,proto3" json:"failQps,omitempty"` + OutTraffic *MetricsInfo_RateInfo `protobuf:"bytes,4,opt,name=outTraffic,proto3" json:"outTraffic,omitempty"` +} + +func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) Reset() { + *x = MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[83] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return 0 } -func (x *NodeInfo_MachineInfo) GetJvmFreeMemory() int64 { +func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) ProtoMessage() {} + +func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[83] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo.ProtoReflect.Descriptor instead. +func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{42, 3, 0, 0} +} + +func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetName() string { if x != nil { - return x.JvmFreeMemory + return x.Name } - return 0 + return "" } -func (x *NodeInfo_MachineInfo) GetProcessCpuRate() float64 { +func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetQps() *MetricsInfo_RateInfo { if x != nil { - return x.ProcessCpuRate + return x.Qps } - return 0 + return nil } -func (x *NodeInfo_MachineInfo) GetMemoryDescInfoList() []*NodeInfo_MachineInfo_MemoryDescInfo { +func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetFailQps() *MetricsInfo_RateInfo { if x != nil { - return x.MemoryDescInfoList + return x.FailQps } return nil } -func (x *NodeInfo_MachineInfo) GetDeadLockThreadInfoList() []*NodeInfo_MachineInfo_DeadLockThreadInfo { +func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetOutTraffic() *MetricsInfo_RateInfo { if x != nil { - return x.DeadLockThreadInfoList + return x.OutTraffic } return nil } -type NodeInfo_MachineInfo_MemoryDescInfo struct { +type MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - InitSize int64 `protobuf:"varint,2,opt,name=initSize,proto3" json:"initSize,omitempty"` - UseSize int64 `protobuf:"varint,3,opt,name=useSize,proto3" json:"useSize,omitempty"` - MaxSize int64 `protobuf:"varint,4,opt,name=maxSize,proto3" json:"maxSize,omitempty"` - UseRate float64 `protobuf:"fixed64,5,opt,name=useRate,proto3" json:"useRate,omitempty"` + Witness string `protobuf:"bytes,1,opt,name=witness,proto3" json:"witness,omitempty"` + Top99 int32 `protobuf:"varint,2,opt,name=top99,proto3" json:"top99,omitempty"` + Top95 int32 `protobuf:"varint,3,opt,name=top95,proto3" json:"top95,omitempty"` + Top75 int32 `protobuf:"varint,4,opt,name=top75,proto3" json:"top75,omitempty"` + Count int32 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"` + Delay1S int32 `protobuf:"varint,6,opt,name=delay1S,proto3" json:"delay1S,omitempty"` + Delay2S int32 `protobuf:"varint,7,opt,name=delay2S,proto3" json:"delay2S,omitempty"` + Delay3S int32 `protobuf:"varint,8,opt,name=delay3S,proto3" json:"delay3S,omitempty"` } -func (x *NodeInfo_MachineInfo_MemoryDescInfo) Reset() { - *x = NodeInfo_MachineInfo_MemoryDescInfo{} +func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) Reset() { + *x = MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[57] + mi := &file_core_Tron_proto_msgTypes[84] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *NodeInfo_MachineInfo_MemoryDescInfo) String() string { +func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NodeInfo_MachineInfo_MemoryDescInfo) ProtoMessage() {} +func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) ProtoMessage() {} -func (x *NodeInfo_MachineInfo_MemoryDescInfo) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[57] +func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[84] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4998,77 +7333,96 @@ func (x *NodeInfo_MachineInfo_MemoryDescInfo) ProtoReflect() protoreflect.Messag return mi.MessageOf(x) } -// Deprecated: Use NodeInfo_MachineInfo_MemoryDescInfo.ProtoReflect.Descriptor instead. -func (*NodeInfo_MachineInfo_MemoryDescInfo) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{32, 3, 0} +// Deprecated: Use MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo.ProtoReflect.Descriptor instead. +func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{42, 3, 2, 0} +} + +func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetWitness() string { + if x != nil { + return x.Witness + } + return "" +} + +func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetTop99() int32 { + if x != nil { + return x.Top99 + } + return 0 +} + +func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetTop95() int32 { + if x != nil { + return x.Top95 + } + return 0 } -func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetName() string { +func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetTop75() int32 { if x != nil { - return x.Name + return x.Top75 } - return "" + return 0 } -func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetInitSize() int64 { +func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetCount() int32 { if x != nil { - return x.InitSize + return x.Count } return 0 } -func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetUseSize() int64 { +func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetDelay1S() int32 { if x != nil { - return x.UseSize + return x.Delay1S } return 0 } -func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetMaxSize() int64 { +func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetDelay2S() int32 { if x != nil { - return x.MaxSize + return x.Delay2S } return 0 } -func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetUseRate() float64 { +func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetDelay3S() int32 { if x != nil { - return x.UseRate + return x.Delay3S } return 0 } -type NodeInfo_MachineInfo_DeadLockThreadInfo struct { +type PBFTMessage_Raw struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - LockName string `protobuf:"bytes,2,opt,name=lockName,proto3" json:"lockName,omitempty"` - LockOwner string `protobuf:"bytes,3,opt,name=lockOwner,proto3" json:"lockOwner,omitempty"` - State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"` - BlockTime int64 `protobuf:"varint,5,opt,name=blockTime,proto3" json:"blockTime,omitempty"` - WaitTime int64 `protobuf:"varint,6,opt,name=waitTime,proto3" json:"waitTime,omitempty"` - StackTrace string `protobuf:"bytes,7,opt,name=stackTrace,proto3" json:"stackTrace,omitempty"` + MsgType PBFTMessage_MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=protocol.PBFTMessage_MsgType" json:"msg_type,omitempty"` + DataType PBFTMessage_DataType `protobuf:"varint,2,opt,name=data_type,json=dataType,proto3,enum=protocol.PBFTMessage_DataType" json:"data_type,omitempty"` + ViewN int64 `protobuf:"varint,3,opt,name=view_n,json=viewN,proto3" json:"view_n,omitempty"` + Epoch int64 `protobuf:"varint,4,opt,name=epoch,proto3" json:"epoch,omitempty"` + Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` } -func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) Reset() { - *x = NodeInfo_MachineInfo_DeadLockThreadInfo{} +func (x *PBFTMessage_Raw) Reset() { + *x = PBFTMessage_Raw{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[58] + mi := &file_core_Tron_proto_msgTypes[85] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) String() string { +func (x *PBFTMessage_Raw) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NodeInfo_MachineInfo_DeadLockThreadInfo) ProtoMessage() {} +func (*PBFTMessage_Raw) ProtoMessage() {} -func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[58] +func (x *PBFTMessage_Raw) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[85] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5079,58 +7433,44 @@ func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) ProtoReflect() protoreflect.Me return mi.MessageOf(x) } -// Deprecated: Use NodeInfo_MachineInfo_DeadLockThreadInfo.ProtoReflect.Descriptor instead. -func (*NodeInfo_MachineInfo_DeadLockThreadInfo) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{32, 3, 1} -} - -func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetLockName() string { - if x != nil { - return x.LockName - } - return "" +// Deprecated: Use PBFTMessage_Raw.ProtoReflect.Descriptor instead. +func (*PBFTMessage_Raw) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{43, 0} } -func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetLockOwner() string { +func (x *PBFTMessage_Raw) GetMsgType() PBFTMessage_MsgType { if x != nil { - return x.LockOwner + return x.MsgType } - return "" + return PBFTMessage_VIEW_CHANGE } -func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetState() string { +func (x *PBFTMessage_Raw) GetDataType() PBFTMessage_DataType { if x != nil { - return x.State + return x.DataType } - return "" + return PBFTMessage_BLOCK } -func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetBlockTime() int64 { +func (x *PBFTMessage_Raw) GetViewN() int64 { if x != nil { - return x.BlockTime + return x.ViewN } return 0 } -func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetWaitTime() int64 { +func (x *PBFTMessage_Raw) GetEpoch() int64 { if x != nil { - return x.WaitTime + return x.Epoch } return 0 } -func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetStackTrace() string { +func (x *PBFTMessage_Raw) GetData() []byte { if x != nil { - return x.StackTrace + return x.Data } - return "" + return nil } var File_core_Tron_proto protoreflect.FileDescriptor @@ -5140,996 +7480,1423 @@ var file_core_Tron_proto_rawDesc = []byte{ 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x44, 0x69, 0x73, - 0x63, 0x6f, 0x76, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39, 0x0a, 0x09, 0x41, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x48, 0x0a, 0x04, 0x56, 0x6f, 0x74, 0x65, 0x12, 0x21, - 0x0a, 0x0c, 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x76, 0x6f, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x76, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, - 0x22, 0xb4, 0x03, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x1f, 0x0a, - 0x0b, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x29, - 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, - 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x42, 0x0a, 0x0a, 0x70, 0x61, 0x72, - 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, - 0x6c, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x27, 0x0a, - 0x0f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x70, 0x70, 0x72, 0x6f, - 0x76, 0x61, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x61, 0x70, 0x70, 0x72, - 0x6f, 0x76, 0x61, 0x6c, 0x73, 0x12, 0x2e, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, - 0x73, 0x74, 0x61, 0x74, 0x65, 0x1a, 0x3d, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, - 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x3a, 0x02, 0x38, 0x01, 0x22, 0x41, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, - 0x07, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x44, 0x49, - 0x53, 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x41, - 0x50, 0x50, 0x52, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x41, 0x4e, - 0x43, 0x45, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x22, 0xa5, 0x02, 0x0a, 0x08, 0x45, 0x78, 0x63, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x63, 0x68, 0x61, - 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, - 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, - 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, - 0x24, 0x0a, 0x0e, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, - 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x66, 0x69, 0x72, 0x73, 0x74, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x74, - 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x11, 0x66, 0x69, 0x72, 0x73, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, - 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, - 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x30, 0x0a, - 0x14, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x62, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x73, 0x65, 0x63, - 0x6f, 0x6e, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22, - 0x9d, 0x01, 0x0a, 0x0f, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, - 0x65, 0x72, 0x73, 0x12, 0x50, 0x0a, 0x0e, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x65, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x0e, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x65, 0x74, 0x65, 0x72, 0x1a, 0x38, 0x0a, 0x0e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, - 0xb0, 0x16, 0x0a, 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x61, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x29, - 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, - 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x24, 0x0a, - 0x05, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x52, 0x05, 0x76, 0x6f, - 0x74, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, 0x06, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x52, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x38, 0x0a, 0x07, 0x61, 0x73, 0x73, 0x65, 0x74, - 0x56, 0x32, 0x18, 0x38, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x41, 0x73, 0x73, 0x65, - 0x74, 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x61, 0x73, 0x73, 0x65, 0x74, 0x56, - 0x32, 0x12, 0x30, 0x0a, 0x06, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x18, 0x07, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x52, 0x06, 0x66, 0x72, 0x6f, - 0x7a, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x65, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, - 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, - 0x12, 0x63, 0x0a, 0x2f, 0x61, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x6c, - 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x64, 0x77, 0x69, - 0x64, 0x74, 0x68, 0x18, 0x29, 0x20, 0x01, 0x28, 0x03, 0x52, 0x2a, 0x61, 0x63, 0x71, 0x75, 0x69, - 0x72, 0x65, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, - 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x42, 0x61, 0x6e, 0x64, - 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x52, 0x0a, 0x26, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, - 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, - 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, - 0x2a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x22, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, - 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, - 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x6c, 0x61, - 0x74, 0x65, 0x73, 0x74, 0x5f, 0x6f, 0x70, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, - 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, - 0x4f, 0x70, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, - 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x09, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x6c, 0x61, - 0x74, 0x65, 0x73, 0x74, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x5f, 0x74, 0x69, - 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, - 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, - 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, - 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x18, 0x0e, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, - 0x21, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x18, - 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, - 0x65, 0x65, 0x12, 0x3d, 0x0a, 0x0d, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x73, 0x75, 0x70, - 0x70, 0x6c, 0x79, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x46, 0x72, 0x6f, - 0x7a, 0x65, 0x6e, 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x53, 0x75, 0x70, 0x70, 0x6c, - 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, - 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x61, 0x73, - 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, - 0x0f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x64, 0x5f, 0x49, 0x44, - 0x18, 0x39, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, - 0x75, 0x65, 0x64, 0x49, 0x44, 0x12, 0x6e, 0x0a, 0x1b, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, - 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, - 0x74, 0x69, 0x6d, 0x65, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x4c, 0x61, - 0x74, 0x65, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x18, 0x6c, 0x61, 0x74, + 0x63, 0x6f, 0x76, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x63, 0x6f, 0x72, + 0x65, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39, + 0x0a, 0x09, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x48, 0x0a, 0x04, 0x56, 0x6f, 0x74, + 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x76, 0x6f, 0x74, 0x65, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x76, 0x6f, 0x74, 0x65, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x22, 0xb4, 0x03, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, + 0x64, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x70, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x42, 0x0a, 0x0a, + 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, + 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x65, 0x78, 0x70, 0x69, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x70, + 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x61, + 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x73, 0x12, 0x2e, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x2e, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x1a, 0x3d, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x41, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x0f, 0x0a, + 0x0b, 0x44, 0x49, 0x53, 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, + 0x0a, 0x08, 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, + 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x22, 0xa5, 0x02, 0x0a, 0x08, 0x45, + 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x63, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, + 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, + 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x66, 0x69, 0x72, 0x73, + 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x66, 0x69, 0x72, 0x73, + 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x66, 0x69, 0x72, 0x73, 0x74, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x65, 0x63, 0x6f, + 0x6e, 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x0d, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, + 0x12, 0x30, 0x0a, 0x14, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, + 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x22, 0x98, 0x04, 0x0a, 0x0b, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, + 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x23, 0x0a, + 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, + 0x69, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x65, 0x6c, 0x6c, + 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x65, 0x6c, 0x6c, 0x5f, + 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x51, + 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x20, 0x0a, 0x0c, 0x62, 0x75, 0x79, 0x5f, 0x74, + 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x62, + 0x75, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x62, 0x75, 0x79, + 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x62, 0x75, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x51, + 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x3b, 0x0a, 0x1a, 0x73, 0x65, 0x6c, 0x6c, 0x5f, + 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x72, + 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x73, 0x65, 0x6c, + 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, + 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x3b, 0x0a, 0x1a, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x65, 0x74, 0x75, + 0x72, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, + 0x6b, 0x65, 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x74, 0x75, 0x72, + 0x6e, 0x12, 0x31, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, + 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x72, 0x65, 0x76, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x04, 0x70, 0x72, 0x65, 0x76, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x65, 0x78, 0x74, + 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x65, 0x78, 0x74, 0x22, 0x2f, 0x0a, 0x05, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, + 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4e, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, + 0x0c, 0x0a, 0x08, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x22, 0x40, 0x0a, + 0x0f, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x2d, 0x0a, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, + 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x22, + 0x4e, 0x0a, 0x13, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, + 0x69, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x50, + 0x61, 0x69, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, + 0x50, 0x61, 0x69, 0x72, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x22, + 0x57, 0x0a, 0x0f, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, + 0x69, 0x72, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x65, 0x6c, 0x6c, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0c, 0x62, 0x75, 0x79, 0x5f, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x62, 0x75, + 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x22, 0x88, 0x01, 0x0a, 0x12, 0x4d, 0x61, 0x72, + 0x6b, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, + 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0c, 0x52, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x14, 0x0a, 0x05, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x22, 0x6b, 0x0a, 0x0b, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, + 0x63, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x11, 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x62, 0x75, 0x79, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, + 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, + 0x62, 0x75, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x22, 0x86, 0x01, 0x0a, 0x0f, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x65, 0x6c, + 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0c, 0x62, 0x75, 0x79, 0x5f, + 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, + 0x62, 0x75, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x06, 0x70, 0x72, + 0x69, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, + 0x65, 0x52, 0x06, 0x70, 0x72, 0x69, 0x63, 0x65, 0x73, 0x22, 0x3b, 0x0a, 0x11, 0x4d, 0x61, 0x72, + 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x12, + 0x0a, 0x04, 0x68, 0x65, 0x61, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x65, + 0x61, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x04, 0x74, 0x61, 0x69, 0x6c, 0x22, 0x9d, 0x01, 0x0a, 0x0f, 0x43, 0x68, 0x61, 0x69, 0x6e, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x50, 0x0a, 0x0e, 0x63, 0x68, + 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x68, + 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x43, 0x68, + 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x0e, 0x63, 0x68, + 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x1a, 0x38, 0x0a, 0x0e, + 0x43, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xe0, 0x1d, 0x0a, 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, + 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x61, 0x6c, + 0x61, 0x6e, 0x63, 0x65, 0x12, 0x24, 0x0a, 0x05, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, + 0x6f, 0x74, 0x65, 0x52, 0x05, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x05, 0x61, 0x73, + 0x73, 0x65, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x41, 0x73, 0x73, + 0x65, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x38, + 0x0a, 0x07, 0x61, 0x73, 0x73, 0x65, 0x74, 0x56, 0x32, 0x18, 0x38, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x07, 0x61, 0x73, 0x73, 0x65, 0x74, 0x56, 0x32, 0x12, 0x30, 0x0a, 0x06, 0x66, 0x72, 0x6f, 0x7a, + 0x65, 0x6e, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x46, 0x72, 0x6f, 0x7a, + 0x65, 0x6e, 0x52, 0x06, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x65, + 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6e, + 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x63, 0x0a, 0x2f, 0x61, 0x63, 0x71, 0x75, 0x69, + 0x72, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x72, + 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, + 0x5f, 0x62, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x29, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x2a, 0x61, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, + 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, + 0x46, 0x6f, 0x72, 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x52, 0x0a, 0x26, + 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, + 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x62, 0x61, 0x6e, + 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x2a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x22, 0x64, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, + 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, + 0x12, 0x24, 0x0a, 0x0e, 0x6f, 0x6c, 0x64, 0x5f, 0x74, 0x72, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x77, + 0x65, 0x72, 0x18, 0x2e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6f, 0x6c, 0x64, 0x54, 0x72, 0x6f, + 0x6e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x37, 0x0a, 0x0a, 0x74, 0x72, 0x6f, 0x6e, 0x5f, 0x70, + 0x6f, 0x77, 0x65, 0x72, 0x18, 0x2f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x46, 0x72, + 0x6f, 0x7a, 0x65, 0x6e, 0x52, 0x09, 0x74, 0x72, 0x6f, 0x6e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x12, + 0x27, 0x0a, 0x0f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, + 0x65, 0x64, 0x18, 0x3c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4f, + 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x6c, 0x61, 0x74, + 0x65, 0x73, 0x74, 0x5f, 0x6f, 0x70, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x4f, + 0x70, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, + 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, + 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x6c, 0x61, 0x74, + 0x65, 0x73, 0x74, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x57, + 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, + 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x18, 0x0e, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x21, + 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x18, 0x0f, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, + 0x65, 0x12, 0x3d, 0x0a, 0x0d, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x73, 0x75, 0x70, 0x70, + 0x6c, 0x79, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x46, 0x72, 0x6f, 0x7a, + 0x65, 0x6e, 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, + 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x64, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x61, 0x73, 0x73, + 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, + 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x64, 0x5f, 0x49, 0x44, 0x18, + 0x39, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, + 0x65, 0x64, 0x49, 0x44, 0x12, 0x6e, 0x0a, 0x1b, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x61, + 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x74, 0x0a, 0x1d, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, - 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, - 0x74, 0x69, 0x6d, 0x65, 0x56, 0x32, 0x18, 0x3a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, - 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, - 0x1a, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x32, 0x12, 0x24, 0x0a, 0x0e, 0x66, - 0x72, 0x65, 0x65, 0x5f, 0x6e, 0x65, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x13, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0c, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, - 0x65, 0x12, 0x59, 0x0a, 0x14, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, - 0x6e, 0x65, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x28, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x2e, 0x46, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, - 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x66, 0x72, 0x65, 0x65, 0x41, - 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x5f, 0x0a, 0x16, - 0x66, 0x72, 0x65, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x65, 0x74, 0x5f, 0x75, - 0x73, 0x61, 0x67, 0x65, 0x56, 0x32, 0x18, 0x3b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, - 0x46, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, - 0x65, 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x66, 0x72, 0x65, 0x65, 0x41, 0x73, - 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x56, 0x32, 0x12, 0x2e, 0x0a, - 0x13, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x5f, - 0x74, 0x69, 0x6d, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x6c, 0x61, 0x74, 0x65, - 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x37, 0x0a, - 0x18, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x5f, - 0x66, 0x72, 0x65, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x15, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x46, 0x72, - 0x65, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x5f, 0x69, 0x64, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x4c, 0x0a, 0x10, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x52, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x64, 0x65, 0x48, 0x61, 0x73, 0x68, 0x18, - 0x1e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x63, 0x6f, 0x64, 0x65, 0x48, 0x61, 0x73, 0x68, 0x12, - 0x3f, 0x0a, 0x10, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, - 0x0f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x12, 0x43, 0x0a, 0x12, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x6d, - 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x52, 0x11, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x50, 0x65, 0x72, 0x6d, 0x69, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x11, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, - 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x21, 0x20, 0x03, 0x28, 0x0b, + 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x18, 0x6c, 0x61, 0x74, 0x65, + 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x74, 0x0a, 0x1d, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x61, + 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x56, 0x32, 0x18, 0x3a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x4c, + 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x1a, + 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x32, 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x72, + 0x65, 0x65, 0x5f, 0x6e, 0x65, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x13, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0c, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, + 0x12, 0x59, 0x0a, 0x14, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6e, + 0x65, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x2e, 0x46, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, + 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x66, 0x72, 0x65, 0x65, 0x41, 0x73, + 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x5f, 0x0a, 0x16, 0x66, + 0x72, 0x65, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x65, 0x74, 0x5f, 0x75, 0x73, + 0x61, 0x67, 0x65, 0x56, 0x32, 0x18, 0x3b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x46, + 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, + 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x66, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, + 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x56, 0x32, 0x12, 0x2e, 0x0a, 0x13, + 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x6c, 0x61, 0x74, 0x65, 0x73, + 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x18, + 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x5f, 0x66, + 0x72, 0x65, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x15, + 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x46, 0x72, 0x65, + 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x74, 0x5f, 0x77, 0x69, 0x6e, 0x64, + 0x6f, 0x77, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6e, + 0x65, 0x74, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x4c, 0x0a, 0x10, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, + 0x64, 0x65, 0x48, 0x61, 0x73, 0x68, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x63, 0x6f, + 0x64, 0x65, 0x48, 0x61, 0x73, 0x68, 0x12, 0x3f, 0x0a, 0x10, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, + 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, - 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x50, 0x65, - 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0x50, 0x0a, 0x06, 0x46, 0x72, 0x6f, 0x7a, - 0x65, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, - 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x66, 0x72, 0x6f, 0x7a, - 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x70, - 0x69, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, - 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x1a, 0x38, 0x0a, 0x0a, 0x41, 0x73, - 0x73, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3a, 0x0a, 0x0c, 0x41, 0x73, 0x73, 0x65, 0x74, 0x56, 0x32, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, - 0x1a, 0x4b, 0x0a, 0x1d, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4f, - 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4d, 0x0a, - 0x1f, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, - 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x44, 0x0a, 0x16, - 0x46, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, - 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x50, 0x65, 0x72, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x12, 0x77, 0x69, 0x74, 0x6e, 0x65, + 0x73, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x20, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, + 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x77, 0x69, 0x74, 0x6e, 0x65, + 0x73, 0x73, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x11, + 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x18, 0x21, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x61, + 0x63, 0x74, 0x69, 0x76, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x36, 0x0a, 0x08, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x18, 0x22, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x52, 0x08, 0x66, + 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x12, 0x3c, 0x0a, 0x0a, 0x75, 0x6e, 0x66, 0x72, 0x6f, + 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x18, 0x23, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x55, + 0x6e, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x52, 0x0a, 0x75, 0x6e, 0x66, 0x72, 0x6f, + 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x12, 0x56, 0x0a, 0x28, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, + 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x5f, 0x62, 0x61, 0x6c, 0x61, + 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, + 0x68, 0x18, 0x24, 0x20, 0x01, 0x28, 0x03, 0x52, 0x24, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, + 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x46, 0x6f, 0x72, 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x67, 0x0a, + 0x31, 0x61, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, + 0x74, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x5f, 0x62, 0x61, 0x6c, + 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, + 0x74, 0x68, 0x18, 0x25, 0x20, 0x01, 0x28, 0x03, 0x52, 0x2c, 0x61, 0x63, 0x71, 0x75, 0x69, 0x72, + 0x65, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, 0x65, + 0x6e, 0x56, 0x32, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x42, 0x61, 0x6e, + 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x1a, 0x50, 0x0a, 0x06, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, + 0x12, 0x25, 0x0a, 0x0e, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, + 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72, + 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, + 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x1a, 0x38, 0x0a, 0x0a, 0x41, 0x73, 0x73, 0x65, + 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, - 0x38, 0x01, 0x1a, 0x46, 0x0a, 0x18, 0x46, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, - 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x38, 0x01, 0x1a, 0x3a, 0x0a, 0x0c, 0x41, 0x73, 0x73, 0x65, 0x74, 0x56, 0x32, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4b, + 0x0a, 0x1d, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4d, 0x0a, 0x1f, 0x4c, + 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x85, 0x04, 0x0a, 0x0f, 0x41, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x21, - 0x0a, 0x0c, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, 0x61, 0x67, - 0x65, 0x12, 0x53, 0x0a, 0x19, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, - 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x52, 0x16, - 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, - 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x42, 0x0a, 0x1e, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, - 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x6f, - 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1a, - 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x54, 0x69, 0x6d, - 0x65, 0x46, 0x6f, 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x5d, 0x0a, 0x2c, 0x61, 0x63, - 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, - 0x5f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, - 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x27, 0x61, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, - 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, - 0x46, 0x6f, 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x4c, 0x0a, 0x23, 0x64, 0x65, 0x6c, - 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x44, 0x0a, 0x16, 0x46, 0x72, + 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x1a, 0x46, 0x0a, 0x18, 0x46, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, + 0x55, 0x73, 0x61, 0x67, 0x65, 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0xe8, 0x05, 0x0a, 0x0f, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, + 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0b, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, + 0x53, 0x0a, 0x19, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x52, 0x16, 0x66, 0x72, + 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x45, 0x6e, + 0x65, 0x72, 0x67, 0x79, 0x12, 0x42, 0x0a, 0x1e, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x63, + 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, + 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1a, 0x6c, 0x61, + 0x74, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x46, + 0x6f, 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x5d, 0x0a, 0x2c, 0x61, 0x63, 0x71, 0x75, + 0x69, 0x72, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, + 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6f, + 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x27, + 0x61, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, - 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x6f, 0x72, 0x61, - 0x67, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, - 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x23, 0x0a, 0x0d, - 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x55, 0x73, 0x61, 0x67, - 0x65, 0x12, 0x3f, 0x0a, 0x1c, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x69, 0x6d, - 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x19, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x45, - 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x69, - 0x6d, 0x65, 0x22, 0x37, 0x0a, 0x03, 0x4b, 0x65, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0xa3, 0x02, 0x0a, 0x11, - 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x3f, 0x0a, 0x1c, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, - 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x64, - 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x19, 0x66, 0x72, 0x6f, - 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x42, 0x61, 0x6e, - 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x39, 0x0a, 0x19, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, - 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, - 0x72, 0x67, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x66, 0x72, 0x6f, 0x7a, 0x65, - 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, - 0x79, 0x12, 0x39, 0x0a, 0x19, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, - 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, - 0x46, 0x6f, 0x72, 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x33, 0x0a, 0x16, - 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, - 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x65, 0x78, - 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, - 0x79, 0x22, 0x63, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x2d, - 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x49, 0x64, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x27, 0x0a, - 0x0f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xb2, 0x02, 0x0a, 0x0a, 0x50, 0x65, 0x72, 0x6d, 0x69, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, - 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0e, - 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x27, - 0x0a, 0x0f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, - 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x68, 0x72, 0x65, - 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, - 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, - 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x0d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4b, 0x65, 0x79, 0x52, - 0x04, 0x6b, 0x65, 0x79, 0x73, 0x22, 0x34, 0x0a, 0x0e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x4f, 0x77, 0x6e, 0x65, 0x72, - 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x10, 0x01, 0x12, - 0x0a, 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x10, 0x02, 0x22, 0x99, 0x02, 0x0a, 0x07, - 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x76, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x76, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, - 0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x06, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x24, 0x0a, 0x0d, 0x74, 0x6f, 0x74, - 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x64, 0x12, - 0x20, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x69, 0x73, 0x73, 0x65, - 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x4e, 0x75, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x6c, 0x61, 0x74, 0x65, 0x73, - 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x24, 0x0a, 0x0d, 0x6c, 0x61, 0x74, - 0x65, 0x73, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x4e, 0x75, 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0d, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x4e, 0x75, 0x6d, 0x12, - 0x16, 0x0a, 0x06, 0x69, 0x73, 0x4a, 0x6f, 0x62, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x06, 0x69, 0x73, 0x4a, 0x6f, 0x62, 0x73, 0x22, 0x7b, 0x0a, 0x05, 0x56, 0x6f, 0x74, 0x65, 0x73, + 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x4c, 0x0a, 0x23, 0x64, 0x65, 0x6c, 0x65, 0x67, + 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, + 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x1f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x46, + 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x45, + 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, + 0x3f, 0x0a, 0x1c, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x19, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x45, 0x78, 0x63, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x69, 0x6d, 0x65, + 0x12, 0x2c, 0x0a, 0x12, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, + 0x77, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x65, 0x6e, + 0x65, 0x72, 0x67, 0x79, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x50, + 0x0a, 0x25, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x7a, + 0x65, 0x6e, 0x56, 0x32, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, + 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x21, 0x64, + 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, + 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, + 0x12, 0x61, 0x0a, 0x2e, 0x61, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x6c, + 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x5f, + 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, + 0x67, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x29, 0x61, 0x63, 0x71, 0x75, 0x69, 0x72, + 0x65, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, 0x65, + 0x6e, 0x56, 0x32, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x45, 0x6e, 0x65, + 0x72, 0x67, 0x79, 0x1a, 0x4e, 0x0a, 0x08, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x12, + 0x2a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, + 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x61, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x1a, 0x93, 0x01, 0x0a, 0x0a, 0x55, 0x6e, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, + 0x56, 0x32, 0x12, 0x2a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x27, + 0x0a, 0x0f, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, + 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x75, 0x6e, 0x66, 0x72, 0x65, + 0x65, 0x7a, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x45, + 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x37, 0x0a, 0x03, 0x4b, 0x65, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2b, 0x0a, 0x09, 0x6f, 0x6c, - 0x64, 0x5f, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x52, 0x08, 0x6f, - 0x6c, 0x64, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x2b, 0x0a, 0x09, 0x6e, 0x65, 0x77, 0x5f, 0x76, - 0x6f, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x56, - 0x6f, 0x74, 0x65, 0x73, 0x22, 0x40, 0x0a, 0x08, 0x54, 0x58, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, - 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, - 0x48, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x75, 0x62, 0x4b, - 0x65, 0x79, 0x48, 0x61, 0x73, 0x68, 0x22, 0xa0, 0x01, 0x0a, 0x07, 0x54, 0x58, 0x49, 0x6e, 0x70, - 0x75, 0x74, 0x12, 0x30, 0x0a, 0x08, 0x72, 0x61, 0x77, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x54, 0x58, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x2e, 0x72, 0x61, 0x77, 0x52, 0x07, 0x72, 0x61, 0x77, - 0x44, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, - 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, - 0x72, 0x65, 0x1a, 0x45, 0x0a, 0x03, 0x72, 0x61, 0x77, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x49, - 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x49, 0x44, 0x12, 0x12, 0x0a, - 0x04, 0x76, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x76, 0x6f, 0x75, - 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x06, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x22, 0x39, 0x0a, 0x09, 0x54, 0x58, 0x4f, - 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x2c, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x54, 0x58, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x07, 0x6f, 0x75, 0x74, - 0x70, 0x75, 0x74, 0x73, 0x22, 0xac, 0x02, 0x0a, 0x0f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x6e, 0x65, 0x72, - 0x67, 0x79, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, - 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x65, - 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x09, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x46, 0x65, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x6f, 0x72, - 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x75, 0x73, 0x61, 0x67, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x45, - 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x65, 0x6e, - 0x65, 0x72, 0x67, 0x79, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, - 0x61, 0x67, 0x65, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x65, 0x74, 0x5f, - 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6e, 0x65, 0x74, - 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x5f, 0x66, 0x65, 0x65, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x65, 0x74, 0x46, 0x65, 0x65, 0x12, 0x43, - 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x63, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x22, 0x80, 0x14, 0x0a, 0x0b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x08, 0x72, 0x61, 0x77, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x72, 0x61, 0x77, - 0x52, 0x07, 0x72, 0x61, 0x77, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, - 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, - 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x2e, 0x0a, 0x03, 0x72, 0x65, 0x74, 0x18, 0x05, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x52, 0x03, 0x72, 0x65, 0x74, 0x1a, 0xf4, 0x08, 0x0a, 0x08, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x12, 0x3f, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x32, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, - 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x09, - 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, - 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, - 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x50, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x0c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x8d, - 0x07, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x19, 0x0a, 0x15, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x01, - 0x12, 0x19, 0x0a, 0x15, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, - 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x56, - 0x6f, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x10, 0x03, 0x12, 0x17, 0x0a, 0x13, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, - 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x04, 0x12, 0x19, 0x0a, 0x15, 0x57, - 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x10, 0x05, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, - 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x06, 0x12, 0x19, - 0x0a, 0x15, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x08, 0x12, 0x21, 0x0a, 0x1d, 0x50, 0x61, 0x72, - 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, - 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x09, 0x12, 0x19, 0x0a, 0x15, - 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x0a, 0x12, 0x19, 0x0a, 0x15, 0x46, 0x72, 0x65, 0x65, 0x7a, - 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x10, 0x0b, 0x12, 0x1b, 0x0a, 0x17, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x0c, 0x12, - 0x1b, 0x0a, 0x17, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, - 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x0d, 0x12, 0x19, 0x0a, 0x15, - 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x0e, 0x12, 0x17, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x0f, - 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x10, 0x12, 0x1b, 0x0a, 0x17, - 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x11, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x72, 0x6f, - 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x10, 0x12, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x49, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x13, 0x12, - 0x12, 0x0a, 0x0e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x10, 0x14, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x6d, 0x61, - 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x1e, 0x12, 0x18, 0x0a, 0x14, - 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x10, 0x1f, 0x12, 0x0f, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x20, 0x12, 0x19, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x10, 0x21, 0x12, 0x1a, 0x0a, 0x16, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x29, 0x12, 0x1a, - 0x0a, 0x16, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x2a, 0x12, 0x1c, 0x0a, 0x18, 0x45, 0x78, - 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x2b, 0x12, 0x1f, 0x0a, 0x1b, 0x45, 0x78, 0x63, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x2c, 0x12, 0x1d, 0x0a, 0x19, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x2d, 0x12, 0x23, 0x0a, 0x1f, 0x41, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x2e, 0x12, 0x14, 0x0a, - 0x10, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x41, 0x42, 0x49, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x10, 0x30, 0x12, 0x1b, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x72, 0x6f, - 0x6b, 0x65, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x31, - 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x66, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x33, 0x1a, 0x8b, - 0x07, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x65, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x66, 0x65, 0x65, 0x12, 0x33, 0x0a, 0x03, 0x72, - 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x52, 0x03, 0x72, 0x65, 0x74, - 0x12, 0x4d, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x74, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, + 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x22, 0xa3, 0x02, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, + 0x74, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x3f, 0x0a, 0x1c, + 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, + 0x6f, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x19, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x46, 0x6f, 0x72, 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x39, 0x0a, + 0x19, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, + 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x16, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, + 0x6f, 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x39, 0x0a, 0x19, 0x65, 0x78, 0x70, 0x69, + 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x64, + 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x65, 0x78, 0x70, + 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, + 0x64, 0x74, 0x68, 0x12, 0x33, 0x0a, 0x16, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x13, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x46, + 0x6f, 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x22, 0x63, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x2d, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x52, 0x07, 0x61, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x70, + 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xb2, 0x02, + 0x0a, 0x0a, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, + 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, + 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x1b, 0x0a, 0x09, + 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x6f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x04, 0x6b, 0x65, 0x79, + 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x4b, 0x65, 0x79, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x22, 0x34, 0x0a, 0x0e, + 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x09, + 0x0a, 0x05, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x69, 0x74, + 0x6e, 0x65, 0x73, 0x73, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x10, 0x02, 0x22, 0x99, 0x02, 0x0a, 0x07, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x18, + 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x76, 0x6f, 0x74, 0x65, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x76, 0x6f, 0x74, + 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, + 0x12, 0x24, 0x0a, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, + 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x72, + 0x6f, 0x64, 0x75, 0x63, 0x65, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4d, + 0x69, 0x73, 0x73, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, 0x6f, 0x74, + 0x61, 0x6c, 0x4d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x6c, 0x61, 0x74, 0x65, + 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0e, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, + 0x12, 0x24, 0x0a, 0x0d, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x4e, 0x75, + 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x53, + 0x6c, 0x6f, 0x74, 0x4e, 0x75, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x4a, 0x6f, 0x62, 0x73, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4a, 0x6f, 0x62, 0x73, 0x22, 0x7b, + 0x0a, 0x05, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x2b, 0x0a, 0x09, 0x6f, 0x6c, 0x64, 0x5f, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x56, 0x6f, 0x74, 0x65, 0x52, 0x08, 0x6f, 0x6c, 0x64, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x2b, + 0x0a, 0x09, 0x6e, 0x65, 0x77, 0x5f, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x74, + 0x65, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x22, 0x40, 0x0a, 0x08, 0x54, + 0x58, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1e, 0x0a, + 0x0a, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x48, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x0a, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x48, 0x61, 0x73, 0x68, 0x22, 0xa0, 0x01, + 0x0a, 0x07, 0x54, 0x58, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x30, 0x0a, 0x08, 0x72, 0x61, 0x77, + 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x58, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x2e, 0x72, + 0x61, 0x77, 0x52, 0x07, 0x72, 0x61, 0x77, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x73, + 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, + 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x1a, 0x45, 0x0a, 0x03, 0x72, 0x61, 0x77, + 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, + 0x74, 0x78, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x76, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x04, 0x76, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x4b, + 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, + 0x22, 0x39, 0x0a, 0x09, 0x54, 0x58, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x2c, 0x0a, + 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x58, 0x4f, 0x75, 0x74, 0x70, + 0x75, 0x74, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x22, 0xde, 0x02, 0x0a, 0x0f, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x12, + 0x21, 0x0a, 0x0c, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, 0x61, + 0x67, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x66, 0x65, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x46, 0x65, + 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x65, 0x6e, 0x65, 0x72, + 0x67, 0x79, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, + 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, 0x61, 0x67, + 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x75, 0x73, 0x61, 0x67, + 0x65, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x65, + 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x12, + 0x1b, 0x0a, 0x09, 0x6e, 0x65, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x08, 0x6e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x17, 0x0a, 0x07, + 0x6e, 0x65, 0x74, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, + 0x65, 0x74, 0x46, 0x65, 0x65, 0x12, 0x43, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x74, 0x12, - 0x22, 0x0a, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x49, 0x44, 0x18, - 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, - 0x65, 0x49, 0x44, 0x12, 0x27, 0x0a, 0x0f, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x5f, - 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x77, 0x69, - 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0f, - 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, - 0x10, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, - 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x38, 0x0a, 0x18, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, - 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, - 0x74, 0x18, 0x12, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, - 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, - 0x43, 0x0a, 0x1e, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x6a, 0x65, - 0x63, 0x74, 0x5f, 0x61, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, - 0x74, 0x18, 0x13, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1b, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, - 0x65, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x41, 0x6d, - 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x20, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x5f, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x5f, 0x61, 0x6e, 0x6f, 0x74, 0x68, 0x65, - 0x72, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1d, - 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, - 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, - 0x0b, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x15, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x38, - 0x0a, 0x18, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x16, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x65, 0x65, 0x22, 0x1e, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, - 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x55, 0x43, 0x45, 0x53, 0x53, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, - 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x22, 0xb1, 0x02, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x0b, 0x0a, 0x07, 0x44, - 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x43, 0x43, - 0x45, 0x53, 0x53, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x45, 0x56, 0x45, 0x52, 0x54, 0x10, - 0x02, 0x12, 0x18, 0x0a, 0x14, 0x42, 0x41, 0x44, 0x5f, 0x4a, 0x55, 0x4d, 0x50, 0x5f, 0x44, 0x45, - 0x53, 0x54, 0x49, 0x4e, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x4f, - 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x4d, 0x45, 0x4d, 0x4f, 0x52, 0x59, 0x10, 0x04, 0x12, 0x18, - 0x0a, 0x14, 0x50, 0x52, 0x45, 0x43, 0x4f, 0x4d, 0x50, 0x49, 0x4c, 0x45, 0x44, 0x5f, 0x43, 0x4f, - 0x4e, 0x54, 0x52, 0x41, 0x43, 0x54, 0x10, 0x05, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x54, 0x41, 0x43, - 0x4b, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 0x53, 0x4d, 0x41, 0x4c, 0x4c, 0x10, 0x06, 0x12, 0x13, 0x0a, - 0x0f, 0x53, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 0x4c, 0x41, 0x52, 0x47, 0x45, - 0x10, 0x07, 0x12, 0x15, 0x0a, 0x11, 0x49, 0x4c, 0x4c, 0x45, 0x47, 0x41, 0x4c, 0x5f, 0x4f, 0x50, - 0x45, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x08, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, - 0x43, 0x4b, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x46, 0x4c, 0x4f, 0x57, 0x10, 0x09, 0x12, 0x11, 0x0a, - 0x0d, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x45, 0x4e, 0x45, 0x52, 0x47, 0x59, 0x10, 0x0a, - 0x12, 0x0f, 0x0a, 0x0b, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, - 0x0b, 0x12, 0x17, 0x0a, 0x13, 0x4a, 0x56, 0x4d, 0x5f, 0x53, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x4f, - 0x56, 0x45, 0x52, 0x5f, 0x46, 0x4c, 0x4f, 0x57, 0x10, 0x0c, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, - 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x0d, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x52, 0x41, 0x4e, 0x53, - 0x46, 0x45, 0x52, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0e, 0x1a, 0xe7, 0x02, 0x0a, - 0x03, 0x72, 0x61, 0x77, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x65, 0x66, 0x5f, 0x62, 0x6c, 0x6f, 0x63, - 0x6b, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x72, - 0x65, 0x66, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x22, 0x0a, 0x0d, - 0x72, 0x65, 0x66, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0b, 0x72, 0x65, 0x66, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, - 0x12, 0x24, 0x0a, 0x0e, 0x72, 0x65, 0x66, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x61, - 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x05, 0x61, 0x75, 0x74, 0x68, 0x73, 0x18, - 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, 0x05, 0x61, 0x75, 0x74, 0x68, - 0x73, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x73, 0x18, 0x0c, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x07, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x74, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, - 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x65, 0x65, - 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x12, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x65, - 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0xe8, 0x07, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x65, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x66, 0x65, 0x65, 0x12, 0x20, 0x0a, 0x0b, - 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x26, - 0x0a, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x6d, 0x70, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, - 0x65, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0e, - 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x29, - 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x33, 0x0a, 0x07, 0x72, 0x65, 0x63, - 0x65, 0x69, 0x70, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, - 0x63, 0x65, 0x69, 0x70, 0x74, 0x52, 0x07, 0x72, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x12, 0x2f, - 0x0a, 0x03, 0x6c, 0x6f, 0x67, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x03, 0x6c, 0x6f, 0x67, 0x12, - 0x36, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x52, - 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x73, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x72, 0x65, 0x73, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, - 0x49, 0x73, 0x73, 0x75, 0x65, 0x49, 0x44, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, - 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x49, 0x44, 0x12, 0x27, 0x0a, 0x0f, 0x77, - 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0f, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x41, 0x6d, - 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, - 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, - 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x52, 0x0a, - 0x15, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x69, 0x6e, 0x74, - 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x12, 0x38, 0x0a, 0x18, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x65, - 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x12, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x16, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, - 0x65, 0x69, 0x76, 0x65, 0x64, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x43, 0x0a, 0x1e, 0x65, - 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x61, - 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x13, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x1b, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x6a, - 0x65, 0x63, 0x74, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, - 0x12, 0x47, 0x0a, 0x20, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x77, 0x69, 0x74, - 0x68, 0x64, 0x72, 0x61, 0x77, 0x5f, 0x61, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x61, 0x6d, - 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1d, 0x65, 0x78, 0x63, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x41, 0x6e, 0x6f, 0x74, - 0x68, 0x65, 0x72, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x63, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x15, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, - 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x38, 0x0a, 0x18, 0x73, 0x68, - 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x73, 0x68, - 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x46, 0x65, 0x65, 0x1a, 0x4b, 0x0a, 0x03, 0x4c, 0x6f, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x06, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x12, 0x12, 0x0a, - 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, - 0x61, 0x22, 0x1e, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x55, 0x43, - 0x45, 0x53, 0x53, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, - 0x01, 0x22, 0x9f, 0x01, 0x0a, 0x0e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, - 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, - 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x26, 0x0a, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, - 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, - 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x43, - 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x66, - 0x6f, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, - 0x66, 0x6f, 0x52, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x69, - 0x6e, 0x66, 0x6f, 0x22, 0x49, 0x0a, 0x0c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x12, 0x39, 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x65, 0x6e, + 0x65, 0x72, 0x67, 0x79, 0x5f, 0x70, 0x65, 0x6e, 0x61, 0x6c, 0x74, 0x79, 0x5f, 0x74, 0x6f, 0x74, + 0x61, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, + 0x50, 0x65, 0x6e, 0x61, 0x6c, 0x74, 0x79, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x22, 0xb1, 0x01, 0x0a, + 0x11, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x61, 0x6b, 0x65, 0x72, 0x4f, 0x72, 0x64, 0x65, 0x72, + 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6d, 0x61, 0x6b, 0x65, 0x72, 0x4f, + 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x4f, + 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x74, 0x61, + 0x6b, 0x65, 0x72, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x10, 0x66, 0x69, + 0x6c, 0x6c, 0x53, 0x65, 0x6c, 0x6c, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x66, 0x69, 0x6c, 0x6c, 0x53, 0x65, 0x6c, 0x6c, 0x51, 0x75, + 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x66, 0x69, 0x6c, 0x6c, 0x42, 0x75, + 0x79, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0f, 0x66, 0x69, 0x6c, 0x6c, 0x42, 0x75, 0x79, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x22, 0xfd, 0x16, 0x0a, 0x0b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x34, 0x0a, 0x08, 0x72, 0x61, 0x77, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x72, 0x61, 0x77, 0x52, 0x07, 0x72, + 0x61, 0x77, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, + 0x74, 0x75, 0x72, 0x65, 0x12, 0x2e, 0x0a, 0x03, 0x72, 0x65, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, + 0x03, 0x72, 0x65, 0x74, 0x1a, 0xce, 0x0a, 0x0a, 0x08, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x12, 0x3f, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x12, 0x32, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x09, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x4e, 0x61, + 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x50, + 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0xe7, 0x08, 0x0a, 0x0c, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x15, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x66, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x01, 0x12, 0x19, 0x0a, + 0x15, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x56, 0x6f, 0x74, 0x65, + 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x03, 0x12, + 0x17, 0x0a, 0x13, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x04, 0x12, 0x19, 0x0a, 0x15, 0x57, 0x69, 0x74, 0x6e, + 0x65, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x10, 0x05, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x06, 0x12, 0x19, 0x0a, 0x15, 0x57, + 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x10, 0x08, 0x12, 0x21, 0x0a, 0x1d, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, + 0x69, 0x70, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x09, 0x12, 0x19, 0x0a, 0x15, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x10, 0x0a, 0x12, 0x19, 0x0a, 0x15, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, + 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x0b, 0x12, + 0x1b, 0x0a, 0x17, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x0c, 0x12, 0x1b, 0x0a, 0x17, + 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x0d, 0x12, 0x19, 0x0a, 0x15, 0x55, 0x6e, 0x66, + 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x10, 0x0e, 0x12, 0x17, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x73, + 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x0f, 0x12, 0x1a, 0x0a, + 0x16, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x10, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x10, 0x11, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x10, 0x12, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x49, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x13, 0x12, 0x12, 0x0a, 0x0e, + 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x14, + 0x12, 0x17, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x1e, 0x12, 0x18, 0x0a, 0x14, 0x54, 0x72, 0x69, + 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x10, 0x1f, 0x12, 0x0f, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x10, 0x20, 0x12, 0x19, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, + 0x74, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x21, 0x12, + 0x1a, 0x0a, 0x16, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x29, 0x12, 0x1a, 0x0a, 0x16, 0x45, + 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x2a, 0x12, 0x1c, 0x0a, 0x18, 0x45, 0x78, 0x63, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x10, 0x2b, 0x12, 0x1f, 0x0a, 0x1b, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x10, 0x2c, 0x12, 0x1d, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x10, 0x2d, 0x12, 0x23, 0x0a, 0x1f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x2e, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x6c, + 0x65, 0x61, 0x72, 0x41, 0x42, 0x49, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x30, + 0x12, 0x1b, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, + 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x31, 0x12, 0x1c, 0x0a, + 0x18, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, + 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x33, 0x12, 0x1b, 0x0a, 0x17, 0x4d, + 0x61, 0x72, 0x6b, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x6c, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x34, 0x12, 0x1d, 0x0a, 0x19, 0x4d, 0x61, 0x72, 0x6b, + 0x65, 0x74, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x35, 0x12, 0x1b, 0x0a, 0x17, 0x46, 0x72, 0x65, 0x65, 0x7a, + 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x10, 0x36, 0x12, 0x1d, 0x0a, 0x19, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, + 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x10, 0x37, 0x12, 0x22, 0x0a, 0x1e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x45, + 0x78, 0x70, 0x69, 0x72, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x38, 0x12, 0x1c, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x67, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x10, 0x39, 0x12, 0x1e, 0x0a, 0x1a, 0x55, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x10, 0x3a, 0x1a, 0xae, 0x08, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x12, 0x10, 0x0a, 0x03, 0x66, 0x65, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x66, + 0x65, 0x65, 0x12, 0x33, 0x0a, 0x03, 0x72, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x63, 0x6f, + 0x64, 0x65, 0x52, 0x03, 0x72, 0x65, 0x74, 0x12, 0x4d, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x52, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x52, 0x65, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, + 0x73, 0x73, 0x75, 0x65, 0x49, 0x44, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x73, + 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x49, 0x44, 0x12, 0x27, 0x0a, 0x0f, 0x77, 0x69, + 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0e, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x41, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x5f, + 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, 0x6e, + 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x38, 0x0a, 0x18, + 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, + 0x64, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x12, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, + 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, + 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x43, 0x0a, 0x1e, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x6e, 0x6f, 0x74, 0x68, 0x65, + 0x72, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x13, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1b, + 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6e, + 0x6f, 0x74, 0x68, 0x65, 0x72, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x20, 0x65, + 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, + 0x5f, 0x61, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x14, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1d, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x57, + 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x41, 0x6d, + 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x15, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x63, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x38, 0x0a, 0x18, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, + 0x64, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x65, + 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, + 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x65, 0x65, 0x12, + 0x18, 0x0a, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x0c, 0x6f, 0x72, 0x64, + 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x1a, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, + 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x0c, 0x6f, 0x72, + 0x64, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x77, 0x69, + 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x61, 0x6d, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, 0x77, 0x69, 0x74, 0x68, + 0x64, 0x72, 0x61, 0x77, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x22, 0x1e, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x55, 0x43, 0x45, + 0x53, 0x53, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x01, + 0x22, 0xc3, 0x02, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x00, + 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x01, 0x12, 0x0a, 0x0a, + 0x06, 0x52, 0x45, 0x56, 0x45, 0x52, 0x54, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x42, 0x41, 0x44, + 0x5f, 0x4a, 0x55, 0x4d, 0x50, 0x5f, 0x44, 0x45, 0x53, 0x54, 0x49, 0x4e, 0x41, 0x54, 0x49, 0x4f, + 0x4e, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x4d, 0x45, + 0x4d, 0x4f, 0x52, 0x59, 0x10, 0x04, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x52, 0x45, 0x43, 0x4f, 0x4d, + 0x50, 0x49, 0x4c, 0x45, 0x44, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x41, 0x43, 0x54, 0x10, 0x05, + 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 0x53, 0x4d, + 0x41, 0x4c, 0x4c, 0x10, 0x06, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x54, + 0x4f, 0x4f, 0x5f, 0x4c, 0x41, 0x52, 0x47, 0x45, 0x10, 0x07, 0x12, 0x15, 0x0a, 0x11, 0x49, 0x4c, + 0x4c, 0x45, 0x47, 0x41, 0x4c, 0x5f, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, + 0x08, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x46, + 0x4c, 0x4f, 0x57, 0x10, 0x09, 0x12, 0x11, 0x0a, 0x0d, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, + 0x45, 0x4e, 0x45, 0x52, 0x47, 0x59, 0x10, 0x0a, 0x12, 0x0f, 0x0a, 0x0b, 0x4f, 0x55, 0x54, 0x5f, + 0x4f, 0x46, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x0b, 0x12, 0x17, 0x0a, 0x13, 0x4a, 0x56, 0x4d, + 0x5f, 0x53, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x5f, 0x46, 0x4c, 0x4f, 0x57, + 0x10, 0x0c, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x0d, 0x12, + 0x13, 0x0a, 0x0f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x45, 0x52, 0x5f, 0x46, 0x41, 0x49, 0x4c, + 0x45, 0x44, 0x10, 0x0e, 0x12, 0x10, 0x0a, 0x0c, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, + 0x43, 0x4f, 0x44, 0x45, 0x10, 0x0f, 0x1a, 0xe7, 0x02, 0x0a, 0x03, 0x72, 0x61, 0x77, 0x12, 0x26, + 0x0a, 0x0f, 0x72, 0x65, 0x66, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x62, 0x79, 0x74, 0x65, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x72, 0x65, 0x66, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x5f, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x72, + 0x65, 0x66, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x24, 0x0a, 0x0e, 0x72, 0x65, + 0x66, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, + 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x29, 0x0a, 0x05, 0x61, 0x75, 0x74, 0x68, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x74, 0x79, 0x52, 0x05, 0x61, 0x75, 0x74, 0x68, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x64, + 0x61, 0x74, 0x61, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, + 0x3a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x73, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x65, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, + 0x18, 0x12, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x65, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, + 0x22, 0x99, 0x09, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x65, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x03, 0x66, 0x65, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, + 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x26, 0x0a, 0x0e, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x6d, 0x70, + 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x33, 0x0a, 0x07, 0x72, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x52, + 0x07, 0x72, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x12, 0x2f, 0x0a, 0x03, 0x6c, 0x6f, 0x67, 0x18, + 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x03, 0x6c, 0x6f, 0x67, 0x12, 0x36, 0x0a, 0x06, 0x72, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x6a, - 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, - 0x6e, 0x12, 0x37, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, - 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, - 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x22, 0xfc, 0x02, 0x0a, 0x0b, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x34, 0x0a, 0x08, 0x72, 0x61, - 0x77, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, - 0x64, 0x65, 0x72, 0x2e, 0x72, 0x61, 0x77, 0x52, 0x07, 0x72, 0x61, 0x77, 0x44, 0x61, 0x74, 0x61, - 0x12, 0x2b, 0x0a, 0x11, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x73, 0x69, 0x67, 0x6e, - 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x77, 0x69, 0x74, - 0x6e, 0x65, 0x73, 0x73, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x1a, 0x89, 0x02, - 0x0a, 0x03, 0x72, 0x61, 0x77, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, - 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, - 0x61, 0x6d, 0x70, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x78, 0x54, 0x72, 0x69, 0x65, 0x52, 0x6f, 0x6f, - 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x74, 0x78, 0x54, 0x72, 0x69, 0x65, 0x52, - 0x6f, 0x6f, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, - 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x48, - 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x77, - 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x09, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x77, 0x69, - 0x74, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x09, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0a, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, - 0x10, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, - 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x22, 0x7c, 0x0a, 0x05, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x12, 0x39, 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x49, + 0x44, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, + 0x73, 0x75, 0x65, 0x49, 0x44, 0x12, 0x27, 0x0a, 0x0f, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, + 0x77, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, + 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x27, + 0x0a, 0x0f, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, + 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x15, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x6e, 0x61, 0x6c, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x38, 0x0a, 0x18, 0x65, + 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, + 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x12, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x65, + 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x41, + 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x43, 0x0a, 0x1e, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x5f, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, + 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x13, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1b, 0x65, + 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6e, 0x6f, + 0x74, 0x68, 0x65, 0x72, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x20, 0x65, 0x78, + 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x5f, + 0x61, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x14, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x1d, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x57, 0x69, + 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x41, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, + 0x69, 0x64, 0x18, 0x15, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x49, 0x64, 0x12, 0x38, 0x0a, 0x18, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, + 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x65, 0x65, + 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x65, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x0c, 0x6f, 0x72, 0x64, 0x65, + 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x1a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, + 0x4f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x0c, 0x6f, 0x72, 0x64, + 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x61, 0x63, + 0x6b, 0x69, 0x6e, 0x67, 0x46, 0x65, 0x65, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x70, + 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x46, 0x65, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x77, 0x69, 0x74, + 0x68, 0x64, 0x72, 0x61, 0x77, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x61, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, 0x77, 0x69, 0x74, 0x68, 0x64, + 0x72, 0x61, 0x77, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x1a, + 0x4b, 0x0a, 0x03, 0x4c, 0x6f, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x12, 0x16, 0x0a, 0x06, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, + 0x52, 0x06, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x1e, 0x0a, 0x04, + 0x63, 0x6f, 0x64, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x55, 0x43, 0x45, 0x53, 0x53, 0x10, 0x00, + 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x22, 0x9f, 0x01, 0x0a, + 0x0e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x74, 0x12, + 0x20, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, + 0x72, 0x12, 0x26, 0x0a, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, + 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x43, 0x0a, 0x0f, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x49, + 0x0a, 0x0c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x39, + 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x6a, 0x0a, 0x0f, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x12, 0x37, 0x0a, 0x0b, + 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, + 0x4b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x61, + 0x74, 0x65, 0x4b, 0x65, 0x79, 0x22, 0xfc, 0x02, 0x0a, 0x0b, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, + 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x34, 0x0a, 0x08, 0x72, 0x61, 0x77, 0x5f, 0x64, 0x61, 0x74, + 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x2e, 0x72, + 0x61, 0x77, 0x52, 0x07, 0x72, 0x61, 0x77, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2b, 0x0a, 0x11, 0x77, + 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x53, + 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x1a, 0x89, 0x02, 0x0a, 0x03, 0x72, 0x61, 0x77, + 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x1e, + 0x0a, 0x0a, 0x74, 0x78, 0x54, 0x72, 0x69, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x0a, 0x74, 0x78, 0x54, 0x72, 0x69, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x1e, + 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, 0x68, 0x12, 0x16, + 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, + 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, + 0x73, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x77, 0x69, 0x74, 0x6e, + 0x65, 0x73, 0x73, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, + 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, + 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, + 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x10, 0x61, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x10, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x52, 0x6f, 0x6f, 0x74, 0x22, 0x7c, 0x0a, 0x05, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x39, 0x0a, + 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x38, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, + 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, + 0x65, 0x72, 0x22, 0x9a, 0x01, 0x0a, 0x0e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x6e, 0x76, 0x65, + 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x32, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x68, + 0x61, 0x69, 0x6e, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x49, 0x64, 0x52, 0x03, 0x69, 0x64, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x6d, + 0x61, 0x69, 0x6e, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, + 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x75, 0x6d, 0x1a, 0x35, 0x0a, 0x07, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, + 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, + 0xd8, 0x01, 0x0a, 0x0e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, + 0x72, 0x79, 0x12, 0x32, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, + 0x64, 0x52, 0x03, 0x69, 0x64, 0x73, 0x12, 0x31, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x1a, 0x35, 0x0a, 0x07, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, + 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, + 0x22, 0x28, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x59, 0x4e, 0x43, + 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x44, 0x56, 0x54, 0x49, 0x53, 0x45, 0x10, 0x01, 0x12, + 0x09, 0x0a, 0x05, 0x46, 0x45, 0x54, 0x43, 0x48, 0x10, 0x02, 0x22, 0x79, 0x0a, 0x09, 0x49, 0x6e, + 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x35, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x49, 0x6e, 0x76, 0x65, 0x6e, + 0x74, 0x6f, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x10, + 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x03, 0x69, 0x64, 0x73, + 0x22, 0x23, 0x0a, 0x0d, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x52, 0x58, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x42, 0x4c, + 0x4f, 0x43, 0x4b, 0x10, 0x01, 0x22, 0x8f, 0x02, 0x0a, 0x05, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, + 0x2c, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x2e, 0x49, + 0x74, 0x65, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, + 0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x06, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x3a, 0x0a, 0x0d, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, + 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, + 0x61, 0x64, 0x65, 0x72, 0x52, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, + 0x72, 0x73, 0x12, 0x39, 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x38, 0x0a, - 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, - 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0x9a, 0x01, 0x0a, 0x0e, 0x43, 0x68, 0x61, 0x69, - 0x6e, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x32, 0x0a, 0x03, 0x69, 0x64, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, - 0x79, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x52, 0x03, 0x69, 0x64, 0x73, 0x12, 0x1d, - 0x0a, 0x0a, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x09, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x75, 0x6d, 0x1a, 0x35, 0x0a, - 0x07, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, - 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x75, - 0x6d, 0x62, 0x65, 0x72, 0x22, 0xd8, 0x01, 0x0a, 0x0e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, - 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x32, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x52, 0x03, 0x69, 0x64, 0x73, 0x12, 0x31, 0x0a, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, - 0x6f, 0x72, 0x79, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x1a, 0x35, - 0x0a, 0x07, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, - 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, - 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, - 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x28, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, - 0x04, 0x53, 0x59, 0x4e, 0x43, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x44, 0x56, 0x54, 0x49, - 0x53, 0x45, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x45, 0x54, 0x43, 0x48, 0x10, 0x02, 0x22, - 0x79, 0x0a, 0x09, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x35, 0x0a, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, - 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, - 0x52, 0x03, 0x69, 0x64, 0x73, 0x22, 0x23, 0x0a, 0x0d, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, - 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x52, 0x58, 0x10, 0x00, 0x12, - 0x09, 0x0a, 0x05, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0x01, 0x22, 0x8f, 0x02, 0x0a, 0x05, 0x49, - 0x74, 0x65, 0x6d, 0x73, 0x12, 0x2c, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x74, - 0x65, 0x6d, 0x73, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, - 0x70, 0x65, 0x12, 0x27, 0x0a, 0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x52, 0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x3a, 0x0a, 0x0d, 0x62, - 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, - 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x39, 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x22, 0x38, 0x0a, 0x08, 0x49, 0x74, 0x65, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, - 0x0a, 0x03, 0x45, 0x52, 0x52, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x52, 0x58, 0x10, 0x01, - 0x12, 0x09, 0x0a, 0x05, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x42, - 0x4c, 0x4f, 0x43, 0x4b, 0x48, 0x45, 0x41, 0x44, 0x45, 0x52, 0x10, 0x03, 0x22, 0x4a, 0x0a, 0x11, - 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, - 0x73, 0x12, 0x35, 0x0a, 0x17, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, - 0x74, 0x79, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x14, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x22, 0x41, 0x0a, 0x11, 0x44, 0x69, 0x73, 0x63, - 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2c, 0x0a, - 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x43, - 0x6f, 0x64, 0x65, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0xf3, 0x02, 0x0a, 0x0c, - 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x26, 0x0a, 0x04, - 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x04, - 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, - 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x46, 0x0a, 0x0e, - 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x49, 0x64, 0x52, 0x0e, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x49, 0x64, 0x12, 0x42, 0x0a, 0x0c, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x52, 0x0c, 0x73, 0x6f, 0x6c, 0x69, - 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x0b, 0x68, 0x65, 0x61, 0x64, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x52, 0x0b, 0x68, - 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x1a, 0x35, 0x0a, 0x07, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, - 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, - 0x72, 0x22, 0xcb, 0x02, 0x0a, 0x13, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, - 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x25, 0x0a, - 0x0e, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x12, 0x2d, 0x0a, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, - 0x54, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x11, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x12, 0x51, 0x0a, 0x0d, 0x63, 0x61, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x63, 0x61, 0x6c, 0x6c, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, - 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, - 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x1a, 0x47, 0x0a, 0x0d, 0x43, 0x61, 0x6c, 0x6c, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x61, 0x6c, 0x6c, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x22, - 0x7d, 0x0a, 0x1d, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, - 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x66, 0x72, - 0x6f, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, - 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x1e, - 0x0a, 0x0a, 0x74, 0x6f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, - 0x28, 0x0c, 0x52, 0x0a, 0x74, 0x6f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x22, 0xbf, - 0x1a, 0x0a, 0x08, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0c, 0x62, - 0x65, 0x67, 0x69, 0x6e, 0x53, 0x79, 0x6e, 0x63, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0c, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x53, 0x79, 0x6e, 0x63, 0x4e, 0x75, 0x6d, 0x12, - 0x14, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x24, 0x0a, 0x0d, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, - 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x6f, - 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x30, 0x0a, 0x13, 0x63, - 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, - 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2e, 0x0a, - 0x12, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, - 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x61, 0x63, 0x74, 0x69, 0x76, - 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x30, 0x0a, - 0x13, 0x70, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, - 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x70, 0x61, 0x73, 0x73, - 0x69, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, - 0x1c, 0x0a, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x46, 0x6c, 0x6f, 0x77, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x46, 0x6c, 0x6f, 0x77, 0x12, 0x3f, 0x0a, - 0x0c, 0x70, 0x65, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, - 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, - 0x52, 0x0c, 0x70, 0x65, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x49, - 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, - 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x40, 0x0a, 0x0b, 0x6d, 0x61, 0x63, - 0x68, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, - 0x66, 0x6f, 0x2e, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, - 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5d, 0x0a, 0x13, 0x63, - 0x68, 0x65, 0x61, 0x74, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x4d, - 0x61, 0x70, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x68, 0x65, - 0x61, 0x74, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x63, 0x68, 0x65, 0x61, 0x74, 0x57, 0x69, 0x74, 0x6e, - 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x1a, 0x46, 0x0a, 0x18, 0x43, 0x68, - 0x65, 0x61, 0x74, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, - 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, - 0x38, 0x01, 0x1a, 0xc8, 0x07, 0x0a, 0x08, 0x50, 0x65, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, - 0x24, 0x0a, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x79, 0x6e, 0x63, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x79, 0x6e, 0x63, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x4e, - 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, - 0x4e, 0x75, 0x6d, 0x12, 0x30, 0x0a, 0x13, 0x6c, 0x61, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x13, 0x6c, 0x61, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x79, 0x6e, 0x63, 0x46, 0x6c, 0x61, - 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x79, 0x6e, 0x63, 0x46, 0x6c, 0x61, - 0x67, 0x12, 0x38, 0x0a, 0x17, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, - 0x6d, 0x65, 0x57, 0x65, 0x42, 0x6f, 0x74, 0x68, 0x48, 0x61, 0x76, 0x65, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x17, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, - 0x65, 0x57, 0x65, 0x42, 0x6f, 0x74, 0x68, 0x48, 0x61, 0x76, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x6e, - 0x65, 0x65, 0x64, 0x53, 0x79, 0x6e, 0x63, 0x46, 0x72, 0x6f, 0x6d, 0x50, 0x65, 0x65, 0x72, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x6e, 0x65, 0x65, 0x64, 0x53, 0x79, 0x6e, 0x63, 0x46, - 0x72, 0x6f, 0x6d, 0x50, 0x65, 0x65, 0x72, 0x12, 0x26, 0x0a, 0x0e, 0x6e, 0x65, 0x65, 0x64, 0x53, - 0x79, 0x6e, 0x63, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x0e, 0x6e, 0x65, 0x65, 0x64, 0x53, 0x79, 0x6e, 0x63, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x12, - 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, - 0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, - 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, - 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0b, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x69, 0x6d, - 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x76, 0x67, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x18, - 0x0c, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x61, 0x76, 0x67, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, - 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x73, 0x79, 0x6e, 0x63, 0x54, 0x6f, 0x46, 0x65, 0x74, 0x63, 0x68, - 0x53, 0x69, 0x7a, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x73, 0x79, 0x6e, 0x63, - 0x54, 0x6f, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x36, 0x0a, 0x16, 0x73, - 0x79, 0x6e, 0x63, 0x54, 0x6f, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, 0x50, 0x65, - 0x65, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x73, 0x79, 0x6e, - 0x63, 0x54, 0x6f, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, 0x50, 0x65, 0x65, 0x6b, - 0x4e, 0x75, 0x6d, 0x12, 0x36, 0x0a, 0x16, 0x73, 0x79, 0x6e, 0x63, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x0f, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x16, 0x73, 0x79, 0x6e, 0x63, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x75, - 0x6e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x79, 0x6e, 0x4e, 0x75, 0x6d, 0x18, 0x10, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x0d, 0x75, 0x6e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x79, 0x6e, 0x4e, 0x75, - 0x6d, 0x12, 0x28, 0x0a, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x50, 0x6f, 0x72, 0x63, - 0x53, 0x69, 0x7a, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x62, 0x6c, 0x6f, 0x63, - 0x6b, 0x49, 0x6e, 0x50, 0x6f, 0x72, 0x63, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x68, - 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x57, 0x65, 0x42, 0x6f, 0x74, 0x68, 0x48, 0x61, - 0x76, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x57, 0x65, 0x42, 0x6f, 0x74, 0x68, 0x48, 0x61, 0x76, 0x65, 0x12, 0x1a, 0x0a, - 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, - 0x72, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, - 0x1c, 0x0a, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x15, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, - 0x06, 0x69, 0x6e, 0x46, 0x6c, 0x6f, 0x77, 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x69, - 0x6e, 0x46, 0x6c, 0x6f, 0x77, 0x12, 0x28, 0x0a, 0x0f, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, - 0x65, 0x63, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x18, 0x17, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, - 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x12, - 0x34, 0x0a, 0x15, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, - 0x63, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, - 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, - 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x36, 0x0a, 0x16, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x44, - 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, - 0x19, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x44, 0x69, 0x73, - 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x1a, 0xa2, 0x06, - 0x0a, 0x0e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, - 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x32, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x32, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x50, 0x6f, 0x72, 0x74, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x50, 0x6f, - 0x72, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x45, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x64, 0x69, 0x73, 0x63, - 0x6f, 0x76, 0x65, 0x72, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x61, 0x63, - 0x74, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x0e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, - 0x7a, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x70, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x64, - 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x70, 0x61, 0x73, - 0x73, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0c, - 0x73, 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x0c, 0x73, 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, 0x65, - 0x12, 0x28, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, - 0x75, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x6d, 0x61, 0x78, 0x43, 0x6f, - 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x15, 0x73, 0x61, - 0x6d, 0x65, 0x49, 0x70, 0x4d, 0x61, 0x78, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, - 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15, 0x73, 0x61, 0x6d, 0x65, 0x49, - 0x70, 0x4d, 0x61, 0x78, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, - 0x12, 0x2a, 0x0a, 0x10, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, - 0x50, 0x6f, 0x72, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x62, 0x61, 0x63, 0x6b, - 0x75, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x2a, 0x0a, 0x10, - 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x53, 0x69, 0x7a, 0x65, - 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4d, 0x65, - 0x6d, 0x62, 0x65, 0x72, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x62, 0x61, 0x63, 0x6b, - 0x75, 0x70, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x0e, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, - 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x62, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x09, 0x64, 0x62, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x32, - 0x0a, 0x14, 0x6d, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x61, 0x74, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x14, 0x6d, 0x69, + 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x38, 0x0a, + 0x08, 0x49, 0x74, 0x65, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x45, 0x52, 0x52, + 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x52, 0x58, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x42, + 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x48, + 0x45, 0x41, 0x44, 0x45, 0x52, 0x10, 0x03, 0x22, 0x4a, 0x0a, 0x11, 0x44, 0x79, 0x6e, 0x61, 0x6d, + 0x69, 0x63, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x17, + 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x5f, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, 0x6c, + 0x61, 0x73, 0x74, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x4e, 0x75, 0x6d, 0x22, 0x41, 0x0a, 0x11, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2c, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, + 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x06, + 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0xef, 0x03, 0x0a, 0x0c, 0x48, 0x65, 0x6c, 0x6c, 0x6f, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x26, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, + 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x46, 0x0a, 0x0e, 0x67, 0x65, 0x6e, 0x65, 0x73, + 0x69, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x48, 0x65, 0x6c, 0x6c, 0x6f, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x52, + 0x0e, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, + 0x42, 0x0a, 0x0c, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x52, 0x0c, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x0b, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x52, 0x0b, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, + 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1a, 0x0a, + 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x6c, 0x6f, 0x77, + 0x65, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0e, 0x6c, 0x6f, 0x77, 0x65, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, + 0x6d, 0x1a, 0x35, 0x0a, 0x07, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, + 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, + 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0xe1, 0x02, 0x0a, 0x13, 0x49, 0x6e, 0x74, + 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, + 0x68, 0x61, 0x73, 0x68, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x63, 0x61, + 0x6c, 0x6c, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2d, 0x0a, 0x12, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x54, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x11, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, + 0x72, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x51, 0x0a, 0x0d, 0x63, 0x61, + 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x74, + 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, + 0x63, 0x61, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, + 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x6f, 0x74, + 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x12, 0x14, 0x0a, + 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, + 0x74, 0x72, 0x61, 0x1a, 0x47, 0x0a, 0x0d, 0x43, 0x61, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x22, 0x9b, 0x01, 0x0a, + 0x1d, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x18, + 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x66, 0x72, 0x6f, 0x6d, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0c, + 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x1e, 0x0a, 0x0a, + 0x74, 0x6f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, + 0x52, 0x0a, 0x74, 0x6f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x1c, 0x0a, 0x09, + 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xbd, 0x1a, 0x0a, 0x08, 0x4e, + 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x65, 0x67, 0x69, 0x6e, + 0x53, 0x79, 0x6e, 0x63, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x62, + 0x65, 0x67, 0x69, 0x6e, 0x53, 0x79, 0x6e, 0x63, 0x4e, 0x75, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x12, 0x24, 0x0a, 0x0d, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, + 0x74, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x30, 0x0a, 0x13, 0x63, 0x75, 0x72, 0x72, 0x65, + 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x12, 0x61, 0x63, 0x74, + 0x69, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x13, 0x70, 0x61, 0x73, + 0x73, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x70, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x43, + 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x74, + 0x6f, 0x74, 0x61, 0x6c, 0x46, 0x6c, 0x6f, 0x77, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, + 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x46, 0x6c, 0x6f, 0x77, 0x12, 0x3f, 0x0a, 0x0c, 0x70, 0x65, 0x65, + 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x70, 0x65, + 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x49, 0x0a, 0x0e, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, + 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4e, 0x6f, 0x64, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4e, 0x6f, 0x64, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x40, 0x0a, 0x0b, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4d, + 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x6d, 0x61, 0x63, 0x68, + 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5d, 0x0a, 0x13, 0x63, 0x68, 0x65, 0x61, 0x74, + 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x18, 0x0b, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x68, 0x65, 0x61, 0x74, 0x57, 0x69, + 0x74, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x13, 0x63, 0x68, 0x65, 0x61, 0x74, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x49, + 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x1a, 0x46, 0x0a, 0x18, 0x43, 0x68, 0x65, 0x61, 0x74, 0x57, + 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0xc8, + 0x07, 0x0a, 0x08, 0x50, 0x65, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x24, 0x0a, 0x0d, 0x6c, + 0x61, 0x73, 0x74, 0x53, 0x79, 0x6e, 0x63, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x79, 0x6e, 0x63, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x75, 0x6d, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x75, 0x6d, 0x12, + 0x30, 0x0a, 0x13, 0x6c, 0x61, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x6c, 0x61, + 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, + 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x79, 0x6e, 0x63, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x79, 0x6e, 0x63, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x38, 0x0a, + 0x17, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x57, 0x65, + 0x42, 0x6f, 0x74, 0x68, 0x48, 0x61, 0x76, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, + 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x57, 0x65, 0x42, + 0x6f, 0x74, 0x68, 0x48, 0x61, 0x76, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x6e, 0x65, 0x65, 0x64, 0x53, + 0x79, 0x6e, 0x63, 0x46, 0x72, 0x6f, 0x6d, 0x50, 0x65, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x10, 0x6e, 0x65, 0x65, 0x64, 0x53, 0x79, 0x6e, 0x63, 0x46, 0x72, 0x6f, 0x6d, 0x50, + 0x65, 0x65, 0x72, 0x12, 0x26, 0x0a, 0x0e, 0x6e, 0x65, 0x65, 0x64, 0x53, 0x79, 0x6e, 0x63, 0x46, + 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x6e, 0x65, 0x65, + 0x64, 0x53, 0x79, 0x6e, 0x63, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x68, + 0x6f, 0x73, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, + 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, + 0x6f, 0x72, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x63, + 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a, + 0x0a, 0x61, 0x76, 0x67, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x01, 0x52, 0x0a, 0x61, 0x76, 0x67, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x28, 0x0a, + 0x0f, 0x73, 0x79, 0x6e, 0x63, 0x54, 0x6f, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, + 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x73, 0x79, 0x6e, 0x63, 0x54, 0x6f, 0x46, 0x65, + 0x74, 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x36, 0x0a, 0x16, 0x73, 0x79, 0x6e, 0x63, 0x54, + 0x6f, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, 0x50, 0x65, 0x65, 0x6b, 0x4e, 0x75, + 0x6d, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x73, 0x79, 0x6e, 0x63, 0x54, 0x6f, 0x46, + 0x65, 0x74, 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, 0x50, 0x65, 0x65, 0x6b, 0x4e, 0x75, 0x6d, 0x12, + 0x36, 0x0a, 0x16, 0x73, 0x79, 0x6e, 0x63, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x16, 0x73, 0x79, 0x6e, 0x63, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x75, 0x6e, 0x46, 0x65, 0x74, + 0x63, 0x68, 0x53, 0x79, 0x6e, 0x4e, 0x75, 0x6d, 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, + 0x75, 0x6e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x79, 0x6e, 0x4e, 0x75, 0x6d, 0x12, 0x28, 0x0a, + 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x50, 0x6f, 0x72, 0x63, 0x53, 0x69, 0x7a, 0x65, + 0x18, 0x11, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x50, + 0x6f, 0x72, 0x63, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x68, 0x65, 0x61, 0x64, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x57, 0x65, 0x42, 0x6f, 0x74, 0x68, 0x48, 0x61, 0x76, 0x65, 0x18, 0x12, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x57, + 0x65, 0x42, 0x6f, 0x74, 0x68, 0x48, 0x61, 0x76, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x41, + 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, + 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x14, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, + 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x15, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, + 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x6e, 0x46, + 0x6c, 0x6f, 0x77, 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x69, 0x6e, 0x46, 0x6c, 0x6f, + 0x77, 0x12, 0x28, 0x0a, 0x0f, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, + 0x69, 0x6d, 0x65, 0x73, 0x18, 0x17, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x64, 0x69, 0x73, 0x63, + 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x15, 0x6c, + 0x6f, 0x63, 0x61, 0x6c, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, + 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x6c, 0x6f, 0x63, 0x61, + 0x6c, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, + 0x6e, 0x12, 0x36, 0x0a, 0x16, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x44, 0x69, 0x73, 0x63, 0x6f, + 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x19, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x16, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, + 0x65, 0x63, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x1a, 0xa2, 0x06, 0x0a, 0x0e, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0b, + 0x63, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1e, + 0x0a, 0x0a, 0x70, 0x32, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x70, 0x32, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1e, + 0x0a, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x26, + 0x0a, 0x0e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, + 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, + 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x28, + 0x0a, 0x0f, 0x70, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, + 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x70, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, + 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x65, 0x6e, 0x64, + 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, + 0x73, 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x28, 0x0a, 0x0f, + 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x15, 0x73, 0x61, 0x6d, 0x65, 0x49, 0x70, + 0x4d, 0x61, 0x78, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15, 0x73, 0x61, 0x6d, 0x65, 0x49, 0x70, 0x4d, 0x61, 0x78, + 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x10, + 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x50, 0x6f, 0x72, 0x74, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4c, 0x69, + 0x73, 0x74, 0x65, 0x6e, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x62, 0x61, 0x63, 0x6b, + 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x10, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, + 0x53, 0x69, 0x7a, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x72, + 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x62, 0x61, + 0x63, 0x6b, 0x75, 0x70, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x1c, 0x0a, 0x09, + 0x64, 0x62, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x09, 0x64, 0x62, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x14, 0x6d, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x61, - 0x74, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x43, 0x6f, 0x6e, - 0x73, 0x74, 0x61, 0x6e, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x73, 0x75, 0x70, - 0x70, 0x6f, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, - 0x6d, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x10, 0x20, 0x01, - 0x28, 0x01, 0x52, 0x0c, 0x6d, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, - 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, - 0x18, 0x11, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x54, 0x69, 0x6d, 0x65, 0x52, - 0x61, 0x74, 0x69, 0x6f, 0x12, 0x3a, 0x0a, 0x18, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x66, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x73, - 0x18, 0x12, 0x20, 0x01, 0x28, 0x03, 0x52, 0x18, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x66, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x73, - 0x12, 0x30, 0x0a, 0x13, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x41, 0x64, 0x61, 0x70, 0x74, 0x69, 0x76, - 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x13, 0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x61, - 0x6c, 0x6c, 0x6f, 0x77, 0x41, 0x64, 0x61, 0x70, 0x74, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x65, 0x72, - 0x67, 0x79, 0x1a, 0xbb, 0x07, 0x0a, 0x0b, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x6e, - 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x43, - 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x13, 0x64, 0x65, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x6b, - 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x13, 0x64, 0x65, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x65, 0x61, - 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x70, 0x75, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x63, 0x70, 0x75, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x6d, 0x6f, 0x72, - 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x65, - 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x72, 0x65, 0x65, 0x4d, 0x65, 0x6d, 0x6f, - 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x66, 0x72, 0x65, 0x65, 0x4d, 0x65, - 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x70, 0x75, 0x52, 0x61, 0x74, 0x65, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x63, 0x70, 0x75, 0x52, 0x61, 0x74, 0x65, 0x12, 0x20, - 0x0a, 0x0b, 0x6a, 0x61, 0x76, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6a, 0x61, 0x76, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x6f, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x6a, 0x76, 0x6d, 0x54, - 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x6d, 0x6f, 0x65, 0x72, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0f, 0x6a, 0x76, 0x6d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x6d, 0x6f, 0x65, - 0x72, 0x79, 0x12, 0x24, 0x0a, 0x0d, 0x6a, 0x76, 0x6d, 0x46, 0x72, 0x65, 0x65, 0x4d, 0x65, 0x6d, - 0x6f, 0x72, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6a, 0x76, 0x6d, 0x46, 0x72, - 0x65, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x63, - 0x65, 0x73, 0x73, 0x43, 0x70, 0x75, 0x52, 0x61, 0x74, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x01, - 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x43, 0x70, 0x75, 0x52, 0x61, 0x74, 0x65, - 0x12, 0x5d, 0x0a, 0x12, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x44, 0x65, 0x73, 0x63, 0x49, 0x6e, - 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, - 0x2e, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4d, 0x65, 0x6d, - 0x6f, 0x72, 0x79, 0x44, 0x65, 0x73, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x6d, 0x65, 0x6d, - 0x6f, 0x72, 0x79, 0x44, 0x65, 0x73, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, - 0x69, 0x0a, 0x16, 0x64, 0x65, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x65, 0x61, - 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, - 0x6e, 0x66, 0x6f, 0x2e, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, - 0x44, 0x65, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, 0x6e, - 0x66, 0x6f, 0x52, 0x16, 0x64, 0x65, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x65, - 0x61, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x1a, 0x8e, 0x01, 0x0a, 0x0e, 0x4d, - 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x44, 0x65, 0x73, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x69, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x6e, 0x69, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, - 0x07, 0x75, 0x73, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, - 0x75, 0x73, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x61, 0x78, 0x53, 0x69, - 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x61, 0x78, 0x53, 0x69, 0x7a, - 0x65, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x52, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x01, 0x52, 0x07, 0x75, 0x73, 0x65, 0x52, 0x61, 0x74, 0x65, 0x1a, 0xd2, 0x01, 0x0a, 0x12, - 0x44, 0x65, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, 0x6e, - 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x6b, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x6b, 0x4f, 0x77, 0x6e, 0x65, 0x72, - 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, - 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, - 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x61, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x77, 0x61, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, - 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x63, 0x65, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x63, 0x65, - 0x2a, 0x37, 0x0a, 0x0b, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x0a, 0x0a, 0x06, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x41, - 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x02, 0x2a, 0xc7, 0x03, 0x0a, 0x0a, 0x52, 0x65, - 0x61, 0x73, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x45, 0x51, 0x55, - 0x45, 0x53, 0x54, 0x45, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x42, 0x41, 0x44, 0x5f, 0x50, - 0x52, 0x4f, 0x54, 0x4f, 0x43, 0x4f, 0x4c, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x54, 0x4f, 0x4f, - 0x5f, 0x4d, 0x41, 0x4e, 0x59, 0x5f, 0x50, 0x45, 0x45, 0x52, 0x53, 0x10, 0x04, 0x12, 0x12, 0x0a, - 0x0e, 0x44, 0x55, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x45, 0x5f, 0x50, 0x45, 0x45, 0x52, 0x10, - 0x05, 0x12, 0x19, 0x0a, 0x15, 0x49, 0x4e, 0x43, 0x4f, 0x4d, 0x50, 0x41, 0x54, 0x49, 0x42, 0x4c, - 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x43, 0x4f, 0x4c, 0x10, 0x06, 0x12, 0x11, 0x0a, 0x0d, - 0x4e, 0x55, 0x4c, 0x4c, 0x5f, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x10, 0x07, 0x12, - 0x10, 0x0a, 0x0c, 0x50, 0x45, 0x45, 0x52, 0x5f, 0x51, 0x55, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x10, - 0x08, 0x12, 0x17, 0x0a, 0x13, 0x55, 0x4e, 0x45, 0x58, 0x50, 0x45, 0x43, 0x54, 0x45, 0x44, 0x5f, - 0x49, 0x44, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x10, 0x09, 0x12, 0x12, 0x0a, 0x0e, 0x4c, 0x4f, - 0x43, 0x41, 0x4c, 0x5f, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x10, 0x0a, 0x12, 0x10, - 0x0a, 0x0c, 0x50, 0x49, 0x4e, 0x47, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x4f, 0x55, 0x54, 0x10, 0x0b, - 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x10, - 0x10, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x45, 0x53, 0x45, 0x54, 0x10, 0x11, 0x12, 0x0d, 0x0a, 0x09, - 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0x12, 0x12, 0x0e, 0x0a, 0x0a, 0x46, - 0x45, 0x54, 0x43, 0x48, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0x13, 0x12, 0x0a, 0x0a, 0x06, 0x42, - 0x41, 0x44, 0x5f, 0x54, 0x58, 0x10, 0x14, 0x12, 0x0d, 0x0a, 0x09, 0x42, 0x41, 0x44, 0x5f, 0x42, - 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0x15, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x4f, 0x52, 0x4b, 0x45, 0x44, - 0x10, 0x16, 0x12, 0x0e, 0x0a, 0x0a, 0x55, 0x4e, 0x4c, 0x49, 0x4e, 0x4b, 0x41, 0x42, 0x4c, 0x45, - 0x10, 0x17, 0x12, 0x18, 0x0a, 0x14, 0x49, 0x4e, 0x43, 0x4f, 0x4d, 0x50, 0x41, 0x54, 0x49, 0x42, - 0x4c, 0x45, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x18, 0x12, 0x16, 0x0a, 0x12, - 0x49, 0x4e, 0x43, 0x4f, 0x4d, 0x50, 0x41, 0x54, 0x49, 0x42, 0x4c, 0x45, 0x5f, 0x43, 0x48, 0x41, - 0x49, 0x4e, 0x10, 0x19, 0x12, 0x0c, 0x0a, 0x08, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4f, 0x55, 0x54, - 0x10, 0x20, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x5f, 0x46, 0x41, - 0x49, 0x4c, 0x10, 0x21, 0x12, 0x1f, 0x0a, 0x1b, 0x54, 0x4f, 0x4f, 0x5f, 0x4d, 0x41, 0x4e, 0x59, - 0x5f, 0x50, 0x45, 0x45, 0x52, 0x53, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x53, 0x41, 0x4d, 0x45, - 0x5f, 0x49, 0x50, 0x10, 0x22, 0x12, 0x0c, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, - 0x10, 0xff, 0x01, 0x42, 0x4c, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x42, 0x08, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, - 0x6f, 0x62, 0x72, 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, - 0x64, 0x6b, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x72, - 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x74, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x14, 0x6d, 0x69, 0x6e, 0x50, 0x61, 0x72, + 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x74, 0x65, 0x12, 0x28, + 0x0a, 0x0f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, + 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, + 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x69, 0x6e, 0x54, + 0x69, 0x6d, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x10, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, + 0x6d, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x12, 0x22, 0x0a, 0x0c, + 0x6d, 0x61, 0x78, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x11, 0x20, 0x01, + 0x28, 0x01, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, + 0x12, 0x3a, 0x0a, 0x18, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x43, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x4f, 0x66, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x73, 0x18, 0x12, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x18, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x43, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x4f, 0x66, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x73, 0x12, 0x30, 0x0a, 0x13, + 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x41, 0x64, 0x61, 0x70, 0x74, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x65, + 0x72, 0x67, 0x79, 0x18, 0x13, 0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x61, 0x6c, 0x6c, 0x6f, 0x77, + 0x41, 0x64, 0x61, 0x70, 0x74, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x1a, 0xb9, + 0x07, 0x0a, 0x0b, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, + 0x0a, 0x0b, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x0b, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x12, 0x30, 0x0a, 0x13, 0x64, 0x65, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x65, + 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x64, + 0x65, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x70, 0x75, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x63, 0x70, 0x75, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x20, + 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, + 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x72, 0x65, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x66, 0x72, 0x65, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, + 0x12, 0x18, 0x0a, 0x07, 0x63, 0x70, 0x75, 0x52, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x01, 0x52, 0x07, 0x63, 0x70, 0x75, 0x52, 0x61, 0x74, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x6a, 0x61, + 0x76, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0b, 0x6a, 0x61, 0x76, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, + 0x6f, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x73, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x6a, 0x76, 0x6d, 0x54, 0x6f, 0x74, 0x61, 0x6c, + 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x6a, 0x76, + 0x6d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x24, 0x0a, 0x0d, + 0x6a, 0x76, 0x6d, 0x46, 0x72, 0x65, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6a, 0x76, 0x6d, 0x46, 0x72, 0x65, 0x65, 0x4d, 0x65, 0x6d, 0x6f, + 0x72, 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x43, 0x70, 0x75, + 0x52, 0x61, 0x74, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x43, 0x70, 0x75, 0x52, 0x61, 0x74, 0x65, 0x12, 0x5d, 0x0a, 0x12, 0x6d, 0x65, + 0x6d, 0x6f, 0x72, 0x79, 0x44, 0x65, 0x73, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, + 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4d, 0x61, 0x63, 0x68, 0x69, + 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x44, 0x65, 0x73, + 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x44, 0x65, 0x73, + 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x69, 0x0a, 0x16, 0x64, 0x65, 0x61, + 0x64, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x4c, + 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4d, 0x61, + 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x44, 0x65, 0x61, 0x64, 0x4c, 0x6f, + 0x63, 0x6b, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x16, 0x64, 0x65, + 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, 0x6e, 0x66, 0x6f, + 0x4c, 0x69, 0x73, 0x74, 0x1a, 0x8e, 0x01, 0x0a, 0x0e, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x44, + 0x65, 0x73, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, + 0x6e, 0x69, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, + 0x6e, 0x69, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x53, 0x69, + 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x75, 0x73, 0x65, 0x53, 0x69, 0x7a, + 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x07, 0x6d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x75, + 0x73, 0x65, 0x52, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x75, 0x73, + 0x65, 0x52, 0x61, 0x74, 0x65, 0x1a, 0xd2, 0x01, 0x0a, 0x12, 0x44, 0x65, 0x61, 0x64, 0x4c, 0x6f, + 0x63, 0x6b, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, + 0x6c, 0x6f, 0x63, 0x6b, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x6c, 0x6f, 0x63, 0x6b, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x12, 0x1c, 0x0a, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, + 0x0a, 0x08, 0x77, 0x61, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x08, 0x77, 0x61, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x74, + 0x61, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x73, 0x74, 0x61, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x63, 0x65, 0x22, 0xc0, 0x18, 0x0a, 0x0b, 0x4d, + 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, + 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x6e, + 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x32, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4e, 0x6f, 0x64, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x44, 0x0a, 0x0a, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x68, 0x61, 0x69, 0x6e, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x63, 0x68, 0x61, 0x69, 0x6e, + 0x12, 0x2f, 0x0a, 0x03, 0x6e, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4e, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x03, 0x6e, 0x65, + 0x74, 0x1a, 0x74, 0x0a, 0x08, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, + 0x02, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x12, 0x1a, 0x0a, + 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x62, 0x61, 0x63, 0x6b, 0x75, + 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x1a, 0xee, 0x06, 0x0a, 0x0e, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0c, 0x68, 0x65, + 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0c, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x2e, + 0x0a, 0x12, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x68, 0x65, 0x61, 0x64, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x24, + 0x0a, 0x0d, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x48, 0x61, 0x73, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x6f, 0x72, 0x6b, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x66, 0x6f, 0x72, 0x6b, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x66, 0x61, 0x69, 0x6c, 0x46, 0x6f, 0x72, 0x6b, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x66, 0x61, 0x69, 0x6c, 0x46, + 0x6f, 0x72, 0x6b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x4a, 0x0a, 0x10, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, + 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x10, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x03, 0x74, 0x70, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, + 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x03, 0x74, 0x70, 0x73, 0x12, 0x32, 0x0a, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x4c, 0x0a, 0x11, 0x6d, 0x69, + 0x73, 0x73, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x11, 0x6d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4a, 0x0a, 0x09, 0x77, 0x69, 0x74, 0x6e, + 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x52, 0x09, 0x77, 0x69, 0x74, 0x6e, 0x65, + 0x73, 0x73, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x13, 0x66, 0x61, 0x69, 0x6c, 0x50, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x13, 0x66, 0x61, 0x69, 0x6c, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x36, 0x0a, 0x16, 0x66, 0x61, 0x69, 0x6c, 0x50, 0x72, + 0x6f, 0x63, 0x65, 0x73, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x66, 0x61, 0x69, 0x6c, 0x50, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x4f, + 0x0a, 0x0a, 0x64, 0x75, 0x70, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x18, 0x0d, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, + 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x43, + 0x68, 0x61, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x44, 0x75, 0x70, 0x57, 0x69, 0x74, 0x6e, + 0x65, 0x73, 0x73, 0x52, 0x0a, 0x64, 0x75, 0x70, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x1a, + 0x3d, 0x0a, 0x07, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0x58, + 0x0a, 0x0a, 0x44, 0x75, 0x70, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, + 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, + 0x75, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0xb8, 0x01, 0x0a, 0x08, 0x52, 0x61, 0x74, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6d, + 0x65, 0x61, 0x6e, 0x52, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x6d, + 0x65, 0x61, 0x6e, 0x52, 0x61, 0x74, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x6f, 0x6e, 0x65, 0x4d, 0x69, + 0x6e, 0x75, 0x74, 0x65, 0x52, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, + 0x6f, 0x6e, 0x65, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x52, 0x61, 0x74, 0x65, 0x12, 0x26, 0x0a, + 0x0e, 0x66, 0x69, 0x76, 0x65, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x52, 0x61, 0x74, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e, 0x66, 0x69, 0x76, 0x65, 0x4d, 0x69, 0x6e, 0x75, 0x74, + 0x65, 0x52, 0x61, 0x74, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x66, 0x69, 0x66, 0x74, 0x65, 0x65, 0x6e, + 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x52, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, + 0x52, 0x11, 0x66, 0x69, 0x66, 0x74, 0x65, 0x65, 0x6e, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x52, + 0x61, 0x74, 0x65, 0x1a, 0xc7, 0x0d, 0x0a, 0x07, 0x4e, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x28, 0x0a, 0x0f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x37, 0x0a, 0x03, 0x61, 0x70, 0x69, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4e, 0x65, + 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x70, 0x69, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x03, 0x61, + 0x70, 0x69, 0x12, 0x28, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x63, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x14, + 0x76, 0x61, 0x6c, 0x69, 0x64, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x14, 0x76, 0x61, 0x6c, 0x69, + 0x64, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x63, 0x70, 0x49, 0x6e, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, + 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x74, 0x63, 0x70, 0x49, 0x6e, 0x54, 0x72, 0x61, + 0x66, 0x66, 0x69, 0x63, 0x12, 0x44, 0x0a, 0x0d, 0x74, 0x63, 0x70, 0x4f, 0x75, 0x74, 0x54, 0x72, + 0x61, 0x66, 0x66, 0x69, 0x63, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x74, 0x63, 0x70, + 0x4f, 0x75, 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x12, 0x2e, 0x0a, 0x12, 0x64, 0x69, + 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x67, 0x0a, 0x13, 0x64, 0x69, + 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4e, + 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x13, + 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x12, 0x42, 0x0a, 0x0c, 0x75, 0x64, 0x70, 0x49, 0x6e, 0x54, 0x72, 0x61, 0x66, + 0x66, 0x69, 0x63, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x75, 0x64, 0x70, 0x49, 0x6e, + 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x12, 0x44, 0x0a, 0x0d, 0x75, 0x64, 0x70, 0x4f, 0x75, + 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, + 0x75, 0x64, 0x70, 0x4f, 0x75, 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x12, 0x43, 0x0a, + 0x07, 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4e, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4c, 0x61, + 0x74, 0x65, 0x6e, 0x63, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x6c, 0x61, 0x74, 0x65, 0x6e, + 0x63, 0x79, 0x1a, 0xd4, 0x03, 0x0a, 0x07, 0x41, 0x70, 0x69, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x30, + 0x0a, 0x03, 0x71, 0x70, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, + 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x03, 0x71, 0x70, 0x73, + 0x12, 0x38, 0x0a, 0x07, 0x66, 0x61, 0x69, 0x6c, 0x51, 0x70, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, + 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x07, 0x66, 0x61, 0x69, 0x6c, 0x51, 0x70, 0x73, 0x12, 0x3e, 0x0a, 0x0a, 0x6f, 0x75, + 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, + 0x6f, 0x75, 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x12, 0x4b, 0x0a, 0x06, 0x64, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x4e, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x70, 0x69, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x41, 0x70, 0x69, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x1a, 0xcf, 0x01, 0x0a, 0x0d, 0x41, 0x70, 0x69, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, + 0x03, 0x71, 0x70, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x03, 0x71, 0x70, 0x73, 0x12, + 0x38, 0x0a, 0x07, 0x66, 0x61, 0x69, 0x6c, 0x51, 0x70, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, + 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x07, 0x66, 0x61, 0x69, 0x6c, 0x51, 0x70, 0x73, 0x12, 0x3e, 0x0a, 0x0a, 0x6f, 0x75, 0x74, + 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x6f, + 0x75, 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x1a, 0x47, 0x0a, 0x17, 0x44, 0x69, 0x73, + 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x1a, 0xe8, 0x03, 0x0a, 0x0b, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x39, 0x39, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x39, 0x39, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x39, + 0x35, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x39, 0x35, 0x12, 0x14, + 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x37, 0x35, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, + 0x6f, 0x70, 0x37, 0x35, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, + 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x31, 0x53, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x31, 0x53, 0x12, 0x18, + 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x32, 0x53, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x32, 0x53, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x61, + 0x79, 0x33, 0x53, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, + 0x33, 0x53, 0x12, 0x53, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x08, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, + 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4e, 0x65, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4c, 0x61, + 0x74, 0x65, 0x6e, 0x63, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x1a, 0xd3, 0x01, 0x0a, 0x11, 0x4c, 0x61, 0x74, 0x65, + 0x6e, 0x63, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, + 0x07, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x39, 0x39, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x39, 0x39, 0x12, 0x14, 0x0a, + 0x05, 0x74, 0x6f, 0x70, 0x39, 0x35, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, + 0x70, 0x39, 0x35, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x37, 0x35, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x37, 0x35, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x31, 0x53, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x31, 0x53, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, + 0x61, 0x79, 0x32, 0x53, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x61, + 0x79, 0x32, 0x53, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x33, 0x53, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x33, 0x53, 0x22, 0x93, 0x03, + 0x0a, 0x0b, 0x50, 0x42, 0x46, 0x54, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x34, 0x0a, + 0x08, 0x72, 0x61, 0x77, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x42, 0x46, 0x54, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x52, 0x61, 0x77, 0x52, 0x07, 0x72, 0x61, 0x77, 0x44, + 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, + 0x65, 0x1a, 0xbd, 0x01, 0x0a, 0x03, 0x52, 0x61, 0x77, 0x12, 0x38, 0x0a, 0x08, 0x6d, 0x73, 0x67, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x42, 0x46, 0x54, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x2e, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x3b, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x50, 0x42, 0x46, 0x54, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x61, + 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x15, 0x0a, 0x06, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x05, 0x76, 0x69, 0x65, 0x77, 0x4e, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x12, 0x0a, + 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, + 0x61, 0x22, 0x50, 0x0a, 0x07, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, + 0x56, 0x49, 0x45, 0x57, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x00, 0x12, 0x0b, 0x0a, + 0x07, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x52, + 0x45, 0x50, 0x52, 0x45, 0x50, 0x41, 0x52, 0x45, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x52, + 0x45, 0x50, 0x41, 0x52, 0x45, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4d, 0x4d, 0x49, + 0x54, 0x10, 0x04, 0x22, 0x1e, 0x0a, 0x08, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x09, 0x0a, 0x05, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x53, 0x52, + 0x4c, 0x10, 0x01, 0x22, 0x44, 0x0a, 0x10, 0x50, 0x42, 0x46, 0x54, 0x43, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x73, + 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, + 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x23, 0x0a, 0x03, 0x53, 0x52, 0x4c, + 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2a, 0x37, + 0x0a, 0x0b, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, + 0x06, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x41, 0x73, 0x73, + 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x02, 0x2a, 0xe6, 0x03, 0x0a, 0x0a, 0x52, 0x65, 0x61, 0x73, + 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, + 0x54, 0x45, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x42, 0x41, 0x44, 0x5f, 0x50, 0x52, 0x4f, + 0x54, 0x4f, 0x43, 0x4f, 0x4c, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x54, 0x4f, 0x4f, 0x5f, 0x4d, + 0x41, 0x4e, 0x59, 0x5f, 0x50, 0x45, 0x45, 0x52, 0x53, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x44, + 0x55, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x45, 0x5f, 0x50, 0x45, 0x45, 0x52, 0x10, 0x05, 0x12, + 0x19, 0x0a, 0x15, 0x49, 0x4e, 0x43, 0x4f, 0x4d, 0x50, 0x41, 0x54, 0x49, 0x42, 0x4c, 0x45, 0x5f, + 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x43, 0x4f, 0x4c, 0x10, 0x06, 0x12, 0x16, 0x0a, 0x12, 0x52, 0x41, + 0x4e, 0x44, 0x4f, 0x4d, 0x5f, 0x45, 0x4c, 0x49, 0x4d, 0x49, 0x4e, 0x41, 0x54, 0x49, 0x4f, 0x4e, + 0x10, 0x07, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x45, 0x45, 0x52, 0x5f, 0x51, 0x55, 0x49, 0x54, 0x49, + 0x4e, 0x47, 0x10, 0x08, 0x12, 0x17, 0x0a, 0x13, 0x55, 0x4e, 0x45, 0x58, 0x50, 0x45, 0x43, 0x54, + 0x45, 0x44, 0x5f, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x10, 0x09, 0x12, 0x12, 0x0a, + 0x0e, 0x4c, 0x4f, 0x43, 0x41, 0x4c, 0x5f, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x10, + 0x0a, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x49, 0x4e, 0x47, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x4f, 0x55, + 0x54, 0x10, 0x0b, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x52, 0x45, 0x41, 0x53, + 0x4f, 0x4e, 0x10, 0x10, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x45, 0x53, 0x45, 0x54, 0x10, 0x11, 0x12, + 0x0d, 0x0a, 0x09, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0x12, 0x12, 0x0e, + 0x0a, 0x0a, 0x46, 0x45, 0x54, 0x43, 0x48, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0x13, 0x12, 0x0a, + 0x0a, 0x06, 0x42, 0x41, 0x44, 0x5f, 0x54, 0x58, 0x10, 0x14, 0x12, 0x0d, 0x0a, 0x09, 0x42, 0x41, + 0x44, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0x15, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x4f, 0x52, + 0x4b, 0x45, 0x44, 0x10, 0x16, 0x12, 0x0e, 0x0a, 0x0a, 0x55, 0x4e, 0x4c, 0x49, 0x4e, 0x4b, 0x41, + 0x42, 0x4c, 0x45, 0x10, 0x17, 0x12, 0x18, 0x0a, 0x14, 0x49, 0x4e, 0x43, 0x4f, 0x4d, 0x50, 0x41, + 0x54, 0x49, 0x42, 0x4c, 0x45, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x18, 0x12, + 0x16, 0x0a, 0x12, 0x49, 0x4e, 0x43, 0x4f, 0x4d, 0x50, 0x41, 0x54, 0x49, 0x42, 0x4c, 0x45, 0x5f, + 0x43, 0x48, 0x41, 0x49, 0x4e, 0x10, 0x19, 0x12, 0x0c, 0x0a, 0x08, 0x54, 0x49, 0x4d, 0x45, 0x5f, + 0x4f, 0x55, 0x54, 0x10, 0x20, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, + 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0x21, 0x12, 0x1f, 0x0a, 0x1b, 0x54, 0x4f, 0x4f, 0x5f, 0x4d, + 0x41, 0x4e, 0x59, 0x5f, 0x50, 0x45, 0x45, 0x52, 0x53, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x53, + 0x41, 0x4d, 0x45, 0x5f, 0x49, 0x50, 0x10, 0x22, 0x12, 0x18, 0x0a, 0x14, 0x4c, 0x49, 0x47, 0x48, + 0x54, 0x5f, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x46, 0x41, 0x49, 0x4c, + 0x10, 0x23, 0x12, 0x0c, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0xff, 0x01, + 0x42, 0x4c, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x73, 0x42, 0x08, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x5a, 0x2f, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, 0x72, + 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, 0x2f, + 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -6144,152 +8911,220 @@ func file_core_Tron_proto_rawDescGZIP() []byte { return file_core_Tron_proto_rawDescData } -var file_core_Tron_proto_enumTypes = make([]protoimpl.EnumInfo, 11) -var file_core_Tron_proto_msgTypes = make([]protoimpl.MessageInfo, 59) +var file_core_Tron_proto_enumTypes = make([]protoimpl.EnumInfo, 14) +var file_core_Tron_proto_msgTypes = make([]protoimpl.MessageInfo, 86) var file_core_Tron_proto_goTypes = []interface{}{ (AccountType)(0), // 0: protocol.AccountType (ReasonCode)(0), // 1: protocol.ReasonCode (Proposal_State)(0), // 2: protocol.Proposal.State - (Permission_PermissionType)(0), // 3: protocol.Permission.PermissionType - (Transaction_Contract_ContractType)(0), // 4: protocol.Transaction.Contract.ContractType - (Transaction_ResultCode)(0), // 5: protocol.Transaction.Result.code - (Transaction_ResultContractResult)(0), // 6: protocol.Transaction.Result.contractResult - (TransactionInfoCode)(0), // 7: protocol.TransactionInfo.code - (BlockInventory_Type)(0), // 8: protocol.BlockInventory.Type - (Inventory_InventoryType)(0), // 9: protocol.Inventory.InventoryType - (Items_ItemType)(0), // 10: protocol.Items.ItemType - (*AccountId)(nil), // 11: protocol.AccountId - (*Vote)(nil), // 12: protocol.Vote - (*Proposal)(nil), // 13: protocol.Proposal - (*Exchange)(nil), // 14: protocol.Exchange - (*ChainParameters)(nil), // 15: protocol.ChainParameters - (*Account)(nil), // 16: protocol.Account - (*Key)(nil), // 17: protocol.Key - (*DelegatedResource)(nil), // 18: protocol.DelegatedResource - (*Authority)(nil), // 19: protocol.authority - (*Permission)(nil), // 20: protocol.Permission - (*Witness)(nil), // 21: protocol.Witness - (*Votes)(nil), // 22: protocol.Votes - (*TXOutput)(nil), // 23: protocol.TXOutput - (*TXInput)(nil), // 24: protocol.TXInput - (*TXOutputs)(nil), // 25: protocol.TXOutputs - (*ResourceReceipt)(nil), // 26: protocol.ResourceReceipt - (*Transaction)(nil), // 27: protocol.Transaction - (*TransactionInfo)(nil), // 28: protocol.TransactionInfo - (*TransactionRet)(nil), // 29: protocol.TransactionRet - (*Transactions)(nil), // 30: protocol.Transactions - (*TransactionSign)(nil), // 31: protocol.TransactionSign - (*BlockHeader)(nil), // 32: protocol.BlockHeader - (*Block)(nil), // 33: protocol.Block - (*ChainInventory)(nil), // 34: protocol.ChainInventory - (*BlockInventory)(nil), // 35: protocol.BlockInventory - (*Inventory)(nil), // 36: protocol.Inventory - (*Items)(nil), // 37: protocol.Items - (*DynamicProperties)(nil), // 38: protocol.DynamicProperties - (*DisconnectMessage)(nil), // 39: protocol.DisconnectMessage - (*HelloMessage)(nil), // 40: protocol.HelloMessage - (*InternalTransaction)(nil), // 41: protocol.InternalTransaction - (*DelegatedResourceAccountIndex)(nil), // 42: protocol.DelegatedResourceAccountIndex - (*NodeInfo)(nil), // 43: protocol.NodeInfo - nil, // 44: protocol.Proposal.ParametersEntry - (*ChainParameters_ChainParameter)(nil), // 45: protocol.ChainParameters.ChainParameter - (*Account_Frozen)(nil), // 46: protocol.Account.Frozen - nil, // 47: protocol.Account.AssetEntry - nil, // 48: protocol.Account.AssetV2Entry - nil, // 49: protocol.Account.LatestAssetOperationTimeEntry - nil, // 50: protocol.Account.LatestAssetOperationTimeV2Entry - nil, // 51: protocol.Account.FreeAssetNetUsageEntry - nil, // 52: protocol.Account.FreeAssetNetUsageV2Entry - (*Account_AccountResource)(nil), // 53: protocol.Account.AccountResource - (*TXInputRaw)(nil), // 54: protocol.TXInput.raw - (*Transaction_Contract)(nil), // 55: protocol.Transaction.Contract - (*Transaction_Result)(nil), // 56: protocol.Transaction.Result - (*TransactionRaw)(nil), // 57: protocol.Transaction.raw - (*TransactionInfo_Log)(nil), // 58: protocol.TransactionInfo.Log - (*BlockHeaderRaw)(nil), // 59: protocol.BlockHeader.raw - (*ChainInventory_BlockId)(nil), // 60: protocol.ChainInventory.BlockId - (*BlockInventory_BlockId)(nil), // 61: protocol.BlockInventory.BlockId - (*HelloMessage_BlockId)(nil), // 62: protocol.HelloMessage.BlockId - (*InternalTransaction_CallValueInfo)(nil), // 63: protocol.InternalTransaction.CallValueInfo - nil, // 64: protocol.NodeInfo.CheatWitnessInfoMapEntry - (*NodeInfo_PeerInfo)(nil), // 65: protocol.NodeInfo.PeerInfo - (*NodeInfo_ConfigNodeInfo)(nil), // 66: protocol.NodeInfo.ConfigNodeInfo - (*NodeInfo_MachineInfo)(nil), // 67: protocol.NodeInfo.MachineInfo - (*NodeInfo_MachineInfo_MemoryDescInfo)(nil), // 68: protocol.NodeInfo.MachineInfo.MemoryDescInfo - (*NodeInfo_MachineInfo_DeadLockThreadInfo)(nil), // 69: protocol.NodeInfo.MachineInfo.DeadLockThreadInfo - (*Endpoint)(nil), // 70: protocol.Endpoint - (*any.Any)(nil), // 71: google.protobuf.Any + (MarketOrder_State)(0), // 3: protocol.MarketOrder.State + (Permission_PermissionType)(0), // 4: protocol.Permission.PermissionType + (Transaction_Contract_ContractType)(0), // 5: protocol.Transaction.Contract.ContractType + (Transaction_ResultCode)(0), // 6: protocol.Transaction.Result.code + (Transaction_ResultContractResult)(0), // 7: protocol.Transaction.Result.contractResult + (TransactionInfoCode)(0), // 8: protocol.TransactionInfo.code + (BlockInventory_Type)(0), // 9: protocol.BlockInventory.Type + (Inventory_InventoryType)(0), // 10: protocol.Inventory.InventoryType + (Items_ItemType)(0), // 11: protocol.Items.ItemType + (PBFTMessage_MsgType)(0), // 12: protocol.PBFTMessage.MsgType + (PBFTMessage_DataType)(0), // 13: protocol.PBFTMessage.DataType + (*AccountId)(nil), // 14: protocol.AccountId + (*Vote)(nil), // 15: protocol.Vote + (*Proposal)(nil), // 16: protocol.Proposal + (*Exchange)(nil), // 17: protocol.Exchange + (*MarketOrder)(nil), // 18: protocol.MarketOrder + (*MarketOrderList)(nil), // 19: protocol.MarketOrderList + (*MarketOrderPairList)(nil), // 20: protocol.MarketOrderPairList + (*MarketOrderPair)(nil), // 21: protocol.MarketOrderPair + (*MarketAccountOrder)(nil), // 22: protocol.MarketAccountOrder + (*MarketPrice)(nil), // 23: protocol.MarketPrice + (*MarketPriceList)(nil), // 24: protocol.MarketPriceList + (*MarketOrderIdList)(nil), // 25: protocol.MarketOrderIdList + (*ChainParameters)(nil), // 26: protocol.ChainParameters + (*Account)(nil), // 27: protocol.Account + (*Key)(nil), // 28: protocol.Key + (*DelegatedResource)(nil), // 29: protocol.DelegatedResource + (*Authority)(nil), // 30: protocol.authority + (*Permission)(nil), // 31: protocol.Permission + (*Witness)(nil), // 32: protocol.Witness + (*Votes)(nil), // 33: protocol.Votes + (*TXOutput)(nil), // 34: protocol.TXOutput + (*TXInput)(nil), // 35: protocol.TXInput + (*TXOutputs)(nil), // 36: protocol.TXOutputs + (*ResourceReceipt)(nil), // 37: protocol.ResourceReceipt + (*MarketOrderDetail)(nil), // 38: protocol.MarketOrderDetail + (*Transaction)(nil), // 39: protocol.Transaction + (*TransactionInfo)(nil), // 40: protocol.TransactionInfo + (*TransactionRet)(nil), // 41: protocol.TransactionRet + (*Transactions)(nil), // 42: protocol.Transactions + (*TransactionSign)(nil), // 43: protocol.TransactionSign + (*BlockHeader)(nil), // 44: protocol.BlockHeader + (*Block)(nil), // 45: protocol.Block + (*ChainInventory)(nil), // 46: protocol.ChainInventory + (*BlockInventory)(nil), // 47: protocol.BlockInventory + (*Inventory)(nil), // 48: protocol.Inventory + (*Items)(nil), // 49: protocol.Items + (*DynamicProperties)(nil), // 50: protocol.DynamicProperties + (*DisconnectMessage)(nil), // 51: protocol.DisconnectMessage + (*HelloMessage)(nil), // 52: protocol.HelloMessage + (*InternalTransaction)(nil), // 53: protocol.InternalTransaction + (*DelegatedResourceAccountIndex)(nil), // 54: protocol.DelegatedResourceAccountIndex + (*NodeInfo)(nil), // 55: protocol.NodeInfo + (*MetricsInfo)(nil), // 56: protocol.MetricsInfo + (*PBFTMessage)(nil), // 57: protocol.PBFTMessage + (*PBFTCommitResult)(nil), // 58: protocol.PBFTCommitResult + (*SRL)(nil), // 59: protocol.SRL + nil, // 60: protocol.Proposal.ParametersEntry + (*ChainParameters_ChainParameter)(nil), // 61: protocol.ChainParameters.ChainParameter + (*Account_Frozen)(nil), // 62: protocol.Account.Frozen + nil, // 63: protocol.Account.AssetEntry + nil, // 64: protocol.Account.AssetV2Entry + nil, // 65: protocol.Account.LatestAssetOperationTimeEntry + nil, // 66: protocol.Account.LatestAssetOperationTimeV2Entry + nil, // 67: protocol.Account.FreeAssetNetUsageEntry + nil, // 68: protocol.Account.FreeAssetNetUsageV2Entry + (*Account_AccountResource)(nil), // 69: protocol.Account.AccountResource + (*Account_FreezeV2)(nil), // 70: protocol.Account.FreezeV2 + (*Account_UnFreezeV2)(nil), // 71: protocol.Account.UnFreezeV2 + (*TXInputRaw)(nil), // 72: protocol.TXInput.raw + (*Transaction_Contract)(nil), // 73: protocol.Transaction.Contract + (*Transaction_Result)(nil), // 74: protocol.Transaction.Result + (*TransactionRaw)(nil), // 75: protocol.Transaction.raw + (*TransactionInfo_Log)(nil), // 76: protocol.TransactionInfo.Log + (*BlockHeaderRaw)(nil), // 77: protocol.BlockHeader.raw + (*ChainInventory_BlockId)(nil), // 78: protocol.ChainInventory.BlockId + (*BlockInventory_BlockId)(nil), // 79: protocol.BlockInventory.BlockId + (*HelloMessage_BlockId)(nil), // 80: protocol.HelloMessage.BlockId + (*InternalTransaction_CallValueInfo)(nil), // 81: protocol.InternalTransaction.CallValueInfo + nil, // 82: protocol.NodeInfo.CheatWitnessInfoMapEntry + (*NodeInfo_PeerInfo)(nil), // 83: protocol.NodeInfo.PeerInfo + (*NodeInfo_ConfigNodeInfo)(nil), // 84: protocol.NodeInfo.ConfigNodeInfo + (*NodeInfo_MachineInfo)(nil), // 85: protocol.NodeInfo.MachineInfo + (*NodeInfo_MachineInfo_MemoryDescInfo)(nil), // 86: protocol.NodeInfo.MachineInfo.MemoryDescInfo + (*NodeInfo_MachineInfo_DeadLockThreadInfo)(nil), // 87: protocol.NodeInfo.MachineInfo.DeadLockThreadInfo + (*MetricsInfo_NodeInfo)(nil), // 88: protocol.MetricsInfo.NodeInfo + (*MetricsInfo_BlockChainInfo)(nil), // 89: protocol.MetricsInfo.BlockChainInfo + (*MetricsInfo_RateInfo)(nil), // 90: protocol.MetricsInfo.RateInfo + (*MetricsInfo_NetInfo)(nil), // 91: protocol.MetricsInfo.NetInfo + (*MetricsInfo_BlockChainInfo_Witness)(nil), // 92: protocol.MetricsInfo.BlockChainInfo.Witness + (*MetricsInfo_BlockChainInfo_DupWitness)(nil), // 93: protocol.MetricsInfo.BlockChainInfo.DupWitness + (*MetricsInfo_NetInfo_ApiInfo)(nil), // 94: protocol.MetricsInfo.NetInfo.ApiInfo + (*MetricsInfo_NetInfo_DisconnectionDetailInfo)(nil), // 95: protocol.MetricsInfo.NetInfo.DisconnectionDetailInfo + (*MetricsInfo_NetInfo_LatencyInfo)(nil), // 96: protocol.MetricsInfo.NetInfo.LatencyInfo + (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo)(nil), // 97: protocol.MetricsInfo.NetInfo.ApiInfo.ApiDetailInfo + (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo)(nil), // 98: protocol.MetricsInfo.NetInfo.LatencyInfo.LatencyDetailInfo + (*PBFTMessage_Raw)(nil), // 99: protocol.PBFTMessage.Raw + (*Endpoint)(nil), // 100: protocol.Endpoint + (ResourceCode)(0), // 101: protocol.ResourceCode + (*anypb.Any)(nil), // 102: google.protobuf.Any } var file_core_Tron_proto_depIdxs = []int32{ - 44, // 0: protocol.Proposal.parameters:type_name -> protocol.Proposal.ParametersEntry - 2, // 1: protocol.Proposal.state:type_name -> protocol.Proposal.State - 45, // 2: protocol.ChainParameters.chainParameter:type_name -> protocol.ChainParameters.ChainParameter - 0, // 3: protocol.Account.type:type_name -> protocol.AccountType - 12, // 4: protocol.Account.votes:type_name -> protocol.Vote - 47, // 5: protocol.Account.asset:type_name -> protocol.Account.AssetEntry - 48, // 6: protocol.Account.assetV2:type_name -> protocol.Account.AssetV2Entry - 46, // 7: protocol.Account.frozen:type_name -> protocol.Account.Frozen - 46, // 8: protocol.Account.frozen_supply:type_name -> protocol.Account.Frozen - 49, // 9: protocol.Account.latest_asset_operation_time:type_name -> protocol.Account.LatestAssetOperationTimeEntry - 50, // 10: protocol.Account.latest_asset_operation_timeV2:type_name -> protocol.Account.LatestAssetOperationTimeV2Entry - 51, // 11: protocol.Account.free_asset_net_usage:type_name -> protocol.Account.FreeAssetNetUsageEntry - 52, // 12: protocol.Account.free_asset_net_usageV2:type_name -> protocol.Account.FreeAssetNetUsageV2Entry - 53, // 13: protocol.Account.account_resource:type_name -> protocol.Account.AccountResource - 20, // 14: protocol.Account.owner_permission:type_name -> protocol.Permission - 20, // 15: protocol.Account.witness_permission:type_name -> protocol.Permission - 20, // 16: protocol.Account.active_permission:type_name -> protocol.Permission - 11, // 17: protocol.authority.account:type_name -> protocol.AccountId - 3, // 18: protocol.Permission.type:type_name -> protocol.Permission.PermissionType - 17, // 19: protocol.Permission.keys:type_name -> protocol.Key - 12, // 20: protocol.Votes.old_votes:type_name -> protocol.Vote - 12, // 21: protocol.Votes.new_votes:type_name -> protocol.Vote - 54, // 22: protocol.TXInput.raw_data:type_name -> protocol.TXInput.raw - 23, // 23: protocol.TXOutputs.outputs:type_name -> protocol.TXOutput - 6, // 24: protocol.ResourceReceipt.result:type_name -> protocol.Transaction.Result.contractResult - 57, // 25: protocol.Transaction.raw_data:type_name -> protocol.Transaction.raw - 56, // 26: protocol.Transaction.ret:type_name -> protocol.Transaction.Result - 26, // 27: protocol.TransactionInfo.receipt:type_name -> protocol.ResourceReceipt - 58, // 28: protocol.TransactionInfo.log:type_name -> protocol.TransactionInfo.Log - 7, // 29: protocol.TransactionInfo.result:type_name -> protocol.TransactionInfo.code - 41, // 30: protocol.TransactionInfo.internal_transactions:type_name -> protocol.InternalTransaction - 28, // 31: protocol.TransactionRet.transactioninfo:type_name -> protocol.TransactionInfo - 27, // 32: protocol.Transactions.transactions:type_name -> protocol.Transaction - 27, // 33: protocol.TransactionSign.transaction:type_name -> protocol.Transaction - 59, // 34: protocol.BlockHeader.raw_data:type_name -> protocol.BlockHeader.raw - 27, // 35: protocol.Block.transactions:type_name -> protocol.Transaction - 32, // 36: protocol.Block.block_header:type_name -> protocol.BlockHeader - 60, // 37: protocol.ChainInventory.ids:type_name -> protocol.ChainInventory.BlockId - 61, // 38: protocol.BlockInventory.ids:type_name -> protocol.BlockInventory.BlockId - 8, // 39: protocol.BlockInventory.type:type_name -> protocol.BlockInventory.Type - 9, // 40: protocol.Inventory.type:type_name -> protocol.Inventory.InventoryType - 10, // 41: protocol.Items.type:type_name -> protocol.Items.ItemType - 33, // 42: protocol.Items.blocks:type_name -> protocol.Block - 32, // 43: protocol.Items.block_headers:type_name -> protocol.BlockHeader - 27, // 44: protocol.Items.transactions:type_name -> protocol.Transaction - 1, // 45: protocol.DisconnectMessage.reason:type_name -> protocol.ReasonCode - 70, // 46: protocol.HelloMessage.from:type_name -> protocol.Endpoint - 62, // 47: protocol.HelloMessage.genesisBlockId:type_name -> protocol.HelloMessage.BlockId - 62, // 48: protocol.HelloMessage.solidBlockId:type_name -> protocol.HelloMessage.BlockId - 62, // 49: protocol.HelloMessage.headBlockId:type_name -> protocol.HelloMessage.BlockId - 63, // 50: protocol.InternalTransaction.callValueInfo:type_name -> protocol.InternalTransaction.CallValueInfo - 65, // 51: protocol.NodeInfo.peerInfoList:type_name -> protocol.NodeInfo.PeerInfo - 66, // 52: protocol.NodeInfo.configNodeInfo:type_name -> protocol.NodeInfo.ConfigNodeInfo - 67, // 53: protocol.NodeInfo.machineInfo:type_name -> protocol.NodeInfo.MachineInfo - 64, // 54: protocol.NodeInfo.cheatWitnessInfoMap:type_name -> protocol.NodeInfo.CheatWitnessInfoMapEntry - 46, // 55: protocol.Account.AccountResource.frozen_balance_for_energy:type_name -> protocol.Account.Frozen - 4, // 56: protocol.Transaction.Contract.type:type_name -> protocol.Transaction.Contract.ContractType - 71, // 57: protocol.Transaction.Contract.parameter:type_name -> google.protobuf.Any - 5, // 58: protocol.Transaction.Result.ret:type_name -> protocol.Transaction.Result.code - 6, // 59: protocol.Transaction.Result.contractRet:type_name -> protocol.Transaction.Result.contractResult - 19, // 60: protocol.Transaction.raw.auths:type_name -> protocol.authority - 55, // 61: protocol.Transaction.raw.contract:type_name -> protocol.Transaction.Contract - 68, // 62: protocol.NodeInfo.MachineInfo.memoryDescInfoList:type_name -> protocol.NodeInfo.MachineInfo.MemoryDescInfo - 69, // 63: protocol.NodeInfo.MachineInfo.deadLockThreadInfoList:type_name -> protocol.NodeInfo.MachineInfo.DeadLockThreadInfo - 64, // [64:64] is the sub-list for method output_type - 64, // [64:64] is the sub-list for method input_type - 64, // [64:64] is the sub-list for extension type_name - 64, // [64:64] is the sub-list for extension extendee - 0, // [0:64] is the sub-list for field type_name + 60, // 0: protocol.Proposal.parameters:type_name -> protocol.Proposal.ParametersEntry + 2, // 1: protocol.Proposal.state:type_name -> protocol.Proposal.State + 3, // 2: protocol.MarketOrder.state:type_name -> protocol.MarketOrder.State + 18, // 3: protocol.MarketOrderList.orders:type_name -> protocol.MarketOrder + 21, // 4: protocol.MarketOrderPairList.orderPair:type_name -> protocol.MarketOrderPair + 23, // 5: protocol.MarketPriceList.prices:type_name -> protocol.MarketPrice + 61, // 6: protocol.ChainParameters.chainParameter:type_name -> protocol.ChainParameters.ChainParameter + 0, // 7: protocol.Account.type:type_name -> protocol.AccountType + 15, // 8: protocol.Account.votes:type_name -> protocol.Vote + 63, // 9: protocol.Account.asset:type_name -> protocol.Account.AssetEntry + 64, // 10: protocol.Account.assetV2:type_name -> protocol.Account.AssetV2Entry + 62, // 11: protocol.Account.frozen:type_name -> protocol.Account.Frozen + 62, // 12: protocol.Account.tron_power:type_name -> protocol.Account.Frozen + 62, // 13: protocol.Account.frozen_supply:type_name -> protocol.Account.Frozen + 65, // 14: protocol.Account.latest_asset_operation_time:type_name -> protocol.Account.LatestAssetOperationTimeEntry + 66, // 15: protocol.Account.latest_asset_operation_timeV2:type_name -> protocol.Account.LatestAssetOperationTimeV2Entry + 67, // 16: protocol.Account.free_asset_net_usage:type_name -> protocol.Account.FreeAssetNetUsageEntry + 68, // 17: protocol.Account.free_asset_net_usageV2:type_name -> protocol.Account.FreeAssetNetUsageV2Entry + 69, // 18: protocol.Account.account_resource:type_name -> protocol.Account.AccountResource + 31, // 19: protocol.Account.owner_permission:type_name -> protocol.Permission + 31, // 20: protocol.Account.witness_permission:type_name -> protocol.Permission + 31, // 21: protocol.Account.active_permission:type_name -> protocol.Permission + 70, // 22: protocol.Account.frozenV2:type_name -> protocol.Account.FreezeV2 + 71, // 23: protocol.Account.unfrozenV2:type_name -> protocol.Account.UnFreezeV2 + 14, // 24: protocol.authority.account:type_name -> protocol.AccountId + 4, // 25: protocol.Permission.type:type_name -> protocol.Permission.PermissionType + 28, // 26: protocol.Permission.keys:type_name -> protocol.Key + 15, // 27: protocol.Votes.old_votes:type_name -> protocol.Vote + 15, // 28: protocol.Votes.new_votes:type_name -> protocol.Vote + 72, // 29: protocol.TXInput.raw_data:type_name -> protocol.TXInput.raw + 34, // 30: protocol.TXOutputs.outputs:type_name -> protocol.TXOutput + 7, // 31: protocol.ResourceReceipt.result:type_name -> protocol.Transaction.Result.contractResult + 75, // 32: protocol.Transaction.raw_data:type_name -> protocol.Transaction.raw + 74, // 33: protocol.Transaction.ret:type_name -> protocol.Transaction.Result + 37, // 34: protocol.TransactionInfo.receipt:type_name -> protocol.ResourceReceipt + 76, // 35: protocol.TransactionInfo.log:type_name -> protocol.TransactionInfo.Log + 8, // 36: protocol.TransactionInfo.result:type_name -> protocol.TransactionInfo.code + 53, // 37: protocol.TransactionInfo.internal_transactions:type_name -> protocol.InternalTransaction + 38, // 38: protocol.TransactionInfo.orderDetails:type_name -> protocol.MarketOrderDetail + 40, // 39: protocol.TransactionRet.transactioninfo:type_name -> protocol.TransactionInfo + 39, // 40: protocol.Transactions.transactions:type_name -> protocol.Transaction + 39, // 41: protocol.TransactionSign.transaction:type_name -> protocol.Transaction + 77, // 42: protocol.BlockHeader.raw_data:type_name -> protocol.BlockHeader.raw + 39, // 43: protocol.Block.transactions:type_name -> protocol.Transaction + 44, // 44: protocol.Block.block_header:type_name -> protocol.BlockHeader + 78, // 45: protocol.ChainInventory.ids:type_name -> protocol.ChainInventory.BlockId + 79, // 46: protocol.BlockInventory.ids:type_name -> protocol.BlockInventory.BlockId + 9, // 47: protocol.BlockInventory.type:type_name -> protocol.BlockInventory.Type + 10, // 48: protocol.Inventory.type:type_name -> protocol.Inventory.InventoryType + 11, // 49: protocol.Items.type:type_name -> protocol.Items.ItemType + 45, // 50: protocol.Items.blocks:type_name -> protocol.Block + 44, // 51: protocol.Items.block_headers:type_name -> protocol.BlockHeader + 39, // 52: protocol.Items.transactions:type_name -> protocol.Transaction + 1, // 53: protocol.DisconnectMessage.reason:type_name -> protocol.ReasonCode + 100, // 54: protocol.HelloMessage.from:type_name -> protocol.Endpoint + 80, // 55: protocol.HelloMessage.genesisBlockId:type_name -> protocol.HelloMessage.BlockId + 80, // 56: protocol.HelloMessage.solidBlockId:type_name -> protocol.HelloMessage.BlockId + 80, // 57: protocol.HelloMessage.headBlockId:type_name -> protocol.HelloMessage.BlockId + 81, // 58: protocol.InternalTransaction.callValueInfo:type_name -> protocol.InternalTransaction.CallValueInfo + 83, // 59: protocol.NodeInfo.peerInfoList:type_name -> protocol.NodeInfo.PeerInfo + 84, // 60: protocol.NodeInfo.configNodeInfo:type_name -> protocol.NodeInfo.ConfigNodeInfo + 85, // 61: protocol.NodeInfo.machineInfo:type_name -> protocol.NodeInfo.MachineInfo + 82, // 62: protocol.NodeInfo.cheatWitnessInfoMap:type_name -> protocol.NodeInfo.CheatWitnessInfoMapEntry + 88, // 63: protocol.MetricsInfo.node:type_name -> protocol.MetricsInfo.NodeInfo + 89, // 64: protocol.MetricsInfo.blockchain:type_name -> protocol.MetricsInfo.BlockChainInfo + 91, // 65: protocol.MetricsInfo.net:type_name -> protocol.MetricsInfo.NetInfo + 99, // 66: protocol.PBFTMessage.raw_data:type_name -> protocol.PBFTMessage.Raw + 62, // 67: protocol.Account.AccountResource.frozen_balance_for_energy:type_name -> protocol.Account.Frozen + 101, // 68: protocol.Account.FreezeV2.type:type_name -> protocol.ResourceCode + 101, // 69: protocol.Account.UnFreezeV2.type:type_name -> protocol.ResourceCode + 5, // 70: protocol.Transaction.Contract.type:type_name -> protocol.Transaction.Contract.ContractType + 102, // 71: protocol.Transaction.Contract.parameter:type_name -> google.protobuf.Any + 6, // 72: protocol.Transaction.Result.ret:type_name -> protocol.Transaction.Result.code + 7, // 73: protocol.Transaction.Result.contractRet:type_name -> protocol.Transaction.Result.contractResult + 38, // 74: protocol.Transaction.Result.orderDetails:type_name -> protocol.MarketOrderDetail + 30, // 75: protocol.Transaction.raw.auths:type_name -> protocol.authority + 73, // 76: protocol.Transaction.raw.contract:type_name -> protocol.Transaction.Contract + 86, // 77: protocol.NodeInfo.MachineInfo.memoryDescInfoList:type_name -> protocol.NodeInfo.MachineInfo.MemoryDescInfo + 87, // 78: protocol.NodeInfo.MachineInfo.deadLockThreadInfoList:type_name -> protocol.NodeInfo.MachineInfo.DeadLockThreadInfo + 90, // 79: protocol.MetricsInfo.BlockChainInfo.blockProcessTime:type_name -> protocol.MetricsInfo.RateInfo + 90, // 80: protocol.MetricsInfo.BlockChainInfo.tps:type_name -> protocol.MetricsInfo.RateInfo + 90, // 81: protocol.MetricsInfo.BlockChainInfo.missedTransaction:type_name -> protocol.MetricsInfo.RateInfo + 92, // 82: protocol.MetricsInfo.BlockChainInfo.witnesses:type_name -> protocol.MetricsInfo.BlockChainInfo.Witness + 93, // 83: protocol.MetricsInfo.BlockChainInfo.dupWitness:type_name -> protocol.MetricsInfo.BlockChainInfo.DupWitness + 94, // 84: protocol.MetricsInfo.NetInfo.api:type_name -> protocol.MetricsInfo.NetInfo.ApiInfo + 90, // 85: protocol.MetricsInfo.NetInfo.tcpInTraffic:type_name -> protocol.MetricsInfo.RateInfo + 90, // 86: protocol.MetricsInfo.NetInfo.tcpOutTraffic:type_name -> protocol.MetricsInfo.RateInfo + 95, // 87: protocol.MetricsInfo.NetInfo.disconnectionDetail:type_name -> protocol.MetricsInfo.NetInfo.DisconnectionDetailInfo + 90, // 88: protocol.MetricsInfo.NetInfo.udpInTraffic:type_name -> protocol.MetricsInfo.RateInfo + 90, // 89: protocol.MetricsInfo.NetInfo.udpOutTraffic:type_name -> protocol.MetricsInfo.RateInfo + 96, // 90: protocol.MetricsInfo.NetInfo.latency:type_name -> protocol.MetricsInfo.NetInfo.LatencyInfo + 90, // 91: protocol.MetricsInfo.NetInfo.ApiInfo.qps:type_name -> protocol.MetricsInfo.RateInfo + 90, // 92: protocol.MetricsInfo.NetInfo.ApiInfo.failQps:type_name -> protocol.MetricsInfo.RateInfo + 90, // 93: protocol.MetricsInfo.NetInfo.ApiInfo.outTraffic:type_name -> protocol.MetricsInfo.RateInfo + 97, // 94: protocol.MetricsInfo.NetInfo.ApiInfo.detail:type_name -> protocol.MetricsInfo.NetInfo.ApiInfo.ApiDetailInfo + 98, // 95: protocol.MetricsInfo.NetInfo.LatencyInfo.detail:type_name -> protocol.MetricsInfo.NetInfo.LatencyInfo.LatencyDetailInfo + 90, // 96: protocol.MetricsInfo.NetInfo.ApiInfo.ApiDetailInfo.qps:type_name -> protocol.MetricsInfo.RateInfo + 90, // 97: protocol.MetricsInfo.NetInfo.ApiInfo.ApiDetailInfo.failQps:type_name -> protocol.MetricsInfo.RateInfo + 90, // 98: protocol.MetricsInfo.NetInfo.ApiInfo.ApiDetailInfo.outTraffic:type_name -> protocol.MetricsInfo.RateInfo + 12, // 99: protocol.PBFTMessage.Raw.msg_type:type_name -> protocol.PBFTMessage.MsgType + 13, // 100: protocol.PBFTMessage.Raw.data_type:type_name -> protocol.PBFTMessage.DataType + 101, // [101:101] is the sub-list for method output_type + 101, // [101:101] is the sub-list for method input_type + 101, // [101:101] is the sub-list for extension type_name + 101, // [101:101] is the sub-list for extension extendee + 0, // [0:101] is the sub-list for field type_name } func init() { file_core_Tron_proto_init() } @@ -6298,6 +9133,7 @@ func file_core_Tron_proto_init() { return } file_core_Discover_proto_init() + file_core_common_proto_init() if !protoimpl.UnsafeEnabled { file_core_Tron_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AccountId); i { @@ -6311,8 +9147,188 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Vote); i { + file_core_Tron_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Vote); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Proposal); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Exchange); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarketOrder); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarketOrderList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarketOrderPairList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarketOrderPair); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarketAccountOrder); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarketPrice); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarketPriceList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarketOrderIdList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChainParameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Account); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[14].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_core_Tron_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DelegatedResource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Authority); i { case 0: return &v.state case 1: @@ -6323,8 +9339,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proposal); i { + file_core_Tron_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Permission); i { case 0: return &v.state case 1: @@ -6335,8 +9351,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Exchange); i { + file_core_Tron_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Witness); i { case 0: return &v.state case 1: @@ -6347,8 +9363,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChainParameters); i { + file_core_Tron_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Votes); i { case 0: return &v.state case 1: @@ -6359,8 +9375,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Account); i { + file_core_Tron_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TXOutput); i { case 0: return &v.state case 1: @@ -6371,8 +9387,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Key); i { + file_core_Tron_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TXInput); i { case 0: return &v.state case 1: @@ -6383,8 +9399,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DelegatedResource); i { + file_core_Tron_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TXOutputs); i { case 0: return &v.state case 1: @@ -6395,8 +9411,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Authority); i { + file_core_Tron_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourceReceipt); i { case 0: return &v.state case 1: @@ -6407,8 +9423,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Permission); i { + file_core_Tron_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarketOrderDetail); i { case 0: return &v.state case 1: @@ -6419,8 +9435,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Witness); i { + file_core_Tron_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Transaction); i { case 0: return &v.state case 1: @@ -6431,8 +9447,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Votes); i { + file_core_Tron_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransactionInfo); i { case 0: return &v.state case 1: @@ -6443,8 +9459,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TXOutput); i { + file_core_Tron_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransactionRet); i { case 0: return &v.state case 1: @@ -6455,8 +9471,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TXInput); i { + file_core_Tron_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Transactions); i { case 0: return &v.state case 1: @@ -6467,8 +9483,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TXOutputs); i { + file_core_Tron_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransactionSign); i { case 0: return &v.state case 1: @@ -6479,8 +9495,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResourceReceipt); i { + file_core_Tron_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockHeader); i { case 0: return &v.state case 1: @@ -6491,8 +9507,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Transaction); i { + file_core_Tron_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Block); i { case 0: return &v.state case 1: @@ -6503,8 +9519,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionInfo); i { + file_core_Tron_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChainInventory); i { case 0: return &v.state case 1: @@ -6515,8 +9531,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionRet); i { + file_core_Tron_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockInventory); i { case 0: return &v.state case 1: @@ -6527,8 +9543,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Transactions); i { + file_core_Tron_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Inventory); i { case 0: return &v.state case 1: @@ -6539,8 +9555,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionSign); i { + file_core_Tron_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Items); i { case 0: return &v.state case 1: @@ -6551,8 +9567,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockHeader); i { + file_core_Tron_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DynamicProperties); i { case 0: return &v.state case 1: @@ -6563,8 +9579,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Block); i { + file_core_Tron_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisconnectMessage); i { case 0: return &v.state case 1: @@ -6575,8 +9591,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChainInventory); i { + file_core_Tron_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HelloMessage); i { case 0: return &v.state case 1: @@ -6587,8 +9603,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockInventory); i { + file_core_Tron_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InternalTransaction); i { case 0: return &v.state case 1: @@ -6599,8 +9615,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Inventory); i { + file_core_Tron_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DelegatedResourceAccountIndex); i { case 0: return &v.state case 1: @@ -6611,8 +9627,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Items); i { + file_core_Tron_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeInfo); i { case 0: return &v.state case 1: @@ -6623,8 +9639,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DynamicProperties); i { + file_core_Tron_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricsInfo); i { case 0: return &v.state case 1: @@ -6635,8 +9651,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DisconnectMessage); i { + file_core_Tron_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PBFTMessage); i { case 0: return &v.state case 1: @@ -6647,8 +9663,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HelloMessage); i { + file_core_Tron_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PBFTCommitResult); i { case 0: return &v.state case 1: @@ -6659,8 +9675,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InternalTransaction); i { + file_core_Tron_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SRL); i { case 0: return &v.state case 1: @@ -6671,8 +9687,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DelegatedResourceAccountIndex); i { + file_core_Tron_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChainParameters_ChainParameter); i { case 0: return &v.state case 1: @@ -6683,8 +9699,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeInfo); i { + file_core_Tron_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Account_Frozen); i { case 0: return &v.state case 1: @@ -6695,8 +9711,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChainParameters_ChainParameter); i { + file_core_Tron_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Account_AccountResource); i { case 0: return &v.state case 1: @@ -6707,8 +9723,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Account_Frozen); i { + file_core_Tron_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Account_FreezeV2); i { case 0: return &v.state case 1: @@ -6719,8 +9735,8 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Account_AccountResource); i { + file_core_Tron_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Account_UnFreezeV2); i { case 0: return &v.state case 1: @@ -6731,7 +9747,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TXInputRaw); i { case 0: return &v.state @@ -6743,7 +9759,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Transaction_Contract); i { case 0: return &v.state @@ -6755,7 +9771,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Transaction_Result); i { case 0: return &v.state @@ -6767,7 +9783,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TransactionRaw); i { case 0: return &v.state @@ -6779,7 +9795,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TransactionInfo_Log); i { case 0: return &v.state @@ -6791,7 +9807,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BlockHeaderRaw); i { case 0: return &v.state @@ -6803,7 +9819,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ChainInventory_BlockId); i { case 0: return &v.state @@ -6815,7 +9831,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BlockInventory_BlockId); i { case 0: return &v.state @@ -6827,7 +9843,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*HelloMessage_BlockId); i { case 0: return &v.state @@ -6839,7 +9855,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*InternalTransaction_CallValueInfo); i { case 0: return &v.state @@ -6851,7 +9867,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NodeInfo_PeerInfo); i { case 0: return &v.state @@ -6863,7 +9879,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NodeInfo_ConfigNodeInfo); i { case 0: return &v.state @@ -6875,7 +9891,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NodeInfo_MachineInfo); i { case 0: return &v.state @@ -6887,7 +9903,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NodeInfo_MachineInfo_MemoryDescInfo); i { case 0: return &v.state @@ -6899,7 +9915,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NodeInfo_MachineInfo_DeadLockThreadInfo); i { case 0: return &v.state @@ -6911,14 +9927,158 @@ func file_core_Tron_proto_init() { return nil } } + file_core_Tron_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricsInfo_NodeInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricsInfo_BlockChainInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricsInfo_RateInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricsInfo_NetInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricsInfo_BlockChainInfo_Witness); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricsInfo_BlockChainInfo_DupWitness); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricsInfo_NetInfo_ApiInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricsInfo_NetInfo_DisconnectionDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricsInfo_NetInfo_LatencyInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PBFTMessage_Raw); 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_core_Tron_proto_rawDesc, - NumEnums: 11, - NumMessages: 59, + NumEnums: 14, + NumMessages: 86, NumExtensions: 0, NumServices: 0, }, diff --git a/pkg/proto/core/TronInventoryItems.pb.go b/pkg/proto/core/TronInventoryItems.pb.go index f591ebb35..d60a72324 100644 --- a/pkg/proto/core/TronInventoryItems.pb.go +++ b/pkg/proto/core/TronInventoryItems.pb.go @@ -1,13 +1,12 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.21.0-devel -// protoc v3.11.4 +// protoc-gen-go v1.28.0 +// protoc v3.21.12 // source: core/TronInventoryItems.proto package core import ( - proto "github.com/golang/protobuf/proto" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -21,10 +20,6 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -// This is a compile-time assertion that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 - type InventoryItems struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/pkg/proto/core/account_contract.pb.go b/pkg/proto/core/account_contract.pb.go index 50f7a4b1f..17c435882 100644 --- a/pkg/proto/core/account_contract.pb.go +++ b/pkg/proto/core/account_contract.pb.go @@ -1,272 +1,439 @@ +// +// java-tron is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// java-tron is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + // Code generated by protoc-gen-go. DO NOT EDIT. -// source: core/contract/account_contract.proto +// versions: +// protoc-gen-go v1.28.0 +// protoc v3.21.12 +// source: core/account_contract.proto package core import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 AccountCreateContract struct { - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - AccountAddress []byte `protobuf:"bytes,2,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` - Type AccountType `protobuf:"varint,3,opt,name=type,proto3,enum=protocol.AccountType" json:"type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *AccountCreateContract) Reset() { *m = AccountCreateContract{} } -func (m *AccountCreateContract) String() string { return proto.CompactTextString(m) } -func (*AccountCreateContract) ProtoMessage() {} -func (*AccountCreateContract) Descriptor() ([]byte, []int) { - return fileDescriptor_1677e8301fd3b985, []int{0} + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + AccountAddress []byte `protobuf:"bytes,2,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` + Type AccountType `protobuf:"varint,3,opt,name=type,proto3,enum=protocol.AccountType" json:"type,omitempty"` } -func (m *AccountCreateContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AccountCreateContract.Unmarshal(m, b) -} -func (m *AccountCreateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AccountCreateContract.Marshal(b, m, deterministic) -} -func (m *AccountCreateContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccountCreateContract.Merge(m, src) +func (x *AccountCreateContract) Reset() { + *x = AccountCreateContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_account_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AccountCreateContract) XXX_Size() int { - return xxx_messageInfo_AccountCreateContract.Size(m) + +func (x *AccountCreateContract) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AccountCreateContract) XXX_DiscardUnknown() { - xxx_messageInfo_AccountCreateContract.DiscardUnknown(m) + +func (*AccountCreateContract) ProtoMessage() {} + +func (x *AccountCreateContract) ProtoReflect() protoreflect.Message { + mi := &file_core_account_contract_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_AccountCreateContract proto.InternalMessageInfo +// Deprecated: Use AccountCreateContract.ProtoReflect.Descriptor instead. +func (*AccountCreateContract) Descriptor() ([]byte, []int) { + return file_core_account_contract_proto_rawDescGZIP(), []int{0} +} -func (m *AccountCreateContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *AccountCreateContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress } return nil } -func (m *AccountCreateContract) GetAccountAddress() []byte { - if m != nil { - return m.AccountAddress +func (x *AccountCreateContract) GetAccountAddress() []byte { + if x != nil { + return x.AccountAddress } return nil } -func (m *AccountCreateContract) GetType() AccountType { - if m != nil { - return m.Type +func (x *AccountCreateContract) GetType() AccountType { + if x != nil { + return x.Type } return AccountType_Normal } // Update account name. Account name is not unique now. type AccountUpdateContract struct { - AccountName []byte `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` - OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *AccountUpdateContract) Reset() { *m = AccountUpdateContract{} } -func (m *AccountUpdateContract) String() string { return proto.CompactTextString(m) } -func (*AccountUpdateContract) ProtoMessage() {} -func (*AccountUpdateContract) Descriptor() ([]byte, []int) { - return fileDescriptor_1677e8301fd3b985, []int{1} + AccountName []byte `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` + OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` } -func (m *AccountUpdateContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AccountUpdateContract.Unmarshal(m, b) -} -func (m *AccountUpdateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AccountUpdateContract.Marshal(b, m, deterministic) -} -func (m *AccountUpdateContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccountUpdateContract.Merge(m, src) +func (x *AccountUpdateContract) Reset() { + *x = AccountUpdateContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_account_contract_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AccountUpdateContract) XXX_Size() int { - return xxx_messageInfo_AccountUpdateContract.Size(m) + +func (x *AccountUpdateContract) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AccountUpdateContract) XXX_DiscardUnknown() { - xxx_messageInfo_AccountUpdateContract.DiscardUnknown(m) + +func (*AccountUpdateContract) ProtoMessage() {} + +func (x *AccountUpdateContract) ProtoReflect() protoreflect.Message { + mi := &file_core_account_contract_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_AccountUpdateContract proto.InternalMessageInfo +// Deprecated: Use AccountUpdateContract.ProtoReflect.Descriptor instead. +func (*AccountUpdateContract) Descriptor() ([]byte, []int) { + return file_core_account_contract_proto_rawDescGZIP(), []int{1} +} -func (m *AccountUpdateContract) GetAccountName() []byte { - if m != nil { - return m.AccountName +func (x *AccountUpdateContract) GetAccountName() []byte { + if x != nil { + return x.AccountName } return nil } -func (m *AccountUpdateContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *AccountUpdateContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress } return nil } // Set account id if the account has no id. Account id is unique and case insensitive. type SetAccountIdContract struct { - AccountId []byte `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` - OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *SetAccountIdContract) Reset() { *m = SetAccountIdContract{} } -func (m *SetAccountIdContract) String() string { return proto.CompactTextString(m) } -func (*SetAccountIdContract) ProtoMessage() {} -func (*SetAccountIdContract) Descriptor() ([]byte, []int) { - return fileDescriptor_1677e8301fd3b985, []int{2} + AccountId []byte `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` + OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` } -func (m *SetAccountIdContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetAccountIdContract.Unmarshal(m, b) -} -func (m *SetAccountIdContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetAccountIdContract.Marshal(b, m, deterministic) -} -func (m *SetAccountIdContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetAccountIdContract.Merge(m, src) +func (x *SetAccountIdContract) Reset() { + *x = SetAccountIdContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_account_contract_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SetAccountIdContract) XXX_Size() int { - return xxx_messageInfo_SetAccountIdContract.Size(m) + +func (x *SetAccountIdContract) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetAccountIdContract) XXX_DiscardUnknown() { - xxx_messageInfo_SetAccountIdContract.DiscardUnknown(m) + +func (*SetAccountIdContract) ProtoMessage() {} + +func (x *SetAccountIdContract) ProtoReflect() protoreflect.Message { + mi := &file_core_account_contract_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SetAccountIdContract proto.InternalMessageInfo +// Deprecated: Use SetAccountIdContract.ProtoReflect.Descriptor instead. +func (*SetAccountIdContract) Descriptor() ([]byte, []int) { + return file_core_account_contract_proto_rawDescGZIP(), []int{2} +} -func (m *SetAccountIdContract) GetAccountId() []byte { - if m != nil { - return m.AccountId +func (x *SetAccountIdContract) GetAccountId() []byte { + if x != nil { + return x.AccountId } return nil } -func (m *SetAccountIdContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *SetAccountIdContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress } return nil } type AccountPermissionUpdateContract struct { - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Owner *Permission `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` - Witness *Permission `protobuf:"bytes,3,opt,name=witness,proto3" json:"witness,omitempty"` - Actives []*Permission `protobuf:"bytes,4,rep,name=actives,proto3" json:"actives,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *AccountPermissionUpdateContract) Reset() { *m = AccountPermissionUpdateContract{} } -func (m *AccountPermissionUpdateContract) String() string { return proto.CompactTextString(m) } -func (*AccountPermissionUpdateContract) ProtoMessage() {} -func (*AccountPermissionUpdateContract) Descriptor() ([]byte, []int) { - return fileDescriptor_1677e8301fd3b985, []int{3} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Owner *Permission `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` //Empty is invalidate + Witness *Permission `protobuf:"bytes,3,opt,name=witness,proto3" json:"witness,omitempty"` //Can be empty + Actives []*Permission `protobuf:"bytes,4,rep,name=actives,proto3" json:"actives,omitempty"` //Empty is invalidate +} + +func (x *AccountPermissionUpdateContract) Reset() { + *x = AccountPermissionUpdateContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_account_contract_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AccountPermissionUpdateContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AccountPermissionUpdateContract.Unmarshal(m, b) +func (x *AccountPermissionUpdateContract) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AccountPermissionUpdateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AccountPermissionUpdateContract.Marshal(b, m, deterministic) -} -func (m *AccountPermissionUpdateContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_AccountPermissionUpdateContract.Merge(m, src) -} -func (m *AccountPermissionUpdateContract) XXX_Size() int { - return xxx_messageInfo_AccountPermissionUpdateContract.Size(m) -} -func (m *AccountPermissionUpdateContract) XXX_DiscardUnknown() { - xxx_messageInfo_AccountPermissionUpdateContract.DiscardUnknown(m) + +func (*AccountPermissionUpdateContract) ProtoMessage() {} + +func (x *AccountPermissionUpdateContract) ProtoReflect() protoreflect.Message { + mi := &file_core_account_contract_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_AccountPermissionUpdateContract proto.InternalMessageInfo +// Deprecated: Use AccountPermissionUpdateContract.ProtoReflect.Descriptor instead. +func (*AccountPermissionUpdateContract) Descriptor() ([]byte, []int) { + return file_core_account_contract_proto_rawDescGZIP(), []int{3} +} -func (m *AccountPermissionUpdateContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *AccountPermissionUpdateContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress } return nil } -func (m *AccountPermissionUpdateContract) GetOwner() *Permission { - if m != nil { - return m.Owner +func (x *AccountPermissionUpdateContract) GetOwner() *Permission { + if x != nil { + return x.Owner } return nil } -func (m *AccountPermissionUpdateContract) GetWitness() *Permission { - if m != nil { - return m.Witness +func (x *AccountPermissionUpdateContract) GetWitness() *Permission { + if x != nil { + return x.Witness } return nil } -func (m *AccountPermissionUpdateContract) GetActives() []*Permission { - if m != nil { - return m.Actives +func (x *AccountPermissionUpdateContract) GetActives() []*Permission { + if x != nil { + return x.Actives } return nil } -func init() { - proto.RegisterType((*AccountCreateContract)(nil), "protocol.AccountCreateContract") - proto.RegisterType((*AccountUpdateContract)(nil), "protocol.AccountUpdateContract") - proto.RegisterType((*SetAccountIdContract)(nil), "protocol.SetAccountIdContract") - proto.RegisterType((*AccountPermissionUpdateContract)(nil), "protocol.AccountPermissionUpdateContract") -} - -func init() { - proto.RegisterFile("core/contract/account_contract.proto", fileDescriptor_1677e8301fd3b985) -} - -var fileDescriptor_1677e8301fd3b985 = []byte{ - // 337 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xc1, 0x4e, 0xf2, 0x40, - 0x14, 0x85, 0x53, 0xe0, 0xff, 0xd5, 0x01, 0x21, 0x69, 0x20, 0x69, 0x4c, 0x8c, 0x80, 0x26, 0xa2, - 0x8b, 0x69, 0x82, 0x6b, 0x17, 0xc8, 0xca, 0x8d, 0x31, 0x88, 0x1b, 0x36, 0x64, 0x3a, 0xbd, 0xe2, - 0x24, 0x76, 0x6e, 0x33, 0x33, 0x48, 0x78, 0x0b, 0x9f, 0xcd, 0x27, 0x32, 0x9d, 0xce, 0x80, 0x91, - 0x68, 0x58, 0x35, 0x3d, 0xfd, 0xee, 0x39, 0xa7, 0x37, 0x97, 0x5c, 0x70, 0x54, 0x10, 0x73, 0x94, - 0x46, 0x31, 0x6e, 0x62, 0xc6, 0x39, 0x2e, 0xa5, 0x99, 0x7b, 0x81, 0xe6, 0x0a, 0x0d, 0x86, 0x87, - 0xf6, 0xc1, 0xf1, 0xed, 0xa4, 0x65, 0xf9, 0xa9, 0x42, 0x59, 0x7e, 0xea, 0x7f, 0x04, 0xa4, 0x33, - 0x2a, 0xa7, 0xc6, 0x0a, 0x98, 0x81, 0xb1, 0x1b, 0x0d, 0xcf, 0xc9, 0x31, 0xae, 0x24, 0xa8, 0x39, - 0x4b, 0x53, 0x05, 0x5a, 0x47, 0x41, 0x37, 0x18, 0x34, 0x26, 0x0d, 0x2b, 0x8e, 0x4a, 0x2d, 0xbc, - 0x24, 0x2d, 0x9f, 0xe9, 0xb1, 0x8a, 0xc5, 0x9a, 0x4e, 0xf6, 0xe0, 0x15, 0xa9, 0x99, 0x75, 0x0e, - 0x51, 0xb5, 0x1b, 0x0c, 0x9a, 0xc3, 0x0e, 0xf5, 0x8d, 0xa8, 0x0b, 0x9f, 0xae, 0x73, 0x98, 0x58, - 0xa4, 0x3f, 0xdf, 0x34, 0x7a, 0xce, 0xd3, 0xef, 0x8d, 0x7a, 0xa4, 0xe1, 0xc3, 0x24, 0xcb, 0xc0, - 0x15, 0xaa, 0x3b, 0xed, 0x81, 0x65, 0xb0, 0x5b, 0xba, 0xb2, 0x5b, 0xba, 0x3f, 0x23, 0xed, 0x27, - 0x30, 0x2e, 0xe3, 0x3e, 0xdd, 0xf8, 0x9f, 0x12, 0xe2, 0xfd, 0x45, 0xea, 0xdc, 0x8f, 0x98, 0xc7, - 0xf6, 0xf3, 0xfe, 0x0c, 0xc8, 0x99, 0x73, 0x7e, 0x04, 0x95, 0x09, 0xad, 0x05, 0xca, 0x1f, 0xff, - 0xb1, 0xd7, 0x66, 0xaf, 0xc9, 0x3f, 0xfb, 0x6e, 0x53, 0xea, 0xc3, 0xf6, 0x76, 0x63, 0x5b, 0xdf, - 0x49, 0x89, 0x84, 0x94, 0x1c, 0xac, 0x84, 0x91, 0x85, 0x55, 0xf5, 0x0f, 0xda, 0x43, 0x05, 0xcf, - 0xb8, 0x11, 0xef, 0xa0, 0xa3, 0x5a, 0xb7, 0xfa, 0x3b, 0xef, 0xa0, 0xbb, 0x5b, 0x12, 0xa1, 0x5a, - 0x50, 0xb3, 0x39, 0x1b, 0x4d, 0xfd, 0x85, 0xcd, 0x7a, 0x0b, 0x61, 0x5e, 0x97, 0x09, 0xe5, 0x98, - 0xc5, 0x2f, 0x89, 0xc6, 0x44, 0x81, 0x50, 0x2c, 0x5e, 0x60, 0x41, 0xc7, 0xc5, 0xb9, 0x25, 0xff, - 0xed, 0xcc, 0xcd, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 0x3e, 0x42, 0x09, 0xcd, 0xad, 0x02, 0x00, - 0x00, +var File_core_account_contract_proto protoreflect.FileDescriptor + +var file_core_account_contract_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x1a, 0x0f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x54, 0x72, + 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x90, 0x01, 0x0a, 0x15, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x12, 0x29, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x5f, 0x0a, 0x15, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, + 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x5a, 0x0a, 0x14, + 0x53, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, + 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xd2, 0x01, 0x0a, 0x1f, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x2a, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x2e, 0x0a, + 0x07, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x2e, 0x0a, + 0x07, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x73, 0x42, 0x4b, 0x0a, + 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, + 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, 0x72, 0x65, 0x69, 0x72, 0x61, + 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x6b, 0x67, 0x2f, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_core_account_contract_proto_rawDescOnce sync.Once + file_core_account_contract_proto_rawDescData = file_core_account_contract_proto_rawDesc +) + +func file_core_account_contract_proto_rawDescGZIP() []byte { + file_core_account_contract_proto_rawDescOnce.Do(func() { + file_core_account_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_account_contract_proto_rawDescData) + }) + return file_core_account_contract_proto_rawDescData +} + +var file_core_account_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_core_account_contract_proto_goTypes = []interface{}{ + (*AccountCreateContract)(nil), // 0: protocol.AccountCreateContract + (*AccountUpdateContract)(nil), // 1: protocol.AccountUpdateContract + (*SetAccountIdContract)(nil), // 2: protocol.SetAccountIdContract + (*AccountPermissionUpdateContract)(nil), // 3: protocol.AccountPermissionUpdateContract + (AccountType)(0), // 4: protocol.AccountType + (*Permission)(nil), // 5: protocol.Permission +} +var file_core_account_contract_proto_depIdxs = []int32{ + 4, // 0: protocol.AccountCreateContract.type:type_name -> protocol.AccountType + 5, // 1: protocol.AccountPermissionUpdateContract.owner:type_name -> protocol.Permission + 5, // 2: protocol.AccountPermissionUpdateContract.witness:type_name -> protocol.Permission + 5, // 3: protocol.AccountPermissionUpdateContract.actives:type_name -> protocol.Permission + 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_core_account_contract_proto_init() } +func file_core_account_contract_proto_init() { + if File_core_account_contract_proto != nil { + return + } + file_core_Tron_proto_init() + if !protoimpl.UnsafeEnabled { + file_core_account_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccountCreateContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_account_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccountUpdateContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_account_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetAccountIdContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_account_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccountPermissionUpdateContract); 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_core_account_contract_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_core_account_contract_proto_goTypes, + DependencyIndexes: file_core_account_contract_proto_depIdxs, + MessageInfos: file_core_account_contract_proto_msgTypes, + }.Build() + File_core_account_contract_proto = out.File + file_core_account_contract_proto_rawDesc = nil + file_core_account_contract_proto_goTypes = nil + file_core_account_contract_proto_depIdxs = nil } diff --git a/pkg/proto/core/asset_issue_contract.pb.go b/pkg/proto/core/asset_issue_contract.pb.go index 262eafa9f..d35cb2e2c 100644 --- a/pkg/proto/core/asset_issue_contract.pb.go +++ b/pkg/proto/core/asset_issue_contract.pb.go @@ -1,26 +1,30 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// source: core/contract/asset_issue_contract.proto +// versions: +// protoc-gen-go v1.28.0 +// protoc v3.21.12 +// source: core/asset_issue_contract.proto package core import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 AssetIssueContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Id string `protobuf:"bytes,41,opt,name=id,proto3" json:"id,omitempty"` OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` @@ -32,7 +36,7 @@ type AssetIssueContract struct { Num int32 `protobuf:"varint,8,opt,name=num,proto3" json:"num,omitempty"` StartTime int64 `protobuf:"varint,9,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime int64 `protobuf:"varint,10,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - Order int64 `protobuf:"varint,11,opt,name=order,proto3" json:"order,omitempty"` + Order int64 `protobuf:"varint,11,opt,name=order,proto3" json:"order,omitempty"` // useless VoteScore int32 `protobuf:"varint,16,opt,name=vote_score,json=voteScore,proto3" json:"vote_score,omitempty"` Description []byte `protobuf:"bytes,20,opt,name=description,proto3" json:"description,omitempty"` Url []byte `protobuf:"bytes,21,opt,name=url,proto3" json:"url,omitempty"` @@ -40,507 +44,718 @@ type AssetIssueContract struct { PublicFreeAssetNetLimit int64 `protobuf:"varint,23,opt,name=public_free_asset_net_limit,json=publicFreeAssetNetLimit,proto3" json:"public_free_asset_net_limit,omitempty"` PublicFreeAssetNetUsage int64 `protobuf:"varint,24,opt,name=public_free_asset_net_usage,json=publicFreeAssetNetUsage,proto3" json:"public_free_asset_net_usage,omitempty"` PublicLatestFreeNetTime int64 `protobuf:"varint,25,opt,name=public_latest_free_net_time,json=publicLatestFreeNetTime,proto3" json:"public_latest_free_net_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *AssetIssueContract) Reset() { *m = AssetIssueContract{} } -func (m *AssetIssueContract) String() string { return proto.CompactTextString(m) } -func (*AssetIssueContract) ProtoMessage() {} -func (*AssetIssueContract) Descriptor() ([]byte, []int) { - return fileDescriptor_7a53d522aa45c6a0, []int{0} +func (x *AssetIssueContract) Reset() { + *x = AssetIssueContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_asset_issue_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AssetIssueContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AssetIssueContract.Unmarshal(m, b) -} -func (m *AssetIssueContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AssetIssueContract.Marshal(b, m, deterministic) +func (x *AssetIssueContract) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AssetIssueContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_AssetIssueContract.Merge(m, src) -} -func (m *AssetIssueContract) XXX_Size() int { - return xxx_messageInfo_AssetIssueContract.Size(m) -} -func (m *AssetIssueContract) XXX_DiscardUnknown() { - xxx_messageInfo_AssetIssueContract.DiscardUnknown(m) + +func (*AssetIssueContract) ProtoMessage() {} + +func (x *AssetIssueContract) ProtoReflect() protoreflect.Message { + mi := &file_core_asset_issue_contract_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_AssetIssueContract proto.InternalMessageInfo +// Deprecated: Use AssetIssueContract.ProtoReflect.Descriptor instead. +func (*AssetIssueContract) Descriptor() ([]byte, []int) { + return file_core_asset_issue_contract_proto_rawDescGZIP(), []int{0} +} -func (m *AssetIssueContract) GetId() string { - if m != nil { - return m.Id +func (x *AssetIssueContract) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *AssetIssueContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *AssetIssueContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress } return nil } -func (m *AssetIssueContract) GetName() []byte { - if m != nil { - return m.Name +func (x *AssetIssueContract) GetName() []byte { + if x != nil { + return x.Name } return nil } -func (m *AssetIssueContract) GetAbbr() []byte { - if m != nil { - return m.Abbr +func (x *AssetIssueContract) GetAbbr() []byte { + if x != nil { + return x.Abbr } return nil } -func (m *AssetIssueContract) GetTotalSupply() int64 { - if m != nil { - return m.TotalSupply +func (x *AssetIssueContract) GetTotalSupply() int64 { + if x != nil { + return x.TotalSupply } return 0 } -func (m *AssetIssueContract) GetFrozenSupply() []*AssetIssueContract_FrozenSupply { - if m != nil { - return m.FrozenSupply +func (x *AssetIssueContract) GetFrozenSupply() []*AssetIssueContract_FrozenSupply { + if x != nil { + return x.FrozenSupply } return nil } -func (m *AssetIssueContract) GetTrxNum() int32 { - if m != nil { - return m.TrxNum +func (x *AssetIssueContract) GetTrxNum() int32 { + if x != nil { + return x.TrxNum } return 0 } -func (m *AssetIssueContract) GetPrecision() int32 { - if m != nil { - return m.Precision +func (x *AssetIssueContract) GetPrecision() int32 { + if x != nil { + return x.Precision } return 0 } -func (m *AssetIssueContract) GetNum() int32 { - if m != nil { - return m.Num +func (x *AssetIssueContract) GetNum() int32 { + if x != nil { + return x.Num } return 0 } -func (m *AssetIssueContract) GetStartTime() int64 { - if m != nil { - return m.StartTime +func (x *AssetIssueContract) GetStartTime() int64 { + if x != nil { + return x.StartTime } return 0 } -func (m *AssetIssueContract) GetEndTime() int64 { - if m != nil { - return m.EndTime +func (x *AssetIssueContract) GetEndTime() int64 { + if x != nil { + return x.EndTime } return 0 } -func (m *AssetIssueContract) GetOrder() int64 { - if m != nil { - return m.Order +func (x *AssetIssueContract) GetOrder() int64 { + if x != nil { + return x.Order } return 0 } -func (m *AssetIssueContract) GetVoteScore() int32 { - if m != nil { - return m.VoteScore +func (x *AssetIssueContract) GetVoteScore() int32 { + if x != nil { + return x.VoteScore } return 0 } -func (m *AssetIssueContract) GetDescription() []byte { - if m != nil { - return m.Description +func (x *AssetIssueContract) GetDescription() []byte { + if x != nil { + return x.Description } return nil } -func (m *AssetIssueContract) GetUrl() []byte { - if m != nil { - return m.Url +func (x *AssetIssueContract) GetUrl() []byte { + if x != nil { + return x.Url } return nil } -func (m *AssetIssueContract) GetFreeAssetNetLimit() int64 { - if m != nil { - return m.FreeAssetNetLimit +func (x *AssetIssueContract) GetFreeAssetNetLimit() int64 { + if x != nil { + return x.FreeAssetNetLimit } return 0 } -func (m *AssetIssueContract) GetPublicFreeAssetNetLimit() int64 { - if m != nil { - return m.PublicFreeAssetNetLimit +func (x *AssetIssueContract) GetPublicFreeAssetNetLimit() int64 { + if x != nil { + return x.PublicFreeAssetNetLimit } return 0 } -func (m *AssetIssueContract) GetPublicFreeAssetNetUsage() int64 { - if m != nil { - return m.PublicFreeAssetNetUsage +func (x *AssetIssueContract) GetPublicFreeAssetNetUsage() int64 { + if x != nil { + return x.PublicFreeAssetNetUsage } return 0 } -func (m *AssetIssueContract) GetPublicLatestFreeNetTime() int64 { - if m != nil { - return m.PublicLatestFreeNetTime +func (x *AssetIssueContract) GetPublicLatestFreeNetTime() int64 { + if x != nil { + return x.PublicLatestFreeNetTime } return 0 } -type AssetIssueContract_FrozenSupply struct { - FrozenAmount int64 `protobuf:"varint,1,opt,name=frozen_amount,json=frozenAmount,proto3" json:"frozen_amount,omitempty"` - FrozenDays int64 `protobuf:"varint,2,opt,name=frozen_days,json=frozenDays,proto3" json:"frozen_days,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} +type TransferAssetContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *AssetIssueContract_FrozenSupply) Reset() { *m = AssetIssueContract_FrozenSupply{} } -func (m *AssetIssueContract_FrozenSupply) String() string { return proto.CompactTextString(m) } -func (*AssetIssueContract_FrozenSupply) ProtoMessage() {} -func (*AssetIssueContract_FrozenSupply) Descriptor() ([]byte, []int) { - return fileDescriptor_7a53d522aa45c6a0, []int{0, 0} + AssetName []byte `protobuf:"bytes,1,opt,name=asset_name,json=assetName,proto3" json:"asset_name,omitempty"` // this field is token name before the proposal ALLOW_SAME_TOKEN_NAME is active, otherwise it is token id and token is should be in string format. + OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ToAddress []byte `protobuf:"bytes,3,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` + Amount int64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` } -func (m *AssetIssueContract_FrozenSupply) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AssetIssueContract_FrozenSupply.Unmarshal(m, b) -} -func (m *AssetIssueContract_FrozenSupply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AssetIssueContract_FrozenSupply.Marshal(b, m, deterministic) -} -func (m *AssetIssueContract_FrozenSupply) XXX_Merge(src proto.Message) { - xxx_messageInfo_AssetIssueContract_FrozenSupply.Merge(m, src) -} -func (m *AssetIssueContract_FrozenSupply) XXX_Size() int { - return xxx_messageInfo_AssetIssueContract_FrozenSupply.Size(m) -} -func (m *AssetIssueContract_FrozenSupply) XXX_DiscardUnknown() { - xxx_messageInfo_AssetIssueContract_FrozenSupply.DiscardUnknown(m) +func (x *TransferAssetContract) Reset() { + *x = TransferAssetContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_asset_issue_contract_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -var xxx_messageInfo_AssetIssueContract_FrozenSupply proto.InternalMessageInfo - -func (m *AssetIssueContract_FrozenSupply) GetFrozenAmount() int64 { - if m != nil { - return m.FrozenAmount - } - return 0 +func (x *TransferAssetContract) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AssetIssueContract_FrozenSupply) GetFrozenDays() int64 { - if m != nil { - return m.FrozenDays +func (*TransferAssetContract) ProtoMessage() {} + +func (x *TransferAssetContract) ProtoReflect() protoreflect.Message { + mi := &file_core_asset_issue_contract_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return 0 + return mi.MessageOf(x) } -type TransferAssetContract struct { - AssetName []byte `protobuf:"bytes,1,opt,name=asset_name,json=assetName,proto3" json:"asset_name,omitempty"` - OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ToAddress []byte `protobuf:"bytes,3,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` - Amount int64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TransferAssetContract) Reset() { *m = TransferAssetContract{} } -func (m *TransferAssetContract) String() string { return proto.CompactTextString(m) } -func (*TransferAssetContract) ProtoMessage() {} +// Deprecated: Use TransferAssetContract.ProtoReflect.Descriptor instead. func (*TransferAssetContract) Descriptor() ([]byte, []int) { - return fileDescriptor_7a53d522aa45c6a0, []int{1} -} - -func (m *TransferAssetContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransferAssetContract.Unmarshal(m, b) + return file_core_asset_issue_contract_proto_rawDescGZIP(), []int{1} } -func (m *TransferAssetContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransferAssetContract.Marshal(b, m, deterministic) -} -func (m *TransferAssetContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransferAssetContract.Merge(m, src) -} -func (m *TransferAssetContract) XXX_Size() int { - return xxx_messageInfo_TransferAssetContract.Size(m) -} -func (m *TransferAssetContract) XXX_DiscardUnknown() { - xxx_messageInfo_TransferAssetContract.DiscardUnknown(m) -} - -var xxx_messageInfo_TransferAssetContract proto.InternalMessageInfo -func (m *TransferAssetContract) GetAssetName() []byte { - if m != nil { - return m.AssetName +func (x *TransferAssetContract) GetAssetName() []byte { + if x != nil { + return x.AssetName } return nil } -func (m *TransferAssetContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *TransferAssetContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress } return nil } -func (m *TransferAssetContract) GetToAddress() []byte { - if m != nil { - return m.ToAddress +func (x *TransferAssetContract) GetToAddress() []byte { + if x != nil { + return x.ToAddress } return nil } -func (m *TransferAssetContract) GetAmount() int64 { - if m != nil { - return m.Amount +func (x *TransferAssetContract) GetAmount() int64 { + if x != nil { + return x.Amount } return 0 } type UnfreezeAssetContract struct { - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *UnfreezeAssetContract) Reset() { *m = UnfreezeAssetContract{} } -func (m *UnfreezeAssetContract) String() string { return proto.CompactTextString(m) } -func (*UnfreezeAssetContract) ProtoMessage() {} -func (*UnfreezeAssetContract) Descriptor() ([]byte, []int) { - return fileDescriptor_7a53d522aa45c6a0, []int{2} + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` } -func (m *UnfreezeAssetContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UnfreezeAssetContract.Unmarshal(m, b) -} -func (m *UnfreezeAssetContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UnfreezeAssetContract.Marshal(b, m, deterministic) -} -func (m *UnfreezeAssetContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_UnfreezeAssetContract.Merge(m, src) +func (x *UnfreezeAssetContract) Reset() { + *x = UnfreezeAssetContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_asset_issue_contract_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UnfreezeAssetContract) XXX_Size() int { - return xxx_messageInfo_UnfreezeAssetContract.Size(m) + +func (x *UnfreezeAssetContract) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UnfreezeAssetContract) XXX_DiscardUnknown() { - xxx_messageInfo_UnfreezeAssetContract.DiscardUnknown(m) + +func (*UnfreezeAssetContract) ProtoMessage() {} + +func (x *UnfreezeAssetContract) ProtoReflect() protoreflect.Message { + mi := &file_core_asset_issue_contract_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_UnfreezeAssetContract proto.InternalMessageInfo +// Deprecated: Use UnfreezeAssetContract.ProtoReflect.Descriptor instead. +func (*UnfreezeAssetContract) Descriptor() ([]byte, []int) { + return file_core_asset_issue_contract_proto_rawDescGZIP(), []int{2} +} -func (m *UnfreezeAssetContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *UnfreezeAssetContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress } return nil } type UpdateAssetContract struct { - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Description []byte `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - Url []byte `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` - NewLimit int64 `protobuf:"varint,4,opt,name=new_limit,json=newLimit,proto3" json:"new_limit,omitempty"` - NewPublicLimit int64 `protobuf:"varint,5,opt,name=new_public_limit,json=newPublicLimit,proto3" json:"new_public_limit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UpdateAssetContract) Reset() { *m = UpdateAssetContract{} } -func (m *UpdateAssetContract) String() string { return proto.CompactTextString(m) } -func (*UpdateAssetContract) ProtoMessage() {} -func (*UpdateAssetContract) Descriptor() ([]byte, []int) { - return fileDescriptor_7a53d522aa45c6a0, []int{3} -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *UpdateAssetContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateAssetContract.Unmarshal(m, b) -} -func (m *UpdateAssetContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateAssetContract.Marshal(b, m, deterministic) + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Description []byte `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + Url []byte `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` + NewLimit int64 `protobuf:"varint,4,opt,name=new_limit,json=newLimit,proto3" json:"new_limit,omitempty"` + NewPublicLimit int64 `protobuf:"varint,5,opt,name=new_public_limit,json=newPublicLimit,proto3" json:"new_public_limit,omitempty"` } -func (m *UpdateAssetContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateAssetContract.Merge(m, src) + +func (x *UpdateAssetContract) Reset() { + *x = UpdateAssetContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_asset_issue_contract_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateAssetContract) XXX_Size() int { - return xxx_messageInfo_UpdateAssetContract.Size(m) + +func (x *UpdateAssetContract) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateAssetContract) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateAssetContract.DiscardUnknown(m) + +func (*UpdateAssetContract) ProtoMessage() {} + +func (x *UpdateAssetContract) ProtoReflect() protoreflect.Message { + mi := &file_core_asset_issue_contract_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateAssetContract proto.InternalMessageInfo +// Deprecated: Use UpdateAssetContract.ProtoReflect.Descriptor instead. +func (*UpdateAssetContract) Descriptor() ([]byte, []int) { + return file_core_asset_issue_contract_proto_rawDescGZIP(), []int{3} +} -func (m *UpdateAssetContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *UpdateAssetContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress } return nil } -func (m *UpdateAssetContract) GetDescription() []byte { - if m != nil { - return m.Description +func (x *UpdateAssetContract) GetDescription() []byte { + if x != nil { + return x.Description } return nil } -func (m *UpdateAssetContract) GetUrl() []byte { - if m != nil { - return m.Url +func (x *UpdateAssetContract) GetUrl() []byte { + if x != nil { + return x.Url } return nil } -func (m *UpdateAssetContract) GetNewLimit() int64 { - if m != nil { - return m.NewLimit +func (x *UpdateAssetContract) GetNewLimit() int64 { + if x != nil { + return x.NewLimit } return 0 } -func (m *UpdateAssetContract) GetNewPublicLimit() int64 { - if m != nil { - return m.NewPublicLimit +func (x *UpdateAssetContract) GetNewPublicLimit() int64 { + if x != nil { + return x.NewPublicLimit } return 0 } type ParticipateAssetIssueContract struct { - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ToAddress []byte `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` - AssetName []byte `protobuf:"bytes,3,opt,name=asset_name,json=assetName,proto3" json:"asset_name,omitempty"` - Amount int64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ParticipateAssetIssueContract) Reset() { *m = ParticipateAssetIssueContract{} } -func (m *ParticipateAssetIssueContract) String() string { return proto.CompactTextString(m) } -func (*ParticipateAssetIssueContract) ProtoMessage() {} -func (*ParticipateAssetIssueContract) Descriptor() ([]byte, []int) { - return fileDescriptor_7a53d522aa45c6a0, []int{4} -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ParticipateAssetIssueContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ParticipateAssetIssueContract.Unmarshal(m, b) + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ToAddress []byte `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` + AssetName []byte `protobuf:"bytes,3,opt,name=asset_name,json=assetName,proto3" json:"asset_name,omitempty"` // this field is token name before the proposal ALLOW_SAME_TOKEN_NAME is active, otherwise it is token id and token is should be in string format. + Amount int64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` // the amount of drops } -func (m *ParticipateAssetIssueContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ParticipateAssetIssueContract.Marshal(b, m, deterministic) -} -func (m *ParticipateAssetIssueContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_ParticipateAssetIssueContract.Merge(m, src) + +func (x *ParticipateAssetIssueContract) Reset() { + *x = ParticipateAssetIssueContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_asset_issue_contract_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ParticipateAssetIssueContract) XXX_Size() int { - return xxx_messageInfo_ParticipateAssetIssueContract.Size(m) + +func (x *ParticipateAssetIssueContract) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ParticipateAssetIssueContract) XXX_DiscardUnknown() { - xxx_messageInfo_ParticipateAssetIssueContract.DiscardUnknown(m) + +func (*ParticipateAssetIssueContract) ProtoMessage() {} + +func (x *ParticipateAssetIssueContract) ProtoReflect() protoreflect.Message { + mi := &file_core_asset_issue_contract_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ParticipateAssetIssueContract proto.InternalMessageInfo +// Deprecated: Use ParticipateAssetIssueContract.ProtoReflect.Descriptor instead. +func (*ParticipateAssetIssueContract) Descriptor() ([]byte, []int) { + return file_core_asset_issue_contract_proto_rawDescGZIP(), []int{4} +} -func (m *ParticipateAssetIssueContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *ParticipateAssetIssueContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress } return nil } -func (m *ParticipateAssetIssueContract) GetToAddress() []byte { - if m != nil { - return m.ToAddress +func (x *ParticipateAssetIssueContract) GetToAddress() []byte { + if x != nil { + return x.ToAddress } return nil } -func (m *ParticipateAssetIssueContract) GetAssetName() []byte { - if m != nil { - return m.AssetName +func (x *ParticipateAssetIssueContract) GetAssetName() []byte { + if x != nil { + return x.AssetName } return nil } -func (m *ParticipateAssetIssueContract) GetAmount() int64 { - if m != nil { - return m.Amount +func (x *ParticipateAssetIssueContract) GetAmount() int64 { + if x != nil { + return x.Amount } return 0 } -func init() { - proto.RegisterType((*AssetIssueContract)(nil), "protocol.AssetIssueContract") - proto.RegisterType((*AssetIssueContract_FrozenSupply)(nil), "protocol.AssetIssueContract.FrozenSupply") - proto.RegisterType((*TransferAssetContract)(nil), "protocol.TransferAssetContract") - proto.RegisterType((*UnfreezeAssetContract)(nil), "protocol.UnfreezeAssetContract") - proto.RegisterType((*UpdateAssetContract)(nil), "protocol.UpdateAssetContract") - proto.RegisterType((*ParticipateAssetIssueContract)(nil), "protocol.ParticipateAssetIssueContract") -} - -func init() { - proto.RegisterFile("core/contract/asset_issue_contract.proto", fileDescriptor_7a53d522aa45c6a0) -} - -var fileDescriptor_7a53d522aa45c6a0 = []byte{ - // 667 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x4f, 0x4f, 0xdb, 0x30, - 0x14, 0x57, 0x1a, 0x5a, 0xda, 0xd7, 0x82, 0x98, 0xc7, 0x1f, 0x33, 0x56, 0xad, 0x74, 0x97, 0x72, - 0x69, 0xa5, 0xed, 0xca, 0x0e, 0x6c, 0x13, 0xd2, 0x24, 0x54, 0xa1, 0x02, 0x97, 0x5d, 0x22, 0x37, - 0x71, 0x3b, 0x4b, 0x89, 0x1d, 0xd9, 0xce, 0x0a, 0x7c, 0x8b, 0xed, 0xb8, 0xef, 0xb1, 0xef, 0x37, - 0xf9, 0x39, 0x81, 0x96, 0x3f, 0x12, 0xda, 0xa9, 0xce, 0xef, 0x8f, 0xfb, 0xf2, 0xde, 0xef, 0x05, - 0x06, 0xb1, 0xd2, 0x7c, 0x14, 0x2b, 0x69, 0x35, 0x8b, 0xed, 0x88, 0x19, 0xc3, 0x6d, 0x24, 0x8c, - 0x29, 0x78, 0x54, 0x81, 0xc3, 0x5c, 0x2b, 0xab, 0x48, 0x13, 0x7f, 0x62, 0x95, 0xf6, 0x7f, 0x35, - 0x80, 0x9c, 0x38, 0xe1, 0x37, 0xa7, 0xfb, 0x52, 0xca, 0xc8, 0x26, 0xd4, 0x44, 0x42, 0x8f, 0x7a, - 0xc1, 0xa0, 0x35, 0xa9, 0x89, 0x84, 0xbc, 0x87, 0x0d, 0xb5, 0x90, 0x5c, 0x47, 0x2c, 0x49, 0x34, - 0x37, 0x86, 0x06, 0xbd, 0x60, 0xd0, 0x99, 0x74, 0x10, 0x3c, 0xf1, 0x18, 0x21, 0xb0, 0x26, 0x59, - 0xc6, 0x69, 0x0d, 0x39, 0x3c, 0x3b, 0x8c, 0x4d, 0xa7, 0x9a, 0x86, 0x1e, 0x73, 0x67, 0x72, 0x08, - 0x1d, 0xab, 0x2c, 0x4b, 0x23, 0x53, 0xe4, 0x79, 0x7a, 0x43, 0xd7, 0x7a, 0xc1, 0x20, 0x9c, 0xb4, - 0x11, 0xbb, 0x40, 0x88, 0x8c, 0x61, 0x63, 0xa6, 0xd5, 0x2d, 0x97, 0x95, 0xa6, 0xde, 0x0b, 0x07, - 0xed, 0x0f, 0x47, 0xc3, 0xaa, 0xf0, 0xe1, 0xe3, 0xa2, 0x87, 0xa7, 0xe8, 0xf0, 0x37, 0x4c, 0x3a, - 0xb3, 0xa5, 0x27, 0xb2, 0x07, 0xeb, 0x56, 0x5f, 0x47, 0xb2, 0xc8, 0x68, 0xa3, 0x17, 0x0c, 0xea, - 0x93, 0x86, 0xd5, 0xd7, 0xe3, 0x22, 0x23, 0x6f, 0xa1, 0x95, 0x6b, 0x1e, 0x0b, 0x23, 0x94, 0xa4, - 0xeb, 0x48, 0xdd, 0x03, 0x64, 0x0b, 0x42, 0x67, 0x69, 0x22, 0xee, 0x8e, 0xa4, 0x0b, 0x60, 0x2c, - 0xd3, 0x36, 0xb2, 0x22, 0xe3, 0xb4, 0x85, 0x95, 0xb7, 0x10, 0xb9, 0x14, 0x19, 0x27, 0xfb, 0xd0, - 0xe4, 0x32, 0xf1, 0x24, 0x20, 0xb9, 0xce, 0x65, 0x82, 0xd4, 0x36, 0xd4, 0x95, 0x4e, 0xb8, 0xa6, - 0x6d, 0xc4, 0xfd, 0x83, 0xbb, 0xef, 0xa7, 0xb2, 0x3c, 0x32, 0x6e, 0x76, 0x74, 0xcb, 0x17, 0xe0, - 0x90, 0x0b, 0x07, 0x90, 0x1e, 0xb4, 0x13, 0x6e, 0x62, 0x2d, 0x72, 0xeb, 0x0a, 0xdc, 0xc6, 0x2e, - 0x2e, 0x43, 0xae, 0xc4, 0x42, 0xa7, 0x74, 0x07, 0x19, 0x77, 0x24, 0x23, 0xd8, 0x9e, 0x69, 0xce, - 0x23, 0x3f, 0x7f, 0xc9, 0x6d, 0x94, 0x8a, 0x4c, 0x58, 0xba, 0x8b, 0xff, 0xfb, 0xca, 0x71, 0xd8, - 0xbc, 0x31, 0xb7, 0x67, 0x8e, 0x20, 0xc7, 0x70, 0x90, 0x17, 0xd3, 0x54, 0xc4, 0xd1, 0x93, 0xbe, - 0x3d, 0xf4, 0xed, 0x79, 0xc9, 0xe9, 0xcb, 0xdd, 0x85, 0x61, 0x73, 0x4e, 0xe9, 0x73, 0xee, 0x2b, - 0x47, 0x2f, 0xb9, 0x53, 0x66, 0xb9, 0xb1, 0xfe, 0x12, 0x67, 0xc7, 0x1e, 0xee, 0x2f, 0xbb, 0xcf, - 0x50, 0xe1, 0xee, 0x18, 0x73, 0x6c, 0xf7, 0x9b, 0x4b, 0xe8, 0x2c, 0x0f, 0xdd, 0xc5, 0xb4, 0x8c, - 0x0d, 0xcb, 0x54, 0x21, 0x2d, 0xc6, 0x34, 0xac, 0xb2, 0x70, 0x82, 0x18, 0x79, 0x07, 0xed, 0x52, - 0x94, 0xb0, 0x1b, 0x83, 0x69, 0x0d, 0x27, 0xe0, 0xa1, 0xaf, 0xec, 0xc6, 0xf4, 0x7f, 0x07, 0xb0, - 0x73, 0xa9, 0x99, 0x34, 0x33, 0xae, 0xb1, 0xda, 0xbb, 0xb5, 0xe8, 0x02, 0x94, 0xef, 0xe7, 0x72, - 0xee, 0x77, 0xa0, 0x85, 0xc8, 0xd8, 0x85, 0xfd, 0xd1, 0x96, 0xd4, 0x9e, 0xd8, 0x92, 0x2e, 0x80, - 0x55, 0x77, 0x0a, 0xbf, 0x17, 0x2d, 0xab, 0x2a, 0x7a, 0x17, 0x1a, 0x65, 0xed, 0x7e, 0x2d, 0xca, - 0xa7, 0xfe, 0x31, 0xec, 0x5c, 0x49, 0xd7, 0x9c, 0x5b, 0xbe, 0x5a, 0xd3, 0x4b, 0x56, 0xb3, 0xff, - 0x37, 0x80, 0xd7, 0x57, 0x79, 0xc2, 0xec, 0x7f, 0x98, 0x1f, 0x86, 0xb0, 0xf6, 0x6c, 0x08, 0xc3, - 0xfb, 0x10, 0x1e, 0x40, 0x4b, 0xf2, 0x45, 0x99, 0x20, 0xff, 0x26, 0x4d, 0xc9, 0x17, 0x3e, 0x32, - 0x03, 0xd8, 0x72, 0x64, 0x35, 0x78, 0xd4, 0xd4, 0x51, 0xb3, 0x29, 0xf9, 0xe2, 0xdc, 0x0f, 0xdb, - 0xa1, 0xfd, 0x3f, 0x01, 0x74, 0xcf, 0x99, 0xb6, 0x22, 0x16, 0x79, 0x55, 0xfc, 0xea, 0x97, 0xea, - 0x45, 0x6f, 0xb0, 0xda, 0xf3, 0xda, 0xc3, 0x9e, 0xaf, 0x8e, 0x35, 0x7c, 0x38, 0xd6, 0x67, 0x46, - 0xf2, 0xf9, 0x13, 0x50, 0xa5, 0xe7, 0x43, 0xab, 0x95, 0xf4, 0xdf, 0x25, 0x33, 0xac, 0xbe, 0xb3, - 0xdf, 0x0f, 0xe7, 0xc2, 0xfe, 0x28, 0xa6, 0xc3, 0x58, 0x65, 0xa3, 0xd9, 0xd4, 0xa8, 0xa9, 0xe6, - 0x42, 0xb3, 0xd1, 0x5c, 0x39, 0xf5, 0xc8, 0xed, 0xf6, 0xb4, 0x81, 0x9e, 0x8f, 0xff, 0x02, 0x00, - 0x00, 0xff, 0xff, 0xc1, 0xf1, 0x13, 0x87, 0xb7, 0x05, 0x00, 0x00, +type AssetIssueContract_FrozenSupply struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FrozenAmount int64 `protobuf:"varint,1,opt,name=frozen_amount,json=frozenAmount,proto3" json:"frozen_amount,omitempty"` + FrozenDays int64 `protobuf:"varint,2,opt,name=frozen_days,json=frozenDays,proto3" json:"frozen_days,omitempty"` +} + +func (x *AssetIssueContract_FrozenSupply) Reset() { + *x = AssetIssueContract_FrozenSupply{} + if protoimpl.UnsafeEnabled { + mi := &file_core_asset_issue_contract_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AssetIssueContract_FrozenSupply) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AssetIssueContract_FrozenSupply) ProtoMessage() {} + +func (x *AssetIssueContract_FrozenSupply) ProtoReflect() protoreflect.Message { + mi := &file_core_asset_issue_contract_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AssetIssueContract_FrozenSupply.ProtoReflect.Descriptor instead. +func (*AssetIssueContract_FrozenSupply) Descriptor() ([]byte, []int) { + return file_core_asset_issue_contract_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *AssetIssueContract_FrozenSupply) GetFrozenAmount() int64 { + if x != nil { + return x.FrozenAmount + } + return 0 +} + +func (x *AssetIssueContract_FrozenSupply) GetFrozenDays() int64 { + if x != nil { + return x.FrozenDays + } + return 0 +} + +var File_core_asset_issue_contract_proto protoreflect.FileDescriptor + +var file_core_asset_issue_contract_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x73, 0x73, + 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0x91, 0x06, 0x0a, 0x12, + 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x29, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, + 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x61, + 0x62, 0x62, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x61, 0x62, 0x62, 0x72, 0x12, + 0x21, 0x0a, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x75, 0x70, 0x70, + 0x6c, 0x79, 0x12, 0x4e, 0x0a, 0x0d, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x73, 0x75, 0x70, + 0x70, 0x6c, 0x79, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x53, 0x75, + 0x70, 0x70, 0x6c, 0x79, 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x53, 0x75, 0x70, 0x70, + 0x6c, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x72, 0x78, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x72, 0x78, 0x4e, 0x75, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x70, + 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, + 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x75, 0x6d, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 0x73, + 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, + 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x6e, + 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x76, + 0x6f, 0x74, 0x65, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x09, 0x76, 0x6f, 0x74, 0x65, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, + 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, + 0x75, 0x72, 0x6c, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x2f, + 0x0a, 0x14, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x65, 0x74, + 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x66, 0x72, + 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, + 0x3c, 0x0a, 0x1b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x61, + 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x65, 0x74, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x17, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x46, 0x72, 0x65, 0x65, + 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x3c, 0x0a, + 0x1b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x61, 0x73, 0x73, + 0x65, 0x74, 0x5f, 0x6e, 0x65, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x18, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x17, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x46, 0x72, 0x65, 0x65, 0x41, 0x73, + 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x3c, 0x0a, 0x1b, 0x70, + 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x66, 0x72, 0x65, + 0x65, 0x5f, 0x6e, 0x65, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x19, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x17, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x46, 0x72, + 0x65, 0x65, 0x4e, 0x65, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x1a, 0x54, 0x0a, 0x0c, 0x46, 0x72, 0x6f, + 0x7a, 0x65, 0x6e, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x72, 0x6f, + 0x7a, 0x65, 0x6e, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, + 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x64, 0x61, 0x79, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0a, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x44, 0x61, 0x79, 0x73, 0x22, + 0x92, 0x01, 0x0a, 0x15, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, + 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x73, 0x73, + 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x61, + 0x73, 0x73, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, + 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, + 0x0a, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, + 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x61, 0x6d, + 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x3c, 0x0a, 0x15, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, + 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, + 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x22, 0xb5, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, + 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, + 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, + 0x75, 0x72, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x65, 0x77, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x4c, 0x69, 0x6d, 0x69, 0x74, + 0x12, 0x28, 0x0a, 0x10, 0x6e, 0x65, 0x77, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6c, + 0x69, 0x6d, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x6e, 0x65, 0x77, 0x50, + 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x9a, 0x01, 0x0a, 0x1d, 0x50, + 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, + 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x4b, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, + 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x66, 0x62, 0x73, 0x6f, 0x62, 0x72, 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, + 0x6e, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, + 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_core_asset_issue_contract_proto_rawDescOnce sync.Once + file_core_asset_issue_contract_proto_rawDescData = file_core_asset_issue_contract_proto_rawDesc +) + +func file_core_asset_issue_contract_proto_rawDescGZIP() []byte { + file_core_asset_issue_contract_proto_rawDescOnce.Do(func() { + file_core_asset_issue_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_asset_issue_contract_proto_rawDescData) + }) + return file_core_asset_issue_contract_proto_rawDescData +} + +var file_core_asset_issue_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_core_asset_issue_contract_proto_goTypes = []interface{}{ + (*AssetIssueContract)(nil), // 0: protocol.AssetIssueContract + (*TransferAssetContract)(nil), // 1: protocol.TransferAssetContract + (*UnfreezeAssetContract)(nil), // 2: protocol.UnfreezeAssetContract + (*UpdateAssetContract)(nil), // 3: protocol.UpdateAssetContract + (*ParticipateAssetIssueContract)(nil), // 4: protocol.ParticipateAssetIssueContract + (*AssetIssueContract_FrozenSupply)(nil), // 5: protocol.AssetIssueContract.FrozenSupply +} +var file_core_asset_issue_contract_proto_depIdxs = []int32{ + 5, // 0: protocol.AssetIssueContract.frozen_supply:type_name -> protocol.AssetIssueContract.FrozenSupply + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_core_asset_issue_contract_proto_init() } +func file_core_asset_issue_contract_proto_init() { + if File_core_asset_issue_contract_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_core_asset_issue_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AssetIssueContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_asset_issue_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransferAssetContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_asset_issue_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnfreezeAssetContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_asset_issue_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateAssetContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_asset_issue_contract_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParticipateAssetIssueContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_asset_issue_contract_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AssetIssueContract_FrozenSupply); 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_core_asset_issue_contract_proto_rawDesc, + NumEnums: 0, + NumMessages: 6, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_core_asset_issue_contract_proto_goTypes, + DependencyIndexes: file_core_asset_issue_contract_proto_depIdxs, + MessageInfos: file_core_asset_issue_contract_proto_msgTypes, + }.Build() + File_core_asset_issue_contract_proto = out.File + file_core_asset_issue_contract_proto_rawDesc = nil + file_core_asset_issue_contract_proto_goTypes = nil + file_core_asset_issue_contract_proto_depIdxs = nil } diff --git a/pkg/proto/core/balance_contract.pb.go b/pkg/proto/core/balance_contract.pb.go index 6c0159bd0..91bfda3fe 100644 --- a/pkg/proto/core/balance_contract.pb.go +++ b/pkg/proto/core/balance_contract.pb.go @@ -1,277 +1,1511 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// source: core/contract/balance_contract.proto +// versions: +// protoc-gen-go v1.28.0 +// protoc v3.21.12 +// source: core/balance_contract.proto package core import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 FreezeBalanceContract struct { - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - FrozenBalance int64 `protobuf:"varint,2,opt,name=frozen_balance,json=frozenBalance,proto3" json:"frozen_balance,omitempty"` - FrozenDuration int64 `protobuf:"varint,3,opt,name=frozen_duration,json=frozenDuration,proto3" json:"frozen_duration,omitempty"` - Resource ResourceCode `protobuf:"varint,10,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"` - ReceiverAddress []byte `protobuf:"bytes,15,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FreezeBalanceContract) Reset() { *m = FreezeBalanceContract{} } -func (m *FreezeBalanceContract) String() string { return proto.CompactTextString(m) } -func (*FreezeBalanceContract) ProtoMessage() {} -func (*FreezeBalanceContract) Descriptor() ([]byte, []int) { - return fileDescriptor_54daa91fef75922f, []int{0} -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FreezeBalanceContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FreezeBalanceContract.Unmarshal(m, b) -} -func (m *FreezeBalanceContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FreezeBalanceContract.Marshal(b, m, deterministic) + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + FrozenBalance int64 `protobuf:"varint,2,opt,name=frozen_balance,json=frozenBalance,proto3" json:"frozen_balance,omitempty"` + FrozenDuration int64 `protobuf:"varint,3,opt,name=frozen_duration,json=frozenDuration,proto3" json:"frozen_duration,omitempty"` + Resource ResourceCode `protobuf:"varint,10,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"` + ReceiverAddress []byte `protobuf:"bytes,15,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"` } -func (m *FreezeBalanceContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_FreezeBalanceContract.Merge(m, src) + +func (x *FreezeBalanceContract) Reset() { + *x = FreezeBalanceContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_balance_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FreezeBalanceContract) XXX_Size() int { - return xxx_messageInfo_FreezeBalanceContract.Size(m) + +func (x *FreezeBalanceContract) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FreezeBalanceContract) XXX_DiscardUnknown() { - xxx_messageInfo_FreezeBalanceContract.DiscardUnknown(m) + +func (*FreezeBalanceContract) ProtoMessage() {} + +func (x *FreezeBalanceContract) ProtoReflect() protoreflect.Message { + mi := &file_core_balance_contract_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_FreezeBalanceContract proto.InternalMessageInfo +// Deprecated: Use FreezeBalanceContract.ProtoReflect.Descriptor instead. +func (*FreezeBalanceContract) Descriptor() ([]byte, []int) { + return file_core_balance_contract_proto_rawDescGZIP(), []int{0} +} -func (m *FreezeBalanceContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *FreezeBalanceContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress } return nil } -func (m *FreezeBalanceContract) GetFrozenBalance() int64 { - if m != nil { - return m.FrozenBalance +func (x *FreezeBalanceContract) GetFrozenBalance() int64 { + if x != nil { + return x.FrozenBalance } return 0 } -func (m *FreezeBalanceContract) GetFrozenDuration() int64 { - if m != nil { - return m.FrozenDuration +func (x *FreezeBalanceContract) GetFrozenDuration() int64 { + if x != nil { + return x.FrozenDuration } return 0 } -func (m *FreezeBalanceContract) GetResource() ResourceCode { - if m != nil { - return m.Resource +func (x *FreezeBalanceContract) GetResource() ResourceCode { + if x != nil { + return x.Resource } return ResourceCode_BANDWIDTH } -func (m *FreezeBalanceContract) GetReceiverAddress() []byte { - if m != nil { - return m.ReceiverAddress +func (x *FreezeBalanceContract) GetReceiverAddress() []byte { + if x != nil { + return x.ReceiverAddress } return nil } type UnfreezeBalanceContract struct { - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Resource ResourceCode `protobuf:"varint,10,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"` - ReceiverAddress []byte `protobuf:"bytes,15,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Resource ResourceCode `protobuf:"varint,10,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"` + ReceiverAddress []byte `protobuf:"bytes,15,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"` +} + +func (x *UnfreezeBalanceContract) Reset() { + *x = UnfreezeBalanceContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_balance_contract_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnfreezeBalanceContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnfreezeBalanceContract) ProtoMessage() {} + +func (x *UnfreezeBalanceContract) ProtoReflect() protoreflect.Message { + mi := &file_core_balance_contract_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *UnfreezeBalanceContract) Reset() { *m = UnfreezeBalanceContract{} } -func (m *UnfreezeBalanceContract) String() string { return proto.CompactTextString(m) } -func (*UnfreezeBalanceContract) ProtoMessage() {} +// Deprecated: Use UnfreezeBalanceContract.ProtoReflect.Descriptor instead. func (*UnfreezeBalanceContract) Descriptor() ([]byte, []int) { - return fileDescriptor_54daa91fef75922f, []int{1} + return file_core_balance_contract_proto_rawDescGZIP(), []int{1} } -func (m *UnfreezeBalanceContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UnfreezeBalanceContract.Unmarshal(m, b) +func (x *UnfreezeBalanceContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil } -func (m *UnfreezeBalanceContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UnfreezeBalanceContract.Marshal(b, m, deterministic) + +func (x *UnfreezeBalanceContract) GetResource() ResourceCode { + if x != nil { + return x.Resource + } + return ResourceCode_BANDWIDTH } -func (m *UnfreezeBalanceContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_UnfreezeBalanceContract.Merge(m, src) + +func (x *UnfreezeBalanceContract) GetReceiverAddress() []byte { + if x != nil { + return x.ReceiverAddress + } + return nil } -func (m *UnfreezeBalanceContract) XXX_Size() int { - return xxx_messageInfo_UnfreezeBalanceContract.Size(m) + +type WithdrawBalanceContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` } -func (m *UnfreezeBalanceContract) XXX_DiscardUnknown() { - xxx_messageInfo_UnfreezeBalanceContract.DiscardUnknown(m) + +func (x *WithdrawBalanceContract) Reset() { + *x = WithdrawBalanceContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_balance_contract_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WithdrawBalanceContract) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_UnfreezeBalanceContract proto.InternalMessageInfo +func (*WithdrawBalanceContract) ProtoMessage() {} -func (m *UnfreezeBalanceContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *WithdrawBalanceContract) ProtoReflect() protoreflect.Message { + mi := &file_core_balance_contract_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WithdrawBalanceContract.ProtoReflect.Descriptor instead. +func (*WithdrawBalanceContract) Descriptor() ([]byte, []int) { + return file_core_balance_contract_proto_rawDescGZIP(), []int{2} +} + +func (x *WithdrawBalanceContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress } return nil } -func (m *UnfreezeBalanceContract) GetResource() ResourceCode { - if m != nil { - return m.Resource +type TransferContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ToAddress []byte `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` + Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` +} + +func (x *TransferContract) Reset() { + *x = TransferContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_balance_contract_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TransferContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TransferContract) ProtoMessage() {} + +func (x *TransferContract) ProtoReflect() protoreflect.Message { + mi := &file_core_balance_contract_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TransferContract.ProtoReflect.Descriptor instead. +func (*TransferContract) Descriptor() ([]byte, []int) { + return file_core_balance_contract_proto_rawDescGZIP(), []int{3} +} + +func (x *TransferContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *TransferContract) GetToAddress() []byte { + if x != nil { + return x.ToAddress + } + return nil +} + +func (x *TransferContract) GetAmount() int64 { + if x != nil { + return x.Amount + } + return 0 +} + +type TransactionBalanceTrace struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TransactionIdentifier []byte `protobuf:"bytes,1,opt,name=transaction_identifier,json=transactionIdentifier,proto3" json:"transaction_identifier,omitempty"` + Operation []*TransactionBalanceTrace_Operation `protobuf:"bytes,2,rep,name=operation,proto3" json:"operation,omitempty"` + Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` + Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` +} + +func (x *TransactionBalanceTrace) Reset() { + *x = TransactionBalanceTrace{} + if protoimpl.UnsafeEnabled { + mi := &file_core_balance_contract_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TransactionBalanceTrace) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TransactionBalanceTrace) ProtoMessage() {} + +func (x *TransactionBalanceTrace) ProtoReflect() protoreflect.Message { + mi := &file_core_balance_contract_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TransactionBalanceTrace.ProtoReflect.Descriptor instead. +func (*TransactionBalanceTrace) Descriptor() ([]byte, []int) { + return file_core_balance_contract_proto_rawDescGZIP(), []int{4} +} + +func (x *TransactionBalanceTrace) GetTransactionIdentifier() []byte { + if x != nil { + return x.TransactionIdentifier + } + return nil +} + +func (x *TransactionBalanceTrace) GetOperation() []*TransactionBalanceTrace_Operation { + if x != nil { + return x.Operation + } + return nil +} + +func (x *TransactionBalanceTrace) GetType() string { + if x != nil { + return x.Type + } + return "" +} + +func (x *TransactionBalanceTrace) GetStatus() string { + if x != nil { + return x.Status + } + return "" +} + +type BlockBalanceTrace struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BlockIdentifier *BlockBalanceTrace_BlockIdentifier `protobuf:"bytes,1,opt,name=block_identifier,json=blockIdentifier,proto3" json:"block_identifier,omitempty"` + Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + TransactionBalanceTrace []*TransactionBalanceTrace `protobuf:"bytes,3,rep,name=transaction_balance_trace,json=transactionBalanceTrace,proto3" json:"transaction_balance_trace,omitempty"` // BlockIdentifier parent_block_identifier = 4; +} + +func (x *BlockBalanceTrace) Reset() { + *x = BlockBalanceTrace{} + if protoimpl.UnsafeEnabled { + mi := &file_core_balance_contract_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlockBalanceTrace) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlockBalanceTrace) ProtoMessage() {} + +func (x *BlockBalanceTrace) ProtoReflect() protoreflect.Message { + mi := &file_core_balance_contract_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlockBalanceTrace.ProtoReflect.Descriptor instead. +func (*BlockBalanceTrace) Descriptor() ([]byte, []int) { + return file_core_balance_contract_proto_rawDescGZIP(), []int{5} +} + +func (x *BlockBalanceTrace) GetBlockIdentifier() *BlockBalanceTrace_BlockIdentifier { + if x != nil { + return x.BlockIdentifier + } + return nil +} + +func (x *BlockBalanceTrace) GetTimestamp() int64 { + if x != nil { + return x.Timestamp + } + return 0 +} + +func (x *BlockBalanceTrace) GetTransactionBalanceTrace() []*TransactionBalanceTrace { + if x != nil { + return x.TransactionBalanceTrace + } + return nil +} + +type AccountTrace struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Balance int64 `protobuf:"varint,1,opt,name=balance,proto3" json:"balance,omitempty"` + Placeholder int64 `protobuf:"varint,99,opt,name=placeholder,proto3" json:"placeholder,omitempty"` +} + +func (x *AccountTrace) Reset() { + *x = AccountTrace{} + if protoimpl.UnsafeEnabled { + mi := &file_core_balance_contract_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AccountTrace) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AccountTrace) ProtoMessage() {} + +func (x *AccountTrace) ProtoReflect() protoreflect.Message { + mi := &file_core_balance_contract_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AccountTrace.ProtoReflect.Descriptor instead. +func (*AccountTrace) Descriptor() ([]byte, []int) { + return file_core_balance_contract_proto_rawDescGZIP(), []int{6} +} + +func (x *AccountTrace) GetBalance() int64 { + if x != nil { + return x.Balance + } + return 0 +} + +func (x *AccountTrace) GetPlaceholder() int64 { + if x != nil { + return x.Placeholder + } + return 0 +} + +type AccountIdentifier struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *AccountIdentifier) Reset() { + *x = AccountIdentifier{} + if protoimpl.UnsafeEnabled { + mi := &file_core_balance_contract_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AccountIdentifier) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AccountIdentifier) ProtoMessage() {} + +func (x *AccountIdentifier) ProtoReflect() protoreflect.Message { + mi := &file_core_balance_contract_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AccountIdentifier.ProtoReflect.Descriptor instead. +func (*AccountIdentifier) Descriptor() ([]byte, []int) { + return file_core_balance_contract_proto_rawDescGZIP(), []int{7} +} + +func (x *AccountIdentifier) GetAddress() []byte { + if x != nil { + return x.Address + } + return nil +} + +type AccountBalanceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AccountIdentifier *AccountIdentifier `protobuf:"bytes,1,opt,name=account_identifier,json=accountIdentifier,proto3" json:"account_identifier,omitempty"` + BlockIdentifier *BlockBalanceTrace_BlockIdentifier `protobuf:"bytes,2,opt,name=block_identifier,json=blockIdentifier,proto3" json:"block_identifier,omitempty"` +} + +func (x *AccountBalanceRequest) Reset() { + *x = AccountBalanceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_core_balance_contract_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AccountBalanceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AccountBalanceRequest) ProtoMessage() {} + +func (x *AccountBalanceRequest) ProtoReflect() protoreflect.Message { + mi := &file_core_balance_contract_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AccountBalanceRequest.ProtoReflect.Descriptor instead. +func (*AccountBalanceRequest) Descriptor() ([]byte, []int) { + return file_core_balance_contract_proto_rawDescGZIP(), []int{8} +} + +func (x *AccountBalanceRequest) GetAccountIdentifier() *AccountIdentifier { + if x != nil { + return x.AccountIdentifier + } + return nil +} + +func (x *AccountBalanceRequest) GetBlockIdentifier() *BlockBalanceTrace_BlockIdentifier { + if x != nil { + return x.BlockIdentifier + } + return nil +} + +type AccountBalanceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Balance int64 `protobuf:"varint,1,opt,name=balance,proto3" json:"balance,omitempty"` + BlockIdentifier *BlockBalanceTrace_BlockIdentifier `protobuf:"bytes,2,opt,name=block_identifier,json=blockIdentifier,proto3" json:"block_identifier,omitempty"` +} + +func (x *AccountBalanceResponse) Reset() { + *x = AccountBalanceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_core_balance_contract_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AccountBalanceResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AccountBalanceResponse) ProtoMessage() {} + +func (x *AccountBalanceResponse) ProtoReflect() protoreflect.Message { + mi := &file_core_balance_contract_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AccountBalanceResponse.ProtoReflect.Descriptor instead. +func (*AccountBalanceResponse) Descriptor() ([]byte, []int) { + return file_core_balance_contract_proto_rawDescGZIP(), []int{9} +} + +func (x *AccountBalanceResponse) GetBalance() int64 { + if x != nil { + return x.Balance + } + return 0 +} + +func (x *AccountBalanceResponse) GetBlockIdentifier() *BlockBalanceTrace_BlockIdentifier { + if x != nil { + return x.BlockIdentifier + } + return nil +} + +type FreezeBalanceV2Contract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + FrozenBalance int64 `protobuf:"varint,2,opt,name=frozen_balance,json=frozenBalance,proto3" json:"frozen_balance,omitempty"` + Resource ResourceCode `protobuf:"varint,3,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"` +} + +func (x *FreezeBalanceV2Contract) Reset() { + *x = FreezeBalanceV2Contract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_balance_contract_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FreezeBalanceV2Contract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FreezeBalanceV2Contract) ProtoMessage() {} + +func (x *FreezeBalanceV2Contract) ProtoReflect() protoreflect.Message { + mi := &file_core_balance_contract_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FreezeBalanceV2Contract.ProtoReflect.Descriptor instead. +func (*FreezeBalanceV2Contract) Descriptor() ([]byte, []int) { + return file_core_balance_contract_proto_rawDescGZIP(), []int{10} +} + +func (x *FreezeBalanceV2Contract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *FreezeBalanceV2Contract) GetFrozenBalance() int64 { + if x != nil { + return x.FrozenBalance + } + return 0 +} + +func (x *FreezeBalanceV2Contract) GetResource() ResourceCode { + if x != nil { + return x.Resource } return ResourceCode_BANDWIDTH } -func (m *UnfreezeBalanceContract) GetReceiverAddress() []byte { - if m != nil { - return m.ReceiverAddress +type UnfreezeBalanceV2Contract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + UnfreezeBalance int64 `protobuf:"varint,2,opt,name=unfreeze_balance,json=unfreezeBalance,proto3" json:"unfreeze_balance,omitempty"` + Resource ResourceCode `protobuf:"varint,3,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"` +} + +func (x *UnfreezeBalanceV2Contract) Reset() { + *x = UnfreezeBalanceV2Contract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_balance_contract_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnfreezeBalanceV2Contract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnfreezeBalanceV2Contract) ProtoMessage() {} + +func (x *UnfreezeBalanceV2Contract) ProtoReflect() protoreflect.Message { + mi := &file_core_balance_contract_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UnfreezeBalanceV2Contract.ProtoReflect.Descriptor instead. +func (*UnfreezeBalanceV2Contract) Descriptor() ([]byte, []int) { + return file_core_balance_contract_proto_rawDescGZIP(), []int{11} +} + +func (x *UnfreezeBalanceV2Contract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress } return nil } -type WithdrawBalanceContract struct { - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *UnfreezeBalanceV2Contract) GetUnfreezeBalance() int64 { + if x != nil { + return x.UnfreezeBalance + } + return 0 } -func (m *WithdrawBalanceContract) Reset() { *m = WithdrawBalanceContract{} } -func (m *WithdrawBalanceContract) String() string { return proto.CompactTextString(m) } -func (*WithdrawBalanceContract) ProtoMessage() {} -func (*WithdrawBalanceContract) Descriptor() ([]byte, []int) { - return fileDescriptor_54daa91fef75922f, []int{2} +func (x *UnfreezeBalanceV2Contract) GetResource() ResourceCode { + if x != nil { + return x.Resource + } + return ResourceCode_BANDWIDTH +} + +type WithdrawExpireUnfreezeContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` +} + +func (x *WithdrawExpireUnfreezeContract) Reset() { + *x = WithdrawExpireUnfreezeContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_balance_contract_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WithdrawExpireUnfreezeContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WithdrawExpireUnfreezeContract) ProtoMessage() {} + +func (x *WithdrawExpireUnfreezeContract) ProtoReflect() protoreflect.Message { + mi := &file_core_balance_contract_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WithdrawExpireUnfreezeContract.ProtoReflect.Descriptor instead. +func (*WithdrawExpireUnfreezeContract) Descriptor() ([]byte, []int) { + return file_core_balance_contract_proto_rawDescGZIP(), []int{12} +} + +func (x *WithdrawExpireUnfreezeContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +type DelegateResourceContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Resource ResourceCode `protobuf:"varint,2,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"` + Balance int64 `protobuf:"varint,3,opt,name=balance,proto3" json:"balance,omitempty"` + ReceiverAddress []byte `protobuf:"bytes,4,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"` + Lock bool `protobuf:"varint,5,opt,name=lock,proto3" json:"lock,omitempty"` } -func (m *WithdrawBalanceContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WithdrawBalanceContract.Unmarshal(m, b) +func (x *DelegateResourceContract) Reset() { + *x = DelegateResourceContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_balance_contract_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WithdrawBalanceContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WithdrawBalanceContract.Marshal(b, m, deterministic) + +func (x *DelegateResourceContract) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WithdrawBalanceContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_WithdrawBalanceContract.Merge(m, src) + +func (*DelegateResourceContract) ProtoMessage() {} + +func (x *DelegateResourceContract) ProtoReflect() protoreflect.Message { + mi := &file_core_balance_contract_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *WithdrawBalanceContract) XXX_Size() int { - return xxx_messageInfo_WithdrawBalanceContract.Size(m) + +// Deprecated: Use DelegateResourceContract.ProtoReflect.Descriptor instead. +func (*DelegateResourceContract) Descriptor() ([]byte, []int) { + return file_core_balance_contract_proto_rawDescGZIP(), []int{13} } -func (m *WithdrawBalanceContract) XXX_DiscardUnknown() { - xxx_messageInfo_WithdrawBalanceContract.DiscardUnknown(m) + +func (x *DelegateResourceContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil } -var xxx_messageInfo_WithdrawBalanceContract proto.InternalMessageInfo +func (x *DelegateResourceContract) GetResource() ResourceCode { + if x != nil { + return x.Resource + } + return ResourceCode_BANDWIDTH +} + +func (x *DelegateResourceContract) GetBalance() int64 { + if x != nil { + return x.Balance + } + return 0 +} -func (m *WithdrawBalanceContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *DelegateResourceContract) GetReceiverAddress() []byte { + if x != nil { + return x.ReceiverAddress } return nil } -type TransferContract struct { - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ToAddress []byte `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` - Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *DelegateResourceContract) GetLock() bool { + if x != nil { + return x.Lock + } + return false } -func (m *TransferContract) Reset() { *m = TransferContract{} } -func (m *TransferContract) String() string { return proto.CompactTextString(m) } -func (*TransferContract) ProtoMessage() {} -func (*TransferContract) Descriptor() ([]byte, []int) { - return fileDescriptor_54daa91fef75922f, []int{3} +type UnDelegateResourceContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Resource ResourceCode `protobuf:"varint,2,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"` + Balance int64 `protobuf:"varint,3,opt,name=balance,proto3" json:"balance,omitempty"` + ReceiverAddress []byte `protobuf:"bytes,4,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"` +} + +func (x *UnDelegateResourceContract) Reset() { + *x = UnDelegateResourceContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_balance_contract_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnDelegateResourceContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnDelegateResourceContract) ProtoMessage() {} + +func (x *UnDelegateResourceContract) ProtoReflect() protoreflect.Message { + mi := &file_core_balance_contract_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UnDelegateResourceContract.ProtoReflect.Descriptor instead. +func (*UnDelegateResourceContract) Descriptor() ([]byte, []int) { + return file_core_balance_contract_proto_rawDescGZIP(), []int{14} +} + +func (x *UnDelegateResourceContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *UnDelegateResourceContract) GetResource() ResourceCode { + if x != nil { + return x.Resource + } + return ResourceCode_BANDWIDTH +} + +func (x *UnDelegateResourceContract) GetBalance() int64 { + if x != nil { + return x.Balance + } + return 0 } -func (m *TransferContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransferContract.Unmarshal(m, b) +func (x *UnDelegateResourceContract) GetReceiverAddress() []byte { + if x != nil { + return x.ReceiverAddress + } + return nil } -func (m *TransferContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransferContract.Marshal(b, m, deterministic) + +type TransactionBalanceTrace_Operation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OperationIdentifier int64 `protobuf:"varint,1,opt,name=operation_identifier,json=operationIdentifier,proto3" json:"operation_identifier,omitempty"` + Address []byte `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` + Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` } -func (m *TransferContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransferContract.Merge(m, src) + +func (x *TransactionBalanceTrace_Operation) Reset() { + *x = TransactionBalanceTrace_Operation{} + if protoimpl.UnsafeEnabled { + mi := &file_core_balance_contract_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TransferContract) XXX_Size() int { - return xxx_messageInfo_TransferContract.Size(m) + +func (x *TransactionBalanceTrace_Operation) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TransferContract) XXX_DiscardUnknown() { - xxx_messageInfo_TransferContract.DiscardUnknown(m) + +func (*TransactionBalanceTrace_Operation) ProtoMessage() {} + +func (x *TransactionBalanceTrace_Operation) ProtoReflect() protoreflect.Message { + mi := &file_core_balance_contract_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TransferContract proto.InternalMessageInfo +// Deprecated: Use TransactionBalanceTrace_Operation.ProtoReflect.Descriptor instead. +func (*TransactionBalanceTrace_Operation) Descriptor() ([]byte, []int) { + return file_core_balance_contract_proto_rawDescGZIP(), []int{4, 0} +} -func (m *TransferContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *TransactionBalanceTrace_Operation) GetOperationIdentifier() int64 { + if x != nil { + return x.OperationIdentifier + } + return 0 +} + +func (x *TransactionBalanceTrace_Operation) GetAddress() []byte { + if x != nil { + return x.Address } return nil } -func (m *TransferContract) GetToAddress() []byte { - if m != nil { - return m.ToAddress +func (x *TransactionBalanceTrace_Operation) GetAmount() int64 { + if x != nil { + return x.Amount + } + return 0 +} + +type BlockBalanceTrace_BlockIdentifier struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` + Number int64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` +} + +func (x *BlockBalanceTrace_BlockIdentifier) Reset() { + *x = BlockBalanceTrace_BlockIdentifier{} + if protoimpl.UnsafeEnabled { + mi := &file_core_balance_contract_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlockBalanceTrace_BlockIdentifier) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlockBalanceTrace_BlockIdentifier) ProtoMessage() {} + +func (x *BlockBalanceTrace_BlockIdentifier) ProtoReflect() protoreflect.Message { + mi := &file_core_balance_contract_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlockBalanceTrace_BlockIdentifier.ProtoReflect.Descriptor instead. +func (*BlockBalanceTrace_BlockIdentifier) Descriptor() ([]byte, []int) { + return file_core_balance_contract_proto_rawDescGZIP(), []int{5, 0} +} + +func (x *BlockBalanceTrace_BlockIdentifier) GetHash() []byte { + if x != nil { + return x.Hash } return nil } -func (m *TransferContract) GetAmount() int64 { - if m != nil { - return m.Amount +func (x *BlockBalanceTrace_BlockIdentifier) GetNumber() int64 { + if x != nil { + return x.Number } return 0 } -func init() { - proto.RegisterType((*FreezeBalanceContract)(nil), "protocol.FreezeBalanceContract") - proto.RegisterType((*UnfreezeBalanceContract)(nil), "protocol.UnfreezeBalanceContract") - proto.RegisterType((*WithdrawBalanceContract)(nil), "protocol.WithdrawBalanceContract") - proto.RegisterType((*TransferContract)(nil), "protocol.TransferContract") -} - -func init() { - proto.RegisterFile("core/contract/balance_contract.proto", fileDescriptor_54daa91fef75922f) -} - -var fileDescriptor_54daa91fef75922f = []byte{ - // 324 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x92, 0xcf, 0x4a, 0xc3, 0x40, - 0x10, 0x87, 0x49, 0x0b, 0xa5, 0x0e, 0xfd, 0x47, 0xc0, 0x36, 0x14, 0x84, 0x5a, 0x15, 0xeb, 0x25, - 0x81, 0x7a, 0x56, 0xb0, 0x15, 0x1f, 0x20, 0x28, 0x82, 0x97, 0xb2, 0xd9, 0x4c, 0xd2, 0x40, 0xb3, - 0x23, 0x93, 0x8d, 0x85, 0xbe, 0x8b, 0x4f, 0xe8, 0x4b, 0x48, 0x93, 0xdd, 0xa2, 0x47, 0x0b, 0x9e, - 0x42, 0x7e, 0xf3, 0xcd, 0xf0, 0x0d, 0x3b, 0x70, 0x29, 0x89, 0x31, 0x90, 0xa4, 0x34, 0x0b, 0xa9, - 0x83, 0x48, 0x6c, 0x84, 0x92, 0xb8, 0xb2, 0x81, 0xff, 0xce, 0xa4, 0xc9, 0x6d, 0x57, 0x1f, 0x49, - 0x9b, 0xf1, 0xf8, 0x37, 0x2f, 0x29, 0xcf, 0x49, 0xd5, 0xd4, 0xf4, 0xcb, 0x81, 0xd3, 0x27, 0x46, - 0xdc, 0xe1, 0xa2, 0x1e, 0xb3, 0x34, 0x98, 0x7b, 0x01, 0x5d, 0xda, 0x2a, 0xe4, 0x95, 0x88, 0x63, - 0xc6, 0xa2, 0xf0, 0x9c, 0x89, 0x33, 0xeb, 0x84, 0x9d, 0x2a, 0x7c, 0xa8, 0x33, 0xf7, 0x0a, 0x7a, - 0x09, 0xd3, 0x0e, 0xd5, 0xca, 0x58, 0x78, 0x8d, 0x89, 0x33, 0x6b, 0x86, 0xdd, 0x3a, 0x35, 0x33, - 0xdd, 0x6b, 0xe8, 0x1b, 0x2c, 0x2e, 0x59, 0xe8, 0x8c, 0x94, 0xd7, 0xac, 0x38, 0xd3, 0xfd, 0x68, - 0x52, 0x77, 0x0e, 0x6d, 0xc6, 0x82, 0x4a, 0x96, 0xe8, 0xc1, 0xc4, 0x99, 0xf5, 0xe6, 0x43, 0xdf, - 0xee, 0xe1, 0x87, 0xa6, 0xb2, 0xa4, 0x18, 0xc3, 0x03, 0xe7, 0xde, 0xc0, 0x80, 0x51, 0x62, 0xf6, - 0xf1, 0xc3, 0xb5, 0x5f, 0xb9, 0xf6, 0x6d, 0x6e, 0x74, 0xa7, 0x9f, 0x0e, 0x8c, 0x5e, 0x54, 0x72, - 0xfc, 0xbe, 0xff, 0xec, 0x77, 0x0f, 0xa3, 0xd7, 0x4c, 0xaf, 0x63, 0x16, 0xdb, 0x63, 0xf4, 0xa6, - 0x0a, 0x06, 0xcf, 0x2c, 0x54, 0x91, 0x20, 0xff, 0x6d, 0xaf, 0x33, 0x00, 0x4d, 0x07, 0xa2, 0x51, - 0x11, 0x27, 0x9a, 0x6c, 0x79, 0x08, 0x2d, 0x91, 0x53, 0xa9, 0xb4, 0x79, 0x36, 0xf3, 0xb7, 0xb8, - 0x03, 0x8f, 0x38, 0xf5, 0x35, 0xdb, 0x7b, 0x2a, 0x7c, 0x7b, 0x66, 0x6f, 0xe7, 0x69, 0xa6, 0xd7, - 0x65, 0xe4, 0x4b, 0xca, 0x83, 0x24, 0x2a, 0x28, 0x62, 0xcc, 0x58, 0x04, 0x29, 0xed, 0xe9, 0x60, - 0x7f, 0x92, 0x51, 0xab, 0xea, 0xb9, 0xfd, 0x0e, 0x00, 0x00, 0xff, 0xff, 0xed, 0x9f, 0x5e, 0xa6, - 0xd1, 0x02, 0x00, 0x00, +var File_core_balance_contract_proto protoreflect.FileDescriptor + +var file_core_balance_contract_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x1a, 0x11, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, + 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xeb, 0x01, 0x0a, 0x15, 0x46, + 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, + 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x66, 0x72, 0x6f, + 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0d, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, + 0x12, 0x27, 0x0a, 0x0f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x66, 0x72, 0x6f, 0x7a, 0x65, + 0x6e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x08, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, + 0x6f, 0x64, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x29, 0x0a, + 0x10, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, + 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x9d, 0x01, 0x0a, 0x17, 0x55, 0x6e, 0x66, + 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, + 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x32, 0x0a, 0x08, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, + 0x6f, 0x64, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x29, 0x0a, + 0x10, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, + 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x3e, 0x0a, 0x17, 0x57, 0x69, 0x74, 0x68, + 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, + 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x6e, 0x0a, 0x10, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x66, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 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, 0xb9, 0x02, 0x0a, 0x17, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, + 0x72, 0x61, 0x63, 0x65, 0x12, 0x35, 0x0a, 0x16, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x15, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x49, 0x0a, 0x09, 0x6f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x63, + 0x65, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x1a, 0x70, 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x31, 0x0a, 0x14, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x6f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, + 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 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, 0xa7, 0x02, 0x0a, 0x11, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x61, + 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x12, 0x56, 0x0a, 0x10, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x63, + 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, + 0x72, 0x52, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, + 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x12, 0x5d, 0x0a, 0x19, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x52, 0x17, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x1a, + 0x3d, 0x0a, 0x0f, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, + 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x4a, + 0x0a, 0x0c, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x72, 0x61, 0x63, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x63, + 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x63, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x70, + 0x6c, 0x61, 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x22, 0x2d, 0x0a, 0x11, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, + 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xbb, 0x01, 0x0a, 0x15, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x12, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x11, 0x61, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, + 0x56, 0x0a, 0x10, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, + 0x69, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x22, 0x8a, 0x01, 0x0a, 0x16, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x56, 0x0a, 0x10, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, + 0x61, 0x63, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, + 0x69, 0x65, 0x72, 0x52, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x66, 0x69, 0x65, 0x72, 0x22, 0x99, 0x01, 0x0a, 0x17, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, + 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, + 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x66, + 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x32, 0x0a, 0x08, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x22, 0x9f, 0x01, 0x0a, 0x19, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, + 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, + 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x5f, + 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x75, + 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x32, + 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x22, 0x45, 0x0a, 0x1e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x45, 0x78, + 0x70, 0x69, 0x72, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, + 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xcc, 0x01, 0x0a, 0x18, 0x44, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x32, 0x0a, 0x08, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 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, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x63, + 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x04, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0xba, 0x01, 0x0a, 0x1a, 0x55, 0x6e, 0x44, + 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, + 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x32, 0x0a, 0x08, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 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, 0x29, 0x0a, 0x10, 0x72, 0x65, + 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x4b, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, + 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, + 0x73, 0x6f, 0x62, 0x72, 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, + 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, + 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_core_balance_contract_proto_rawDescOnce sync.Once + file_core_balance_contract_proto_rawDescData = file_core_balance_contract_proto_rawDesc +) + +func file_core_balance_contract_proto_rawDescGZIP() []byte { + file_core_balance_contract_proto_rawDescOnce.Do(func() { + file_core_balance_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_balance_contract_proto_rawDescData) + }) + return file_core_balance_contract_proto_rawDescData +} + +var file_core_balance_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 17) +var file_core_balance_contract_proto_goTypes = []interface{}{ + (*FreezeBalanceContract)(nil), // 0: protocol.FreezeBalanceContract + (*UnfreezeBalanceContract)(nil), // 1: protocol.UnfreezeBalanceContract + (*WithdrawBalanceContract)(nil), // 2: protocol.WithdrawBalanceContract + (*TransferContract)(nil), // 3: protocol.TransferContract + (*TransactionBalanceTrace)(nil), // 4: protocol.TransactionBalanceTrace + (*BlockBalanceTrace)(nil), // 5: protocol.BlockBalanceTrace + (*AccountTrace)(nil), // 6: protocol.AccountTrace + (*AccountIdentifier)(nil), // 7: protocol.AccountIdentifier + (*AccountBalanceRequest)(nil), // 8: protocol.AccountBalanceRequest + (*AccountBalanceResponse)(nil), // 9: protocol.AccountBalanceResponse + (*FreezeBalanceV2Contract)(nil), // 10: protocol.FreezeBalanceV2Contract + (*UnfreezeBalanceV2Contract)(nil), // 11: protocol.UnfreezeBalanceV2Contract + (*WithdrawExpireUnfreezeContract)(nil), // 12: protocol.WithdrawExpireUnfreezeContract + (*DelegateResourceContract)(nil), // 13: protocol.DelegateResourceContract + (*UnDelegateResourceContract)(nil), // 14: protocol.UnDelegateResourceContract + (*TransactionBalanceTrace_Operation)(nil), // 15: protocol.TransactionBalanceTrace.Operation + (*BlockBalanceTrace_BlockIdentifier)(nil), // 16: protocol.BlockBalanceTrace.BlockIdentifier + (ResourceCode)(0), // 17: protocol.ResourceCode +} +var file_core_balance_contract_proto_depIdxs = []int32{ + 17, // 0: protocol.FreezeBalanceContract.resource:type_name -> protocol.ResourceCode + 17, // 1: protocol.UnfreezeBalanceContract.resource:type_name -> protocol.ResourceCode + 15, // 2: protocol.TransactionBalanceTrace.operation:type_name -> protocol.TransactionBalanceTrace.Operation + 16, // 3: protocol.BlockBalanceTrace.block_identifier:type_name -> protocol.BlockBalanceTrace.BlockIdentifier + 4, // 4: protocol.BlockBalanceTrace.transaction_balance_trace:type_name -> protocol.TransactionBalanceTrace + 7, // 5: protocol.AccountBalanceRequest.account_identifier:type_name -> protocol.AccountIdentifier + 16, // 6: protocol.AccountBalanceRequest.block_identifier:type_name -> protocol.BlockBalanceTrace.BlockIdentifier + 16, // 7: protocol.AccountBalanceResponse.block_identifier:type_name -> protocol.BlockBalanceTrace.BlockIdentifier + 17, // 8: protocol.FreezeBalanceV2Contract.resource:type_name -> protocol.ResourceCode + 17, // 9: protocol.UnfreezeBalanceV2Contract.resource:type_name -> protocol.ResourceCode + 17, // 10: protocol.DelegateResourceContract.resource:type_name -> protocol.ResourceCode + 17, // 11: protocol.UnDelegateResourceContract.resource:type_name -> protocol.ResourceCode + 12, // [12:12] is the sub-list for method output_type + 12, // [12:12] is the sub-list for method input_type + 12, // [12:12] is the sub-list for extension type_name + 12, // [12:12] is the sub-list for extension extendee + 0, // [0:12] is the sub-list for field type_name +} + +func init() { file_core_balance_contract_proto_init() } +func file_core_balance_contract_proto_init() { + if File_core_balance_contract_proto != nil { + return + } + file_core_common_proto_init() + if !protoimpl.UnsafeEnabled { + file_core_balance_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FreezeBalanceContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_balance_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnfreezeBalanceContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_balance_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WithdrawBalanceContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_balance_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransferContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_balance_contract_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransactionBalanceTrace); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_balance_contract_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockBalanceTrace); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_balance_contract_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccountTrace); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_balance_contract_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccountIdentifier); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_balance_contract_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccountBalanceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_balance_contract_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccountBalanceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_balance_contract_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FreezeBalanceV2Contract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_balance_contract_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnfreezeBalanceV2Contract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_balance_contract_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WithdrawExpireUnfreezeContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_balance_contract_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DelegateResourceContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_balance_contract_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnDelegateResourceContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_balance_contract_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransactionBalanceTrace_Operation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_balance_contract_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockBalanceTrace_BlockIdentifier); 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_core_balance_contract_proto_rawDesc, + NumEnums: 0, + NumMessages: 17, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_core_balance_contract_proto_goTypes, + DependencyIndexes: file_core_balance_contract_proto_depIdxs, + MessageInfos: file_core_balance_contract_proto_msgTypes, + }.Build() + File_core_balance_contract_proto = out.File + file_core_balance_contract_proto_rawDesc = nil + file_core_balance_contract_proto_goTypes = nil + file_core_balance_contract_proto_depIdxs = nil } diff --git a/pkg/proto/core/common.pb.go b/pkg/proto/core/common.pb.go index 4ce9398fc..248a7d80e 100644 --- a/pkg/proto/core/common.pb.go +++ b/pkg/proto/core/common.pb.go @@ -1,66 +1,135 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// source: core/contract/common.proto +// versions: +// protoc-gen-go v1.28.0 +// protoc v3.21.12 +// source: core/common.proto package core import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 ResourceCode int32 const ( - ResourceCode_BANDWIDTH ResourceCode = 0 - ResourceCode_ENERGY ResourceCode = 1 + ResourceCode_BANDWIDTH ResourceCode = 0 + ResourceCode_ENERGY ResourceCode = 1 + ResourceCode_TRON_POWER ResourceCode = 2 ) -var ResourceCode_name = map[int32]string{ - 0: "BANDWIDTH", - 1: "ENERGY", -} +// Enum value maps for ResourceCode. +var ( + ResourceCode_name = map[int32]string{ + 0: "BANDWIDTH", + 1: "ENERGY", + 2: "TRON_POWER", + } + ResourceCode_value = map[string]int32{ + "BANDWIDTH": 0, + "ENERGY": 1, + "TRON_POWER": 2, + } +) -var ResourceCode_value = map[string]int32{ - "BANDWIDTH": 0, - "ENERGY": 1, +func (x ResourceCode) Enum() *ResourceCode { + p := new(ResourceCode) + *p = x + return p } func (x ResourceCode) String() string { - return proto.EnumName(ResourceCode_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (ResourceCode) Descriptor() protoreflect.EnumDescriptor { + return file_core_common_proto_enumTypes[0].Descriptor() +} + +func (ResourceCode) Type() protoreflect.EnumType { + return &file_core_common_proto_enumTypes[0] +} + +func (x ResourceCode) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ResourceCode.Descriptor instead. func (ResourceCode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_41acc74ea448569c, []int{0} + return file_core_common_proto_rawDescGZIP(), []int{0} } -func init() { - proto.RegisterEnum("protocol.ResourceCode", ResourceCode_name, ResourceCode_value) +var File_core_common_proto protoreflect.FileDescriptor + +var file_core_common_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2a, 0x39, 0x0a, + 0x0c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x0d, 0x0a, + 0x09, 0x42, 0x41, 0x4e, 0x44, 0x57, 0x49, 0x44, 0x54, 0x48, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, + 0x45, 0x4e, 0x45, 0x52, 0x47, 0x59, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x52, 0x4f, 0x4e, + 0x5f, 0x50, 0x4f, 0x57, 0x45, 0x52, 0x10, 0x02, 0x42, 0x4b, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, + 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, 0x72, 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, + 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_core_common_proto_rawDescOnce sync.Once + file_core_common_proto_rawDescData = file_core_common_proto_rawDesc +) + +func file_core_common_proto_rawDescGZIP() []byte { + file_core_common_proto_rawDescOnce.Do(func() { + file_core_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_common_proto_rawDescData) + }) + return file_core_common_proto_rawDescData +} + +var file_core_common_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_core_common_proto_goTypes = []interface{}{ + (ResourceCode)(0), // 0: protocol.ResourceCode +} +var file_core_common_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() { proto.RegisterFile("core/contract/common.proto", fileDescriptor_41acc74ea448569c) } - -var fileDescriptor_41acc74ea448569c = []byte{ - // 154 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4a, 0xce, 0x2f, 0x4a, - 0xd5, 0x4f, 0xce, 0xcf, 0x2b, 0x29, 0x4a, 0x4c, 0x2e, 0xd1, 0x4f, 0xce, 0xcf, 0xcd, 0xcd, 0xcf, - 0xd3, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x00, 0x53, 0xc9, 0xf9, 0x39, 0x5a, 0x9a, 0x5c, - 0x3c, 0x41, 0xa9, 0xc5, 0xf9, 0xa5, 0x45, 0xc9, 0xa9, 0xce, 0xf9, 0x29, 0xa9, 0x42, 0xbc, 0x5c, - 0x9c, 0x4e, 0x8e, 0x7e, 0x2e, 0xe1, 0x9e, 0x2e, 0x21, 0x1e, 0x02, 0x0c, 0x42, 0x5c, 0x5c, 0x6c, - 0xae, 0x7e, 0xae, 0x41, 0xee, 0x91, 0x02, 0x8c, 0x4e, 0xb6, 0x5c, 0x12, 0xf9, 0x45, 0xe9, 0x7a, - 0x25, 0x45, 0x30, 0x63, 0x8a, 0xf5, 0x60, 0xa6, 0x47, 0x29, 0xa6, 0x67, 0x96, 0x64, 0x94, 0x26, - 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0xa7, 0x25, 0x15, 0xe7, 0x27, 0x15, 0xa5, 0x66, 0x16, 0x25, 0xea, - 0xa7, 0xe7, 0x83, 0x54, 0xeb, 0x83, 0x5c, 0x92, 0xc4, 0x06, 0xd6, 0x63, 0x0c, 0x08, 0x00, 0x00, - 0xff, 0xff, 0x33, 0x0f, 0xff, 0xf3, 0x98, 0x00, 0x00, 0x00, +func init() { file_core_common_proto_init() } +func file_core_common_proto_init() { + if File_core_common_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_core_common_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_core_common_proto_goTypes, + DependencyIndexes: file_core_common_proto_depIdxs, + EnumInfos: file_core_common_proto_enumTypes, + }.Build() + File_core_common_proto = out.File + file_core_common_proto_rawDesc = nil + file_core_common_proto_goTypes = nil + file_core_common_proto_depIdxs = nil } diff --git a/pkg/proto/core/contract/account_contract.pb.go b/pkg/proto/core/contract/account_contract.pb.go deleted file mode 100644 index 2bf0f9454..000000000 --- a/pkg/proto/core/contract/account_contract.pb.go +++ /dev/null @@ -1,444 +0,0 @@ -// -// java-tron is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// java-tron is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.21.0-devel -// protoc v3.11.4 -// source: core/contract/account_contract.proto - -package core - -import ( - proto "github.com/golang/protobuf/proto" - 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) -) - -// This is a compile-time assertion that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 - -type AccountCreateContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - AccountAddress []byte `protobuf:"bytes,2,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` - Type AccountType `protobuf:"varint,3,opt,name=type,proto3,enum=protocol.AccountType" json:"type,omitempty"` -} - -func (x *AccountCreateContract) Reset() { - *x = AccountCreateContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_account_contract_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AccountCreateContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AccountCreateContract) ProtoMessage() {} - -func (x *AccountCreateContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_account_contract_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AccountCreateContract.ProtoReflect.Descriptor instead. -func (*AccountCreateContract) Descriptor() ([]byte, []int) { - return file_core_contract_account_contract_proto_rawDescGZIP(), []int{0} -} - -func (x *AccountCreateContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -func (x *AccountCreateContract) GetAccountAddress() []byte { - if x != nil { - return x.AccountAddress - } - return nil -} - -func (x *AccountCreateContract) GetType() AccountType { - if x != nil { - return x.Type - } - return AccountType_Normal -} - -// Update account name. Account name is not unique now. -type AccountUpdateContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AccountName []byte `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` - OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` -} - -func (x *AccountUpdateContract) Reset() { - *x = AccountUpdateContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_account_contract_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AccountUpdateContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AccountUpdateContract) ProtoMessage() {} - -func (x *AccountUpdateContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_account_contract_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AccountUpdateContract.ProtoReflect.Descriptor instead. -func (*AccountUpdateContract) Descriptor() ([]byte, []int) { - return file_core_contract_account_contract_proto_rawDescGZIP(), []int{1} -} - -func (x *AccountUpdateContract) GetAccountName() []byte { - if x != nil { - return x.AccountName - } - return nil -} - -func (x *AccountUpdateContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -// Set account id if the account has no id. Account id is unique and case insensitive. -type SetAccountIdContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AccountId []byte `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` - OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` -} - -func (x *SetAccountIdContract) Reset() { - *x = SetAccountIdContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_account_contract_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SetAccountIdContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetAccountIdContract) ProtoMessage() {} - -func (x *SetAccountIdContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_account_contract_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetAccountIdContract.ProtoReflect.Descriptor instead. -func (*SetAccountIdContract) Descriptor() ([]byte, []int) { - return file_core_contract_account_contract_proto_rawDescGZIP(), []int{2} -} - -func (x *SetAccountIdContract) GetAccountId() []byte { - if x != nil { - return x.AccountId - } - return nil -} - -func (x *SetAccountIdContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -type AccountPermissionUpdateContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Owner *Permission `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` //Empty is invalidate - Witness *Permission `protobuf:"bytes,3,opt,name=witness,proto3" json:"witness,omitempty"` //Can be empty - Actives []*Permission `protobuf:"bytes,4,rep,name=actives,proto3" json:"actives,omitempty"` //Empty is invalidate -} - -func (x *AccountPermissionUpdateContract) Reset() { - *x = AccountPermissionUpdateContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_account_contract_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AccountPermissionUpdateContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AccountPermissionUpdateContract) ProtoMessage() {} - -func (x *AccountPermissionUpdateContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_account_contract_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AccountPermissionUpdateContract.ProtoReflect.Descriptor instead. -func (*AccountPermissionUpdateContract) Descriptor() ([]byte, []int) { - return file_core_contract_account_contract_proto_rawDescGZIP(), []int{3} -} - -func (x *AccountPermissionUpdateContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -func (x *AccountPermissionUpdateContract) GetOwner() *Permission { - if x != nil { - return x.Owner - } - return nil -} - -func (x *AccountPermissionUpdateContract) GetWitness() *Permission { - if x != nil { - return x.Witness - } - return nil -} - -func (x *AccountPermissionUpdateContract) GetActives() []*Permission { - if x != nil { - return x.Actives - } - return nil -} - -var File_core_contract_account_contract_proto protoreflect.FileDescriptor - -var file_core_contract_account_contract_proto_rawDesc = []byte{ - 0x0a, 0x24, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, - 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x1a, 0x0f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x54, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x22, 0x90, 0x01, 0x0a, 0x15, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x22, 0x5f, 0x0a, 0x15, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x21, 0x0a, - 0x0c, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x5a, 0x0a, 0x14, 0x53, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x49, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x1d, 0x0a, - 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x22, 0xd2, 0x01, 0x0a, 0x1f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2a, 0x0a, 0x05, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, - 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x2e, 0x0a, 0x07, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, - 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x77, - 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x2e, 0x0a, 0x07, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, - 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x61, - 0x63, 0x74, 0x69, 0x76, 0x65, 0x73, 0x42, 0x4b, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, - 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, - 0x62, 0x73, 0x6f, 0x62, 0x72, 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, - 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, - 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_core_contract_account_contract_proto_rawDescOnce sync.Once - file_core_contract_account_contract_proto_rawDescData = file_core_contract_account_contract_proto_rawDesc -) - -func file_core_contract_account_contract_proto_rawDescGZIP() []byte { - file_core_contract_account_contract_proto_rawDescOnce.Do(func() { - file_core_contract_account_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_account_contract_proto_rawDescData) - }) - return file_core_contract_account_contract_proto_rawDescData -} - -var file_core_contract_account_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_core_contract_account_contract_proto_goTypes = []interface{}{ - (*AccountCreateContract)(nil), // 0: protocol.AccountCreateContract - (*AccountUpdateContract)(nil), // 1: protocol.AccountUpdateContract - (*SetAccountIdContract)(nil), // 2: protocol.SetAccountIdContract - (*AccountPermissionUpdateContract)(nil), // 3: protocol.AccountPermissionUpdateContract - (AccountType)(0), // 4: protocol.AccountType - (*Permission)(nil), // 5: protocol.Permission -} -var file_core_contract_account_contract_proto_depIdxs = []int32{ - 4, // 0: protocol.AccountCreateContract.type:type_name -> protocol.AccountType - 5, // 1: protocol.AccountPermissionUpdateContract.owner:type_name -> protocol.Permission - 5, // 2: protocol.AccountPermissionUpdateContract.witness:type_name -> protocol.Permission - 5, // 3: protocol.AccountPermissionUpdateContract.actives:type_name -> protocol.Permission - 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_core_contract_account_contract_proto_init() } -func file_core_contract_account_contract_proto_init() { - if File_core_contract_account_contract_proto != nil { - return - } - file_core_Tron_proto_init() - if !protoimpl.UnsafeEnabled { - file_core_contract_account_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AccountCreateContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_account_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AccountUpdateContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_account_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetAccountIdContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_account_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AccountPermissionUpdateContract); 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_core_contract_account_contract_proto_rawDesc, - NumEnums: 0, - NumMessages: 4, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_core_contract_account_contract_proto_goTypes, - DependencyIndexes: file_core_contract_account_contract_proto_depIdxs, - MessageInfos: file_core_contract_account_contract_proto_msgTypes, - }.Build() - File_core_contract_account_contract_proto = out.File - file_core_contract_account_contract_proto_rawDesc = nil - file_core_contract_account_contract_proto_goTypes = nil - file_core_contract_account_contract_proto_depIdxs = nil -} diff --git a/pkg/proto/core/contract/asset_issue_contract.pb.go b/pkg/proto/core/contract/asset_issue_contract.pb.go deleted file mode 100644 index dd041bc80..000000000 --- a/pkg/proto/core/contract/asset_issue_contract.pb.go +++ /dev/null @@ -1,767 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.21.0-devel -// protoc v3.11.4 -// source: core/contract/asset_issue_contract.proto - -package core - -import ( - proto "github.com/golang/protobuf/proto" - 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) -) - -// This is a compile-time assertion that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 - -type AssetIssueContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id string `protobuf:"bytes,41,opt,name=id,proto3" json:"id,omitempty"` - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Abbr []byte `protobuf:"bytes,3,opt,name=abbr,proto3" json:"abbr,omitempty"` - TotalSupply int64 `protobuf:"varint,4,opt,name=total_supply,json=totalSupply,proto3" json:"total_supply,omitempty"` - FrozenSupply []*AssetIssueContract_FrozenSupply `protobuf:"bytes,5,rep,name=frozen_supply,json=frozenSupply,proto3" json:"frozen_supply,omitempty"` - TrxNum int32 `protobuf:"varint,6,opt,name=trx_num,json=trxNum,proto3" json:"trx_num,omitempty"` - Precision int32 `protobuf:"varint,7,opt,name=precision,proto3" json:"precision,omitempty"` - Num int32 `protobuf:"varint,8,opt,name=num,proto3" json:"num,omitempty"` - StartTime int64 `protobuf:"varint,9,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - EndTime int64 `protobuf:"varint,10,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - Order int64 `protobuf:"varint,11,opt,name=order,proto3" json:"order,omitempty"` // useless - VoteScore int32 `protobuf:"varint,16,opt,name=vote_score,json=voteScore,proto3" json:"vote_score,omitempty"` - Description []byte `protobuf:"bytes,20,opt,name=description,proto3" json:"description,omitempty"` - Url []byte `protobuf:"bytes,21,opt,name=url,proto3" json:"url,omitempty"` - FreeAssetNetLimit int64 `protobuf:"varint,22,opt,name=free_asset_net_limit,json=freeAssetNetLimit,proto3" json:"free_asset_net_limit,omitempty"` - PublicFreeAssetNetLimit int64 `protobuf:"varint,23,opt,name=public_free_asset_net_limit,json=publicFreeAssetNetLimit,proto3" json:"public_free_asset_net_limit,omitempty"` - PublicFreeAssetNetUsage int64 `protobuf:"varint,24,opt,name=public_free_asset_net_usage,json=publicFreeAssetNetUsage,proto3" json:"public_free_asset_net_usage,omitempty"` - PublicLatestFreeNetTime int64 `protobuf:"varint,25,opt,name=public_latest_free_net_time,json=publicLatestFreeNetTime,proto3" json:"public_latest_free_net_time,omitempty"` -} - -func (x *AssetIssueContract) Reset() { - *x = AssetIssueContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_asset_issue_contract_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AssetIssueContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AssetIssueContract) ProtoMessage() {} - -func (x *AssetIssueContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_asset_issue_contract_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AssetIssueContract.ProtoReflect.Descriptor instead. -func (*AssetIssueContract) Descriptor() ([]byte, []int) { - return file_core_contract_asset_issue_contract_proto_rawDescGZIP(), []int{0} -} - -func (x *AssetIssueContract) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -func (x *AssetIssueContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -func (x *AssetIssueContract) GetName() []byte { - if x != nil { - return x.Name - } - return nil -} - -func (x *AssetIssueContract) GetAbbr() []byte { - if x != nil { - return x.Abbr - } - return nil -} - -func (x *AssetIssueContract) GetTotalSupply() int64 { - if x != nil { - return x.TotalSupply - } - return 0 -} - -func (x *AssetIssueContract) GetFrozenSupply() []*AssetIssueContract_FrozenSupply { - if x != nil { - return x.FrozenSupply - } - return nil -} - -func (x *AssetIssueContract) GetTrxNum() int32 { - if x != nil { - return x.TrxNum - } - return 0 -} - -func (x *AssetIssueContract) GetPrecision() int32 { - if x != nil { - return x.Precision - } - return 0 -} - -func (x *AssetIssueContract) GetNum() int32 { - if x != nil { - return x.Num - } - return 0 -} - -func (x *AssetIssueContract) GetStartTime() int64 { - if x != nil { - return x.StartTime - } - return 0 -} - -func (x *AssetIssueContract) GetEndTime() int64 { - if x != nil { - return x.EndTime - } - return 0 -} - -func (x *AssetIssueContract) GetOrder() int64 { - if x != nil { - return x.Order - } - return 0 -} - -func (x *AssetIssueContract) GetVoteScore() int32 { - if x != nil { - return x.VoteScore - } - return 0 -} - -func (x *AssetIssueContract) GetDescription() []byte { - if x != nil { - return x.Description - } - return nil -} - -func (x *AssetIssueContract) GetUrl() []byte { - if x != nil { - return x.Url - } - return nil -} - -func (x *AssetIssueContract) GetFreeAssetNetLimit() int64 { - if x != nil { - return x.FreeAssetNetLimit - } - return 0 -} - -func (x *AssetIssueContract) GetPublicFreeAssetNetLimit() int64 { - if x != nil { - return x.PublicFreeAssetNetLimit - } - return 0 -} - -func (x *AssetIssueContract) GetPublicFreeAssetNetUsage() int64 { - if x != nil { - return x.PublicFreeAssetNetUsage - } - return 0 -} - -func (x *AssetIssueContract) GetPublicLatestFreeNetTime() int64 { - if x != nil { - return x.PublicLatestFreeNetTime - } - return 0 -} - -type TransferAssetContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AssetName []byte `protobuf:"bytes,1,opt,name=asset_name,json=assetName,proto3" json:"asset_name,omitempty"` // this field is token name before the proposal ALLOW_SAME_TOKEN_NAME is active, otherwise it is token id and token is should be in string format. - OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ToAddress []byte `protobuf:"bytes,3,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` - Amount int64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` -} - -func (x *TransferAssetContract) Reset() { - *x = TransferAssetContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_asset_issue_contract_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TransferAssetContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TransferAssetContract) ProtoMessage() {} - -func (x *TransferAssetContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_asset_issue_contract_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TransferAssetContract.ProtoReflect.Descriptor instead. -func (*TransferAssetContract) Descriptor() ([]byte, []int) { - return file_core_contract_asset_issue_contract_proto_rawDescGZIP(), []int{1} -} - -func (x *TransferAssetContract) GetAssetName() []byte { - if x != nil { - return x.AssetName - } - return nil -} - -func (x *TransferAssetContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -func (x *TransferAssetContract) GetToAddress() []byte { - if x != nil { - return x.ToAddress - } - return nil -} - -func (x *TransferAssetContract) GetAmount() int64 { - if x != nil { - return x.Amount - } - return 0 -} - -type UnfreezeAssetContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` -} - -func (x *UnfreezeAssetContract) Reset() { - *x = UnfreezeAssetContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_asset_issue_contract_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UnfreezeAssetContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UnfreezeAssetContract) ProtoMessage() {} - -func (x *UnfreezeAssetContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_asset_issue_contract_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UnfreezeAssetContract.ProtoReflect.Descriptor instead. -func (*UnfreezeAssetContract) Descriptor() ([]byte, []int) { - return file_core_contract_asset_issue_contract_proto_rawDescGZIP(), []int{2} -} - -func (x *UnfreezeAssetContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -type UpdateAssetContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Description []byte `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - Url []byte `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` - NewLimit int64 `protobuf:"varint,4,opt,name=new_limit,json=newLimit,proto3" json:"new_limit,omitempty"` - NewPublicLimit int64 `protobuf:"varint,5,opt,name=new_public_limit,json=newPublicLimit,proto3" json:"new_public_limit,omitempty"` -} - -func (x *UpdateAssetContract) Reset() { - *x = UpdateAssetContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_asset_issue_contract_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateAssetContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateAssetContract) ProtoMessage() {} - -func (x *UpdateAssetContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_asset_issue_contract_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateAssetContract.ProtoReflect.Descriptor instead. -func (*UpdateAssetContract) Descriptor() ([]byte, []int) { - return file_core_contract_asset_issue_contract_proto_rawDescGZIP(), []int{3} -} - -func (x *UpdateAssetContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -func (x *UpdateAssetContract) GetDescription() []byte { - if x != nil { - return x.Description - } - return nil -} - -func (x *UpdateAssetContract) GetUrl() []byte { - if x != nil { - return x.Url - } - return nil -} - -func (x *UpdateAssetContract) GetNewLimit() int64 { - if x != nil { - return x.NewLimit - } - return 0 -} - -func (x *UpdateAssetContract) GetNewPublicLimit() int64 { - if x != nil { - return x.NewPublicLimit - } - return 0 -} - -type ParticipateAssetIssueContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ToAddress []byte `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` - AssetName []byte `protobuf:"bytes,3,opt,name=asset_name,json=assetName,proto3" json:"asset_name,omitempty"` // this field is token name before the proposal ALLOW_SAME_TOKEN_NAME is active, otherwise it is token id and token is should be in string format. - Amount int64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` // the amount of drops -} - -func (x *ParticipateAssetIssueContract) Reset() { - *x = ParticipateAssetIssueContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_asset_issue_contract_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ParticipateAssetIssueContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ParticipateAssetIssueContract) ProtoMessage() {} - -func (x *ParticipateAssetIssueContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_asset_issue_contract_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ParticipateAssetIssueContract.ProtoReflect.Descriptor instead. -func (*ParticipateAssetIssueContract) Descriptor() ([]byte, []int) { - return file_core_contract_asset_issue_contract_proto_rawDescGZIP(), []int{4} -} - -func (x *ParticipateAssetIssueContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -func (x *ParticipateAssetIssueContract) GetToAddress() []byte { - if x != nil { - return x.ToAddress - } - return nil -} - -func (x *ParticipateAssetIssueContract) GetAssetName() []byte { - if x != nil { - return x.AssetName - } - return nil -} - -func (x *ParticipateAssetIssueContract) GetAmount() int64 { - if x != nil { - return x.Amount - } - return 0 -} - -type AssetIssueContract_FrozenSupply struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FrozenAmount int64 `protobuf:"varint,1,opt,name=frozen_amount,json=frozenAmount,proto3" json:"frozen_amount,omitempty"` - FrozenDays int64 `protobuf:"varint,2,opt,name=frozen_days,json=frozenDays,proto3" json:"frozen_days,omitempty"` -} - -func (x *AssetIssueContract_FrozenSupply) Reset() { - *x = AssetIssueContract_FrozenSupply{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_asset_issue_contract_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AssetIssueContract_FrozenSupply) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AssetIssueContract_FrozenSupply) ProtoMessage() {} - -func (x *AssetIssueContract_FrozenSupply) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_asset_issue_contract_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AssetIssueContract_FrozenSupply.ProtoReflect.Descriptor instead. -func (*AssetIssueContract_FrozenSupply) Descriptor() ([]byte, []int) { - return file_core_contract_asset_issue_contract_proto_rawDescGZIP(), []int{0, 0} -} - -func (x *AssetIssueContract_FrozenSupply) GetFrozenAmount() int64 { - if x != nil { - return x.FrozenAmount - } - return 0 -} - -func (x *AssetIssueContract_FrozenSupply) GetFrozenDays() int64 { - if x != nil { - return x.FrozenDays - } - return 0 -} - -var File_core_contract_asset_issue_contract_proto protoreflect.FileDescriptor - -var file_core_contract_asset_issue_contract_proto_rawDesc = []byte{ - 0x0a, 0x28, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, - 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0x91, 0x06, 0x0a, 0x12, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, - 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x29, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x62, 0x62, 0x72, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x04, 0x61, 0x62, 0x62, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x6f, 0x74, 0x61, - 0x6c, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, - 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x4e, 0x0a, 0x0d, 0x66, - 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x18, 0x05, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, - 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x2e, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x0c, 0x66, - 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x74, - 0x72, 0x78, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x72, - 0x78, 0x4e, 0x75, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, - 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, - 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x75, 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x03, 0x6e, 0x75, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, - 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, - 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, - 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6f, - 0x72, 0x64, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x73, 0x63, 0x6f, - 0x72, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x76, 0x6f, 0x74, 0x65, 0x53, 0x63, - 0x6f, 0x72, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x15, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x2f, 0x0a, 0x14, 0x66, 0x72, 0x65, 0x65, 0x5f, - 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x65, 0x74, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, - 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x66, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, - 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x3c, 0x0a, 0x1b, 0x70, 0x75, 0x62, 0x6c, - 0x69, 0x63, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x65, - 0x74, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x17, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x70, - 0x75, 0x62, 0x6c, 0x69, 0x63, 0x46, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, - 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x3c, 0x0a, 0x1b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, - 0x5f, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x65, 0x74, 0x5f, - 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x70, 0x75, 0x62, - 0x6c, 0x69, 0x63, 0x46, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, - 0x73, 0x61, 0x67, 0x65, 0x12, 0x3c, 0x0a, 0x1b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6c, - 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x6e, 0x65, 0x74, 0x5f, 0x74, - 0x69, 0x6d, 0x65, 0x18, 0x19, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x70, 0x75, 0x62, 0x6c, 0x69, - 0x63, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x46, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x54, 0x69, - 0x6d, 0x65, 0x1a, 0x54, 0x0a, 0x0c, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x53, 0x75, 0x70, 0x70, - 0x6c, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x61, 0x6d, 0x6f, - 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x7a, 0x65, - 0x6e, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x7a, 0x65, - 0x6e, 0x5f, 0x64, 0x61, 0x79, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x66, 0x72, - 0x6f, 0x7a, 0x65, 0x6e, 0x44, 0x61, 0x79, 0x73, 0x22, 0x92, 0x01, 0x0a, 0x15, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x6f, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x3c, 0x0a, - 0x15, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xb5, 0x01, 0x0a, 0x13, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x64, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, - 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1b, 0x0a, 0x09, - 0x6e, 0x65, 0x77, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x08, 0x6e, 0x65, 0x77, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x6e, 0x65, 0x77, - 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0e, 0x6e, 0x65, 0x77, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4c, 0x69, - 0x6d, 0x69, 0x74, 0x22, 0x9a, 0x01, 0x0a, 0x1d, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, - 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, - 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, - 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x73, 0x73, - 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x61, - 0x73, 0x73, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, - 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, - 0x42, 0x4b, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x2f, 0x67, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, 0x72, 0x65, - 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x70, - 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_core_contract_asset_issue_contract_proto_rawDescOnce sync.Once - file_core_contract_asset_issue_contract_proto_rawDescData = file_core_contract_asset_issue_contract_proto_rawDesc -) - -func file_core_contract_asset_issue_contract_proto_rawDescGZIP() []byte { - file_core_contract_asset_issue_contract_proto_rawDescOnce.Do(func() { - file_core_contract_asset_issue_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_asset_issue_contract_proto_rawDescData) - }) - return file_core_contract_asset_issue_contract_proto_rawDescData -} - -var file_core_contract_asset_issue_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_core_contract_asset_issue_contract_proto_goTypes = []interface{}{ - (*AssetIssueContract)(nil), // 0: protocol.AssetIssueContract - (*TransferAssetContract)(nil), // 1: protocol.TransferAssetContract - (*UnfreezeAssetContract)(nil), // 2: protocol.UnfreezeAssetContract - (*UpdateAssetContract)(nil), // 3: protocol.UpdateAssetContract - (*ParticipateAssetIssueContract)(nil), // 4: protocol.ParticipateAssetIssueContract - (*AssetIssueContract_FrozenSupply)(nil), // 5: protocol.AssetIssueContract.FrozenSupply -} -var file_core_contract_asset_issue_contract_proto_depIdxs = []int32{ - 5, // 0: protocol.AssetIssueContract.frozen_supply:type_name -> protocol.AssetIssueContract.FrozenSupply - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_core_contract_asset_issue_contract_proto_init() } -func file_core_contract_asset_issue_contract_proto_init() { - if File_core_contract_asset_issue_contract_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_core_contract_asset_issue_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AssetIssueContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_asset_issue_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransferAssetContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_asset_issue_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnfreezeAssetContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_asset_issue_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateAssetContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_asset_issue_contract_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ParticipateAssetIssueContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_asset_issue_contract_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AssetIssueContract_FrozenSupply); 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_core_contract_asset_issue_contract_proto_rawDesc, - NumEnums: 0, - NumMessages: 6, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_core_contract_asset_issue_contract_proto_goTypes, - DependencyIndexes: file_core_contract_asset_issue_contract_proto_depIdxs, - MessageInfos: file_core_contract_asset_issue_contract_proto_msgTypes, - }.Build() - File_core_contract_asset_issue_contract_proto = out.File - file_core_contract_asset_issue_contract_proto_rawDesc = nil - file_core_contract_asset_issue_contract_proto_goTypes = nil - file_core_contract_asset_issue_contract_proto_depIdxs = nil -} diff --git a/pkg/proto/core/contract/balance_contract.pb.go b/pkg/proto/core/contract/balance_contract.pb.go deleted file mode 100644 index e9ef1417d..000000000 --- a/pkg/proto/core/contract/balance_contract.pb.go +++ /dev/null @@ -1,435 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.21.0-devel -// protoc v3.11.4 -// source: core/contract/balance_contract.proto - -package core - -import ( - proto "github.com/golang/protobuf/proto" - 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) -) - -// This is a compile-time assertion that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 - -type FreezeBalanceContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - FrozenBalance int64 `protobuf:"varint,2,opt,name=frozen_balance,json=frozenBalance,proto3" json:"frozen_balance,omitempty"` - FrozenDuration int64 `protobuf:"varint,3,opt,name=frozen_duration,json=frozenDuration,proto3" json:"frozen_duration,omitempty"` - Resource ResourceCode `protobuf:"varint,10,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"` - ReceiverAddress []byte `protobuf:"bytes,15,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"` -} - -func (x *FreezeBalanceContract) Reset() { - *x = FreezeBalanceContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_balance_contract_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FreezeBalanceContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FreezeBalanceContract) ProtoMessage() {} - -func (x *FreezeBalanceContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_balance_contract_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FreezeBalanceContract.ProtoReflect.Descriptor instead. -func (*FreezeBalanceContract) Descriptor() ([]byte, []int) { - return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{0} -} - -func (x *FreezeBalanceContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -func (x *FreezeBalanceContract) GetFrozenBalance() int64 { - if x != nil { - return x.FrozenBalance - } - return 0 -} - -func (x *FreezeBalanceContract) GetFrozenDuration() int64 { - if x != nil { - return x.FrozenDuration - } - return 0 -} - -func (x *FreezeBalanceContract) GetResource() ResourceCode { - if x != nil { - return x.Resource - } - return ResourceCode_BANDWIDTH -} - -func (x *FreezeBalanceContract) GetReceiverAddress() []byte { - if x != nil { - return x.ReceiverAddress - } - return nil -} - -type UnfreezeBalanceContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Resource ResourceCode `protobuf:"varint,10,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"` - ReceiverAddress []byte `protobuf:"bytes,15,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"` -} - -func (x *UnfreezeBalanceContract) Reset() { - *x = UnfreezeBalanceContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_balance_contract_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UnfreezeBalanceContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UnfreezeBalanceContract) ProtoMessage() {} - -func (x *UnfreezeBalanceContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_balance_contract_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UnfreezeBalanceContract.ProtoReflect.Descriptor instead. -func (*UnfreezeBalanceContract) Descriptor() ([]byte, []int) { - return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{1} -} - -func (x *UnfreezeBalanceContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -func (x *UnfreezeBalanceContract) GetResource() ResourceCode { - if x != nil { - return x.Resource - } - return ResourceCode_BANDWIDTH -} - -func (x *UnfreezeBalanceContract) GetReceiverAddress() []byte { - if x != nil { - return x.ReceiverAddress - } - return nil -} - -type WithdrawBalanceContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` -} - -func (x *WithdrawBalanceContract) Reset() { - *x = WithdrawBalanceContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_balance_contract_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WithdrawBalanceContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WithdrawBalanceContract) ProtoMessage() {} - -func (x *WithdrawBalanceContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_balance_contract_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WithdrawBalanceContract.ProtoReflect.Descriptor instead. -func (*WithdrawBalanceContract) Descriptor() ([]byte, []int) { - return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{2} -} - -func (x *WithdrawBalanceContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -type TransferContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ToAddress []byte `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` - Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` -} - -func (x *TransferContract) Reset() { - *x = TransferContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_balance_contract_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TransferContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TransferContract) ProtoMessage() {} - -func (x *TransferContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_balance_contract_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TransferContract.ProtoReflect.Descriptor instead. -func (*TransferContract) Descriptor() ([]byte, []int) { - return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{3} -} - -func (x *TransferContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -func (x *TransferContract) GetToAddress() []byte { - if x != nil { - return x.ToAddress - } - return nil -} - -func (x *TransferContract) GetAmount() int64 { - if x != nil { - return x.Amount - } - return 0 -} - -var File_core_contract_balance_contract_proto protoreflect.FileDescriptor - -var file_core_contract_balance_contract_proto_rawDesc = []byte{ - 0x0a, 0x24, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, - 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x1a, 0x1a, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, - 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xeb, 0x01, 0x0a, - 0x15, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x66, - 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0d, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, - 0x63, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x64, 0x75, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x66, 0x72, 0x6f, - 0x7a, 0x65, 0x6e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x08, 0x72, - 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, - 0x29, 0x0a, 0x10, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x65, 0x69, - 0x76, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x9d, 0x01, 0x0a, 0x17, 0x55, - 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x32, 0x0a, 0x08, 0x72, - 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, - 0x29, 0x0a, 0x10, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x65, 0x69, - 0x76, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x3e, 0x0a, 0x17, 0x57, 0x69, - 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x6e, 0x0a, 0x10, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, - 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x4b, 0x0a, 0x18, 0x6f, 0x72, - 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, 0x72, 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, - 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_core_contract_balance_contract_proto_rawDescOnce sync.Once - file_core_contract_balance_contract_proto_rawDescData = file_core_contract_balance_contract_proto_rawDesc -) - -func file_core_contract_balance_contract_proto_rawDescGZIP() []byte { - file_core_contract_balance_contract_proto_rawDescOnce.Do(func() { - file_core_contract_balance_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_balance_contract_proto_rawDescData) - }) - return file_core_contract_balance_contract_proto_rawDescData -} - -var file_core_contract_balance_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_core_contract_balance_contract_proto_goTypes = []interface{}{ - (*FreezeBalanceContract)(nil), // 0: protocol.FreezeBalanceContract - (*UnfreezeBalanceContract)(nil), // 1: protocol.UnfreezeBalanceContract - (*WithdrawBalanceContract)(nil), // 2: protocol.WithdrawBalanceContract - (*TransferContract)(nil), // 3: protocol.TransferContract - (ResourceCode)(0), // 4: protocol.ResourceCode -} -var file_core_contract_balance_contract_proto_depIdxs = []int32{ - 4, // 0: protocol.FreezeBalanceContract.resource:type_name -> protocol.ResourceCode - 4, // 1: protocol.UnfreezeBalanceContract.resource:type_name -> protocol.ResourceCode - 2, // [2:2] is the sub-list for method output_type - 2, // [2:2] is the sub-list for method input_type - 2, // [2:2] is the sub-list for extension type_name - 2, // [2:2] is the sub-list for extension extendee - 0, // [0:2] is the sub-list for field type_name -} - -func init() { file_core_contract_balance_contract_proto_init() } -func file_core_contract_balance_contract_proto_init() { - if File_core_contract_balance_contract_proto != nil { - return - } - file_core_contract_common_proto_init() - if !protoimpl.UnsafeEnabled { - file_core_contract_balance_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FreezeBalanceContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_balance_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnfreezeBalanceContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_balance_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WithdrawBalanceContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_balance_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransferContract); 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_core_contract_balance_contract_proto_rawDesc, - NumEnums: 0, - NumMessages: 4, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_core_contract_balance_contract_proto_goTypes, - DependencyIndexes: file_core_contract_balance_contract_proto_depIdxs, - MessageInfos: file_core_contract_balance_contract_proto_msgTypes, - }.Build() - File_core_contract_balance_contract_proto = out.File - file_core_contract_balance_contract_proto_rawDesc = nil - file_core_contract_balance_contract_proto_goTypes = nil - file_core_contract_balance_contract_proto_depIdxs = nil -} diff --git a/pkg/proto/core/contract/common.pb.go b/pkg/proto/core/contract/common.pb.go deleted file mode 100644 index 833f88769..000000000 --- a/pkg/proto/core/contract/common.pb.go +++ /dev/null @@ -1,137 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.21.0-devel -// protoc v3.11.4 -// source: core/contract/common.proto - -package core - -import ( - proto "github.com/golang/protobuf/proto" - 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) -) - -// This is a compile-time assertion that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 - -type ResourceCode int32 - -const ( - ResourceCode_BANDWIDTH ResourceCode = 0 - ResourceCode_ENERGY ResourceCode = 1 -) - -// Enum value maps for ResourceCode. -var ( - ResourceCode_name = map[int32]string{ - 0: "BANDWIDTH", - 1: "ENERGY", - } - ResourceCode_value = map[string]int32{ - "BANDWIDTH": 0, - "ENERGY": 1, - } -) - -func (x ResourceCode) Enum() *ResourceCode { - p := new(ResourceCode) - *p = x - return p -} - -func (x ResourceCode) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ResourceCode) Descriptor() protoreflect.EnumDescriptor { - return file_core_contract_common_proto_enumTypes[0].Descriptor() -} - -func (ResourceCode) Type() protoreflect.EnumType { - return &file_core_contract_common_proto_enumTypes[0] -} - -func (x ResourceCode) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ResourceCode.Descriptor instead. -func (ResourceCode) EnumDescriptor() ([]byte, []int) { - return file_core_contract_common_proto_rawDescGZIP(), []int{0} -} - -var File_core_contract_common_proto protoreflect.FileDescriptor - -var file_core_contract_common_proto_rawDesc = []byte{ - 0x0a, 0x1a, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, - 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2a, 0x29, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x0d, 0x0a, 0x09, 0x42, 0x41, 0x4e, 0x44, 0x57, 0x49, - 0x44, 0x54, 0x48, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x45, 0x4e, 0x45, 0x52, 0x47, 0x59, 0x10, - 0x01, 0x42, 0x4b, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x2f, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, 0x72, - 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, 0x2f, - 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_core_contract_common_proto_rawDescOnce sync.Once - file_core_contract_common_proto_rawDescData = file_core_contract_common_proto_rawDesc -) - -func file_core_contract_common_proto_rawDescGZIP() []byte { - file_core_contract_common_proto_rawDescOnce.Do(func() { - file_core_contract_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_common_proto_rawDescData) - }) - return file_core_contract_common_proto_rawDescData -} - -var file_core_contract_common_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_core_contract_common_proto_goTypes = []interface{}{ - (ResourceCode)(0), // 0: protocol.ResourceCode -} -var file_core_contract_common_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_core_contract_common_proto_init() } -func file_core_contract_common_proto_init() { - if File_core_contract_common_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_core_contract_common_proto_rawDesc, - NumEnums: 1, - NumMessages: 0, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_core_contract_common_proto_goTypes, - DependencyIndexes: file_core_contract_common_proto_depIdxs, - EnumInfos: file_core_contract_common_proto_enumTypes, - }.Build() - File_core_contract_common_proto = out.File - file_core_contract_common_proto_rawDesc = nil - file_core_contract_common_proto_goTypes = nil - file_core_contract_common_proto_depIdxs = nil -} diff --git a/pkg/proto/core/contract/exchange_contract.pb.go b/pkg/proto/core/contract/exchange_contract.pb.go deleted file mode 100644 index 77bcc8291..000000000 --- a/pkg/proto/core/contract/exchange_contract.pb.go +++ /dev/null @@ -1,486 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.21.0-devel -// protoc v3.11.4 -// source: core/contract/exchange_contract.proto - -package core - -import ( - proto "github.com/golang/protobuf/proto" - 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) -) - -// This is a compile-time assertion that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 - -type ExchangeCreateContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - FirstTokenId []byte `protobuf:"bytes,2,opt,name=first_token_id,json=firstTokenId,proto3" json:"first_token_id,omitempty"` - FirstTokenBalance int64 `protobuf:"varint,3,opt,name=first_token_balance,json=firstTokenBalance,proto3" json:"first_token_balance,omitempty"` - SecondTokenId []byte `protobuf:"bytes,4,opt,name=second_token_id,json=secondTokenId,proto3" json:"second_token_id,omitempty"` - SecondTokenBalance int64 `protobuf:"varint,5,opt,name=second_token_balance,json=secondTokenBalance,proto3" json:"second_token_balance,omitempty"` -} - -func (x *ExchangeCreateContract) Reset() { - *x = ExchangeCreateContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_exchange_contract_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ExchangeCreateContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExchangeCreateContract) ProtoMessage() {} - -func (x *ExchangeCreateContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_exchange_contract_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ExchangeCreateContract.ProtoReflect.Descriptor instead. -func (*ExchangeCreateContract) Descriptor() ([]byte, []int) { - return file_core_contract_exchange_contract_proto_rawDescGZIP(), []int{0} -} - -func (x *ExchangeCreateContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -func (x *ExchangeCreateContract) GetFirstTokenId() []byte { - if x != nil { - return x.FirstTokenId - } - return nil -} - -func (x *ExchangeCreateContract) GetFirstTokenBalance() int64 { - if x != nil { - return x.FirstTokenBalance - } - return 0 -} - -func (x *ExchangeCreateContract) GetSecondTokenId() []byte { - if x != nil { - return x.SecondTokenId - } - return nil -} - -func (x *ExchangeCreateContract) GetSecondTokenBalance() int64 { - if x != nil { - return x.SecondTokenBalance - } - return 0 -} - -type ExchangeInjectContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ExchangeId int64 `protobuf:"varint,2,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"` - TokenId []byte `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` - Quant int64 `protobuf:"varint,4,opt,name=quant,proto3" json:"quant,omitempty"` -} - -func (x *ExchangeInjectContract) Reset() { - *x = ExchangeInjectContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_exchange_contract_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ExchangeInjectContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExchangeInjectContract) ProtoMessage() {} - -func (x *ExchangeInjectContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_exchange_contract_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ExchangeInjectContract.ProtoReflect.Descriptor instead. -func (*ExchangeInjectContract) Descriptor() ([]byte, []int) { - return file_core_contract_exchange_contract_proto_rawDescGZIP(), []int{1} -} - -func (x *ExchangeInjectContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -func (x *ExchangeInjectContract) GetExchangeId() int64 { - if x != nil { - return x.ExchangeId - } - return 0 -} - -func (x *ExchangeInjectContract) GetTokenId() []byte { - if x != nil { - return x.TokenId - } - return nil -} - -func (x *ExchangeInjectContract) GetQuant() int64 { - if x != nil { - return x.Quant - } - return 0 -} - -type ExchangeWithdrawContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ExchangeId int64 `protobuf:"varint,2,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"` - TokenId []byte `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` - Quant int64 `protobuf:"varint,4,opt,name=quant,proto3" json:"quant,omitempty"` -} - -func (x *ExchangeWithdrawContract) Reset() { - *x = ExchangeWithdrawContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_exchange_contract_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ExchangeWithdrawContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExchangeWithdrawContract) ProtoMessage() {} - -func (x *ExchangeWithdrawContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_exchange_contract_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ExchangeWithdrawContract.ProtoReflect.Descriptor instead. -func (*ExchangeWithdrawContract) Descriptor() ([]byte, []int) { - return file_core_contract_exchange_contract_proto_rawDescGZIP(), []int{2} -} - -func (x *ExchangeWithdrawContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -func (x *ExchangeWithdrawContract) GetExchangeId() int64 { - if x != nil { - return x.ExchangeId - } - return 0 -} - -func (x *ExchangeWithdrawContract) GetTokenId() []byte { - if x != nil { - return x.TokenId - } - return nil -} - -func (x *ExchangeWithdrawContract) GetQuant() int64 { - if x != nil { - return x.Quant - } - return 0 -} - -type ExchangeTransactionContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ExchangeId int64 `protobuf:"varint,2,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"` - TokenId []byte `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` - Quant int64 `protobuf:"varint,4,opt,name=quant,proto3" json:"quant,omitempty"` - Expected int64 `protobuf:"varint,5,opt,name=expected,proto3" json:"expected,omitempty"` -} - -func (x *ExchangeTransactionContract) Reset() { - *x = ExchangeTransactionContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_exchange_contract_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ExchangeTransactionContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExchangeTransactionContract) ProtoMessage() {} - -func (x *ExchangeTransactionContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_exchange_contract_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ExchangeTransactionContract.ProtoReflect.Descriptor instead. -func (*ExchangeTransactionContract) Descriptor() ([]byte, []int) { - return file_core_contract_exchange_contract_proto_rawDescGZIP(), []int{3} -} - -func (x *ExchangeTransactionContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -func (x *ExchangeTransactionContract) GetExchangeId() int64 { - if x != nil { - return x.ExchangeId - } - return 0 -} - -func (x *ExchangeTransactionContract) GetTokenId() []byte { - if x != nil { - return x.TokenId - } - return nil -} - -func (x *ExchangeTransactionContract) GetQuant() int64 { - if x != nil { - return x.Quant - } - return 0 -} - -func (x *ExchangeTransactionContract) GetExpected() int64 { - if x != nil { - return x.Expected - } - return 0 -} - -var File_core_contract_exchange_contract_proto protoreflect.FileDescriptor - -var file_core_contract_exchange_contract_proto_rawDesc = []byte{ - 0x0a, 0x25, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, - 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x22, 0xed, 0x01, 0x0a, 0x16, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, - 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x66, 0x69, 0x72, 0x73, 0x74, - 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x66, 0x69, 0x72, 0x73, 0x74, - 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x66, 0x69, 0x72, 0x73, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, - 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x65, 0x63, 0x6f, 0x6e, - 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x0d, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, - 0x30, 0x0a, 0x14, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, - 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x73, - 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, - 0x65, 0x22, 0x8f, 0x01, 0x0a, 0x16, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, - 0x6a, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, - 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x71, 0x75, - 0x61, 0x6e, 0x74, 0x22, 0x91, 0x01, 0x0a, 0x18, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, - 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x63, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, - 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, - 0x64, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x22, 0xb0, 0x01, 0x0a, 0x1b, 0x45, 0x78, 0x63, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, - 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0a, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, - 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x61, 0x6e, - 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x12, 0x1a, - 0x0a, 0x08, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x08, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x4b, 0x0a, 0x18, 0x6f, 0x72, - 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, 0x72, 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, - 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_core_contract_exchange_contract_proto_rawDescOnce sync.Once - file_core_contract_exchange_contract_proto_rawDescData = file_core_contract_exchange_contract_proto_rawDesc -) - -func file_core_contract_exchange_contract_proto_rawDescGZIP() []byte { - file_core_contract_exchange_contract_proto_rawDescOnce.Do(func() { - file_core_contract_exchange_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_exchange_contract_proto_rawDescData) - }) - return file_core_contract_exchange_contract_proto_rawDescData -} - -var file_core_contract_exchange_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_core_contract_exchange_contract_proto_goTypes = []interface{}{ - (*ExchangeCreateContract)(nil), // 0: protocol.ExchangeCreateContract - (*ExchangeInjectContract)(nil), // 1: protocol.ExchangeInjectContract - (*ExchangeWithdrawContract)(nil), // 2: protocol.ExchangeWithdrawContract - (*ExchangeTransactionContract)(nil), // 3: protocol.ExchangeTransactionContract -} -var file_core_contract_exchange_contract_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_core_contract_exchange_contract_proto_init() } -func file_core_contract_exchange_contract_proto_init() { - if File_core_contract_exchange_contract_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_core_contract_exchange_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExchangeCreateContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_exchange_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExchangeInjectContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_exchange_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExchangeWithdrawContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_exchange_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExchangeTransactionContract); 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_core_contract_exchange_contract_proto_rawDesc, - NumEnums: 0, - NumMessages: 4, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_core_contract_exchange_contract_proto_goTypes, - DependencyIndexes: file_core_contract_exchange_contract_proto_depIdxs, - MessageInfos: file_core_contract_exchange_contract_proto_msgTypes, - }.Build() - File_core_contract_exchange_contract_proto = out.File - file_core_contract_exchange_contract_proto_rawDesc = nil - file_core_contract_exchange_contract_proto_goTypes = nil - file_core_contract_exchange_contract_proto_depIdxs = nil -} diff --git a/pkg/proto/core/contract/proposal_contract.pb.go b/pkg/proto/core/contract/proposal_contract.pb.go deleted file mode 100644 index bd7214cf1..000000000 --- a/pkg/proto/core/contract/proposal_contract.pb.go +++ /dev/null @@ -1,332 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.21.0-devel -// protoc v3.11.4 -// source: core/contract/proposal_contract.proto - -package core - -import ( - proto "github.com/golang/protobuf/proto" - 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) -) - -// This is a compile-time assertion that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 - -type ProposalApproveContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ProposalId int64 `protobuf:"varint,2,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` - IsAddApproval bool `protobuf:"varint,3,opt,name=is_add_approval,json=isAddApproval,proto3" json:"is_add_approval,omitempty"` // add or remove approval -} - -func (x *ProposalApproveContract) Reset() { - *x = ProposalApproveContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_proposal_contract_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ProposalApproveContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProposalApproveContract) ProtoMessage() {} - -func (x *ProposalApproveContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_proposal_contract_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProposalApproveContract.ProtoReflect.Descriptor instead. -func (*ProposalApproveContract) Descriptor() ([]byte, []int) { - return file_core_contract_proposal_contract_proto_rawDescGZIP(), []int{0} -} - -func (x *ProposalApproveContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -func (x *ProposalApproveContract) GetProposalId() int64 { - if x != nil { - return x.ProposalId - } - return 0 -} - -func (x *ProposalApproveContract) GetIsAddApproval() bool { - if x != nil { - return x.IsAddApproval - } - return false -} - -type ProposalCreateContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Parameters map[int64]int64 `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` -} - -func (x *ProposalCreateContract) Reset() { - *x = ProposalCreateContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_proposal_contract_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ProposalCreateContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProposalCreateContract) ProtoMessage() {} - -func (x *ProposalCreateContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_proposal_contract_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProposalCreateContract.ProtoReflect.Descriptor instead. -func (*ProposalCreateContract) Descriptor() ([]byte, []int) { - return file_core_contract_proposal_contract_proto_rawDescGZIP(), []int{1} -} - -func (x *ProposalCreateContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -func (x *ProposalCreateContract) GetParameters() map[int64]int64 { - if x != nil { - return x.Parameters - } - return nil -} - -type ProposalDeleteContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ProposalId int64 `protobuf:"varint,2,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` -} - -func (x *ProposalDeleteContract) Reset() { - *x = ProposalDeleteContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_proposal_contract_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ProposalDeleteContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProposalDeleteContract) ProtoMessage() {} - -func (x *ProposalDeleteContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_proposal_contract_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProposalDeleteContract.ProtoReflect.Descriptor instead. -func (*ProposalDeleteContract) Descriptor() ([]byte, []int) { - return file_core_contract_proposal_contract_proto_rawDescGZIP(), []int{2} -} - -func (x *ProposalDeleteContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -func (x *ProposalDeleteContract) GetProposalId() int64 { - if x != nil { - return x.ProposalId - } - return 0 -} - -var File_core_contract_proposal_contract_proto protoreflect.FileDescriptor - -var file_core_contract_proposal_contract_proto_rawDesc = []byte{ - 0x0a, 0x25, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, - 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x22, 0x87, 0x01, 0x0a, 0x17, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x41, 0x70, - 0x70, 0x72, 0x6f, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, - 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x69, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, - 0x6c, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x69, 0x73, 0x5f, 0x61, 0x64, 0x64, 0x5f, 0x61, 0x70, - 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, - 0x41, 0x64, 0x64, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x22, 0xce, 0x01, 0x0a, 0x16, - 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x50, 0x0a, 0x0a, 0x70, - 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x30, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, - 0x73, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x3d, 0x0a, - 0x0f, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6b, - 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5e, 0x0a, 0x16, - 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x70, - 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x64, 0x42, 0x4b, 0x0a, 0x18, - 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, - 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, 0x72, 0x65, 0x69, 0x72, 0x61, 0x2f, - 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, -} - -var ( - file_core_contract_proposal_contract_proto_rawDescOnce sync.Once - file_core_contract_proposal_contract_proto_rawDescData = file_core_contract_proposal_contract_proto_rawDesc -) - -func file_core_contract_proposal_contract_proto_rawDescGZIP() []byte { - file_core_contract_proposal_contract_proto_rawDescOnce.Do(func() { - file_core_contract_proposal_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_proposal_contract_proto_rawDescData) - }) - return file_core_contract_proposal_contract_proto_rawDescData -} - -var file_core_contract_proposal_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_core_contract_proposal_contract_proto_goTypes = []interface{}{ - (*ProposalApproveContract)(nil), // 0: protocol.ProposalApproveContract - (*ProposalCreateContract)(nil), // 1: protocol.ProposalCreateContract - (*ProposalDeleteContract)(nil), // 2: protocol.ProposalDeleteContract - nil, // 3: protocol.ProposalCreateContract.ParametersEntry -} -var file_core_contract_proposal_contract_proto_depIdxs = []int32{ - 3, // 0: protocol.ProposalCreateContract.parameters:type_name -> protocol.ProposalCreateContract.ParametersEntry - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_core_contract_proposal_contract_proto_init() } -func file_core_contract_proposal_contract_proto_init() { - if File_core_contract_proposal_contract_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_core_contract_proposal_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProposalApproveContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_proposal_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProposalCreateContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_proposal_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProposalDeleteContract); 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_core_contract_proposal_contract_proto_rawDesc, - NumEnums: 0, - NumMessages: 4, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_core_contract_proposal_contract_proto_goTypes, - DependencyIndexes: file_core_contract_proposal_contract_proto_depIdxs, - MessageInfos: file_core_contract_proposal_contract_proto_msgTypes, - }.Build() - File_core_contract_proposal_contract_proto = out.File - file_core_contract_proposal_contract_proto_rawDesc = nil - file_core_contract_proposal_contract_proto_goTypes = nil - file_core_contract_proposal_contract_proto_depIdxs = nil -} diff --git a/pkg/proto/core/contract/shield_contract.pb.go b/pkg/proto/core/contract/shield_contract.pb.go deleted file mode 100644 index 81663b7a3..000000000 --- a/pkg/proto/core/contract/shield_contract.pb.go +++ /dev/null @@ -1,1096 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.21.0-devel -// protoc v3.11.4 -// source: core/contract/shield_contract.proto - -package core - -import ( - proto "github.com/golang/protobuf/proto" - 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) -) - -// This is a compile-time assertion that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 - -type AuthenticationPath struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Value []bool `protobuf:"varint,1,rep,packed,name=value,proto3" json:"value,omitempty"` -} - -func (x *AuthenticationPath) Reset() { - *x = AuthenticationPath{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_shield_contract_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AuthenticationPath) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AuthenticationPath) ProtoMessage() {} - -func (x *AuthenticationPath) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_shield_contract_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AuthenticationPath.ProtoReflect.Descriptor instead. -func (*AuthenticationPath) Descriptor() ([]byte, []int) { - return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{0} -} - -func (x *AuthenticationPath) GetValue() []bool { - if x != nil { - return x.Value - } - return nil -} - -type MerklePath struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AuthenticationPaths []*AuthenticationPath `protobuf:"bytes,1,rep,name=authentication_paths,json=authenticationPaths,proto3" json:"authentication_paths,omitempty"` - Index []bool `protobuf:"varint,2,rep,packed,name=index,proto3" json:"index,omitempty"` - Rt []byte `protobuf:"bytes,3,opt,name=rt,proto3" json:"rt,omitempty"` -} - -func (x *MerklePath) Reset() { - *x = MerklePath{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_shield_contract_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MerklePath) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MerklePath) ProtoMessage() {} - -func (x *MerklePath) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_shield_contract_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MerklePath.ProtoReflect.Descriptor instead. -func (*MerklePath) Descriptor() ([]byte, []int) { - return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{1} -} - -func (x *MerklePath) GetAuthenticationPaths() []*AuthenticationPath { - if x != nil { - return x.AuthenticationPaths - } - return nil -} - -func (x *MerklePath) GetIndex() []bool { - if x != nil { - return x.Index - } - return nil -} - -func (x *MerklePath) GetRt() []byte { - if x != nil { - return x.Rt - } - return nil -} - -type OutputPoint struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - Index int32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` -} - -func (x *OutputPoint) Reset() { - *x = OutputPoint{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_shield_contract_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *OutputPoint) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OutputPoint) ProtoMessage() {} - -func (x *OutputPoint) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_shield_contract_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use OutputPoint.ProtoReflect.Descriptor instead. -func (*OutputPoint) Descriptor() ([]byte, []int) { - return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{2} -} - -func (x *OutputPoint) GetHash() []byte { - if x != nil { - return x.Hash - } - return nil -} - -func (x *OutputPoint) GetIndex() int32 { - if x != nil { - return x.Index - } - return 0 -} - -type OutputPointInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OutPoints []*OutputPoint `protobuf:"bytes,1,rep,name=out_points,json=outPoints,proto3" json:"out_points,omitempty"` - BlockNum int32 `protobuf:"varint,2,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"` -} - -func (x *OutputPointInfo) Reset() { - *x = OutputPointInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_shield_contract_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *OutputPointInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OutputPointInfo) ProtoMessage() {} - -func (x *OutputPointInfo) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_shield_contract_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use OutputPointInfo.ProtoReflect.Descriptor instead. -func (*OutputPointInfo) Descriptor() ([]byte, []int) { - return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{3} -} - -func (x *OutputPointInfo) GetOutPoints() []*OutputPoint { - if x != nil { - return x.OutPoints - } - return nil -} - -func (x *OutputPointInfo) GetBlockNum() int32 { - if x != nil { - return x.BlockNum - } - return 0 -} - -type PedersenHash struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` -} - -func (x *PedersenHash) Reset() { - *x = PedersenHash{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_shield_contract_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PedersenHash) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PedersenHash) ProtoMessage() {} - -func (x *PedersenHash) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_shield_contract_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PedersenHash.ProtoReflect.Descriptor instead. -func (*PedersenHash) Descriptor() ([]byte, []int) { - return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{4} -} - -func (x *PedersenHash) GetContent() []byte { - if x != nil { - return x.Content - } - return nil -} - -type IncrementalMerkleTree struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Left *PedersenHash `protobuf:"bytes,1,opt,name=left,proto3" json:"left,omitempty"` - Right *PedersenHash `protobuf:"bytes,2,opt,name=right,proto3" json:"right,omitempty"` - Parents []*PedersenHash `protobuf:"bytes,3,rep,name=parents,proto3" json:"parents,omitempty"` -} - -func (x *IncrementalMerkleTree) Reset() { - *x = IncrementalMerkleTree{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_shield_contract_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IncrementalMerkleTree) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IncrementalMerkleTree) ProtoMessage() {} - -func (x *IncrementalMerkleTree) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_shield_contract_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use IncrementalMerkleTree.ProtoReflect.Descriptor instead. -func (*IncrementalMerkleTree) Descriptor() ([]byte, []int) { - return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{5} -} - -func (x *IncrementalMerkleTree) GetLeft() *PedersenHash { - if x != nil { - return x.Left - } - return nil -} - -func (x *IncrementalMerkleTree) GetRight() *PedersenHash { - if x != nil { - return x.Right - } - return nil -} - -func (x *IncrementalMerkleTree) GetParents() []*PedersenHash { - if x != nil { - return x.Parents - } - return nil -} - -type IncrementalMerkleVoucher struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Tree *IncrementalMerkleTree `protobuf:"bytes,1,opt,name=tree,proto3" json:"tree,omitempty"` - Filled []*PedersenHash `protobuf:"bytes,2,rep,name=filled,proto3" json:"filled,omitempty"` - Cursor *IncrementalMerkleTree `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"` - CursorDepth int64 `protobuf:"varint,4,opt,name=cursor_depth,json=cursorDepth,proto3" json:"cursor_depth,omitempty"` - Rt []byte `protobuf:"bytes,5,opt,name=rt,proto3" json:"rt,omitempty"` - OutputPoint *OutputPoint `protobuf:"bytes,10,opt,name=output_point,json=outputPoint,proto3" json:"output_point,omitempty"` -} - -func (x *IncrementalMerkleVoucher) Reset() { - *x = IncrementalMerkleVoucher{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_shield_contract_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IncrementalMerkleVoucher) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IncrementalMerkleVoucher) ProtoMessage() {} - -func (x *IncrementalMerkleVoucher) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_shield_contract_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use IncrementalMerkleVoucher.ProtoReflect.Descriptor instead. -func (*IncrementalMerkleVoucher) Descriptor() ([]byte, []int) { - return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{6} -} - -func (x *IncrementalMerkleVoucher) GetTree() *IncrementalMerkleTree { - if x != nil { - return x.Tree - } - return nil -} - -func (x *IncrementalMerkleVoucher) GetFilled() []*PedersenHash { - if x != nil { - return x.Filled - } - return nil -} - -func (x *IncrementalMerkleVoucher) GetCursor() *IncrementalMerkleTree { - if x != nil { - return x.Cursor - } - return nil -} - -func (x *IncrementalMerkleVoucher) GetCursorDepth() int64 { - if x != nil { - return x.CursorDepth - } - return 0 -} - -func (x *IncrementalMerkleVoucher) GetRt() []byte { - if x != nil { - return x.Rt - } - return nil -} - -func (x *IncrementalMerkleVoucher) GetOutputPoint() *OutputPoint { - if x != nil { - return x.OutputPoint - } - return nil -} - -type IncrementalMerkleVoucherInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Vouchers []*IncrementalMerkleVoucher `protobuf:"bytes,1,rep,name=vouchers,proto3" json:"vouchers,omitempty"` - Paths [][]byte `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"` -} - -func (x *IncrementalMerkleVoucherInfo) Reset() { - *x = IncrementalMerkleVoucherInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_shield_contract_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IncrementalMerkleVoucherInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IncrementalMerkleVoucherInfo) ProtoMessage() {} - -func (x *IncrementalMerkleVoucherInfo) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_shield_contract_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use IncrementalMerkleVoucherInfo.ProtoReflect.Descriptor instead. -func (*IncrementalMerkleVoucherInfo) Descriptor() ([]byte, []int) { - return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{7} -} - -func (x *IncrementalMerkleVoucherInfo) GetVouchers() []*IncrementalMerkleVoucher { - if x != nil { - return x.Vouchers - } - return nil -} - -func (x *IncrementalMerkleVoucherInfo) GetPaths() [][]byte { - if x != nil { - return x.Paths - } - return nil -} - -type SpendDescription struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ValueCommitment []byte `protobuf:"bytes,1,opt,name=value_commitment,json=valueCommitment,proto3" json:"value_commitment,omitempty"` - Anchor []byte `protobuf:"bytes,2,opt,name=anchor,proto3" json:"anchor,omitempty"` // merkle root - Nullifier []byte `protobuf:"bytes,3,opt,name=nullifier,proto3" json:"nullifier,omitempty"` // used for check double spend - Rk []byte `protobuf:"bytes,4,opt,name=rk,proto3" json:"rk,omitempty"` // used for check spend authority signature - Zkproof []byte `protobuf:"bytes,5,opt,name=zkproof,proto3" json:"zkproof,omitempty"` - SpendAuthoritySignature []byte `protobuf:"bytes,6,opt,name=spend_authority_signature,json=spendAuthoritySignature,proto3" json:"spend_authority_signature,omitempty"` -} - -func (x *SpendDescription) Reset() { - *x = SpendDescription{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_shield_contract_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SpendDescription) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SpendDescription) ProtoMessage() {} - -func (x *SpendDescription) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_shield_contract_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SpendDescription.ProtoReflect.Descriptor instead. -func (*SpendDescription) Descriptor() ([]byte, []int) { - return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{8} -} - -func (x *SpendDescription) GetValueCommitment() []byte { - if x != nil { - return x.ValueCommitment - } - return nil -} - -func (x *SpendDescription) GetAnchor() []byte { - if x != nil { - return x.Anchor - } - return nil -} - -func (x *SpendDescription) GetNullifier() []byte { - if x != nil { - return x.Nullifier - } - return nil -} - -func (x *SpendDescription) GetRk() []byte { - if x != nil { - return x.Rk - } - return nil -} - -func (x *SpendDescription) GetZkproof() []byte { - if x != nil { - return x.Zkproof - } - return nil -} - -func (x *SpendDescription) GetSpendAuthoritySignature() []byte { - if x != nil { - return x.SpendAuthoritySignature - } - return nil -} - -type ReceiveDescription struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ValueCommitment []byte `protobuf:"bytes,1,opt,name=value_commitment,json=valueCommitment,proto3" json:"value_commitment,omitempty"` - NoteCommitment []byte `protobuf:"bytes,2,opt,name=note_commitment,json=noteCommitment,proto3" json:"note_commitment,omitempty"` - Epk []byte `protobuf:"bytes,3,opt,name=epk,proto3" json:"epk,omitempty"` // for Encryption - CEnc []byte `protobuf:"bytes,4,opt,name=c_enc,json=cEnc,proto3" json:"c_enc,omitempty"` // Encryption for incoming, decrypt it with ivk - COut []byte `protobuf:"bytes,5,opt,name=c_out,json=cOut,proto3" json:"c_out,omitempty"` // Encryption for audit, decrypt it with ovk - Zkproof []byte `protobuf:"bytes,6,opt,name=zkproof,proto3" json:"zkproof,omitempty"` -} - -func (x *ReceiveDescription) Reset() { - *x = ReceiveDescription{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_shield_contract_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ReceiveDescription) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReceiveDescription) ProtoMessage() {} - -func (x *ReceiveDescription) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_shield_contract_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ReceiveDescription.ProtoReflect.Descriptor instead. -func (*ReceiveDescription) Descriptor() ([]byte, []int) { - return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{9} -} - -func (x *ReceiveDescription) GetValueCommitment() []byte { - if x != nil { - return x.ValueCommitment - } - return nil -} - -func (x *ReceiveDescription) GetNoteCommitment() []byte { - if x != nil { - return x.NoteCommitment - } - return nil -} - -func (x *ReceiveDescription) GetEpk() []byte { - if x != nil { - return x.Epk - } - return nil -} - -func (x *ReceiveDescription) GetCEnc() []byte { - if x != nil { - return x.CEnc - } - return nil -} - -func (x *ReceiveDescription) GetCOut() []byte { - if x != nil { - return x.COut - } - return nil -} - -func (x *ReceiveDescription) GetZkproof() []byte { - if x != nil { - return x.Zkproof - } - return nil -} - -type ShieldedTransferContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TransparentFromAddress []byte `protobuf:"bytes,1,opt,name=transparent_from_address,json=transparentFromAddress,proto3" json:"transparent_from_address,omitempty"` // transparent address - FromAmount int64 `protobuf:"varint,2,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"` - SpendDescription []*SpendDescription `protobuf:"bytes,3,rep,name=spend_description,json=spendDescription,proto3" json:"spend_description,omitempty"` - ReceiveDescription []*ReceiveDescription `protobuf:"bytes,4,rep,name=receive_description,json=receiveDescription,proto3" json:"receive_description,omitempty"` - BindingSignature []byte `protobuf:"bytes,5,opt,name=binding_signature,json=bindingSignature,proto3" json:"binding_signature,omitempty"` - TransparentToAddress []byte `protobuf:"bytes,6,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` // transparent address - ToAmount int64 `protobuf:"varint,7,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` // the amount to transparent to_address -} - -func (x *ShieldedTransferContract) Reset() { - *x = ShieldedTransferContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_shield_contract_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ShieldedTransferContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ShieldedTransferContract) ProtoMessage() {} - -func (x *ShieldedTransferContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_shield_contract_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ShieldedTransferContract.ProtoReflect.Descriptor instead. -func (*ShieldedTransferContract) Descriptor() ([]byte, []int) { - return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{10} -} - -func (x *ShieldedTransferContract) GetTransparentFromAddress() []byte { - if x != nil { - return x.TransparentFromAddress - } - return nil -} - -func (x *ShieldedTransferContract) GetFromAmount() int64 { - if x != nil { - return x.FromAmount - } - return 0 -} - -func (x *ShieldedTransferContract) GetSpendDescription() []*SpendDescription { - if x != nil { - return x.SpendDescription - } - return nil -} - -func (x *ShieldedTransferContract) GetReceiveDescription() []*ReceiveDescription { - if x != nil { - return x.ReceiveDescription - } - return nil -} - -func (x *ShieldedTransferContract) GetBindingSignature() []byte { - if x != nil { - return x.BindingSignature - } - return nil -} - -func (x *ShieldedTransferContract) GetTransparentToAddress() []byte { - if x != nil { - return x.TransparentToAddress - } - return nil -} - -func (x *ShieldedTransferContract) GetToAmount() int64 { - if x != nil { - return x.ToAmount - } - return 0 -} - -var File_core_contract_shield_contract_proto protoreflect.FileDescriptor - -var file_core_contract_shield_contract_proto_rawDesc = []byte{ - 0x0a, 0x23, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, - 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, - 0x2a, 0x0a, 0x12, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x50, 0x61, 0x74, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x83, 0x01, 0x0a, 0x0a, - 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x4f, 0x0a, 0x14, 0x61, 0x75, - 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x74, - 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, 0x52, 0x13, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x69, - 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x03, 0x28, 0x08, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, - 0x78, 0x12, 0x0e, 0x0a, 0x02, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x72, - 0x74, 0x22, 0x37, 0x0a, 0x0b, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, - 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, - 0x68, 0x61, 0x73, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x64, 0x0a, 0x0f, 0x4f, 0x75, - 0x74, 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x34, 0x0a, - 0x0a, 0x6f, 0x75, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x75, 0x74, - 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x09, 0x6f, 0x75, 0x74, 0x50, 0x6f, 0x69, - 0x6e, 0x74, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, - 0x22, 0x28, 0x0a, 0x0c, 0x50, 0x65, 0x64, 0x65, 0x72, 0x73, 0x65, 0x6e, 0x48, 0x61, 0x73, 0x68, - 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0xa3, 0x01, 0x0a, 0x15, 0x49, - 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, - 0x54, 0x72, 0x65, 0x65, 0x12, 0x2a, 0x0a, 0x04, 0x6c, 0x65, 0x66, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, - 0x64, 0x65, 0x72, 0x73, 0x65, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x04, 0x6c, 0x65, 0x66, 0x74, - 0x12, 0x2c, 0x0a, 0x05, 0x72, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x64, 0x65, 0x72, - 0x73, 0x65, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x05, 0x72, 0x69, 0x67, 0x68, 0x74, 0x12, 0x30, - 0x0a, 0x07, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x64, 0x65, 0x72, - 0x73, 0x65, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x07, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x73, - 0x22, 0xa5, 0x02, 0x0a, 0x18, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, - 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x12, 0x33, 0x0a, - 0x04, 0x74, 0x72, 0x65, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, - 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, 0x65, 0x65, 0x52, 0x04, 0x74, 0x72, - 0x65, 0x65, 0x12, 0x2e, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, - 0x64, 0x65, 0x72, 0x73, 0x65, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x6c, - 0x65, 0x64, 0x12, 0x37, 0x0a, 0x06, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, - 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, - 0x72, 0x65, 0x65, 0x52, 0x06, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, - 0x75, 0x72, 0x73, 0x6f, 0x72, 0x5f, 0x64, 0x65, 0x70, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0b, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x44, 0x65, 0x70, 0x74, 0x68, 0x12, 0x0e, - 0x0a, 0x02, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x72, 0x74, 0x12, 0x38, - 0x0a, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x0a, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x0b, 0x6f, 0x75, 0x74, - 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x22, 0x74, 0x0a, 0x1c, 0x49, 0x6e, 0x63, 0x72, - 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, - 0x63, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3e, 0x0a, 0x08, 0x76, 0x6f, 0x75, 0x63, - 0x68, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, - 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x52, 0x08, - 0x76, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x74, 0x68, - 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x22, 0xd9, - 0x01, 0x0a, 0x10, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6d, - 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x16, - 0x0a, 0x06, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, - 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x75, 0x6c, 0x6c, 0x69, 0x66, - 0x69, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x6e, 0x75, 0x6c, 0x6c, 0x69, - 0x66, 0x69, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x72, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x02, 0x72, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x7a, 0x6b, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x7a, 0x6b, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x3a, - 0x0a, 0x19, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, - 0x79, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x17, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, - 0x79, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0xbe, 0x01, 0x0a, 0x12, 0x52, - 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0f, - 0x6e, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x6e, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x70, 0x6b, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x03, 0x65, 0x70, 0x6b, 0x12, 0x13, 0x0a, 0x05, 0x63, 0x5f, 0x65, 0x6e, 0x63, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x63, 0x45, 0x6e, 0x63, 0x12, 0x13, 0x0a, 0x05, - 0x63, 0x5f, 0x6f, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x63, 0x4f, 0x75, - 0x74, 0x12, 0x18, 0x0a, 0x07, 0x7a, 0x6b, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x07, 0x7a, 0x6b, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x22, 0x8d, 0x03, 0x0a, 0x18, - 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x38, 0x0a, 0x18, 0x74, 0x72, 0x61, 0x6e, - 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x16, 0x74, 0x72, 0x61, 0x6e, - 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, - 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x6d, 0x6f, - 0x75, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x11, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x44, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x73, 0x70, 0x65, 0x6e, - 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4d, 0x0a, 0x13, - 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x44, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, - 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x11, 0x62, - 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, - 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x74, 0x72, 0x61, 0x6e, - 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, - 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b, - 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x4b, 0x0a, 0x18, 0x6f, - 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, - 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, 0x72, 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, - 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_core_contract_shield_contract_proto_rawDescOnce sync.Once - file_core_contract_shield_contract_proto_rawDescData = file_core_contract_shield_contract_proto_rawDesc -) - -func file_core_contract_shield_contract_proto_rawDescGZIP() []byte { - file_core_contract_shield_contract_proto_rawDescOnce.Do(func() { - file_core_contract_shield_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_shield_contract_proto_rawDescData) - }) - return file_core_contract_shield_contract_proto_rawDescData -} - -var file_core_contract_shield_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_core_contract_shield_contract_proto_goTypes = []interface{}{ - (*AuthenticationPath)(nil), // 0: protocol.AuthenticationPath - (*MerklePath)(nil), // 1: protocol.MerklePath - (*OutputPoint)(nil), // 2: protocol.OutputPoint - (*OutputPointInfo)(nil), // 3: protocol.OutputPointInfo - (*PedersenHash)(nil), // 4: protocol.PedersenHash - (*IncrementalMerkleTree)(nil), // 5: protocol.IncrementalMerkleTree - (*IncrementalMerkleVoucher)(nil), // 6: protocol.IncrementalMerkleVoucher - (*IncrementalMerkleVoucherInfo)(nil), // 7: protocol.IncrementalMerkleVoucherInfo - (*SpendDescription)(nil), // 8: protocol.SpendDescription - (*ReceiveDescription)(nil), // 9: protocol.ReceiveDescription - (*ShieldedTransferContract)(nil), // 10: protocol.ShieldedTransferContract -} -var file_core_contract_shield_contract_proto_depIdxs = []int32{ - 0, // 0: protocol.MerklePath.authentication_paths:type_name -> protocol.AuthenticationPath - 2, // 1: protocol.OutputPointInfo.out_points:type_name -> protocol.OutputPoint - 4, // 2: protocol.IncrementalMerkleTree.left:type_name -> protocol.PedersenHash - 4, // 3: protocol.IncrementalMerkleTree.right:type_name -> protocol.PedersenHash - 4, // 4: protocol.IncrementalMerkleTree.parents:type_name -> protocol.PedersenHash - 5, // 5: protocol.IncrementalMerkleVoucher.tree:type_name -> protocol.IncrementalMerkleTree - 4, // 6: protocol.IncrementalMerkleVoucher.filled:type_name -> protocol.PedersenHash - 5, // 7: protocol.IncrementalMerkleVoucher.cursor:type_name -> protocol.IncrementalMerkleTree - 2, // 8: protocol.IncrementalMerkleVoucher.output_point:type_name -> protocol.OutputPoint - 6, // 9: protocol.IncrementalMerkleVoucherInfo.vouchers:type_name -> protocol.IncrementalMerkleVoucher - 8, // 10: protocol.ShieldedTransferContract.spend_description:type_name -> protocol.SpendDescription - 9, // 11: protocol.ShieldedTransferContract.receive_description:type_name -> protocol.ReceiveDescription - 12, // [12:12] is the sub-list for method output_type - 12, // [12:12] is the sub-list for method input_type - 12, // [12:12] is the sub-list for extension type_name - 12, // [12:12] is the sub-list for extension extendee - 0, // [0:12] is the sub-list for field type_name -} - -func init() { file_core_contract_shield_contract_proto_init() } -func file_core_contract_shield_contract_proto_init() { - if File_core_contract_shield_contract_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_core_contract_shield_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AuthenticationPath); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_shield_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MerklePath); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_shield_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OutputPoint); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_shield_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OutputPointInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_shield_contract_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PedersenHash); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_shield_contract_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IncrementalMerkleTree); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_shield_contract_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IncrementalMerkleVoucher); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_shield_contract_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IncrementalMerkleVoucherInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_shield_contract_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SpendDescription); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_shield_contract_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReceiveDescription); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_shield_contract_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShieldedTransferContract); 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_core_contract_shield_contract_proto_rawDesc, - NumEnums: 0, - NumMessages: 11, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_core_contract_shield_contract_proto_goTypes, - DependencyIndexes: file_core_contract_shield_contract_proto_depIdxs, - MessageInfos: file_core_contract_shield_contract_proto_msgTypes, - }.Build() - File_core_contract_shield_contract_proto = out.File - file_core_contract_shield_contract_proto_rawDesc = nil - file_core_contract_shield_contract_proto_goTypes = nil - file_core_contract_shield_contract_proto_depIdxs = nil -} diff --git a/pkg/proto/core/contract/smart_contract.pb.go b/pkg/proto/core/contract/smart_contract.pb.go deleted file mode 100644 index 31289280f..000000000 --- a/pkg/proto/core/contract/smart_contract.pb.go +++ /dev/null @@ -1,1125 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.21.0-devel -// protoc v3.11.4 -// source: core/contract/smart_contract.proto - -package core - -import ( - proto "github.com/golang/protobuf/proto" - 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) -) - -// This is a compile-time assertion that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 - -type SmartContract_ABI_Entry_EntryType int32 - -const ( - SmartContract_ABI_Entry_UnknownEntryType SmartContract_ABI_Entry_EntryType = 0 - SmartContract_ABI_Entry_Constructor SmartContract_ABI_Entry_EntryType = 1 - SmartContract_ABI_Entry_Function SmartContract_ABI_Entry_EntryType = 2 - SmartContract_ABI_Entry_Event SmartContract_ABI_Entry_EntryType = 3 - SmartContract_ABI_Entry_Fallback SmartContract_ABI_Entry_EntryType = 4 -) - -// Enum value maps for SmartContract_ABI_Entry_EntryType. -var ( - SmartContract_ABI_Entry_EntryType_name = map[int32]string{ - 0: "UnknownEntryType", - 1: "Constructor", - 2: "Function", - 3: "Event", - 4: "Fallback", - } - SmartContract_ABI_Entry_EntryType_value = map[string]int32{ - "UnknownEntryType": 0, - "Constructor": 1, - "Function": 2, - "Event": 3, - "Fallback": 4, - } -) - -func (x SmartContract_ABI_Entry_EntryType) Enum() *SmartContract_ABI_Entry_EntryType { - p := new(SmartContract_ABI_Entry_EntryType) - *p = x - return p -} - -func (x SmartContract_ABI_Entry_EntryType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SmartContract_ABI_Entry_EntryType) Descriptor() protoreflect.EnumDescriptor { - return file_core_contract_smart_contract_proto_enumTypes[0].Descriptor() -} - -func (SmartContract_ABI_Entry_EntryType) Type() protoreflect.EnumType { - return &file_core_contract_smart_contract_proto_enumTypes[0] -} - -func (x SmartContract_ABI_Entry_EntryType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SmartContract_ABI_Entry_EntryType.Descriptor instead. -func (SmartContract_ABI_Entry_EntryType) EnumDescriptor() ([]byte, []int) { - return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{0, 0, 0, 0} -} - -type SmartContract_ABI_Entry_StateMutabilityType int32 - -const ( - SmartContract_ABI_Entry_UnknownMutabilityType SmartContract_ABI_Entry_StateMutabilityType = 0 - SmartContract_ABI_Entry_Pure SmartContract_ABI_Entry_StateMutabilityType = 1 - SmartContract_ABI_Entry_View SmartContract_ABI_Entry_StateMutabilityType = 2 - SmartContract_ABI_Entry_Nonpayable SmartContract_ABI_Entry_StateMutabilityType = 3 - SmartContract_ABI_Entry_Payable SmartContract_ABI_Entry_StateMutabilityType = 4 -) - -// Enum value maps for SmartContract_ABI_Entry_StateMutabilityType. -var ( - SmartContract_ABI_Entry_StateMutabilityType_name = map[int32]string{ - 0: "UnknownMutabilityType", - 1: "Pure", - 2: "View", - 3: "Nonpayable", - 4: "Payable", - } - SmartContract_ABI_Entry_StateMutabilityType_value = map[string]int32{ - "UnknownMutabilityType": 0, - "Pure": 1, - "View": 2, - "Nonpayable": 3, - "Payable": 4, - } -) - -func (x SmartContract_ABI_Entry_StateMutabilityType) Enum() *SmartContract_ABI_Entry_StateMutabilityType { - p := new(SmartContract_ABI_Entry_StateMutabilityType) - *p = x - return p -} - -func (x SmartContract_ABI_Entry_StateMutabilityType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SmartContract_ABI_Entry_StateMutabilityType) Descriptor() protoreflect.EnumDescriptor { - return file_core_contract_smart_contract_proto_enumTypes[1].Descriptor() -} - -func (SmartContract_ABI_Entry_StateMutabilityType) Type() protoreflect.EnumType { - return &file_core_contract_smart_contract_proto_enumTypes[1] -} - -func (x SmartContract_ABI_Entry_StateMutabilityType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SmartContract_ABI_Entry_StateMutabilityType.Descriptor instead. -func (SmartContract_ABI_Entry_StateMutabilityType) EnumDescriptor() ([]byte, []int) { - return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{0, 0, 0, 1} -} - -type SmartContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OriginAddress []byte `protobuf:"bytes,1,opt,name=origin_address,json=originAddress,proto3" json:"origin_address,omitempty"` - ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` - Abi *SmartContract_ABI `protobuf:"bytes,3,opt,name=abi,proto3" json:"abi,omitempty"` - Bytecode []byte `protobuf:"bytes,4,opt,name=bytecode,proto3" json:"bytecode,omitempty"` - CallValue int64 `protobuf:"varint,5,opt,name=call_value,json=callValue,proto3" json:"call_value,omitempty"` - ConsumeUserResourcePercent int64 `protobuf:"varint,6,opt,name=consume_user_resource_percent,json=consumeUserResourcePercent,proto3" json:"consume_user_resource_percent,omitempty"` - Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` - OriginEnergyLimit int64 `protobuf:"varint,8,opt,name=origin_energy_limit,json=originEnergyLimit,proto3" json:"origin_energy_limit,omitempty"` - CodeHash []byte `protobuf:"bytes,9,opt,name=code_hash,json=codeHash,proto3" json:"code_hash,omitempty"` - TrxHash []byte `protobuf:"bytes,10,opt,name=trx_hash,json=trxHash,proto3" json:"trx_hash,omitempty"` -} - -func (x *SmartContract) Reset() { - *x = SmartContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_smart_contract_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SmartContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SmartContract) ProtoMessage() {} - -func (x *SmartContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_smart_contract_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SmartContract.ProtoReflect.Descriptor instead. -func (*SmartContract) Descriptor() ([]byte, []int) { - return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{0} -} - -func (x *SmartContract) GetOriginAddress() []byte { - if x != nil { - return x.OriginAddress - } - return nil -} - -func (x *SmartContract) GetContractAddress() []byte { - if x != nil { - return x.ContractAddress - } - return nil -} - -func (x *SmartContract) GetAbi() *SmartContract_ABI { - if x != nil { - return x.Abi - } - return nil -} - -func (x *SmartContract) GetBytecode() []byte { - if x != nil { - return x.Bytecode - } - return nil -} - -func (x *SmartContract) GetCallValue() int64 { - if x != nil { - return x.CallValue - } - return 0 -} - -func (x *SmartContract) GetConsumeUserResourcePercent() int64 { - if x != nil { - return x.ConsumeUserResourcePercent - } - return 0 -} - -func (x *SmartContract) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *SmartContract) GetOriginEnergyLimit() int64 { - if x != nil { - return x.OriginEnergyLimit - } - return 0 -} - -func (x *SmartContract) GetCodeHash() []byte { - if x != nil { - return x.CodeHash - } - return nil -} - -func (x *SmartContract) GetTrxHash() []byte { - if x != nil { - return x.TrxHash - } - return nil -} - -type CreateSmartContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - NewContract *SmartContract `protobuf:"bytes,2,opt,name=new_contract,json=newContract,proto3" json:"new_contract,omitempty"` - CallTokenValue int64 `protobuf:"varint,3,opt,name=call_token_value,json=callTokenValue,proto3" json:"call_token_value,omitempty"` - TokenId int64 `protobuf:"varint,4,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` -} - -func (x *CreateSmartContract) Reset() { - *x = CreateSmartContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_smart_contract_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateSmartContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateSmartContract) ProtoMessage() {} - -func (x *CreateSmartContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_smart_contract_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateSmartContract.ProtoReflect.Descriptor instead. -func (*CreateSmartContract) Descriptor() ([]byte, []int) { - return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{1} -} - -func (x *CreateSmartContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -func (x *CreateSmartContract) GetNewContract() *SmartContract { - if x != nil { - return x.NewContract - } - return nil -} - -func (x *CreateSmartContract) GetCallTokenValue() int64 { - if x != nil { - return x.CallTokenValue - } - return 0 -} - -func (x *CreateSmartContract) GetTokenId() int64 { - if x != nil { - return x.TokenId - } - return 0 -} - -type TriggerSmartContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` - CallValue int64 `protobuf:"varint,3,opt,name=call_value,json=callValue,proto3" json:"call_value,omitempty"` - Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` - CallTokenValue int64 `protobuf:"varint,5,opt,name=call_token_value,json=callTokenValue,proto3" json:"call_token_value,omitempty"` - TokenId int64 `protobuf:"varint,6,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` -} - -func (x *TriggerSmartContract) Reset() { - *x = TriggerSmartContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_smart_contract_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TriggerSmartContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TriggerSmartContract) ProtoMessage() {} - -func (x *TriggerSmartContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_smart_contract_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TriggerSmartContract.ProtoReflect.Descriptor instead. -func (*TriggerSmartContract) Descriptor() ([]byte, []int) { - return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{2} -} - -func (x *TriggerSmartContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -func (x *TriggerSmartContract) GetContractAddress() []byte { - if x != nil { - return x.ContractAddress - } - return nil -} - -func (x *TriggerSmartContract) GetCallValue() int64 { - if x != nil { - return x.CallValue - } - return 0 -} - -func (x *TriggerSmartContract) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -func (x *TriggerSmartContract) GetCallTokenValue() int64 { - if x != nil { - return x.CallTokenValue - } - return 0 -} - -func (x *TriggerSmartContract) GetTokenId() int64 { - if x != nil { - return x.TokenId - } - return 0 -} - -type ClearABIContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` -} - -func (x *ClearABIContract) Reset() { - *x = ClearABIContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_smart_contract_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ClearABIContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ClearABIContract) ProtoMessage() {} - -func (x *ClearABIContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_smart_contract_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ClearABIContract.ProtoReflect.Descriptor instead. -func (*ClearABIContract) Descriptor() ([]byte, []int) { - return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{3} -} - -func (x *ClearABIContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -func (x *ClearABIContract) GetContractAddress() []byte { - if x != nil { - return x.ContractAddress - } - return nil -} - -type UpdateSettingContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` - ConsumeUserResourcePercent int64 `protobuf:"varint,3,opt,name=consume_user_resource_percent,json=consumeUserResourcePercent,proto3" json:"consume_user_resource_percent,omitempty"` -} - -func (x *UpdateSettingContract) Reset() { - *x = UpdateSettingContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_smart_contract_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateSettingContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateSettingContract) ProtoMessage() {} - -func (x *UpdateSettingContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_smart_contract_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateSettingContract.ProtoReflect.Descriptor instead. -func (*UpdateSettingContract) Descriptor() ([]byte, []int) { - return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{4} -} - -func (x *UpdateSettingContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -func (x *UpdateSettingContract) GetContractAddress() []byte { - if x != nil { - return x.ContractAddress - } - return nil -} - -func (x *UpdateSettingContract) GetConsumeUserResourcePercent() int64 { - if x != nil { - return x.ConsumeUserResourcePercent - } - return 0 -} - -type UpdateEnergyLimitContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` - OriginEnergyLimit int64 `protobuf:"varint,3,opt,name=origin_energy_limit,json=originEnergyLimit,proto3" json:"origin_energy_limit,omitempty"` -} - -func (x *UpdateEnergyLimitContract) Reset() { - *x = UpdateEnergyLimitContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_smart_contract_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateEnergyLimitContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateEnergyLimitContract) ProtoMessage() {} - -func (x *UpdateEnergyLimitContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_smart_contract_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateEnergyLimitContract.ProtoReflect.Descriptor instead. -func (*UpdateEnergyLimitContract) Descriptor() ([]byte, []int) { - return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{5} -} - -func (x *UpdateEnergyLimitContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -func (x *UpdateEnergyLimitContract) GetContractAddress() []byte { - if x != nil { - return x.ContractAddress - } - return nil -} - -func (x *UpdateEnergyLimitContract) GetOriginEnergyLimit() int64 { - if x != nil { - return x.OriginEnergyLimit - } - return 0 -} - -type SmartContract_ABI struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Entrys []*SmartContract_ABI_Entry `protobuf:"bytes,1,rep,name=entrys,proto3" json:"entrys,omitempty"` -} - -func (x *SmartContract_ABI) Reset() { - *x = SmartContract_ABI{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_smart_contract_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SmartContract_ABI) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SmartContract_ABI) ProtoMessage() {} - -func (x *SmartContract_ABI) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_smart_contract_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SmartContract_ABI.ProtoReflect.Descriptor instead. -func (*SmartContract_ABI) Descriptor() ([]byte, []int) { - return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{0, 0} -} - -func (x *SmartContract_ABI) GetEntrys() []*SmartContract_ABI_Entry { - if x != nil { - return x.Entrys - } - return nil -} - -type SmartContract_ABI_Entry struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Anonymous bool `protobuf:"varint,1,opt,name=anonymous,proto3" json:"anonymous,omitempty"` - Constant bool `protobuf:"varint,2,opt,name=constant,proto3" json:"constant,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Inputs []*SmartContract_ABI_Entry_Param `protobuf:"bytes,4,rep,name=inputs,proto3" json:"inputs,omitempty"` - Outputs []*SmartContract_ABI_Entry_Param `protobuf:"bytes,5,rep,name=outputs,proto3" json:"outputs,omitempty"` - Type SmartContract_ABI_Entry_EntryType `protobuf:"varint,6,opt,name=type,proto3,enum=protocol.SmartContract_ABI_Entry_EntryType" json:"type,omitempty"` - Payable bool `protobuf:"varint,7,opt,name=payable,proto3" json:"payable,omitempty"` - StateMutability SmartContract_ABI_Entry_StateMutabilityType `protobuf:"varint,8,opt,name=stateMutability,proto3,enum=protocol.SmartContract_ABI_Entry_StateMutabilityType" json:"stateMutability,omitempty"` -} - -func (x *SmartContract_ABI_Entry) Reset() { - *x = SmartContract_ABI_Entry{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_smart_contract_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SmartContract_ABI_Entry) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SmartContract_ABI_Entry) ProtoMessage() {} - -func (x *SmartContract_ABI_Entry) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_smart_contract_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SmartContract_ABI_Entry.ProtoReflect.Descriptor instead. -func (*SmartContract_ABI_Entry) Descriptor() ([]byte, []int) { - return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{0, 0, 0} -} - -func (x *SmartContract_ABI_Entry) GetAnonymous() bool { - if x != nil { - return x.Anonymous - } - return false -} - -func (x *SmartContract_ABI_Entry) GetConstant() bool { - if x != nil { - return x.Constant - } - return false -} - -func (x *SmartContract_ABI_Entry) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *SmartContract_ABI_Entry) GetInputs() []*SmartContract_ABI_Entry_Param { - if x != nil { - return x.Inputs - } - return nil -} - -func (x *SmartContract_ABI_Entry) GetOutputs() []*SmartContract_ABI_Entry_Param { - if x != nil { - return x.Outputs - } - return nil -} - -func (x *SmartContract_ABI_Entry) GetType() SmartContract_ABI_Entry_EntryType { - if x != nil { - return x.Type - } - return SmartContract_ABI_Entry_UnknownEntryType -} - -func (x *SmartContract_ABI_Entry) GetPayable() bool { - if x != nil { - return x.Payable - } - return false -} - -func (x *SmartContract_ABI_Entry) GetStateMutability() SmartContract_ABI_Entry_StateMutabilityType { - if x != nil { - return x.StateMutability - } - return SmartContract_ABI_Entry_UnknownMutabilityType -} - -type SmartContract_ABI_Entry_Param struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Indexed bool `protobuf:"varint,1,opt,name=indexed,proto3" json:"indexed,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // SolidityType type = 3; -} - -func (x *SmartContract_ABI_Entry_Param) Reset() { - *x = SmartContract_ABI_Entry_Param{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_smart_contract_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SmartContract_ABI_Entry_Param) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SmartContract_ABI_Entry_Param) ProtoMessage() {} - -func (x *SmartContract_ABI_Entry_Param) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_smart_contract_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SmartContract_ABI_Entry_Param.ProtoReflect.Descriptor instead. -func (*SmartContract_ABI_Entry_Param) Descriptor() ([]byte, []int) { - return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{0, 0, 0, 0} -} - -func (x *SmartContract_ABI_Entry_Param) GetIndexed() bool { - if x != nil { - return x.Indexed - } - return false -} - -func (x *SmartContract_ABI_Entry_Param) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *SmartContract_ABI_Entry_Param) GetType() string { - if x != nil { - return x.Type - } - return "" -} - -var File_core_contract_smart_contract_proto protoreflect.FileDescriptor - -var file_core_contract_smart_contract_proto_rawDesc = []byte{ - 0x0a, 0x22, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, - 0x73, 0x6d, 0x61, 0x72, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x1a, 0x0f, - 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x54, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, - 0xee, 0x08, 0x0a, 0x0d, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x6f, 0x72, 0x69, 0x67, 0x69, - 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x12, 0x2d, 0x0a, 0x03, 0x61, 0x62, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, - 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x41, 0x42, 0x49, 0x52, 0x03, 0x61, - 0x62, 0x69, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x79, 0x74, 0x65, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x62, 0x79, 0x74, 0x65, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, - 0x0a, 0x0a, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x41, 0x0a, - 0x1d, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x72, 0x65, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x1a, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x55, 0x73, 0x65, - 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x65, - 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x11, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, - 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x68, 0x61, 0x73, - 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x63, 0x6f, 0x64, 0x65, 0x48, 0x61, 0x73, - 0x68, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x0a, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x72, 0x78, 0x48, 0x61, 0x73, 0x68, 0x1a, 0xe1, 0x05, 0x0a, - 0x03, 0x41, 0x42, 0x49, 0x12, 0x39, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x41, 0x42, - 0x49, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x73, 0x1a, - 0x9e, 0x05, 0x0a, 0x05, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x6e, 0x6f, - 0x6e, 0x79, 0x6d, 0x6f, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x61, 0x6e, - 0x6f, 0x6e, 0x79, 0x6d, 0x6f, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x74, - 0x61, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x74, - 0x61, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, - 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x2e, 0x41, 0x42, 0x49, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x41, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, - 0x75, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x2e, 0x41, 0x42, 0x49, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x3f, 0x0a, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x2e, 0x41, 0x42, 0x49, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, - 0x70, 0x61, 0x79, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, - 0x61, 0x79, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x5f, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x4d, - 0x75, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x35, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x41, 0x42, 0x49, 0x2e, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x75, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, - 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x75, 0x74, - 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x1a, 0x49, 0x0a, 0x05, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x12, 0x18, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, - 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, - 0x70, 0x65, 0x22, 0x59, 0x0a, 0x09, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x14, 0x0a, 0x10, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x54, - 0x79, 0x70, 0x65, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x6f, 0x72, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x10, 0x03, 0x12, - 0x0c, 0x0a, 0x08, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x10, 0x04, 0x22, 0x61, 0x0a, - 0x13, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x75, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x4d, - 0x75, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x10, 0x00, 0x12, - 0x08, 0x0a, 0x04, 0x50, 0x75, 0x72, 0x65, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x56, 0x69, 0x65, - 0x77, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x6f, 0x6e, 0x70, 0x61, 0x79, 0x61, 0x62, 0x6c, - 0x65, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x61, 0x79, 0x61, 0x62, 0x6c, 0x65, 0x10, 0x04, - 0x22, 0xbb, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x6d, 0x61, 0x72, 0x74, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x3a, 0x0a, - 0x0c, 0x6e, 0x65, 0x77, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, - 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x0b, 0x6e, 0x65, - 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x63, 0x61, 0x6c, - 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0e, 0x63, 0x61, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x22, 0xde, - 0x01, 0x0a, 0x14, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, - 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x61, 0x6c, 0x6c, 0x5f, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x61, 0x6c, - 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x28, 0x0a, 0x10, 0x63, 0x61, - 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x63, 0x61, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x22, - 0x62, 0x0a, 0x10, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x41, 0x42, 0x49, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x22, 0xaa, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, - 0x74, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, - 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x41, 0x0a, - 0x1d, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x72, 0x65, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x1a, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x55, 0x73, 0x65, - 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, - 0x22, 0x9b, 0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, - 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, - 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2e, - 0x0a, 0x13, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, - 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x6f, 0x72, 0x69, - 0x67, 0x69, 0x6e, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x42, 0x4b, - 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, 0x72, 0x65, 0x69, 0x72, - 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x6b, 0x67, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, -} - -var ( - file_core_contract_smart_contract_proto_rawDescOnce sync.Once - file_core_contract_smart_contract_proto_rawDescData = file_core_contract_smart_contract_proto_rawDesc -) - -func file_core_contract_smart_contract_proto_rawDescGZIP() []byte { - file_core_contract_smart_contract_proto_rawDescOnce.Do(func() { - file_core_contract_smart_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_smart_contract_proto_rawDescData) - }) - return file_core_contract_smart_contract_proto_rawDescData -} - -var file_core_contract_smart_contract_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_core_contract_smart_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_core_contract_smart_contract_proto_goTypes = []interface{}{ - (SmartContract_ABI_Entry_EntryType)(0), // 0: protocol.SmartContract.ABI.Entry.EntryType - (SmartContract_ABI_Entry_StateMutabilityType)(0), // 1: protocol.SmartContract.ABI.Entry.StateMutabilityType - (*SmartContract)(nil), // 2: protocol.SmartContract - (*CreateSmartContract)(nil), // 3: protocol.CreateSmartContract - (*TriggerSmartContract)(nil), // 4: protocol.TriggerSmartContract - (*ClearABIContract)(nil), // 5: protocol.ClearABIContract - (*UpdateSettingContract)(nil), // 6: protocol.UpdateSettingContract - (*UpdateEnergyLimitContract)(nil), // 7: protocol.UpdateEnergyLimitContract - (*SmartContract_ABI)(nil), // 8: protocol.SmartContract.ABI - (*SmartContract_ABI_Entry)(nil), // 9: protocol.SmartContract.ABI.Entry - (*SmartContract_ABI_Entry_Param)(nil), // 10: protocol.SmartContract.ABI.Entry.Param -} -var file_core_contract_smart_contract_proto_depIdxs = []int32{ - 8, // 0: protocol.SmartContract.abi:type_name -> protocol.SmartContract.ABI - 2, // 1: protocol.CreateSmartContract.new_contract:type_name -> protocol.SmartContract - 9, // 2: protocol.SmartContract.ABI.entrys:type_name -> protocol.SmartContract.ABI.Entry - 10, // 3: protocol.SmartContract.ABI.Entry.inputs:type_name -> protocol.SmartContract.ABI.Entry.Param - 10, // 4: protocol.SmartContract.ABI.Entry.outputs:type_name -> protocol.SmartContract.ABI.Entry.Param - 0, // 5: protocol.SmartContract.ABI.Entry.type:type_name -> protocol.SmartContract.ABI.Entry.EntryType - 1, // 6: protocol.SmartContract.ABI.Entry.stateMutability:type_name -> protocol.SmartContract.ABI.Entry.StateMutabilityType - 7, // [7:7] is the sub-list for method output_type - 7, // [7:7] is the sub-list for method input_type - 7, // [7:7] is the sub-list for extension type_name - 7, // [7:7] is the sub-list for extension extendee - 0, // [0:7] is the sub-list for field type_name -} - -func init() { file_core_contract_smart_contract_proto_init() } -func file_core_contract_smart_contract_proto_init() { - if File_core_contract_smart_contract_proto != nil { - return - } - file_core_Tron_proto_init() - if !protoimpl.UnsafeEnabled { - file_core_contract_smart_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SmartContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_smart_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateSmartContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_smart_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TriggerSmartContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_smart_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClearABIContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_smart_contract_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateSettingContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_smart_contract_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateEnergyLimitContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_smart_contract_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SmartContract_ABI); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_smart_contract_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SmartContract_ABI_Entry); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_smart_contract_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SmartContract_ABI_Entry_Param); 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_core_contract_smart_contract_proto_rawDesc, - NumEnums: 2, - NumMessages: 9, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_core_contract_smart_contract_proto_goTypes, - DependencyIndexes: file_core_contract_smart_contract_proto_depIdxs, - EnumInfos: file_core_contract_smart_contract_proto_enumTypes, - MessageInfos: file_core_contract_smart_contract_proto_msgTypes, - }.Build() - File_core_contract_smart_contract_proto = out.File - file_core_contract_smart_contract_proto_rawDesc = nil - file_core_contract_smart_contract_proto_goTypes = nil - file_core_contract_smart_contract_proto_depIdxs = nil -} diff --git a/pkg/proto/core/contract/storage_contract.pb.go b/pkg/proto/core/contract/storage_contract.pb.go deleted file mode 100644 index f8cb25392..000000000 --- a/pkg/proto/core/contract/storage_contract.pb.go +++ /dev/null @@ -1,384 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.21.0-devel -// protoc v3.11.4 -// source: core/contract/storage_contract.proto - -package core - -import ( - proto "github.com/golang/protobuf/proto" - 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) -) - -// This is a compile-time assertion that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 - -type BuyStorageBytesContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Bytes int64 `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"` // storage bytes for buy -} - -func (x *BuyStorageBytesContract) Reset() { - *x = BuyStorageBytesContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_storage_contract_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BuyStorageBytesContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BuyStorageBytesContract) ProtoMessage() {} - -func (x *BuyStorageBytesContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_storage_contract_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BuyStorageBytesContract.ProtoReflect.Descriptor instead. -func (*BuyStorageBytesContract) Descriptor() ([]byte, []int) { - return file_core_contract_storage_contract_proto_rawDescGZIP(), []int{0} -} - -func (x *BuyStorageBytesContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -func (x *BuyStorageBytesContract) GetBytes() int64 { - if x != nil { - return x.Bytes - } - return 0 -} - -type BuyStorageContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Quant int64 `protobuf:"varint,2,opt,name=quant,proto3" json:"quant,omitempty"` // trx quantity for buy storage (sun) -} - -func (x *BuyStorageContract) Reset() { - *x = BuyStorageContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_storage_contract_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BuyStorageContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BuyStorageContract) ProtoMessage() {} - -func (x *BuyStorageContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_storage_contract_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BuyStorageContract.ProtoReflect.Descriptor instead. -func (*BuyStorageContract) Descriptor() ([]byte, []int) { - return file_core_contract_storage_contract_proto_rawDescGZIP(), []int{1} -} - -func (x *BuyStorageContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -func (x *BuyStorageContract) GetQuant() int64 { - if x != nil { - return x.Quant - } - return 0 -} - -type SellStorageContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - StorageBytes int64 `protobuf:"varint,2,opt,name=storage_bytes,json=storageBytes,proto3" json:"storage_bytes,omitempty"` -} - -func (x *SellStorageContract) Reset() { - *x = SellStorageContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_storage_contract_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SellStorageContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SellStorageContract) ProtoMessage() {} - -func (x *SellStorageContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_storage_contract_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SellStorageContract.ProtoReflect.Descriptor instead. -func (*SellStorageContract) Descriptor() ([]byte, []int) { - return file_core_contract_storage_contract_proto_rawDescGZIP(), []int{2} -} - -func (x *SellStorageContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -func (x *SellStorageContract) GetStorageBytes() int64 { - if x != nil { - return x.StorageBytes - } - return 0 -} - -type UpdateBrokerageContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Brokerage int32 `protobuf:"varint,2,opt,name=brokerage,proto3" json:"brokerage,omitempty"` // 1 mean 1% -} - -func (x *UpdateBrokerageContract) Reset() { - *x = UpdateBrokerageContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_storage_contract_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateBrokerageContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateBrokerageContract) ProtoMessage() {} - -func (x *UpdateBrokerageContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_storage_contract_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateBrokerageContract.ProtoReflect.Descriptor instead. -func (*UpdateBrokerageContract) Descriptor() ([]byte, []int) { - return file_core_contract_storage_contract_proto_rawDescGZIP(), []int{3} -} - -func (x *UpdateBrokerageContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -func (x *UpdateBrokerageContract) GetBrokerage() int32 { - if x != nil { - return x.Brokerage - } - return 0 -} - -var File_core_contract_storage_contract_proto protoreflect.FileDescriptor - -var file_core_contract_storage_contract_proto_rawDesc = []byte{ - 0x0a, 0x24, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, - 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x22, 0x54, 0x0a, 0x17, 0x42, 0x75, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x42, 0x79, - 0x74, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x12, 0x14, 0x0a, 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x22, 0x4f, 0x0a, 0x12, 0x42, 0x75, 0x79, 0x53, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x22, 0x5f, 0x0a, 0x13, 0x53, 0x65, 0x6c, 0x6c, 0x53, - 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, - 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x62, - 0x79, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, 0x5c, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x62, 0x72, 0x6f, 0x6b, - 0x65, 0x72, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x62, 0x72, 0x6f, - 0x6b, 0x65, 0x72, 0x61, 0x67, 0x65, 0x42, 0x4b, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, - 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, - 0x62, 0x73, 0x6f, 0x62, 0x72, 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, - 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, - 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_core_contract_storage_contract_proto_rawDescOnce sync.Once - file_core_contract_storage_contract_proto_rawDescData = file_core_contract_storage_contract_proto_rawDesc -) - -func file_core_contract_storage_contract_proto_rawDescGZIP() []byte { - file_core_contract_storage_contract_proto_rawDescOnce.Do(func() { - file_core_contract_storage_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_storage_contract_proto_rawDescData) - }) - return file_core_contract_storage_contract_proto_rawDescData -} - -var file_core_contract_storage_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_core_contract_storage_contract_proto_goTypes = []interface{}{ - (*BuyStorageBytesContract)(nil), // 0: protocol.BuyStorageBytesContract - (*BuyStorageContract)(nil), // 1: protocol.BuyStorageContract - (*SellStorageContract)(nil), // 2: protocol.SellStorageContract - (*UpdateBrokerageContract)(nil), // 3: protocol.UpdateBrokerageContract -} -var file_core_contract_storage_contract_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_core_contract_storage_contract_proto_init() } -func file_core_contract_storage_contract_proto_init() { - if File_core_contract_storage_contract_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_core_contract_storage_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BuyStorageBytesContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_storage_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BuyStorageContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_storage_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SellStorageContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_storage_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateBrokerageContract); 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_core_contract_storage_contract_proto_rawDesc, - NumEnums: 0, - NumMessages: 4, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_core_contract_storage_contract_proto_goTypes, - DependencyIndexes: file_core_contract_storage_contract_proto_depIdxs, - MessageInfos: file_core_contract_storage_contract_proto_msgTypes, - }.Build() - File_core_contract_storage_contract_proto = out.File - file_core_contract_storage_contract_proto_rawDesc = nil - file_core_contract_storage_contract_proto_goTypes = nil - file_core_contract_storage_contract_proto_depIdxs = nil -} diff --git a/pkg/proto/core/contract/vote_asset_contract.pb.go b/pkg/proto/core/contract/vote_asset_contract.pb.go deleted file mode 100644 index 432d69200..000000000 --- a/pkg/proto/core/contract/vote_asset_contract.pb.go +++ /dev/null @@ -1,183 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.21.0-devel -// protoc v3.11.4 -// source: core/contract/vote_asset_contract.proto - -package core - -import ( - proto "github.com/golang/protobuf/proto" - 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) -) - -// This is a compile-time assertion that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 - -type VoteAssetContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - VoteAddress [][]byte `protobuf:"bytes,2,rep,name=vote_address,json=voteAddress,proto3" json:"vote_address,omitempty"` - Support bool `protobuf:"varint,3,opt,name=support,proto3" json:"support,omitempty"` - Count int32 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"` -} - -func (x *VoteAssetContract) Reset() { - *x = VoteAssetContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_vote_asset_contract_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *VoteAssetContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*VoteAssetContract) ProtoMessage() {} - -func (x *VoteAssetContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_vote_asset_contract_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use VoteAssetContract.ProtoReflect.Descriptor instead. -func (*VoteAssetContract) Descriptor() ([]byte, []int) { - return file_core_contract_vote_asset_contract_proto_rawDescGZIP(), []int{0} -} - -func (x *VoteAssetContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -func (x *VoteAssetContract) GetVoteAddress() [][]byte { - if x != nil { - return x.VoteAddress - } - return nil -} - -func (x *VoteAssetContract) GetSupport() bool { - if x != nil { - return x.Support - } - return false -} - -func (x *VoteAssetContract) GetCount() int32 { - if x != nil { - return x.Count - } - return 0 -} - -var File_core_contract_vote_asset_contract_proto protoreflect.FileDescriptor - -var file_core_contract_vote_asset_contract_proto_rawDesc = []byte{ - 0x0a, 0x27, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, - 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x22, 0x8b, 0x01, 0x0a, 0x11, 0x56, 0x6f, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, - 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, - 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x21, - 0x0a, 0x0c, 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0b, 0x76, 0x6f, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x42, 0x4b, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x2f, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, 0x72, - 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, 0x2f, - 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_core_contract_vote_asset_contract_proto_rawDescOnce sync.Once - file_core_contract_vote_asset_contract_proto_rawDescData = file_core_contract_vote_asset_contract_proto_rawDesc -) - -func file_core_contract_vote_asset_contract_proto_rawDescGZIP() []byte { - file_core_contract_vote_asset_contract_proto_rawDescOnce.Do(func() { - file_core_contract_vote_asset_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_vote_asset_contract_proto_rawDescData) - }) - return file_core_contract_vote_asset_contract_proto_rawDescData -} - -var file_core_contract_vote_asset_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_core_contract_vote_asset_contract_proto_goTypes = []interface{}{ - (*VoteAssetContract)(nil), // 0: protocol.VoteAssetContract -} -var file_core_contract_vote_asset_contract_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_core_contract_vote_asset_contract_proto_init() } -func file_core_contract_vote_asset_contract_proto_init() { - if File_core_contract_vote_asset_contract_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_core_contract_vote_asset_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VoteAssetContract); 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_core_contract_vote_asset_contract_proto_rawDesc, - NumEnums: 0, - NumMessages: 1, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_core_contract_vote_asset_contract_proto_goTypes, - DependencyIndexes: file_core_contract_vote_asset_contract_proto_depIdxs, - MessageInfos: file_core_contract_vote_asset_contract_proto_msgTypes, - }.Build() - File_core_contract_vote_asset_contract_proto = out.File - file_core_contract_vote_asset_contract_proto_rawDesc = nil - file_core_contract_vote_asset_contract_proto_goTypes = nil - file_core_contract_vote_asset_contract_proto_depIdxs = nil -} diff --git a/pkg/proto/core/contract/witness_contract.pb.go b/pkg/proto/core/contract/witness_contract.pb.go deleted file mode 100644 index 104915609..000000000 --- a/pkg/proto/core/contract/witness_contract.pb.go +++ /dev/null @@ -1,395 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.21.0-devel -// protoc v3.11.4 -// source: core/contract/witness_contract.proto - -package core - -import ( - proto "github.com/golang/protobuf/proto" - 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) -) - -// This is a compile-time assertion that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 - -type WitnessCreateContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Url []byte `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` -} - -func (x *WitnessCreateContract) Reset() { - *x = WitnessCreateContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_witness_contract_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WitnessCreateContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WitnessCreateContract) ProtoMessage() {} - -func (x *WitnessCreateContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_witness_contract_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WitnessCreateContract.ProtoReflect.Descriptor instead. -func (*WitnessCreateContract) Descriptor() ([]byte, []int) { - return file_core_contract_witness_contract_proto_rawDescGZIP(), []int{0} -} - -func (x *WitnessCreateContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -func (x *WitnessCreateContract) GetUrl() []byte { - if x != nil { - return x.Url - } - return nil -} - -type WitnessUpdateContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - UpdateUrl []byte `protobuf:"bytes,12,opt,name=update_url,json=updateUrl,proto3" json:"update_url,omitempty"` -} - -func (x *WitnessUpdateContract) Reset() { - *x = WitnessUpdateContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_witness_contract_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WitnessUpdateContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WitnessUpdateContract) ProtoMessage() {} - -func (x *WitnessUpdateContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_witness_contract_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WitnessUpdateContract.ProtoReflect.Descriptor instead. -func (*WitnessUpdateContract) Descriptor() ([]byte, []int) { - return file_core_contract_witness_contract_proto_rawDescGZIP(), []int{1} -} - -func (x *WitnessUpdateContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -func (x *WitnessUpdateContract) GetUpdateUrl() []byte { - if x != nil { - return x.UpdateUrl - } - return nil -} - -type VoteWitnessContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Votes []*VoteWitnessContract_Vote `protobuf:"bytes,2,rep,name=votes,proto3" json:"votes,omitempty"` - Support bool `protobuf:"varint,3,opt,name=support,proto3" json:"support,omitempty"` -} - -func (x *VoteWitnessContract) Reset() { - *x = VoteWitnessContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_witness_contract_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *VoteWitnessContract) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*VoteWitnessContract) ProtoMessage() {} - -func (x *VoteWitnessContract) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_witness_contract_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use VoteWitnessContract.ProtoReflect.Descriptor instead. -func (*VoteWitnessContract) Descriptor() ([]byte, []int) { - return file_core_contract_witness_contract_proto_rawDescGZIP(), []int{2} -} - -func (x *VoteWitnessContract) GetOwnerAddress() []byte { - if x != nil { - return x.OwnerAddress - } - return nil -} - -func (x *VoteWitnessContract) GetVotes() []*VoteWitnessContract_Vote { - if x != nil { - return x.Votes - } - return nil -} - -func (x *VoteWitnessContract) GetSupport() bool { - if x != nil { - return x.Support - } - return false -} - -type VoteWitnessContract_Vote struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - VoteAddress []byte `protobuf:"bytes,1,opt,name=vote_address,json=voteAddress,proto3" json:"vote_address,omitempty"` - VoteCount int64 `protobuf:"varint,2,opt,name=vote_count,json=voteCount,proto3" json:"vote_count,omitempty"` -} - -func (x *VoteWitnessContract_Vote) Reset() { - *x = VoteWitnessContract_Vote{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_witness_contract_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *VoteWitnessContract_Vote) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*VoteWitnessContract_Vote) ProtoMessage() {} - -func (x *VoteWitnessContract_Vote) ProtoReflect() protoreflect.Message { - mi := &file_core_contract_witness_contract_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use VoteWitnessContract_Vote.ProtoReflect.Descriptor instead. -func (*VoteWitnessContract_Vote) Descriptor() ([]byte, []int) { - return file_core_contract_witness_contract_proto_rawDescGZIP(), []int{2, 0} -} - -func (x *VoteWitnessContract_Vote) GetVoteAddress() []byte { - if x != nil { - return x.VoteAddress - } - return nil -} - -func (x *VoteWitnessContract_Vote) GetVoteCount() int64 { - if x != nil { - return x.VoteCount - } - return 0 -} - -var File_core_contract_witness_contract_proto protoreflect.FileDescriptor - -var file_core_contract_witness_contract_proto_rawDesc = []byte{ - 0x0a, 0x24, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, - 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x22, 0x4e, 0x0a, 0x15, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, - 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x10, - 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x75, 0x72, 0x6c, - 0x22, 0x5b, 0x0a, 0x15, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, - 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, - 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x0c, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x72, 0x6c, 0x22, 0xd8, 0x01, - 0x0a, 0x13, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x38, 0x0a, 0x05, 0x76, 0x6f, - 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x52, 0x05, 0x76, - 0x6f, 0x74, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x1a, 0x48, - 0x0a, 0x04, 0x56, 0x6f, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x76, 0x6f, - 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x74, - 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x76, - 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x4b, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, - 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, 0x72, 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, - 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_core_contract_witness_contract_proto_rawDescOnce sync.Once - file_core_contract_witness_contract_proto_rawDescData = file_core_contract_witness_contract_proto_rawDesc -) - -func file_core_contract_witness_contract_proto_rawDescGZIP() []byte { - file_core_contract_witness_contract_proto_rawDescOnce.Do(func() { - file_core_contract_witness_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_witness_contract_proto_rawDescData) - }) - return file_core_contract_witness_contract_proto_rawDescData -} - -var file_core_contract_witness_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_core_contract_witness_contract_proto_goTypes = []interface{}{ - (*WitnessCreateContract)(nil), // 0: protocol.WitnessCreateContract - (*WitnessUpdateContract)(nil), // 1: protocol.WitnessUpdateContract - (*VoteWitnessContract)(nil), // 2: protocol.VoteWitnessContract - (*VoteWitnessContract_Vote)(nil), // 3: protocol.VoteWitnessContract.Vote -} -var file_core_contract_witness_contract_proto_depIdxs = []int32{ - 3, // 0: protocol.VoteWitnessContract.votes:type_name -> protocol.VoteWitnessContract.Vote - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_core_contract_witness_contract_proto_init() } -func file_core_contract_witness_contract_proto_init() { - if File_core_contract_witness_contract_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_core_contract_witness_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WitnessCreateContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_witness_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WitnessUpdateContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_witness_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VoteWitnessContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_witness_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VoteWitnessContract_Vote); 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_core_contract_witness_contract_proto_rawDesc, - NumEnums: 0, - NumMessages: 4, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_core_contract_witness_contract_proto_goTypes, - DependencyIndexes: file_core_contract_witness_contract_proto_depIdxs, - MessageInfos: file_core_contract_witness_contract_proto_msgTypes, - }.Build() - File_core_contract_witness_contract_proto = out.File - file_core_contract_witness_contract_proto_rawDesc = nil - file_core_contract_witness_contract_proto_goTypes = nil - file_core_contract_witness_contract_proto_depIdxs = nil -} diff --git a/pkg/proto/core/exchange_contract.pb.go b/pkg/proto/core/exchange_contract.pb.go index c3034be46..d857d517d 100644 --- a/pkg/proto/core/exchange_contract.pb.go +++ b/pkg/proto/core/exchange_contract.pb.go @@ -1,326 +1,481 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// source: core/contract/exchange_contract.proto +// versions: +// protoc-gen-go v1.28.0 +// protoc v3.21.12 +// source: core/exchange_contract.proto package core import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 ExchangeCreateContract struct { - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - FirstTokenId []byte `protobuf:"bytes,2,opt,name=first_token_id,json=firstTokenId,proto3" json:"first_token_id,omitempty"` - FirstTokenBalance int64 `protobuf:"varint,3,opt,name=first_token_balance,json=firstTokenBalance,proto3" json:"first_token_balance,omitempty"` - SecondTokenId []byte `protobuf:"bytes,4,opt,name=second_token_id,json=secondTokenId,proto3" json:"second_token_id,omitempty"` - SecondTokenBalance int64 `protobuf:"varint,5,opt,name=second_token_balance,json=secondTokenBalance,proto3" json:"second_token_balance,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExchangeCreateContract) Reset() { *m = ExchangeCreateContract{} } -func (m *ExchangeCreateContract) String() string { return proto.CompactTextString(m) } -func (*ExchangeCreateContract) ProtoMessage() {} -func (*ExchangeCreateContract) Descriptor() ([]byte, []int) { - return fileDescriptor_10c7f776bef66f61, []int{0} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + FirstTokenId []byte `protobuf:"bytes,2,opt,name=first_token_id,json=firstTokenId,proto3" json:"first_token_id,omitempty"` + FirstTokenBalance int64 `protobuf:"varint,3,opt,name=first_token_balance,json=firstTokenBalance,proto3" json:"first_token_balance,omitempty"` + SecondTokenId []byte `protobuf:"bytes,4,opt,name=second_token_id,json=secondTokenId,proto3" json:"second_token_id,omitempty"` + SecondTokenBalance int64 `protobuf:"varint,5,opt,name=second_token_balance,json=secondTokenBalance,proto3" json:"second_token_balance,omitempty"` +} + +func (x *ExchangeCreateContract) Reset() { + *x = ExchangeCreateContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_exchange_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ExchangeCreateContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExchangeCreateContract.Unmarshal(m, b) -} -func (m *ExchangeCreateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExchangeCreateContract.Marshal(b, m, deterministic) -} -func (m *ExchangeCreateContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExchangeCreateContract.Merge(m, src) -} -func (m *ExchangeCreateContract) XXX_Size() int { - return xxx_messageInfo_ExchangeCreateContract.Size(m) +func (x *ExchangeCreateContract) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExchangeCreateContract) XXX_DiscardUnknown() { - xxx_messageInfo_ExchangeCreateContract.DiscardUnknown(m) + +func (*ExchangeCreateContract) ProtoMessage() {} + +func (x *ExchangeCreateContract) ProtoReflect() protoreflect.Message { + mi := &file_core_exchange_contract_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExchangeCreateContract proto.InternalMessageInfo +// Deprecated: Use ExchangeCreateContract.ProtoReflect.Descriptor instead. +func (*ExchangeCreateContract) Descriptor() ([]byte, []int) { + return file_core_exchange_contract_proto_rawDescGZIP(), []int{0} +} -func (m *ExchangeCreateContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *ExchangeCreateContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress } return nil } -func (m *ExchangeCreateContract) GetFirstTokenId() []byte { - if m != nil { - return m.FirstTokenId +func (x *ExchangeCreateContract) GetFirstTokenId() []byte { + if x != nil { + return x.FirstTokenId } return nil } -func (m *ExchangeCreateContract) GetFirstTokenBalance() int64 { - if m != nil { - return m.FirstTokenBalance +func (x *ExchangeCreateContract) GetFirstTokenBalance() int64 { + if x != nil { + return x.FirstTokenBalance } return 0 } -func (m *ExchangeCreateContract) GetSecondTokenId() []byte { - if m != nil { - return m.SecondTokenId +func (x *ExchangeCreateContract) GetSecondTokenId() []byte { + if x != nil { + return x.SecondTokenId } return nil } -func (m *ExchangeCreateContract) GetSecondTokenBalance() int64 { - if m != nil { - return m.SecondTokenBalance +func (x *ExchangeCreateContract) GetSecondTokenBalance() int64 { + if x != nil { + return x.SecondTokenBalance } return 0 } type ExchangeInjectContract struct { - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ExchangeId int64 `protobuf:"varint,2,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"` - TokenId []byte `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` - Quant int64 `protobuf:"varint,4,opt,name=quant,proto3" json:"quant,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExchangeInjectContract) Reset() { *m = ExchangeInjectContract{} } -func (m *ExchangeInjectContract) String() string { return proto.CompactTextString(m) } -func (*ExchangeInjectContract) ProtoMessage() {} -func (*ExchangeInjectContract) Descriptor() ([]byte, []int) { - return fileDescriptor_10c7f776bef66f61, []int{1} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ExchangeId int64 `protobuf:"varint,2,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"` + TokenId []byte `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` + Quant int64 `protobuf:"varint,4,opt,name=quant,proto3" json:"quant,omitempty"` +} + +func (x *ExchangeInjectContract) Reset() { + *x = ExchangeInjectContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_exchange_contract_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ExchangeInjectContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExchangeInjectContract.Unmarshal(m, b) -} -func (m *ExchangeInjectContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExchangeInjectContract.Marshal(b, m, deterministic) -} -func (m *ExchangeInjectContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExchangeInjectContract.Merge(m, src) -} -func (m *ExchangeInjectContract) XXX_Size() int { - return xxx_messageInfo_ExchangeInjectContract.Size(m) +func (x *ExchangeInjectContract) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExchangeInjectContract) XXX_DiscardUnknown() { - xxx_messageInfo_ExchangeInjectContract.DiscardUnknown(m) + +func (*ExchangeInjectContract) ProtoMessage() {} + +func (x *ExchangeInjectContract) ProtoReflect() protoreflect.Message { + mi := &file_core_exchange_contract_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExchangeInjectContract proto.InternalMessageInfo +// Deprecated: Use ExchangeInjectContract.ProtoReflect.Descriptor instead. +func (*ExchangeInjectContract) Descriptor() ([]byte, []int) { + return file_core_exchange_contract_proto_rawDescGZIP(), []int{1} +} -func (m *ExchangeInjectContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *ExchangeInjectContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress } return nil } -func (m *ExchangeInjectContract) GetExchangeId() int64 { - if m != nil { - return m.ExchangeId +func (x *ExchangeInjectContract) GetExchangeId() int64 { + if x != nil { + return x.ExchangeId } return 0 } -func (m *ExchangeInjectContract) GetTokenId() []byte { - if m != nil { - return m.TokenId +func (x *ExchangeInjectContract) GetTokenId() []byte { + if x != nil { + return x.TokenId } return nil } -func (m *ExchangeInjectContract) GetQuant() int64 { - if m != nil { - return m.Quant +func (x *ExchangeInjectContract) GetQuant() int64 { + if x != nil { + return x.Quant } return 0 } type ExchangeWithdrawContract struct { - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ExchangeId int64 `protobuf:"varint,2,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"` - TokenId []byte `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` - Quant int64 `protobuf:"varint,4,opt,name=quant,proto3" json:"quant,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExchangeWithdrawContract) Reset() { *m = ExchangeWithdrawContract{} } -func (m *ExchangeWithdrawContract) String() string { return proto.CompactTextString(m) } -func (*ExchangeWithdrawContract) ProtoMessage() {} -func (*ExchangeWithdrawContract) Descriptor() ([]byte, []int) { - return fileDescriptor_10c7f776bef66f61, []int{2} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ExchangeId int64 `protobuf:"varint,2,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"` + TokenId []byte `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` + Quant int64 `protobuf:"varint,4,opt,name=quant,proto3" json:"quant,omitempty"` +} + +func (x *ExchangeWithdrawContract) Reset() { + *x = ExchangeWithdrawContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_exchange_contract_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ExchangeWithdrawContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExchangeWithdrawContract.Unmarshal(m, b) -} -func (m *ExchangeWithdrawContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExchangeWithdrawContract.Marshal(b, m, deterministic) -} -func (m *ExchangeWithdrawContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExchangeWithdrawContract.Merge(m, src) +func (x *ExchangeWithdrawContract) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExchangeWithdrawContract) XXX_Size() int { - return xxx_messageInfo_ExchangeWithdrawContract.Size(m) -} -func (m *ExchangeWithdrawContract) XXX_DiscardUnknown() { - xxx_messageInfo_ExchangeWithdrawContract.DiscardUnknown(m) + +func (*ExchangeWithdrawContract) ProtoMessage() {} + +func (x *ExchangeWithdrawContract) ProtoReflect() protoreflect.Message { + mi := &file_core_exchange_contract_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExchangeWithdrawContract proto.InternalMessageInfo +// Deprecated: Use ExchangeWithdrawContract.ProtoReflect.Descriptor instead. +func (*ExchangeWithdrawContract) Descriptor() ([]byte, []int) { + return file_core_exchange_contract_proto_rawDescGZIP(), []int{2} +} -func (m *ExchangeWithdrawContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *ExchangeWithdrawContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress } return nil } -func (m *ExchangeWithdrawContract) GetExchangeId() int64 { - if m != nil { - return m.ExchangeId +func (x *ExchangeWithdrawContract) GetExchangeId() int64 { + if x != nil { + return x.ExchangeId } return 0 } -func (m *ExchangeWithdrawContract) GetTokenId() []byte { - if m != nil { - return m.TokenId +func (x *ExchangeWithdrawContract) GetTokenId() []byte { + if x != nil { + return x.TokenId } return nil } -func (m *ExchangeWithdrawContract) GetQuant() int64 { - if m != nil { - return m.Quant +func (x *ExchangeWithdrawContract) GetQuant() int64 { + if x != nil { + return x.Quant } return 0 } type ExchangeTransactionContract struct { - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ExchangeId int64 `protobuf:"varint,2,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"` - TokenId []byte `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` - Quant int64 `protobuf:"varint,4,opt,name=quant,proto3" json:"quant,omitempty"` - Expected int64 `protobuf:"varint,5,opt,name=expected,proto3" json:"expected,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ExchangeTransactionContract) Reset() { *m = ExchangeTransactionContract{} } -func (m *ExchangeTransactionContract) String() string { return proto.CompactTextString(m) } -func (*ExchangeTransactionContract) ProtoMessage() {} -func (*ExchangeTransactionContract) Descriptor() ([]byte, []int) { - return fileDescriptor_10c7f776bef66f61, []int{3} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ExchangeId int64 `protobuf:"varint,2,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"` + TokenId []byte `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` + Quant int64 `protobuf:"varint,4,opt,name=quant,proto3" json:"quant,omitempty"` + Expected int64 `protobuf:"varint,5,opt,name=expected,proto3" json:"expected,omitempty"` +} + +func (x *ExchangeTransactionContract) Reset() { + *x = ExchangeTransactionContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_exchange_contract_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ExchangeTransactionContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExchangeTransactionContract.Unmarshal(m, b) -} -func (m *ExchangeTransactionContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExchangeTransactionContract.Marshal(b, m, deterministic) -} -func (m *ExchangeTransactionContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExchangeTransactionContract.Merge(m, src) +func (x *ExchangeTransactionContract) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExchangeTransactionContract) XXX_Size() int { - return xxx_messageInfo_ExchangeTransactionContract.Size(m) -} -func (m *ExchangeTransactionContract) XXX_DiscardUnknown() { - xxx_messageInfo_ExchangeTransactionContract.DiscardUnknown(m) + +func (*ExchangeTransactionContract) ProtoMessage() {} + +func (x *ExchangeTransactionContract) ProtoReflect() protoreflect.Message { + mi := &file_core_exchange_contract_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExchangeTransactionContract proto.InternalMessageInfo +// Deprecated: Use ExchangeTransactionContract.ProtoReflect.Descriptor instead. +func (*ExchangeTransactionContract) Descriptor() ([]byte, []int) { + return file_core_exchange_contract_proto_rawDescGZIP(), []int{3} +} -func (m *ExchangeTransactionContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *ExchangeTransactionContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress } return nil } -func (m *ExchangeTransactionContract) GetExchangeId() int64 { - if m != nil { - return m.ExchangeId +func (x *ExchangeTransactionContract) GetExchangeId() int64 { + if x != nil { + return x.ExchangeId } return 0 } -func (m *ExchangeTransactionContract) GetTokenId() []byte { - if m != nil { - return m.TokenId +func (x *ExchangeTransactionContract) GetTokenId() []byte { + if x != nil { + return x.TokenId } return nil } -func (m *ExchangeTransactionContract) GetQuant() int64 { - if m != nil { - return m.Quant +func (x *ExchangeTransactionContract) GetQuant() int64 { + if x != nil { + return x.Quant } return 0 } -func (m *ExchangeTransactionContract) GetExpected() int64 { - if m != nil { - return m.Expected +func (x *ExchangeTransactionContract) GetExpected() int64 { + if x != nil { + return x.Expected } return 0 } -func init() { - proto.RegisterType((*ExchangeCreateContract)(nil), "protocol.ExchangeCreateContract") - proto.RegisterType((*ExchangeInjectContract)(nil), "protocol.ExchangeInjectContract") - proto.RegisterType((*ExchangeWithdrawContract)(nil), "protocol.ExchangeWithdrawContract") - proto.RegisterType((*ExchangeTransactionContract)(nil), "protocol.ExchangeTransactionContract") -} - -func init() { - proto.RegisterFile("core/contract/exchange_contract.proto", fileDescriptor_10c7f776bef66f61) -} - -var fileDescriptor_10c7f776bef66f61 = []byte{ - // 347 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x93, 0xcf, 0x4e, 0xf2, 0x40, - 0x14, 0xc5, 0xd3, 0xaf, 0x1f, 0x4a, 0xae, 0xa0, 0x71, 0x24, 0xa6, 0xea, 0x42, 0xc4, 0x3f, 0x61, - 0xd5, 0x9a, 0xb8, 0x76, 0x21, 0xc4, 0x05, 0xdb, 0x86, 0xc4, 0xc4, 0x4d, 0x33, 0x9d, 0xb9, 0x94, - 0x2a, 0xce, 0xe0, 0xf4, 0x12, 0x78, 0x0b, 0xe3, 0x9b, 0xf8, 0x62, 0xbe, 0x83, 0x61, 0xda, 0x01, - 0x5c, 0xba, 0x62, 0xd5, 0xdc, 0xd3, 0x5f, 0x4f, 0xce, 0xe9, 0xdc, 0x81, 0x6b, 0xa1, 0x0d, 0x46, - 0x42, 0x2b, 0x32, 0x5c, 0x50, 0x84, 0x0b, 0x31, 0xe6, 0x2a, 0xc3, 0xc4, 0x29, 0xe1, 0xd4, 0x68, - 0xd2, 0xac, 0x6e, 0x1f, 0x42, 0x4f, 0x3a, 0xdf, 0x1e, 0x1c, 0x3f, 0x56, 0x54, 0xdf, 0x20, 0x27, - 0xec, 0x57, 0x28, 0xbb, 0x84, 0xa6, 0x9e, 0x2b, 0x34, 0x09, 0x97, 0xd2, 0x60, 0x51, 0x04, 0x5e, - 0xdb, 0xeb, 0x36, 0xe2, 0x86, 0x15, 0x1f, 0x4a, 0x8d, 0x5d, 0xc1, 0xfe, 0x28, 0x37, 0x05, 0x25, - 0xa4, 0x5f, 0x51, 0x25, 0xb9, 0x0c, 0xfe, 0x95, 0x94, 0x55, 0x87, 0x4b, 0x71, 0x20, 0x59, 0x08, - 0x47, 0x9b, 0x54, 0xca, 0x27, 0x5c, 0x09, 0x0c, 0xfc, 0xb6, 0xd7, 0xf5, 0xe3, 0xc3, 0x35, 0xda, - 0x2b, 0x5f, 0xb0, 0x1b, 0x38, 0x28, 0x50, 0x68, 0x25, 0xd7, 0xb6, 0xff, 0xad, 0x6d, 0xb3, 0x94, - 0x9d, 0xef, 0x2d, 0xb4, 0x7e, 0x71, 0xce, 0xb8, 0x66, 0x8d, 0xd9, 0x06, 0x5c, 0x39, 0x77, 0x3e, - 0x36, 0xfa, 0x0e, 0xd4, 0x0b, 0x0a, 0xfa, 0x5b, 0xdf, 0x73, 0xd8, 0x5b, 0xfd, 0xd4, 0xaa, 0xac, - 0x1f, 0x83, 0x93, 0x06, 0x92, 0x9d, 0x40, 0x7d, 0x95, 0xd9, 0xb7, 0x06, 0xbb, 0x54, 0xa5, 0x6d, - 0x41, 0xed, 0x7d, 0xc6, 0x15, 0xd9, 0x2e, 0x7e, 0x5c, 0x0e, 0x9d, 0x4f, 0x0f, 0x02, 0x97, 0xe8, - 0x29, 0xa7, 0xb1, 0x34, 0x7c, 0xbe, 0xed, 0x4c, 0x5f, 0x1e, 0x9c, 0xb9, 0x4c, 0x43, 0xc3, 0x55, - 0xc1, 0x05, 0xe5, 0x5a, 0x6d, 0x39, 0x16, 0x3b, 0x85, 0x3a, 0x2e, 0xa6, 0x28, 0x08, 0x65, 0x75, - 0xc4, 0xab, 0xb9, 0x77, 0x0f, 0x81, 0x36, 0x59, 0x48, 0x46, 0xab, 0x72, 0xc9, 0x8b, 0xd0, 0x2d, - 0xfd, 0xf3, 0x45, 0x96, 0xd3, 0x78, 0x96, 0x86, 0x42, 0xbf, 0x45, 0xa3, 0xb4, 0xd0, 0xa9, 0xc1, - 0xdc, 0xf0, 0x28, 0xd3, 0x4b, 0x3a, 0x5a, 0x5e, 0x99, 0x74, 0xc7, 0x7e, 0x73, 0xf7, 0x13, 0x00, - 0x00, 0xff, 0xff, 0x52, 0x53, 0x7f, 0x44, 0x41, 0x03, 0x00, 0x00, +var File_core_exchange_contract_proto protoreflect.FileDescriptor + +var file_core_exchange_contract_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0xed, 0x01, 0x0a, 0x16, 0x45, 0x78, 0x63, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, + 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x69, 0x72, 0x73, + 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0c, 0x66, 0x69, 0x72, 0x73, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x2e, + 0x0a, 0x13, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x62, 0x61, + 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x66, 0x69, 0x72, + 0x73, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x26, + 0x0a, 0x0f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, + 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x8f, 0x01, 0x0a, 0x16, 0x45, 0x78, 0x63, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, + 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x63, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, + 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x22, 0x91, 0x01, 0x0a, 0x18, 0x45, + 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, + 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, + 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0a, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, + 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x61, 0x6e, + 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x22, 0xb0, + 0x01, 0x0a, 0x1b, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, + 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, + 0x14, 0x0a, 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, + 0x71, 0x75, 0x61, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, + 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, + 0x64, 0x42, 0x4b, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x2f, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, 0x72, + 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, 0x2f, + 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_core_exchange_contract_proto_rawDescOnce sync.Once + file_core_exchange_contract_proto_rawDescData = file_core_exchange_contract_proto_rawDesc +) + +func file_core_exchange_contract_proto_rawDescGZIP() []byte { + file_core_exchange_contract_proto_rawDescOnce.Do(func() { + file_core_exchange_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_exchange_contract_proto_rawDescData) + }) + return file_core_exchange_contract_proto_rawDescData +} + +var file_core_exchange_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_core_exchange_contract_proto_goTypes = []interface{}{ + (*ExchangeCreateContract)(nil), // 0: protocol.ExchangeCreateContract + (*ExchangeInjectContract)(nil), // 1: protocol.ExchangeInjectContract + (*ExchangeWithdrawContract)(nil), // 2: protocol.ExchangeWithdrawContract + (*ExchangeTransactionContract)(nil), // 3: protocol.ExchangeTransactionContract +} +var file_core_exchange_contract_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_core_exchange_contract_proto_init() } +func file_core_exchange_contract_proto_init() { + if File_core_exchange_contract_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_core_exchange_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExchangeCreateContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_exchange_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExchangeInjectContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_exchange_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExchangeWithdrawContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_exchange_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExchangeTransactionContract); 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_core_exchange_contract_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_core_exchange_contract_proto_goTypes, + DependencyIndexes: file_core_exchange_contract_proto_depIdxs, + MessageInfos: file_core_exchange_contract_proto_msgTypes, + }.Build() + File_core_exchange_contract_proto = out.File + file_core_exchange_contract_proto_rawDesc = nil + file_core_exchange_contract_proto_goTypes = nil + file_core_exchange_contract_proto_depIdxs = nil } diff --git a/pkg/proto/core/market_contract.pb.go b/pkg/proto/core/market_contract.pb.go new file mode 100644 index 000000000..57aef1e6b --- /dev/null +++ b/pkg/proto/core/market_contract.pb.go @@ -0,0 +1,264 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.28.0 +// protoc v3.21.12 +// source: core/market_contract.proto + +package core + +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 MarketSellAssetContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + SellTokenId []byte `protobuf:"bytes,2,opt,name=sell_token_id,json=sellTokenId,proto3" json:"sell_token_id,omitempty"` + SellTokenQuantity int64 `protobuf:"varint,3,opt,name=sell_token_quantity,json=sellTokenQuantity,proto3" json:"sell_token_quantity,omitempty"` + BuyTokenId []byte `protobuf:"bytes,4,opt,name=buy_token_id,json=buyTokenId,proto3" json:"buy_token_id,omitempty"` + BuyTokenQuantity int64 `protobuf:"varint,5,opt,name=buy_token_quantity,json=buyTokenQuantity,proto3" json:"buy_token_quantity,omitempty"` // min to receive +} + +func (x *MarketSellAssetContract) Reset() { + *x = MarketSellAssetContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_market_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MarketSellAssetContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MarketSellAssetContract) ProtoMessage() {} + +func (x *MarketSellAssetContract) ProtoReflect() protoreflect.Message { + mi := &file_core_market_contract_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MarketSellAssetContract.ProtoReflect.Descriptor instead. +func (*MarketSellAssetContract) Descriptor() ([]byte, []int) { + return file_core_market_contract_proto_rawDescGZIP(), []int{0} +} + +func (x *MarketSellAssetContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *MarketSellAssetContract) GetSellTokenId() []byte { + if x != nil { + return x.SellTokenId + } + return nil +} + +func (x *MarketSellAssetContract) GetSellTokenQuantity() int64 { + if x != nil { + return x.SellTokenQuantity + } + return 0 +} + +func (x *MarketSellAssetContract) GetBuyTokenId() []byte { + if x != nil { + return x.BuyTokenId + } + return nil +} + +func (x *MarketSellAssetContract) GetBuyTokenQuantity() int64 { + if x != nil { + return x.BuyTokenQuantity + } + return 0 +} + +type MarketCancelOrderContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + OrderId []byte `protobuf:"bytes,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` +} + +func (x *MarketCancelOrderContract) Reset() { + *x = MarketCancelOrderContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_market_contract_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MarketCancelOrderContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MarketCancelOrderContract) ProtoMessage() {} + +func (x *MarketCancelOrderContract) ProtoReflect() protoreflect.Message { + mi := &file_core_market_contract_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MarketCancelOrderContract.ProtoReflect.Descriptor instead. +func (*MarketCancelOrderContract) Descriptor() ([]byte, []int) { + return file_core_market_contract_proto_rawDescGZIP(), []int{1} +} + +func (x *MarketCancelOrderContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *MarketCancelOrderContract) GetOrderId() []byte { + if x != nil { + return x.OrderId + } + return nil +} + +var File_core_market_contract_proto protoreflect.FileDescriptor + +var file_core_market_contract_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0xe2, 0x01, 0x0a, 0x17, 0x4d, 0x61, 0x72, 0x6b, 0x65, + 0x74, 0x53, 0x65, 0x6c, 0x6c, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x65, 0x6c, 0x6c, 0x5f, + 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, + 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x73, + 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, + 0x6b, 0x65, 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x20, 0x0a, 0x0c, 0x62, + 0x75, 0x79, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x0a, 0x62, 0x75, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x2c, 0x0a, + 0x12, 0x62, 0x75, 0x79, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x62, 0x75, 0x79, 0x54, 0x6f, + 0x6b, 0x65, 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x22, 0x5b, 0x0a, 0x19, 0x4d, + 0x61, 0x72, 0x6b, 0x65, 0x74, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, + 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x19, 0x0a, + 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x42, 0x4b, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, + 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, 0x72, 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, + 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_core_market_contract_proto_rawDescOnce sync.Once + file_core_market_contract_proto_rawDescData = file_core_market_contract_proto_rawDesc +) + +func file_core_market_contract_proto_rawDescGZIP() []byte { + file_core_market_contract_proto_rawDescOnce.Do(func() { + file_core_market_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_market_contract_proto_rawDescData) + }) + return file_core_market_contract_proto_rawDescData +} + +var file_core_market_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_core_market_contract_proto_goTypes = []interface{}{ + (*MarketSellAssetContract)(nil), // 0: protocol.MarketSellAssetContract + (*MarketCancelOrderContract)(nil), // 1: protocol.MarketCancelOrderContract +} +var file_core_market_contract_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_core_market_contract_proto_init() } +func file_core_market_contract_proto_init() { + if File_core_market_contract_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_core_market_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarketSellAssetContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_market_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarketCancelOrderContract); 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_core_market_contract_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_core_market_contract_proto_goTypes, + DependencyIndexes: file_core_market_contract_proto_depIdxs, + MessageInfos: file_core_market_contract_proto_msgTypes, + }.Build() + File_core_market_contract_proto = out.File + file_core_market_contract_proto_rawDesc = nil + file_core_market_contract_proto_goTypes = nil + file_core_market_contract_proto_depIdxs = nil +} diff --git a/pkg/proto/core/proposal_contract.pb.go b/pkg/proto/core/proposal_contract.pb.go index 526bd2846..987595bf2 100644 --- a/pkg/proto/core/proposal_contract.pb.go +++ b/pkg/proto/core/proposal_contract.pb.go @@ -1,205 +1,326 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// source: core/contract/proposal_contract.proto +// versions: +// protoc-gen-go v1.28.0 +// protoc v3.21.12 +// source: core/proposal_contract.proto package core import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 ProposalApproveContract struct { - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ProposalId int64 `protobuf:"varint,2,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` - IsAddApproval bool `protobuf:"varint,3,opt,name=is_add_approval,json=isAddApproval,proto3" json:"is_add_approval,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ProposalApproveContract) Reset() { *m = ProposalApproveContract{} } -func (m *ProposalApproveContract) String() string { return proto.CompactTextString(m) } -func (*ProposalApproveContract) ProtoMessage() {} -func (*ProposalApproveContract) Descriptor() ([]byte, []int) { - return fileDescriptor_b339c1bd781d6d14, []int{0} + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ProposalId int64 `protobuf:"varint,2,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` + IsAddApproval bool `protobuf:"varint,3,opt,name=is_add_approval,json=isAddApproval,proto3" json:"is_add_approval,omitempty"` // add or remove approval } -func (m *ProposalApproveContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProposalApproveContract.Unmarshal(m, b) -} -func (m *ProposalApproveContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProposalApproveContract.Marshal(b, m, deterministic) -} -func (m *ProposalApproveContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProposalApproveContract.Merge(m, src) +func (x *ProposalApproveContract) Reset() { + *x = ProposalApproveContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_proposal_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ProposalApproveContract) XXX_Size() int { - return xxx_messageInfo_ProposalApproveContract.Size(m) + +func (x *ProposalApproveContract) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProposalApproveContract) XXX_DiscardUnknown() { - xxx_messageInfo_ProposalApproveContract.DiscardUnknown(m) + +func (*ProposalApproveContract) ProtoMessage() {} + +func (x *ProposalApproveContract) ProtoReflect() protoreflect.Message { + mi := &file_core_proposal_contract_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ProposalApproveContract proto.InternalMessageInfo +// Deprecated: Use ProposalApproveContract.ProtoReflect.Descriptor instead. +func (*ProposalApproveContract) Descriptor() ([]byte, []int) { + return file_core_proposal_contract_proto_rawDescGZIP(), []int{0} +} -func (m *ProposalApproveContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *ProposalApproveContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress } return nil } -func (m *ProposalApproveContract) GetProposalId() int64 { - if m != nil { - return m.ProposalId +func (x *ProposalApproveContract) GetProposalId() int64 { + if x != nil { + return x.ProposalId } return 0 } -func (m *ProposalApproveContract) GetIsAddApproval() bool { - if m != nil { - return m.IsAddApproval +func (x *ProposalApproveContract) GetIsAddApproval() bool { + if x != nil { + return x.IsAddApproval } return false } type ProposalCreateContract struct { - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Parameters map[int64]int64 `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ProposalCreateContract) Reset() { *m = ProposalCreateContract{} } -func (m *ProposalCreateContract) String() string { return proto.CompactTextString(m) } -func (*ProposalCreateContract) ProtoMessage() {} -func (*ProposalCreateContract) Descriptor() ([]byte, []int) { - return fileDescriptor_b339c1bd781d6d14, []int{1} + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Parameters map[int64]int64 `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` } -func (m *ProposalCreateContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProposalCreateContract.Unmarshal(m, b) -} -func (m *ProposalCreateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProposalCreateContract.Marshal(b, m, deterministic) -} -func (m *ProposalCreateContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProposalCreateContract.Merge(m, src) +func (x *ProposalCreateContract) Reset() { + *x = ProposalCreateContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_proposal_contract_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ProposalCreateContract) XXX_Size() int { - return xxx_messageInfo_ProposalCreateContract.Size(m) + +func (x *ProposalCreateContract) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProposalCreateContract) XXX_DiscardUnknown() { - xxx_messageInfo_ProposalCreateContract.DiscardUnknown(m) + +func (*ProposalCreateContract) ProtoMessage() {} + +func (x *ProposalCreateContract) ProtoReflect() protoreflect.Message { + mi := &file_core_proposal_contract_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ProposalCreateContract proto.InternalMessageInfo +// Deprecated: Use ProposalCreateContract.ProtoReflect.Descriptor instead. +func (*ProposalCreateContract) Descriptor() ([]byte, []int) { + return file_core_proposal_contract_proto_rawDescGZIP(), []int{1} +} -func (m *ProposalCreateContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *ProposalCreateContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress } return nil } -func (m *ProposalCreateContract) GetParameters() map[int64]int64 { - if m != nil { - return m.Parameters +func (x *ProposalCreateContract) GetParameters() map[int64]int64 { + if x != nil { + return x.Parameters } return nil } type ProposalDeleteContract struct { - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ProposalId int64 `protobuf:"varint,2,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ProposalDeleteContract) Reset() { *m = ProposalDeleteContract{} } -func (m *ProposalDeleteContract) String() string { return proto.CompactTextString(m) } -func (*ProposalDeleteContract) ProtoMessage() {} -func (*ProposalDeleteContract) Descriptor() ([]byte, []int) { - return fileDescriptor_b339c1bd781d6d14, []int{2} + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ProposalId int64 `protobuf:"varint,2,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` } -func (m *ProposalDeleteContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProposalDeleteContract.Unmarshal(m, b) -} -func (m *ProposalDeleteContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProposalDeleteContract.Marshal(b, m, deterministic) -} -func (m *ProposalDeleteContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProposalDeleteContract.Merge(m, src) +func (x *ProposalDeleteContract) Reset() { + *x = ProposalDeleteContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_proposal_contract_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ProposalDeleteContract) XXX_Size() int { - return xxx_messageInfo_ProposalDeleteContract.Size(m) + +func (x *ProposalDeleteContract) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ProposalDeleteContract) XXX_DiscardUnknown() { - xxx_messageInfo_ProposalDeleteContract.DiscardUnknown(m) + +func (*ProposalDeleteContract) ProtoMessage() {} + +func (x *ProposalDeleteContract) ProtoReflect() protoreflect.Message { + mi := &file_core_proposal_contract_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ProposalDeleteContract proto.InternalMessageInfo +// Deprecated: Use ProposalDeleteContract.ProtoReflect.Descriptor instead. +func (*ProposalDeleteContract) Descriptor() ([]byte, []int) { + return file_core_proposal_contract_proto_rawDescGZIP(), []int{2} +} -func (m *ProposalDeleteContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *ProposalDeleteContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress } return nil } -func (m *ProposalDeleteContract) GetProposalId() int64 { - if m != nil { - return m.ProposalId +func (x *ProposalDeleteContract) GetProposalId() int64 { + if x != nil { + return x.ProposalId } return 0 } -func init() { - proto.RegisterType((*ProposalApproveContract)(nil), "protocol.ProposalApproveContract") - proto.RegisterType((*ProposalCreateContract)(nil), "protocol.ProposalCreateContract") - proto.RegisterMapType((map[int64]int64)(nil), "protocol.ProposalCreateContract.ParametersEntry") - proto.RegisterType((*ProposalDeleteContract)(nil), "protocol.ProposalDeleteContract") -} - -func init() { - proto.RegisterFile("core/contract/proposal_contract.proto", fileDescriptor_b339c1bd781d6d14) -} - -var fileDescriptor_b339c1bd781d6d14 = []byte{ - // 309 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x92, 0xc1, 0x4a, 0xc3, 0x40, - 0x10, 0x86, 0xd9, 0x06, 0xa5, 0x4c, 0x5b, 0x2a, 0x41, 0x34, 0x78, 0x31, 0x56, 0x94, 0x9c, 0x36, - 0xa2, 0x17, 0x11, 0x7a, 0x88, 0xd5, 0x83, 0xb7, 0x92, 0xa3, 0x07, 0xcb, 0x26, 0x19, 0x6b, 0x30, - 0xcd, 0x2c, 0xb3, 0xdb, 0x4a, 0x9f, 0xc0, 0xb7, 0xf3, 0x99, 0x24, 0x69, 0x52, 0x45, 0xbc, 0x08, - 0x9e, 0x92, 0xfd, 0xf6, 0x9f, 0x7f, 0xe6, 0xdf, 0x5d, 0x38, 0x4b, 0x89, 0x31, 0x4c, 0xa9, 0xb4, - 0xac, 0x52, 0x1b, 0x6a, 0x26, 0x4d, 0x46, 0x15, 0xb3, 0x96, 0x48, 0xcd, 0x64, 0xc9, 0xed, 0xd6, - 0x9f, 0x94, 0x8a, 0xd1, 0xbb, 0x80, 0xc3, 0x69, 0xa3, 0x8a, 0xb4, 0x66, 0x5a, 0xe1, 0xa4, 0xd1, - 0xba, 0xa7, 0x30, 0xa0, 0xb7, 0x12, 0x79, 0xa6, 0xb2, 0x8c, 0xd1, 0x18, 0x4f, 0xf8, 0x22, 0xe8, - 0xc7, 0xfd, 0x1a, 0x46, 0x1b, 0xe6, 0x1e, 0x43, 0x6f, 0xdb, 0x25, 0xcf, 0xbc, 0x8e, 0x2f, 0x02, - 0x27, 0x86, 0x16, 0x3d, 0x64, 0xee, 0x39, 0x0c, 0x73, 0x53, 0x59, 0xcc, 0x54, 0xed, 0xaf, 0x0a, - 0xcf, 0xf1, 0x45, 0xd0, 0x8d, 0x07, 0xb9, 0x89, 0xb2, 0x2c, 0x6a, 0xe0, 0xe8, 0x43, 0xc0, 0x41, - 0x3b, 0xc9, 0x84, 0x51, 0xd9, 0x3f, 0x0e, 0x32, 0x05, 0xd0, 0x8a, 0xd5, 0x02, 0x2d, 0xb2, 0xf1, - 0x3a, 0xbe, 0x13, 0xf4, 0x2e, 0x2f, 0x64, 0x1b, 0x54, 0xfe, 0x6e, 0x2d, 0xa7, 0xdb, 0x92, 0xfb, - 0xd2, 0xf2, 0x3a, 0xfe, 0xe6, 0x71, 0x34, 0x86, 0xe1, 0x8f, 0x6d, 0x77, 0x0f, 0x9c, 0x57, 0x5c, - 0xd7, 0xfd, 0x9d, 0xb8, 0xfa, 0x75, 0xf7, 0x61, 0x67, 0xa5, 0x8a, 0x25, 0x36, 0xc9, 0x37, 0x8b, - 0x9b, 0xce, 0xb5, 0x18, 0x3d, 0x7d, 0xe5, 0xb9, 0xc3, 0x02, 0xed, 0x3f, 0x1f, 0xec, 0xed, 0x18, - 0x3c, 0xe2, 0xb9, 0xb4, 0x4c, 0xe5, 0x26, 0xa6, 0x91, 0xed, 0x35, 0x3f, 0x9e, 0xcc, 0x73, 0xfb, - 0xb2, 0x4c, 0x64, 0x4a, 0x8b, 0xf0, 0x39, 0x31, 0x94, 0x30, 0xe6, 0xac, 0xc2, 0x39, 0x55, 0xea, - 0xb0, 0x7a, 0x24, 0xc9, 0x6e, 0x5d, 0x73, 0xf5, 0x19, 0x00, 0x00, 0xff, 0xff, 0x81, 0xbf, 0xad, - 0xf7, 0x33, 0x02, 0x00, 0x00, +var File_core_proposal_contract_proto protoreflect.FileDescriptor + +var file_core_proposal_contract_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0x87, 0x01, 0x0a, 0x17, 0x50, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, + 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, + 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x69, 0x73, + 0x5f, 0x61, 0x64, 0x64, 0x5f, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, 0x41, 0x64, 0x64, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, + 0x61, 0x6c, 0x22, 0xce, 0x01, 0x0a, 0x16, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, + 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x50, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, + 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, + 0x74, 0x65, 0x72, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, + 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x22, 0x5e, 0x0a, 0x16, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, + 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, + 0x6c, 0x49, 0x64, 0x42, 0x4b, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, + 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, 0x6f, + 0x62, 0x72, 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, 0x64, + 0x6b, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x72, 0x65, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_core_proposal_contract_proto_rawDescOnce sync.Once + file_core_proposal_contract_proto_rawDescData = file_core_proposal_contract_proto_rawDesc +) + +func file_core_proposal_contract_proto_rawDescGZIP() []byte { + file_core_proposal_contract_proto_rawDescOnce.Do(func() { + file_core_proposal_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_proposal_contract_proto_rawDescData) + }) + return file_core_proposal_contract_proto_rawDescData +} + +var file_core_proposal_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_core_proposal_contract_proto_goTypes = []interface{}{ + (*ProposalApproveContract)(nil), // 0: protocol.ProposalApproveContract + (*ProposalCreateContract)(nil), // 1: protocol.ProposalCreateContract + (*ProposalDeleteContract)(nil), // 2: protocol.ProposalDeleteContract + nil, // 3: protocol.ProposalCreateContract.ParametersEntry +} +var file_core_proposal_contract_proto_depIdxs = []int32{ + 3, // 0: protocol.ProposalCreateContract.parameters:type_name -> protocol.ProposalCreateContract.ParametersEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_core_proposal_contract_proto_init() } +func file_core_proposal_contract_proto_init() { + if File_core_proposal_contract_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_core_proposal_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposalApproveContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_proposal_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposalCreateContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_proposal_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposalDeleteContract); 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_core_proposal_contract_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_core_proposal_contract_proto_goTypes, + DependencyIndexes: file_core_proposal_contract_proto_depIdxs, + MessageInfos: file_core_proposal_contract_proto_msgTypes, + }.Build() + File_core_proposal_contract_proto = out.File + file_core_proposal_contract_proto_rawDesc = nil + file_core_proposal_contract_proto_goTypes = nil + file_core_proposal_contract_proto_depIdxs = nil } diff --git a/pkg/proto/core/shield_contract.pb.go b/pkg/proto/core/shield_contract.pb.go index e18739b4e..71359cdbe 100644 --- a/pkg/proto/core/shield_contract.pb.go +++ b/pkg/proto/core/shield_contract.pb.go @@ -1,750 +1,1091 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// source: core/contract/shield_contract.proto +// versions: +// protoc-gen-go v1.28.0 +// protoc v3.21.12 +// source: core/shield_contract.proto package core import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 AuthenticationPath struct { - Value []bool `protobuf:"varint,1,rep,packed,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *AuthenticationPath) Reset() { *m = AuthenticationPath{} } -func (m *AuthenticationPath) String() string { return proto.CompactTextString(m) } -func (*AuthenticationPath) ProtoMessage() {} -func (*AuthenticationPath) Descriptor() ([]byte, []int) { - return fileDescriptor_53ff2a20a8b4c1fd, []int{0} + Value []bool `protobuf:"varint,1,rep,packed,name=value,proto3" json:"value,omitempty"` } -func (m *AuthenticationPath) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AuthenticationPath.Unmarshal(m, b) -} -func (m *AuthenticationPath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AuthenticationPath.Marshal(b, m, deterministic) -} -func (m *AuthenticationPath) XXX_Merge(src proto.Message) { - xxx_messageInfo_AuthenticationPath.Merge(m, src) +func (x *AuthenticationPath) Reset() { + *x = AuthenticationPath{} + if protoimpl.UnsafeEnabled { + mi := &file_core_shield_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AuthenticationPath) XXX_Size() int { - return xxx_messageInfo_AuthenticationPath.Size(m) + +func (x *AuthenticationPath) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AuthenticationPath) XXX_DiscardUnknown() { - xxx_messageInfo_AuthenticationPath.DiscardUnknown(m) + +func (*AuthenticationPath) ProtoMessage() {} + +func (x *AuthenticationPath) ProtoReflect() protoreflect.Message { + mi := &file_core_shield_contract_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_AuthenticationPath proto.InternalMessageInfo +// Deprecated: Use AuthenticationPath.ProtoReflect.Descriptor instead. +func (*AuthenticationPath) Descriptor() ([]byte, []int) { + return file_core_shield_contract_proto_rawDescGZIP(), []int{0} +} -func (m *AuthenticationPath) GetValue() []bool { - if m != nil { - return m.Value +func (x *AuthenticationPath) GetValue() []bool { + if x != nil { + return x.Value } return nil } type MerklePath struct { - AuthenticationPaths []*AuthenticationPath `protobuf:"bytes,1,rep,name=authentication_paths,json=authenticationPaths,proto3" json:"authentication_paths,omitempty"` - Index []bool `protobuf:"varint,2,rep,packed,name=index,proto3" json:"index,omitempty"` - Rt []byte `protobuf:"bytes,3,opt,name=rt,proto3" json:"rt,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *MerklePath) Reset() { *m = MerklePath{} } -func (m *MerklePath) String() string { return proto.CompactTextString(m) } -func (*MerklePath) ProtoMessage() {} -func (*MerklePath) Descriptor() ([]byte, []int) { - return fileDescriptor_53ff2a20a8b4c1fd, []int{1} + AuthenticationPaths []*AuthenticationPath `protobuf:"bytes,1,rep,name=authentication_paths,json=authenticationPaths,proto3" json:"authentication_paths,omitempty"` + Index []bool `protobuf:"varint,2,rep,packed,name=index,proto3" json:"index,omitempty"` + Rt []byte `protobuf:"bytes,3,opt,name=rt,proto3" json:"rt,omitempty"` } -func (m *MerklePath) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MerklePath.Unmarshal(m, b) -} -func (m *MerklePath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MerklePath.Marshal(b, m, deterministic) -} -func (m *MerklePath) XXX_Merge(src proto.Message) { - xxx_messageInfo_MerklePath.Merge(m, src) +func (x *MerklePath) Reset() { + *x = MerklePath{} + if protoimpl.UnsafeEnabled { + mi := &file_core_shield_contract_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *MerklePath) XXX_Size() int { - return xxx_messageInfo_MerklePath.Size(m) + +func (x *MerklePath) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MerklePath) XXX_DiscardUnknown() { - xxx_messageInfo_MerklePath.DiscardUnknown(m) + +func (*MerklePath) ProtoMessage() {} + +func (x *MerklePath) ProtoReflect() protoreflect.Message { + mi := &file_core_shield_contract_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_MerklePath proto.InternalMessageInfo +// Deprecated: Use MerklePath.ProtoReflect.Descriptor instead. +func (*MerklePath) Descriptor() ([]byte, []int) { + return file_core_shield_contract_proto_rawDescGZIP(), []int{1} +} -func (m *MerklePath) GetAuthenticationPaths() []*AuthenticationPath { - if m != nil { - return m.AuthenticationPaths +func (x *MerklePath) GetAuthenticationPaths() []*AuthenticationPath { + if x != nil { + return x.AuthenticationPaths } return nil } -func (m *MerklePath) GetIndex() []bool { - if m != nil { - return m.Index +func (x *MerklePath) GetIndex() []bool { + if x != nil { + return x.Index } return nil } -func (m *MerklePath) GetRt() []byte { - if m != nil { - return m.Rt +func (x *MerklePath) GetRt() []byte { + if x != nil { + return x.Rt } return nil } type OutputPoint struct { - Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - Index int32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *OutputPoint) Reset() { *m = OutputPoint{} } -func (m *OutputPoint) String() string { return proto.CompactTextString(m) } -func (*OutputPoint) ProtoMessage() {} -func (*OutputPoint) Descriptor() ([]byte, []int) { - return fileDescriptor_53ff2a20a8b4c1fd, []int{2} + Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` + Index int32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` } -func (m *OutputPoint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OutputPoint.Unmarshal(m, b) -} -func (m *OutputPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OutputPoint.Marshal(b, m, deterministic) -} -func (m *OutputPoint) XXX_Merge(src proto.Message) { - xxx_messageInfo_OutputPoint.Merge(m, src) +func (x *OutputPoint) Reset() { + *x = OutputPoint{} + if protoimpl.UnsafeEnabled { + mi := &file_core_shield_contract_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *OutputPoint) XXX_Size() int { - return xxx_messageInfo_OutputPoint.Size(m) + +func (x *OutputPoint) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *OutputPoint) XXX_DiscardUnknown() { - xxx_messageInfo_OutputPoint.DiscardUnknown(m) + +func (*OutputPoint) ProtoMessage() {} + +func (x *OutputPoint) ProtoReflect() protoreflect.Message { + mi := &file_core_shield_contract_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_OutputPoint proto.InternalMessageInfo +// Deprecated: Use OutputPoint.ProtoReflect.Descriptor instead. +func (*OutputPoint) Descriptor() ([]byte, []int) { + return file_core_shield_contract_proto_rawDescGZIP(), []int{2} +} -func (m *OutputPoint) GetHash() []byte { - if m != nil { - return m.Hash +func (x *OutputPoint) GetHash() []byte { + if x != nil { + return x.Hash } return nil } -func (m *OutputPoint) GetIndex() int32 { - if m != nil { - return m.Index +func (x *OutputPoint) GetIndex() int32 { + if x != nil { + return x.Index } return 0 } type OutputPointInfo struct { - OutPoints []*OutputPoint `protobuf:"bytes,1,rep,name=out_points,json=outPoints,proto3" json:"out_points,omitempty"` - BlockNum int32 `protobuf:"varint,2,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *OutputPointInfo) Reset() { *m = OutputPointInfo{} } -func (m *OutputPointInfo) String() string { return proto.CompactTextString(m) } -func (*OutputPointInfo) ProtoMessage() {} -func (*OutputPointInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_53ff2a20a8b4c1fd, []int{3} + OutPoints []*OutputPoint `protobuf:"bytes,1,rep,name=out_points,json=outPoints,proto3" json:"out_points,omitempty"` + BlockNum int32 `protobuf:"varint,2,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"` } -func (m *OutputPointInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OutputPointInfo.Unmarshal(m, b) -} -func (m *OutputPointInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OutputPointInfo.Marshal(b, m, deterministic) -} -func (m *OutputPointInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_OutputPointInfo.Merge(m, src) +func (x *OutputPointInfo) Reset() { + *x = OutputPointInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_core_shield_contract_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *OutputPointInfo) XXX_Size() int { - return xxx_messageInfo_OutputPointInfo.Size(m) + +func (x *OutputPointInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *OutputPointInfo) XXX_DiscardUnknown() { - xxx_messageInfo_OutputPointInfo.DiscardUnknown(m) + +func (*OutputPointInfo) ProtoMessage() {} + +func (x *OutputPointInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_shield_contract_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_OutputPointInfo proto.InternalMessageInfo +// Deprecated: Use OutputPointInfo.ProtoReflect.Descriptor instead. +func (*OutputPointInfo) Descriptor() ([]byte, []int) { + return file_core_shield_contract_proto_rawDescGZIP(), []int{3} +} -func (m *OutputPointInfo) GetOutPoints() []*OutputPoint { - if m != nil { - return m.OutPoints +func (x *OutputPointInfo) GetOutPoints() []*OutputPoint { + if x != nil { + return x.OutPoints } return nil } -func (m *OutputPointInfo) GetBlockNum() int32 { - if m != nil { - return m.BlockNum +func (x *OutputPointInfo) GetBlockNum() int32 { + if x != nil { + return x.BlockNum } return 0 } type PedersenHash struct { - Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *PedersenHash) Reset() { *m = PedersenHash{} } -func (m *PedersenHash) String() string { return proto.CompactTextString(m) } -func (*PedersenHash) ProtoMessage() {} -func (*PedersenHash) Descriptor() ([]byte, []int) { - return fileDescriptor_53ff2a20a8b4c1fd, []int{4} + Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` } -func (m *PedersenHash) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PedersenHash.Unmarshal(m, b) -} -func (m *PedersenHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PedersenHash.Marshal(b, m, deterministic) -} -func (m *PedersenHash) XXX_Merge(src proto.Message) { - xxx_messageInfo_PedersenHash.Merge(m, src) +func (x *PedersenHash) Reset() { + *x = PedersenHash{} + if protoimpl.UnsafeEnabled { + mi := &file_core_shield_contract_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PedersenHash) XXX_Size() int { - return xxx_messageInfo_PedersenHash.Size(m) + +func (x *PedersenHash) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PedersenHash) XXX_DiscardUnknown() { - xxx_messageInfo_PedersenHash.DiscardUnknown(m) + +func (*PedersenHash) ProtoMessage() {} + +func (x *PedersenHash) ProtoReflect() protoreflect.Message { + mi := &file_core_shield_contract_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_PedersenHash proto.InternalMessageInfo +// Deprecated: Use PedersenHash.ProtoReflect.Descriptor instead. +func (*PedersenHash) Descriptor() ([]byte, []int) { + return file_core_shield_contract_proto_rawDescGZIP(), []int{4} +} -func (m *PedersenHash) GetContent() []byte { - if m != nil { - return m.Content +func (x *PedersenHash) GetContent() []byte { + if x != nil { + return x.Content } return nil } type IncrementalMerkleTree struct { - Left *PedersenHash `protobuf:"bytes,1,opt,name=left,proto3" json:"left,omitempty"` - Right *PedersenHash `protobuf:"bytes,2,opt,name=right,proto3" json:"right,omitempty"` - Parents []*PedersenHash `protobuf:"bytes,3,rep,name=parents,proto3" json:"parents,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *IncrementalMerkleTree) Reset() { *m = IncrementalMerkleTree{} } -func (m *IncrementalMerkleTree) String() string { return proto.CompactTextString(m) } -func (*IncrementalMerkleTree) ProtoMessage() {} -func (*IncrementalMerkleTree) Descriptor() ([]byte, []int) { - return fileDescriptor_53ff2a20a8b4c1fd, []int{5} + Left *PedersenHash `protobuf:"bytes,1,opt,name=left,proto3" json:"left,omitempty"` + Right *PedersenHash `protobuf:"bytes,2,opt,name=right,proto3" json:"right,omitempty"` + Parents []*PedersenHash `protobuf:"bytes,3,rep,name=parents,proto3" json:"parents,omitempty"` } -func (m *IncrementalMerkleTree) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IncrementalMerkleTree.Unmarshal(m, b) -} -func (m *IncrementalMerkleTree) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IncrementalMerkleTree.Marshal(b, m, deterministic) -} -func (m *IncrementalMerkleTree) XXX_Merge(src proto.Message) { - xxx_messageInfo_IncrementalMerkleTree.Merge(m, src) +func (x *IncrementalMerkleTree) Reset() { + *x = IncrementalMerkleTree{} + if protoimpl.UnsafeEnabled { + mi := &file_core_shield_contract_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IncrementalMerkleTree) XXX_Size() int { - return xxx_messageInfo_IncrementalMerkleTree.Size(m) + +func (x *IncrementalMerkleTree) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IncrementalMerkleTree) XXX_DiscardUnknown() { - xxx_messageInfo_IncrementalMerkleTree.DiscardUnknown(m) + +func (*IncrementalMerkleTree) ProtoMessage() {} + +func (x *IncrementalMerkleTree) ProtoReflect() protoreflect.Message { + mi := &file_core_shield_contract_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_IncrementalMerkleTree proto.InternalMessageInfo +// Deprecated: Use IncrementalMerkleTree.ProtoReflect.Descriptor instead. +func (*IncrementalMerkleTree) Descriptor() ([]byte, []int) { + return file_core_shield_contract_proto_rawDescGZIP(), []int{5} +} -func (m *IncrementalMerkleTree) GetLeft() *PedersenHash { - if m != nil { - return m.Left +func (x *IncrementalMerkleTree) GetLeft() *PedersenHash { + if x != nil { + return x.Left } return nil } -func (m *IncrementalMerkleTree) GetRight() *PedersenHash { - if m != nil { - return m.Right +func (x *IncrementalMerkleTree) GetRight() *PedersenHash { + if x != nil { + return x.Right } return nil } -func (m *IncrementalMerkleTree) GetParents() []*PedersenHash { - if m != nil { - return m.Parents +func (x *IncrementalMerkleTree) GetParents() []*PedersenHash { + if x != nil { + return x.Parents } return nil } type IncrementalMerkleVoucher struct { - Tree *IncrementalMerkleTree `protobuf:"bytes,1,opt,name=tree,proto3" json:"tree,omitempty"` - Filled []*PedersenHash `protobuf:"bytes,2,rep,name=filled,proto3" json:"filled,omitempty"` - Cursor *IncrementalMerkleTree `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"` - CursorDepth int64 `protobuf:"varint,4,opt,name=cursor_depth,json=cursorDepth,proto3" json:"cursor_depth,omitempty"` - Rt []byte `protobuf:"bytes,5,opt,name=rt,proto3" json:"rt,omitempty"` - OutputPoint *OutputPoint `protobuf:"bytes,10,opt,name=output_point,json=outputPoint,proto3" json:"output_point,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *IncrementalMerkleVoucher) Reset() { *m = IncrementalMerkleVoucher{} } -func (m *IncrementalMerkleVoucher) String() string { return proto.CompactTextString(m) } -func (*IncrementalMerkleVoucher) ProtoMessage() {} -func (*IncrementalMerkleVoucher) Descriptor() ([]byte, []int) { - return fileDescriptor_53ff2a20a8b4c1fd, []int{6} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Tree *IncrementalMerkleTree `protobuf:"bytes,1,opt,name=tree,proto3" json:"tree,omitempty"` + Filled []*PedersenHash `protobuf:"bytes,2,rep,name=filled,proto3" json:"filled,omitempty"` + Cursor *IncrementalMerkleTree `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"` + CursorDepth int64 `protobuf:"varint,4,opt,name=cursor_depth,json=cursorDepth,proto3" json:"cursor_depth,omitempty"` + Rt []byte `protobuf:"bytes,5,opt,name=rt,proto3" json:"rt,omitempty"` + OutputPoint *OutputPoint `protobuf:"bytes,10,opt,name=output_point,json=outputPoint,proto3" json:"output_point,omitempty"` +} + +func (x *IncrementalMerkleVoucher) Reset() { + *x = IncrementalMerkleVoucher{} + if protoimpl.UnsafeEnabled { + mi := &file_core_shield_contract_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IncrementalMerkleVoucher) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IncrementalMerkleVoucher.Unmarshal(m, b) +func (x *IncrementalMerkleVoucher) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IncrementalMerkleVoucher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IncrementalMerkleVoucher.Marshal(b, m, deterministic) -} -func (m *IncrementalMerkleVoucher) XXX_Merge(src proto.Message) { - xxx_messageInfo_IncrementalMerkleVoucher.Merge(m, src) -} -func (m *IncrementalMerkleVoucher) XXX_Size() int { - return xxx_messageInfo_IncrementalMerkleVoucher.Size(m) -} -func (m *IncrementalMerkleVoucher) XXX_DiscardUnknown() { - xxx_messageInfo_IncrementalMerkleVoucher.DiscardUnknown(m) + +func (*IncrementalMerkleVoucher) ProtoMessage() {} + +func (x *IncrementalMerkleVoucher) ProtoReflect() protoreflect.Message { + mi := &file_core_shield_contract_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_IncrementalMerkleVoucher proto.InternalMessageInfo +// Deprecated: Use IncrementalMerkleVoucher.ProtoReflect.Descriptor instead. +func (*IncrementalMerkleVoucher) Descriptor() ([]byte, []int) { + return file_core_shield_contract_proto_rawDescGZIP(), []int{6} +} -func (m *IncrementalMerkleVoucher) GetTree() *IncrementalMerkleTree { - if m != nil { - return m.Tree +func (x *IncrementalMerkleVoucher) GetTree() *IncrementalMerkleTree { + if x != nil { + return x.Tree } return nil } -func (m *IncrementalMerkleVoucher) GetFilled() []*PedersenHash { - if m != nil { - return m.Filled +func (x *IncrementalMerkleVoucher) GetFilled() []*PedersenHash { + if x != nil { + return x.Filled } return nil } -func (m *IncrementalMerkleVoucher) GetCursor() *IncrementalMerkleTree { - if m != nil { - return m.Cursor +func (x *IncrementalMerkleVoucher) GetCursor() *IncrementalMerkleTree { + if x != nil { + return x.Cursor } return nil } -func (m *IncrementalMerkleVoucher) GetCursorDepth() int64 { - if m != nil { - return m.CursorDepth +func (x *IncrementalMerkleVoucher) GetCursorDepth() int64 { + if x != nil { + return x.CursorDepth } return 0 } -func (m *IncrementalMerkleVoucher) GetRt() []byte { - if m != nil { - return m.Rt +func (x *IncrementalMerkleVoucher) GetRt() []byte { + if x != nil { + return x.Rt } return nil } -func (m *IncrementalMerkleVoucher) GetOutputPoint() *OutputPoint { - if m != nil { - return m.OutputPoint +func (x *IncrementalMerkleVoucher) GetOutputPoint() *OutputPoint { + if x != nil { + return x.OutputPoint } return nil } type IncrementalMerkleVoucherInfo struct { - Vouchers []*IncrementalMerkleVoucher `protobuf:"bytes,1,rep,name=vouchers,proto3" json:"vouchers,omitempty"` - Paths [][]byte `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *IncrementalMerkleVoucherInfo) Reset() { *m = IncrementalMerkleVoucherInfo{} } -func (m *IncrementalMerkleVoucherInfo) String() string { return proto.CompactTextString(m) } -func (*IncrementalMerkleVoucherInfo) ProtoMessage() {} -func (*IncrementalMerkleVoucherInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_53ff2a20a8b4c1fd, []int{7} + Vouchers []*IncrementalMerkleVoucher `protobuf:"bytes,1,rep,name=vouchers,proto3" json:"vouchers,omitempty"` + Paths [][]byte `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"` } -func (m *IncrementalMerkleVoucherInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IncrementalMerkleVoucherInfo.Unmarshal(m, b) -} -func (m *IncrementalMerkleVoucherInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IncrementalMerkleVoucherInfo.Marshal(b, m, deterministic) -} -func (m *IncrementalMerkleVoucherInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_IncrementalMerkleVoucherInfo.Merge(m, src) +func (x *IncrementalMerkleVoucherInfo) Reset() { + *x = IncrementalMerkleVoucherInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_core_shield_contract_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IncrementalMerkleVoucherInfo) XXX_Size() int { - return xxx_messageInfo_IncrementalMerkleVoucherInfo.Size(m) + +func (x *IncrementalMerkleVoucherInfo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IncrementalMerkleVoucherInfo) XXX_DiscardUnknown() { - xxx_messageInfo_IncrementalMerkleVoucherInfo.DiscardUnknown(m) + +func (*IncrementalMerkleVoucherInfo) ProtoMessage() {} + +func (x *IncrementalMerkleVoucherInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_shield_contract_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_IncrementalMerkleVoucherInfo proto.InternalMessageInfo +// Deprecated: Use IncrementalMerkleVoucherInfo.ProtoReflect.Descriptor instead. +func (*IncrementalMerkleVoucherInfo) Descriptor() ([]byte, []int) { + return file_core_shield_contract_proto_rawDescGZIP(), []int{7} +} -func (m *IncrementalMerkleVoucherInfo) GetVouchers() []*IncrementalMerkleVoucher { - if m != nil { - return m.Vouchers +func (x *IncrementalMerkleVoucherInfo) GetVouchers() []*IncrementalMerkleVoucher { + if x != nil { + return x.Vouchers } return nil } -func (m *IncrementalMerkleVoucherInfo) GetPaths() [][]byte { - if m != nil { - return m.Paths +func (x *IncrementalMerkleVoucherInfo) GetPaths() [][]byte { + if x != nil { + return x.Paths } return nil } type SpendDescription struct { - ValueCommitment []byte `protobuf:"bytes,1,opt,name=value_commitment,json=valueCommitment,proto3" json:"value_commitment,omitempty"` - Anchor []byte `protobuf:"bytes,2,opt,name=anchor,proto3" json:"anchor,omitempty"` - Nullifier []byte `protobuf:"bytes,3,opt,name=nullifier,proto3" json:"nullifier,omitempty"` - Rk []byte `protobuf:"bytes,4,opt,name=rk,proto3" json:"rk,omitempty"` - Zkproof []byte `protobuf:"bytes,5,opt,name=zkproof,proto3" json:"zkproof,omitempty"` - SpendAuthoritySignature []byte `protobuf:"bytes,6,opt,name=spend_authority_signature,json=spendAuthoritySignature,proto3" json:"spend_authority_signature,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SpendDescription) Reset() { *m = SpendDescription{} } -func (m *SpendDescription) String() string { return proto.CompactTextString(m) } -func (*SpendDescription) ProtoMessage() {} -func (*SpendDescription) Descriptor() ([]byte, []int) { - return fileDescriptor_53ff2a20a8b4c1fd, []int{8} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ValueCommitment []byte `protobuf:"bytes,1,opt,name=value_commitment,json=valueCommitment,proto3" json:"value_commitment,omitempty"` + Anchor []byte `protobuf:"bytes,2,opt,name=anchor,proto3" json:"anchor,omitempty"` // merkle root + Nullifier []byte `protobuf:"bytes,3,opt,name=nullifier,proto3" json:"nullifier,omitempty"` // used for check double spend + Rk []byte `protobuf:"bytes,4,opt,name=rk,proto3" json:"rk,omitempty"` // used for check spend authority signature + Zkproof []byte `protobuf:"bytes,5,opt,name=zkproof,proto3" json:"zkproof,omitempty"` + SpendAuthoritySignature []byte `protobuf:"bytes,6,opt,name=spend_authority_signature,json=spendAuthoritySignature,proto3" json:"spend_authority_signature,omitempty"` +} + +func (x *SpendDescription) Reset() { + *x = SpendDescription{} + if protoimpl.UnsafeEnabled { + mi := &file_core_shield_contract_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SpendDescription) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SpendDescription.Unmarshal(m, b) -} -func (m *SpendDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SpendDescription.Marshal(b, m, deterministic) -} -func (m *SpendDescription) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpendDescription.Merge(m, src) +func (x *SpendDescription) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SpendDescription) XXX_Size() int { - return xxx_messageInfo_SpendDescription.Size(m) -} -func (m *SpendDescription) XXX_DiscardUnknown() { - xxx_messageInfo_SpendDescription.DiscardUnknown(m) + +func (*SpendDescription) ProtoMessage() {} + +func (x *SpendDescription) ProtoReflect() protoreflect.Message { + mi := &file_core_shield_contract_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SpendDescription proto.InternalMessageInfo +// Deprecated: Use SpendDescription.ProtoReflect.Descriptor instead. +func (*SpendDescription) Descriptor() ([]byte, []int) { + return file_core_shield_contract_proto_rawDescGZIP(), []int{8} +} -func (m *SpendDescription) GetValueCommitment() []byte { - if m != nil { - return m.ValueCommitment +func (x *SpendDescription) GetValueCommitment() []byte { + if x != nil { + return x.ValueCommitment } return nil } -func (m *SpendDescription) GetAnchor() []byte { - if m != nil { - return m.Anchor +func (x *SpendDescription) GetAnchor() []byte { + if x != nil { + return x.Anchor } return nil } -func (m *SpendDescription) GetNullifier() []byte { - if m != nil { - return m.Nullifier +func (x *SpendDescription) GetNullifier() []byte { + if x != nil { + return x.Nullifier } return nil } -func (m *SpendDescription) GetRk() []byte { - if m != nil { - return m.Rk +func (x *SpendDescription) GetRk() []byte { + if x != nil { + return x.Rk } return nil } -func (m *SpendDescription) GetZkproof() []byte { - if m != nil { - return m.Zkproof +func (x *SpendDescription) GetZkproof() []byte { + if x != nil { + return x.Zkproof } return nil } -func (m *SpendDescription) GetSpendAuthoritySignature() []byte { - if m != nil { - return m.SpendAuthoritySignature +func (x *SpendDescription) GetSpendAuthoritySignature() []byte { + if x != nil { + return x.SpendAuthoritySignature } return nil } type ReceiveDescription struct { - ValueCommitment []byte `protobuf:"bytes,1,opt,name=value_commitment,json=valueCommitment,proto3" json:"value_commitment,omitempty"` - NoteCommitment []byte `protobuf:"bytes,2,opt,name=note_commitment,json=noteCommitment,proto3" json:"note_commitment,omitempty"` - Epk []byte `protobuf:"bytes,3,opt,name=epk,proto3" json:"epk,omitempty"` - CEnc []byte `protobuf:"bytes,4,opt,name=c_enc,json=cEnc,proto3" json:"c_enc,omitempty"` - COut []byte `protobuf:"bytes,5,opt,name=c_out,json=cOut,proto3" json:"c_out,omitempty"` - Zkproof []byte `protobuf:"bytes,6,opt,name=zkproof,proto3" json:"zkproof,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ReceiveDescription) Reset() { *m = ReceiveDescription{} } -func (m *ReceiveDescription) String() string { return proto.CompactTextString(m) } -func (*ReceiveDescription) ProtoMessage() {} -func (*ReceiveDescription) Descriptor() ([]byte, []int) { - return fileDescriptor_53ff2a20a8b4c1fd, []int{9} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ValueCommitment []byte `protobuf:"bytes,1,opt,name=value_commitment,json=valueCommitment,proto3" json:"value_commitment,omitempty"` + NoteCommitment []byte `protobuf:"bytes,2,opt,name=note_commitment,json=noteCommitment,proto3" json:"note_commitment,omitempty"` + Epk []byte `protobuf:"bytes,3,opt,name=epk,proto3" json:"epk,omitempty"` // for Encryption + CEnc []byte `protobuf:"bytes,4,opt,name=c_enc,json=cEnc,proto3" json:"c_enc,omitempty"` // Encryption for incoming, decrypt it with ivk + COut []byte `protobuf:"bytes,5,opt,name=c_out,json=cOut,proto3" json:"c_out,omitempty"` // Encryption for audit, decrypt it with ovk + Zkproof []byte `protobuf:"bytes,6,opt,name=zkproof,proto3" json:"zkproof,omitempty"` +} + +func (x *ReceiveDescription) Reset() { + *x = ReceiveDescription{} + if protoimpl.UnsafeEnabled { + mi := &file_core_shield_contract_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ReceiveDescription) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReceiveDescription.Unmarshal(m, b) +func (x *ReceiveDescription) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ReceiveDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReceiveDescription.Marshal(b, m, deterministic) -} -func (m *ReceiveDescription) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReceiveDescription.Merge(m, src) -} -func (m *ReceiveDescription) XXX_Size() int { - return xxx_messageInfo_ReceiveDescription.Size(m) -} -func (m *ReceiveDescription) XXX_DiscardUnknown() { - xxx_messageInfo_ReceiveDescription.DiscardUnknown(m) + +func (*ReceiveDescription) ProtoMessage() {} + +func (x *ReceiveDescription) ProtoReflect() protoreflect.Message { + mi := &file_core_shield_contract_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ReceiveDescription proto.InternalMessageInfo +// Deprecated: Use ReceiveDescription.ProtoReflect.Descriptor instead. +func (*ReceiveDescription) Descriptor() ([]byte, []int) { + return file_core_shield_contract_proto_rawDescGZIP(), []int{9} +} -func (m *ReceiveDescription) GetValueCommitment() []byte { - if m != nil { - return m.ValueCommitment +func (x *ReceiveDescription) GetValueCommitment() []byte { + if x != nil { + return x.ValueCommitment } return nil } -func (m *ReceiveDescription) GetNoteCommitment() []byte { - if m != nil { - return m.NoteCommitment +func (x *ReceiveDescription) GetNoteCommitment() []byte { + if x != nil { + return x.NoteCommitment } return nil } -func (m *ReceiveDescription) GetEpk() []byte { - if m != nil { - return m.Epk +func (x *ReceiveDescription) GetEpk() []byte { + if x != nil { + return x.Epk } return nil } -func (m *ReceiveDescription) GetCEnc() []byte { - if m != nil { - return m.CEnc +func (x *ReceiveDescription) GetCEnc() []byte { + if x != nil { + return x.CEnc } return nil } -func (m *ReceiveDescription) GetCOut() []byte { - if m != nil { - return m.COut +func (x *ReceiveDescription) GetCOut() []byte { + if x != nil { + return x.COut } return nil } -func (m *ReceiveDescription) GetZkproof() []byte { - if m != nil { - return m.Zkproof +func (x *ReceiveDescription) GetZkproof() []byte { + if x != nil { + return x.Zkproof } return nil } type ShieldedTransferContract struct { - TransparentFromAddress []byte `protobuf:"bytes,1,opt,name=transparent_from_address,json=transparentFromAddress,proto3" json:"transparent_from_address,omitempty"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TransparentFromAddress []byte `protobuf:"bytes,1,opt,name=transparent_from_address,json=transparentFromAddress,proto3" json:"transparent_from_address,omitempty"` // transparent address FromAmount int64 `protobuf:"varint,2,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"` SpendDescription []*SpendDescription `protobuf:"bytes,3,rep,name=spend_description,json=spendDescription,proto3" json:"spend_description,omitempty"` ReceiveDescription []*ReceiveDescription `protobuf:"bytes,4,rep,name=receive_description,json=receiveDescription,proto3" json:"receive_description,omitempty"` BindingSignature []byte `protobuf:"bytes,5,opt,name=binding_signature,json=bindingSignature,proto3" json:"binding_signature,omitempty"` - TransparentToAddress []byte `protobuf:"bytes,6,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` - ToAmount int64 `protobuf:"varint,7,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TransparentToAddress []byte `protobuf:"bytes,6,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` // transparent address + ToAmount int64 `protobuf:"varint,7,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` // the amount to transparent to_address } -func (m *ShieldedTransferContract) Reset() { *m = ShieldedTransferContract{} } -func (m *ShieldedTransferContract) String() string { return proto.CompactTextString(m) } -func (*ShieldedTransferContract) ProtoMessage() {} -func (*ShieldedTransferContract) Descriptor() ([]byte, []int) { - return fileDescriptor_53ff2a20a8b4c1fd, []int{10} +func (x *ShieldedTransferContract) Reset() { + *x = ShieldedTransferContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_shield_contract_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ShieldedTransferContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ShieldedTransferContract.Unmarshal(m, b) -} -func (m *ShieldedTransferContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ShieldedTransferContract.Marshal(b, m, deterministic) +func (x *ShieldedTransferContract) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ShieldedTransferContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShieldedTransferContract.Merge(m, src) -} -func (m *ShieldedTransferContract) XXX_Size() int { - return xxx_messageInfo_ShieldedTransferContract.Size(m) -} -func (m *ShieldedTransferContract) XXX_DiscardUnknown() { - xxx_messageInfo_ShieldedTransferContract.DiscardUnknown(m) + +func (*ShieldedTransferContract) ProtoMessage() {} + +func (x *ShieldedTransferContract) ProtoReflect() protoreflect.Message { + mi := &file_core_shield_contract_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ShieldedTransferContract proto.InternalMessageInfo +// Deprecated: Use ShieldedTransferContract.ProtoReflect.Descriptor instead. +func (*ShieldedTransferContract) Descriptor() ([]byte, []int) { + return file_core_shield_contract_proto_rawDescGZIP(), []int{10} +} -func (m *ShieldedTransferContract) GetTransparentFromAddress() []byte { - if m != nil { - return m.TransparentFromAddress +func (x *ShieldedTransferContract) GetTransparentFromAddress() []byte { + if x != nil { + return x.TransparentFromAddress } return nil } -func (m *ShieldedTransferContract) GetFromAmount() int64 { - if m != nil { - return m.FromAmount +func (x *ShieldedTransferContract) GetFromAmount() int64 { + if x != nil { + return x.FromAmount } return 0 } -func (m *ShieldedTransferContract) GetSpendDescription() []*SpendDescription { - if m != nil { - return m.SpendDescription +func (x *ShieldedTransferContract) GetSpendDescription() []*SpendDescription { + if x != nil { + return x.SpendDescription } return nil } -func (m *ShieldedTransferContract) GetReceiveDescription() []*ReceiveDescription { - if m != nil { - return m.ReceiveDescription +func (x *ShieldedTransferContract) GetReceiveDescription() []*ReceiveDescription { + if x != nil { + return x.ReceiveDescription } return nil } -func (m *ShieldedTransferContract) GetBindingSignature() []byte { - if m != nil { - return m.BindingSignature +func (x *ShieldedTransferContract) GetBindingSignature() []byte { + if x != nil { + return x.BindingSignature } return nil } -func (m *ShieldedTransferContract) GetTransparentToAddress() []byte { - if m != nil { - return m.TransparentToAddress +func (x *ShieldedTransferContract) GetTransparentToAddress() []byte { + if x != nil { + return x.TransparentToAddress } return nil } -func (m *ShieldedTransferContract) GetToAmount() int64 { - if m != nil { - return m.ToAmount +func (x *ShieldedTransferContract) GetToAmount() int64 { + if x != nil { + return x.ToAmount } return 0 } -func init() { - proto.RegisterType((*AuthenticationPath)(nil), "protocol.AuthenticationPath") - proto.RegisterType((*MerklePath)(nil), "protocol.MerklePath") - proto.RegisterType((*OutputPoint)(nil), "protocol.OutputPoint") - proto.RegisterType((*OutputPointInfo)(nil), "protocol.OutputPointInfo") - proto.RegisterType((*PedersenHash)(nil), "protocol.PedersenHash") - proto.RegisterType((*IncrementalMerkleTree)(nil), "protocol.IncrementalMerkleTree") - proto.RegisterType((*IncrementalMerkleVoucher)(nil), "protocol.IncrementalMerkleVoucher") - proto.RegisterType((*IncrementalMerkleVoucherInfo)(nil), "protocol.IncrementalMerkleVoucherInfo") - proto.RegisterType((*SpendDescription)(nil), "protocol.SpendDescription") - proto.RegisterType((*ReceiveDescription)(nil), "protocol.ReceiveDescription") - proto.RegisterType((*ShieldedTransferContract)(nil), "protocol.ShieldedTransferContract") -} - -func init() { - proto.RegisterFile("core/contract/shield_contract.proto", fileDescriptor_53ff2a20a8b4c1fd) -} - -var fileDescriptor_53ff2a20a8b4c1fd = []byte{ - // 851 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0xdd, 0x6e, 0x1b, 0x45, - 0x14, 0xd6, 0xc6, 0x3f, 0x71, 0x8e, 0xad, 0xc6, 0x9d, 0xa4, 0x61, 0xa1, 0x91, 0x9a, 0x2e, 0x17, - 0x98, 0x82, 0x6c, 0xd4, 0x56, 0x6a, 0x85, 0x04, 0x52, 0x68, 0xf9, 0xe9, 0x45, 0x48, 0xb4, 0x89, - 0xb8, 0xe0, 0x66, 0xb5, 0x9e, 0x3d, 0xf6, 0x8e, 0xbc, 0x3b, 0xb3, 0x9a, 0x99, 0x8d, 0x80, 0x5b, - 0xae, 0x79, 0x0a, 0xc4, 0x6b, 0xf0, 0x1e, 0xbc, 0x0d, 0x9a, 0x9f, 0x8d, 0xd7, 0x31, 0x46, 0x88, - 0x2b, 0xcf, 0x39, 0xf3, 0xcd, 0x9c, 0xf3, 0x7d, 0xf3, 0x9d, 0x35, 0x7c, 0x48, 0x85, 0xc4, 0x19, - 0x15, 0x5c, 0xcb, 0x94, 0xea, 0x99, 0xca, 0x19, 0x16, 0x59, 0xd2, 0xc4, 0xd3, 0x4a, 0x0a, 0x2d, - 0xc8, 0xc0, 0xfe, 0x50, 0x51, 0x44, 0xcf, 0x80, 0x9c, 0xd7, 0x3a, 0x47, 0xae, 0x19, 0x4d, 0x35, - 0x13, 0xfc, 0x2a, 0xd5, 0x39, 0x39, 0x86, 0xde, 0x6d, 0x5a, 0xd4, 0x18, 0x06, 0x67, 0x9d, 0xc9, - 0x20, 0x76, 0x41, 0xf4, 0x6b, 0x00, 0x70, 0x81, 0x72, 0x55, 0xa0, 0x05, 0x5d, 0xc2, 0x71, 0xba, - 0x71, 0x34, 0xa9, 0x52, 0x9d, 0x2b, 0x7b, 0x66, 0xf8, 0xfc, 0x74, 0xda, 0xd4, 0x98, 0x6e, 0x17, - 0x88, 0x8f, 0xd2, 0xad, 0x9c, 0x32, 0x55, 0x19, 0xcf, 0xf0, 0xa7, 0x70, 0xcf, 0x55, 0xb5, 0x01, - 0x79, 0x00, 0x7b, 0x52, 0x87, 0x9d, 0xb3, 0x60, 0x32, 0x8a, 0xf7, 0xa4, 0x8e, 0x5e, 0xc1, 0xf0, - 0xb2, 0xd6, 0x55, 0xad, 0xaf, 0x04, 0xe3, 0x9a, 0x10, 0xe8, 0xe6, 0xa9, 0xca, 0xc3, 0xc0, 0x02, - 0xec, 0xba, 0x7d, 0x51, 0x30, 0xe9, 0xf9, 0x8b, 0xa2, 0x0c, 0x0e, 0x5b, 0x07, 0xdf, 0xf1, 0x85, - 0x20, 0x2f, 0x01, 0x44, 0xad, 0x93, 0xca, 0x24, 0x9a, 0xc6, 0x1f, 0xad, 0x1b, 0x6f, 0xc1, 0xe3, - 0x03, 0xe1, 0x57, 0x8a, 0x3c, 0x86, 0x83, 0x79, 0x21, 0xe8, 0x2a, 0xe1, 0x75, 0xe9, 0x4b, 0x0c, - 0x6c, 0xe2, 0xfb, 0xba, 0x8c, 0x26, 0x30, 0xba, 0xc2, 0x0c, 0xa5, 0x42, 0xfe, 0x9d, 0xe9, 0x25, - 0x84, 0x7d, 0x23, 0x3e, 0x72, 0xed, 0x5b, 0x6c, 0xc2, 0xe8, 0xf7, 0x00, 0x1e, 0xbd, 0xe3, 0x54, - 0x62, 0x89, 0x5c, 0xa7, 0x85, 0x53, 0xf6, 0x46, 0x22, 0x92, 0x67, 0xd0, 0x2d, 0x70, 0xe1, 0x0e, - 0x0c, 0x9f, 0x9f, 0xac, 0x1b, 0x6a, 0xdf, 0x1c, 0x5b, 0x0c, 0xf9, 0x14, 0x7a, 0x92, 0x2d, 0x73, - 0x6d, 0x1b, 0xd9, 0x0d, 0x76, 0x20, 0xf2, 0x19, 0xec, 0x57, 0xa9, 0x44, 0xc3, 0xb6, 0x63, 0xd9, - 0xee, 0xc2, 0x37, 0xb0, 0xe8, 0x8f, 0x3d, 0x08, 0xb7, 0xba, 0xfc, 0x41, 0xd4, 0x34, 0x47, 0x49, - 0x5e, 0x40, 0x57, 0x4b, 0x44, 0xdf, 0xe8, 0x93, 0xf5, 0x5d, 0xff, 0xc8, 0x2b, 0xb6, 0x60, 0x32, - 0x85, 0xfe, 0x82, 0x15, 0x05, 0x66, 0xf6, 0x9d, 0x77, 0xb7, 0xe0, 0x51, 0xe4, 0x15, 0xf4, 0x69, - 0x2d, 0x95, 0x90, 0xd6, 0x04, 0xff, 0xa1, 0x8c, 0x87, 0x93, 0xa7, 0x30, 0x72, 0xab, 0x24, 0xc3, - 0x4a, 0xe7, 0x61, 0xf7, 0x2c, 0x98, 0x74, 0xe2, 0xa1, 0xcb, 0xbd, 0x35, 0x29, 0x6f, 0xae, 0x5e, - 0x63, 0x2e, 0xf2, 0x1a, 0x46, 0xc2, 0x3e, 0xba, 0xf3, 0x44, 0x08, 0xb6, 0xe2, 0x0e, 0x4b, 0x0c, - 0xc5, 0x3a, 0x88, 0x34, 0x9c, 0xee, 0x92, 0xc9, 0x5a, 0xed, 0x4b, 0x18, 0xdc, 0xba, 0xb0, 0x31, - 0x5a, 0xf4, 0x2f, 0x3c, 0xfc, 0xc9, 0xf8, 0xee, 0x8c, 0xf1, 0xb4, 0x1b, 0x2f, 0x23, 0xda, 0x28, - 0x76, 0x41, 0xf4, 0x57, 0x00, 0xe3, 0xeb, 0x0a, 0x79, 0xf6, 0x16, 0x15, 0x95, 0xac, 0x32, 0xc3, - 0x44, 0x3e, 0x86, 0xb1, 0x1d, 0xd8, 0x84, 0x8a, 0xb2, 0x64, 0xba, 0x5c, 0x7b, 0xef, 0xd0, 0xe6, - 0xdf, 0xdc, 0xa5, 0xc9, 0x09, 0xf4, 0x53, 0x4e, 0x73, 0x21, 0xad, 0x7d, 0x46, 0xb1, 0x8f, 0xc8, - 0x29, 0x1c, 0xf0, 0xba, 0x28, 0xd8, 0x82, 0xa1, 0xf4, 0xb3, 0xb7, 0x4e, 0x58, 0xd5, 0x56, 0x56, - 0x4e, 0xa3, 0xda, 0xca, 0x78, 0xfc, 0x97, 0x55, 0x25, 0x85, 0x58, 0x78, 0x29, 0x9b, 0x90, 0x7c, - 0x0e, 0xef, 0x2b, 0xd3, 0x5e, 0x62, 0xe6, 0x5d, 0x48, 0xa6, 0x7f, 0x4e, 0x14, 0x5b, 0xf2, 0x54, - 0xd7, 0x12, 0xc3, 0xbe, 0xc5, 0xbe, 0x67, 0x01, 0xe7, 0xcd, 0xfe, 0x75, 0xb3, 0x1d, 0xfd, 0x19, - 0x00, 0x89, 0x91, 0x22, 0xbb, 0xc5, 0xff, 0xc9, 0xee, 0x23, 0x38, 0xe4, 0x42, 0x6f, 0x20, 0x1d, - 0xcd, 0x07, 0x26, 0xdd, 0x02, 0x8e, 0xa1, 0x83, 0xd5, 0xca, 0x13, 0x35, 0x4b, 0x72, 0x04, 0x3d, - 0x9a, 0x20, 0xa7, 0x9e, 0x65, 0x97, 0x7e, 0xcd, 0xa9, 0x4b, 0x8a, 0xba, 0x31, 0x4c, 0x97, 0x5e, - 0xd6, 0xba, 0x4d, 0xbe, 0xbf, 0x41, 0x3e, 0xfa, 0xad, 0x03, 0xe1, 0xb5, 0xfd, 0xfe, 0x62, 0x76, - 0x23, 0x53, 0xae, 0x16, 0x28, 0xdf, 0xf8, 0x0f, 0x31, 0x79, 0x0d, 0xa1, 0x36, 0x39, 0x37, 0x67, - 0xc9, 0x42, 0x8a, 0x32, 0x49, 0xb3, 0x4c, 0xa2, 0x52, 0x9e, 0xce, 0x49, 0x6b, 0xff, 0x1b, 0x29, - 0xca, 0x73, 0xb7, 0x4b, 0x9e, 0xc0, 0xd0, 0xa1, 0x4b, 0x51, 0x7b, 0x46, 0x9d, 0x18, 0x4c, 0xea, - 0xdc, 0x66, 0xc8, 0xb7, 0xf0, 0xd0, 0x89, 0x9e, 0xad, 0x65, 0xf3, 0xe3, 0xfe, 0xc1, 0xda, 0x73, - 0xf7, 0x6d, 0x13, 0x8f, 0xd5, 0x7d, 0x23, 0x5d, 0xc0, 0x91, 0x74, 0x0f, 0xb0, 0x71, 0x55, 0xf7, - 0xfe, 0x07, 0x7e, 0xfb, 0x95, 0x62, 0x22, 0xb7, 0x5f, 0xee, 0x13, 0x78, 0x38, 0x67, 0x3c, 0x63, - 0x7c, 0xd9, 0x32, 0x81, 0x93, 0x72, 0xec, 0x37, 0xee, 0x5e, 0x9f, 0xbc, 0x84, 0x36, 0xff, 0x44, - 0x8b, 0x3b, 0x75, 0x9c, 0xca, 0xc7, 0xad, 0xdd, 0x1b, 0xd1, 0x68, 0xf3, 0x18, 0x0e, 0x0c, 0xd2, - 0x29, 0xb3, 0x6f, 0x95, 0x19, 0x68, 0xe1, 0x74, 0xf9, 0xea, 0x0b, 0x08, 0x85, 0x5c, 0x4e, 0xb5, - 0x14, 0xdc, 0xf5, 0xae, 0xa6, 0xcd, 0xff, 0xe2, 0x8f, 0x4f, 0x97, 0x4c, 0xe7, 0xf5, 0x7c, 0x4a, - 0x45, 0x39, 0x5b, 0xcc, 0x95, 0x98, 0x4b, 0x64, 0x32, 0x9d, 0x2d, 0x85, 0x41, 0xcf, 0xcc, 0x7f, - 0xea, 0xbc, 0x6f, 0xcf, 0xbc, 0xf8, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xf6, 0x99, 0x31, 0x54, 0x62, - 0x07, 0x00, 0x00, +var File_core_shield_contract_proto protoreflect.FileDescriptor + +var file_core_shield_contract_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0x2a, 0x0a, 0x12, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, + 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x22, 0x83, 0x01, 0x0a, 0x0a, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x50, 0x61, 0x74, + 0x68, 0x12, 0x4f, 0x0a, 0x14, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x65, + 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, 0x52, 0x13, 0x61, + 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, + 0x68, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x08, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x0e, 0x0a, 0x02, 0x72, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x72, 0x74, 0x22, 0x37, 0x0a, 0x0b, 0x4f, 0x75, 0x74, 0x70, + 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x22, 0x64, 0x0a, 0x0f, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x34, 0x0a, 0x0a, 0x6f, 0x75, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, + 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, + 0x09, 0x6f, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x22, 0x28, 0x0a, 0x0c, 0x50, 0x65, 0x64, 0x65, 0x72, + 0x73, 0x65, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, + 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, + 0x74, 0x22, 0xa3, 0x01, 0x0a, 0x15, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, + 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, 0x65, 0x65, 0x12, 0x2a, 0x0a, 0x04, 0x6c, + 0x65, 0x66, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x64, 0x65, 0x72, 0x73, 0x65, 0x6e, 0x48, 0x61, 0x73, + 0x68, 0x52, 0x04, 0x6c, 0x65, 0x66, 0x74, 0x12, 0x2c, 0x0a, 0x05, 0x72, 0x69, 0x67, 0x68, 0x74, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x50, 0x65, 0x64, 0x65, 0x72, 0x73, 0x65, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x05, + 0x72, 0x69, 0x67, 0x68, 0x74, 0x12, 0x30, 0x0a, 0x07, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x73, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x50, 0x65, 0x64, 0x65, 0x72, 0x73, 0x65, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x07, + 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xa5, 0x02, 0x0a, 0x18, 0x49, 0x6e, 0x63, 0x72, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, + 0x63, 0x68, 0x65, 0x72, 0x12, 0x33, 0x0a, 0x04, 0x74, 0x72, 0x65, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, + 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, + 0x72, 0x65, 0x65, 0x52, 0x04, 0x74, 0x72, 0x65, 0x65, 0x12, 0x2e, 0x0a, 0x06, 0x66, 0x69, 0x6c, + 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x64, 0x65, 0x72, 0x73, 0x65, 0x6e, 0x48, 0x61, 0x73, + 0x68, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x12, 0x37, 0x0a, 0x06, 0x63, 0x75, 0x72, + 0x73, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, + 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, 0x65, 0x65, 0x52, 0x06, 0x63, 0x75, 0x72, 0x73, + 0x6f, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x5f, 0x64, 0x65, 0x70, + 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, + 0x44, 0x65, 0x70, 0x74, 0x68, 0x12, 0x0e, 0x0a, 0x02, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x02, 0x72, 0x74, 0x12, 0x38, 0x0a, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, + 0x6e, 0x74, 0x52, 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x22, + 0x74, 0x0a, 0x1c, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, + 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x3e, 0x0a, 0x08, 0x76, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, + 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, + 0x75, 0x63, 0x68, 0x65, 0x72, 0x52, 0x08, 0x76, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x73, 0x12, + 0x14, 0x0a, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x05, + 0x70, 0x61, 0x74, 0x68, 0x73, 0x22, 0xd9, 0x01, 0x0a, 0x10, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x44, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x12, 0x1c, 0x0a, + 0x09, 0x6e, 0x75, 0x6c, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x09, 0x6e, 0x75, 0x6c, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x72, + 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x72, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x7a, + 0x6b, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x7a, 0x6b, + 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x3a, 0x0a, 0x19, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x61, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, + 0x72, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x17, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x41, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, + 0x65, 0x22, 0xbe, 0x01, 0x0a, 0x12, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x44, 0x65, 0x73, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x0f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, + 0x65, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6e, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x6e, 0x6f, + 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, + 0x65, 0x70, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x65, 0x70, 0x6b, 0x12, 0x13, + 0x0a, 0x05, 0x63, 0x5f, 0x65, 0x6e, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x63, + 0x45, 0x6e, 0x63, 0x12, 0x13, 0x0a, 0x05, 0x63, 0x5f, 0x6f, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x04, 0x63, 0x4f, 0x75, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x7a, 0x6b, 0x70, 0x72, + 0x6f, 0x6f, 0x66, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x7a, 0x6b, 0x70, 0x72, 0x6f, + 0x6f, 0x66, 0x22, 0x8d, 0x03, 0x0a, 0x18, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, + 0x38, 0x0a, 0x18, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x66, + 0x72, 0x6f, 0x6d, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x16, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x72, + 0x6f, 0x6d, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, + 0x6d, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, + 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x11, 0x73, 0x70, + 0x65, 0x6e, 0x64, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x10, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x4d, 0x0a, 0x13, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x64, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x63, 0x65, + 0x69, 0x76, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, + 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x11, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x69, + 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x62, + 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, + 0x34, 0x0a, 0x16, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, + 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x61, 0x6d, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, + 0x6e, 0x74, 0x42, 0x4b, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x2f, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, + 0x72, 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, + 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_core_shield_contract_proto_rawDescOnce sync.Once + file_core_shield_contract_proto_rawDescData = file_core_shield_contract_proto_rawDesc +) + +func file_core_shield_contract_proto_rawDescGZIP() []byte { + file_core_shield_contract_proto_rawDescOnce.Do(func() { + file_core_shield_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_shield_contract_proto_rawDescData) + }) + return file_core_shield_contract_proto_rawDescData +} + +var file_core_shield_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 11) +var file_core_shield_contract_proto_goTypes = []interface{}{ + (*AuthenticationPath)(nil), // 0: protocol.AuthenticationPath + (*MerklePath)(nil), // 1: protocol.MerklePath + (*OutputPoint)(nil), // 2: protocol.OutputPoint + (*OutputPointInfo)(nil), // 3: protocol.OutputPointInfo + (*PedersenHash)(nil), // 4: protocol.PedersenHash + (*IncrementalMerkleTree)(nil), // 5: protocol.IncrementalMerkleTree + (*IncrementalMerkleVoucher)(nil), // 6: protocol.IncrementalMerkleVoucher + (*IncrementalMerkleVoucherInfo)(nil), // 7: protocol.IncrementalMerkleVoucherInfo + (*SpendDescription)(nil), // 8: protocol.SpendDescription + (*ReceiveDescription)(nil), // 9: protocol.ReceiveDescription + (*ShieldedTransferContract)(nil), // 10: protocol.ShieldedTransferContract +} +var file_core_shield_contract_proto_depIdxs = []int32{ + 0, // 0: protocol.MerklePath.authentication_paths:type_name -> protocol.AuthenticationPath + 2, // 1: protocol.OutputPointInfo.out_points:type_name -> protocol.OutputPoint + 4, // 2: protocol.IncrementalMerkleTree.left:type_name -> protocol.PedersenHash + 4, // 3: protocol.IncrementalMerkleTree.right:type_name -> protocol.PedersenHash + 4, // 4: protocol.IncrementalMerkleTree.parents:type_name -> protocol.PedersenHash + 5, // 5: protocol.IncrementalMerkleVoucher.tree:type_name -> protocol.IncrementalMerkleTree + 4, // 6: protocol.IncrementalMerkleVoucher.filled:type_name -> protocol.PedersenHash + 5, // 7: protocol.IncrementalMerkleVoucher.cursor:type_name -> protocol.IncrementalMerkleTree + 2, // 8: protocol.IncrementalMerkleVoucher.output_point:type_name -> protocol.OutputPoint + 6, // 9: protocol.IncrementalMerkleVoucherInfo.vouchers:type_name -> protocol.IncrementalMerkleVoucher + 8, // 10: protocol.ShieldedTransferContract.spend_description:type_name -> protocol.SpendDescription + 9, // 11: protocol.ShieldedTransferContract.receive_description:type_name -> protocol.ReceiveDescription + 12, // [12:12] is the sub-list for method output_type + 12, // [12:12] is the sub-list for method input_type + 12, // [12:12] is the sub-list for extension type_name + 12, // [12:12] is the sub-list for extension extendee + 0, // [0:12] is the sub-list for field type_name +} + +func init() { file_core_shield_contract_proto_init() } +func file_core_shield_contract_proto_init() { + if File_core_shield_contract_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_core_shield_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AuthenticationPath); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_shield_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MerklePath); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_shield_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OutputPoint); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_shield_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OutputPointInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_shield_contract_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PedersenHash); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_shield_contract_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IncrementalMerkleTree); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_shield_contract_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IncrementalMerkleVoucher); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_shield_contract_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IncrementalMerkleVoucherInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_shield_contract_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SpendDescription); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_shield_contract_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReceiveDescription); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_shield_contract_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShieldedTransferContract); 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_core_shield_contract_proto_rawDesc, + NumEnums: 0, + NumMessages: 11, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_core_shield_contract_proto_goTypes, + DependencyIndexes: file_core_shield_contract_proto_depIdxs, + MessageInfos: file_core_shield_contract_proto_msgTypes, + }.Build() + File_core_shield_contract_proto = out.File + file_core_shield_contract_proto_rawDesc = nil + file_core_shield_contract_proto_goTypes = nil + file_core_shield_contract_proto_depIdxs = nil } diff --git a/pkg/proto/core/smart_contract.pb.go b/pkg/proto/core/smart_contract.pb.go index d11672e79..3311c2ff5 100644 --- a/pkg/proto/core/smart_contract.pb.go +++ b/pkg/proto/core/smart_contract.pb.go @@ -1,24 +1,24 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// source: core/contract/smart_contract.proto +// versions: +// protoc-gen-go v1.28.0 +// protoc v3.21.12 +// source: core/smart_contract.proto package core import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 SmartContract_ABI_Entry_EntryType int32 @@ -28,30 +28,57 @@ const ( SmartContract_ABI_Entry_Function SmartContract_ABI_Entry_EntryType = 2 SmartContract_ABI_Entry_Event SmartContract_ABI_Entry_EntryType = 3 SmartContract_ABI_Entry_Fallback SmartContract_ABI_Entry_EntryType = 4 + SmartContract_ABI_Entry_Receive SmartContract_ABI_Entry_EntryType = 5 + SmartContract_ABI_Entry_Error SmartContract_ABI_Entry_EntryType = 6 ) -var SmartContract_ABI_Entry_EntryType_name = map[int32]string{ - 0: "UnknownEntryType", - 1: "Constructor", - 2: "Function", - 3: "Event", - 4: "Fallback", -} +// Enum value maps for SmartContract_ABI_Entry_EntryType. +var ( + SmartContract_ABI_Entry_EntryType_name = map[int32]string{ + 0: "UnknownEntryType", + 1: "Constructor", + 2: "Function", + 3: "Event", + 4: "Fallback", + 5: "Receive", + 6: "Error", + } + SmartContract_ABI_Entry_EntryType_value = map[string]int32{ + "UnknownEntryType": 0, + "Constructor": 1, + "Function": 2, + "Event": 3, + "Fallback": 4, + "Receive": 5, + "Error": 6, + } +) -var SmartContract_ABI_Entry_EntryType_value = map[string]int32{ - "UnknownEntryType": 0, - "Constructor": 1, - "Function": 2, - "Event": 3, - "Fallback": 4, +func (x SmartContract_ABI_Entry_EntryType) Enum() *SmartContract_ABI_Entry_EntryType { + p := new(SmartContract_ABI_Entry_EntryType) + *p = x + return p } func (x SmartContract_ABI_Entry_EntryType) String() string { - return proto.EnumName(SmartContract_ABI_Entry_EntryType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (SmartContract_ABI_Entry_EntryType) Descriptor() protoreflect.EnumDescriptor { + return file_core_smart_contract_proto_enumTypes[0].Descriptor() +} + +func (SmartContract_ABI_Entry_EntryType) Type() protoreflect.EnumType { + return &file_core_smart_contract_proto_enumTypes[0] +} + +func (x SmartContract_ABI_Entry_EntryType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use SmartContract_ABI_Entry_EntryType.Descriptor instead. func (SmartContract_ABI_Entry_EntryType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_494f94e10ba63181, []int{0, 0, 0, 0} + return file_core_smart_contract_proto_rawDescGZIP(), []int{0, 0, 0, 0} } type SmartContract_ABI_Entry_StateMutabilityType int32 @@ -64,31 +91,56 @@ const ( SmartContract_ABI_Entry_Payable SmartContract_ABI_Entry_StateMutabilityType = 4 ) -var SmartContract_ABI_Entry_StateMutabilityType_name = map[int32]string{ - 0: "UnknownMutabilityType", - 1: "Pure", - 2: "View", - 3: "Nonpayable", - 4: "Payable", -} +// Enum value maps for SmartContract_ABI_Entry_StateMutabilityType. +var ( + SmartContract_ABI_Entry_StateMutabilityType_name = map[int32]string{ + 0: "UnknownMutabilityType", + 1: "Pure", + 2: "View", + 3: "Nonpayable", + 4: "Payable", + } + SmartContract_ABI_Entry_StateMutabilityType_value = map[string]int32{ + "UnknownMutabilityType": 0, + "Pure": 1, + "View": 2, + "Nonpayable": 3, + "Payable": 4, + } +) -var SmartContract_ABI_Entry_StateMutabilityType_value = map[string]int32{ - "UnknownMutabilityType": 0, - "Pure": 1, - "View": 2, - "Nonpayable": 3, - "Payable": 4, +func (x SmartContract_ABI_Entry_StateMutabilityType) Enum() *SmartContract_ABI_Entry_StateMutabilityType { + p := new(SmartContract_ABI_Entry_StateMutabilityType) + *p = x + return p } func (x SmartContract_ABI_Entry_StateMutabilityType) String() string { - return proto.EnumName(SmartContract_ABI_Entry_StateMutabilityType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (SmartContract_ABI_Entry_StateMutabilityType) Descriptor() protoreflect.EnumDescriptor { + return file_core_smart_contract_proto_enumTypes[1].Descriptor() +} + +func (SmartContract_ABI_Entry_StateMutabilityType) Type() protoreflect.EnumType { + return &file_core_smart_contract_proto_enumTypes[1] } +func (x SmartContract_ABI_Entry_StateMutabilityType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use SmartContract_ABI_Entry_StateMutabilityType.Descriptor instead. func (SmartContract_ABI_Entry_StateMutabilityType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_494f94e10ba63181, []int{0, 0, 0, 1} + return file_core_smart_contract_proto_rawDescGZIP(), []int{0, 0, 0, 1} } type SmartContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + OriginAddress []byte `protobuf:"bytes,1,opt,name=origin_address,json=originAddress,proto3" json:"origin_address,omitempty"` ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` Abi *SmartContract_ABI `protobuf:"bytes,3,opt,name=abi,proto3" json:"abi,omitempty"` @@ -99,663 +151,1160 @@ type SmartContract struct { OriginEnergyLimit int64 `protobuf:"varint,8,opt,name=origin_energy_limit,json=originEnergyLimit,proto3" json:"origin_energy_limit,omitempty"` CodeHash []byte `protobuf:"bytes,9,opt,name=code_hash,json=codeHash,proto3" json:"code_hash,omitempty"` TrxHash []byte `protobuf:"bytes,10,opt,name=trx_hash,json=trxHash,proto3" json:"trx_hash,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Version int32 `protobuf:"varint,11,opt,name=version,proto3" json:"version,omitempty"` } -func (m *SmartContract) Reset() { *m = SmartContract{} } -func (m *SmartContract) String() string { return proto.CompactTextString(m) } -func (*SmartContract) ProtoMessage() {} -func (*SmartContract) Descriptor() ([]byte, []int) { - return fileDescriptor_494f94e10ba63181, []int{0} +func (x *SmartContract) Reset() { + *x = SmartContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_smart_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SmartContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SmartContract.Unmarshal(m, b) -} -func (m *SmartContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SmartContract.Marshal(b, m, deterministic) +func (x *SmartContract) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SmartContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_SmartContract.Merge(m, src) -} -func (m *SmartContract) XXX_Size() int { - return xxx_messageInfo_SmartContract.Size(m) -} -func (m *SmartContract) XXX_DiscardUnknown() { - xxx_messageInfo_SmartContract.DiscardUnknown(m) + +func (*SmartContract) ProtoMessage() {} + +func (x *SmartContract) ProtoReflect() protoreflect.Message { + mi := &file_core_smart_contract_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SmartContract proto.InternalMessageInfo +// Deprecated: Use SmartContract.ProtoReflect.Descriptor instead. +func (*SmartContract) Descriptor() ([]byte, []int) { + return file_core_smart_contract_proto_rawDescGZIP(), []int{0} +} -func (m *SmartContract) GetOriginAddress() []byte { - if m != nil { - return m.OriginAddress +func (x *SmartContract) GetOriginAddress() []byte { + if x != nil { + return x.OriginAddress } return nil } -func (m *SmartContract) GetContractAddress() []byte { - if m != nil { - return m.ContractAddress +func (x *SmartContract) GetContractAddress() []byte { + if x != nil { + return x.ContractAddress } return nil } -func (m *SmartContract) GetAbi() *SmartContract_ABI { - if m != nil { - return m.Abi +func (x *SmartContract) GetAbi() *SmartContract_ABI { + if x != nil { + return x.Abi } return nil } -func (m *SmartContract) GetBytecode() []byte { - if m != nil { - return m.Bytecode +func (x *SmartContract) GetBytecode() []byte { + if x != nil { + return x.Bytecode } return nil } -func (m *SmartContract) GetCallValue() int64 { - if m != nil { - return m.CallValue +func (x *SmartContract) GetCallValue() int64 { + if x != nil { + return x.CallValue } return 0 } -func (m *SmartContract) GetConsumeUserResourcePercent() int64 { - if m != nil { - return m.ConsumeUserResourcePercent +func (x *SmartContract) GetConsumeUserResourcePercent() int64 { + if x != nil { + return x.ConsumeUserResourcePercent } return 0 } -func (m *SmartContract) GetName() string { - if m != nil { - return m.Name +func (x *SmartContract) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *SmartContract) GetOriginEnergyLimit() int64 { - if m != nil { - return m.OriginEnergyLimit +func (x *SmartContract) GetOriginEnergyLimit() int64 { + if x != nil { + return x.OriginEnergyLimit } return 0 } -func (m *SmartContract) GetCodeHash() []byte { - if m != nil { - return m.CodeHash +func (x *SmartContract) GetCodeHash() []byte { + if x != nil { + return x.CodeHash } return nil } -func (m *SmartContract) GetTrxHash() []byte { - if m != nil { - return m.TrxHash +func (x *SmartContract) GetTrxHash() []byte { + if x != nil { + return x.TrxHash } return nil } -type SmartContract_ABI struct { - Entrys []*SmartContract_ABI_Entry `protobuf:"bytes,1,rep,name=entrys,proto3" json:"entrys,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *SmartContract) GetVersion() int32 { + if x != nil { + return x.Version + } + return 0 } -func (m *SmartContract_ABI) Reset() { *m = SmartContract_ABI{} } -func (m *SmartContract_ABI) String() string { return proto.CompactTextString(m) } -func (*SmartContract_ABI) ProtoMessage() {} -func (*SmartContract_ABI) Descriptor() ([]byte, []int) { - return fileDescriptor_494f94e10ba63181, []int{0, 0} -} +type ContractState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *SmartContract_ABI) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SmartContract_ABI.Unmarshal(m, b) -} -func (m *SmartContract_ABI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SmartContract_ABI.Marshal(b, m, deterministic) + EnergyUsage int64 `protobuf:"varint,1,opt,name=energy_usage,json=energyUsage,proto3" json:"energy_usage,omitempty"` + EnergyFactor int64 `protobuf:"varint,2,opt,name=energy_factor,json=energyFactor,proto3" json:"energy_factor,omitempty"` + UpdateCycle int64 `protobuf:"varint,3,opt,name=update_cycle,json=updateCycle,proto3" json:"update_cycle,omitempty"` } -func (m *SmartContract_ABI) XXX_Merge(src proto.Message) { - xxx_messageInfo_SmartContract_ABI.Merge(m, src) -} -func (m *SmartContract_ABI) XXX_Size() int { - return xxx_messageInfo_SmartContract_ABI.Size(m) + +func (x *ContractState) Reset() { + *x = ContractState{} + if protoimpl.UnsafeEnabled { + mi := &file_core_smart_contract_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SmartContract_ABI) XXX_DiscardUnknown() { - xxx_messageInfo_SmartContract_ABI.DiscardUnknown(m) + +func (x *ContractState) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_SmartContract_ABI proto.InternalMessageInfo +func (*ContractState) ProtoMessage() {} -func (m *SmartContract_ABI) GetEntrys() []*SmartContract_ABI_Entry { - if m != nil { - return m.Entrys +func (x *ContractState) ProtoReflect() protoreflect.Message { + mi := &file_core_smart_contract_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -type SmartContract_ABI_Entry struct { - Anonymous bool `protobuf:"varint,1,opt,name=anonymous,proto3" json:"anonymous,omitempty"` - Constant bool `protobuf:"varint,2,opt,name=constant,proto3" json:"constant,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Inputs []*SmartContract_ABI_Entry_Param `protobuf:"bytes,4,rep,name=inputs,proto3" json:"inputs,omitempty"` - Outputs []*SmartContract_ABI_Entry_Param `protobuf:"bytes,5,rep,name=outputs,proto3" json:"outputs,omitempty"` - Type SmartContract_ABI_Entry_EntryType `protobuf:"varint,6,opt,name=type,proto3,enum=protocol.SmartContract_ABI_Entry_EntryType" json:"type,omitempty"` - Payable bool `protobuf:"varint,7,opt,name=payable,proto3" json:"payable,omitempty"` - StateMutability SmartContract_ABI_Entry_StateMutabilityType `protobuf:"varint,8,opt,name=stateMutability,proto3,enum=protocol.SmartContract_ABI_Entry_StateMutabilityType" json:"stateMutability,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SmartContract_ABI_Entry) Reset() { *m = SmartContract_ABI_Entry{} } -func (m *SmartContract_ABI_Entry) String() string { return proto.CompactTextString(m) } -func (*SmartContract_ABI_Entry) ProtoMessage() {} -func (*SmartContract_ABI_Entry) Descriptor() ([]byte, []int) { - return fileDescriptor_494f94e10ba63181, []int{0, 0, 0} +// Deprecated: Use ContractState.ProtoReflect.Descriptor instead. +func (*ContractState) Descriptor() ([]byte, []int) { + return file_core_smart_contract_proto_rawDescGZIP(), []int{1} } -func (m *SmartContract_ABI_Entry) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SmartContract_ABI_Entry.Unmarshal(m, b) +func (x *ContractState) GetEnergyUsage() int64 { + if x != nil { + return x.EnergyUsage + } + return 0 } -func (m *SmartContract_ABI_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SmartContract_ABI_Entry.Marshal(b, m, deterministic) + +func (x *ContractState) GetEnergyFactor() int64 { + if x != nil { + return x.EnergyFactor + } + return 0 } -func (m *SmartContract_ABI_Entry) XXX_Merge(src proto.Message) { - xxx_messageInfo_SmartContract_ABI_Entry.Merge(m, src) + +func (x *ContractState) GetUpdateCycle() int64 { + if x != nil { + return x.UpdateCycle + } + return 0 } -func (m *SmartContract_ABI_Entry) XXX_Size() int { - return xxx_messageInfo_SmartContract_ABI_Entry.Size(m) + +type CreateSmartContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + NewContract *SmartContract `protobuf:"bytes,2,opt,name=new_contract,json=newContract,proto3" json:"new_contract,omitempty"` + CallTokenValue int64 `protobuf:"varint,3,opt,name=call_token_value,json=callTokenValue,proto3" json:"call_token_value,omitempty"` + TokenId int64 `protobuf:"varint,4,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` +} + +func (x *CreateSmartContract) Reset() { + *x = CreateSmartContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_smart_contract_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SmartContract_ABI_Entry) XXX_DiscardUnknown() { - xxx_messageInfo_SmartContract_ABI_Entry.DiscardUnknown(m) + +func (x *CreateSmartContract) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_SmartContract_ABI_Entry proto.InternalMessageInfo +func (*CreateSmartContract) ProtoMessage() {} -func (m *SmartContract_ABI_Entry) GetAnonymous() bool { - if m != nil { - return m.Anonymous +func (x *CreateSmartContract) ProtoReflect() protoreflect.Message { + mi := &file_core_smart_contract_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return false + return mi.MessageOf(x) } -func (m *SmartContract_ABI_Entry) GetConstant() bool { - if m != nil { - return m.Constant - } - return false +// Deprecated: Use CreateSmartContract.ProtoReflect.Descriptor instead. +func (*CreateSmartContract) Descriptor() ([]byte, []int) { + return file_core_smart_contract_proto_rawDescGZIP(), []int{2} } -func (m *SmartContract_ABI_Entry) GetName() string { - if m != nil { - return m.Name +func (x *CreateSmartContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress } - return "" + return nil } -func (m *SmartContract_ABI_Entry) GetInputs() []*SmartContract_ABI_Entry_Param { - if m != nil { - return m.Inputs +func (x *CreateSmartContract) GetNewContract() *SmartContract { + if x != nil { + return x.NewContract } return nil } -func (m *SmartContract_ABI_Entry) GetOutputs() []*SmartContract_ABI_Entry_Param { - if m != nil { - return m.Outputs +func (x *CreateSmartContract) GetCallTokenValue() int64 { + if x != nil { + return x.CallTokenValue } - return nil + return 0 } -func (m *SmartContract_ABI_Entry) GetType() SmartContract_ABI_Entry_EntryType { - if m != nil { - return m.Type +func (x *CreateSmartContract) GetTokenId() int64 { + if x != nil { + return x.TokenId } - return SmartContract_ABI_Entry_UnknownEntryType + return 0 } -func (m *SmartContract_ABI_Entry) GetPayable() bool { - if m != nil { - return m.Payable +type TriggerSmartContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` + CallValue int64 `protobuf:"varint,3,opt,name=call_value,json=callValue,proto3" json:"call_value,omitempty"` + Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` + CallTokenValue int64 `protobuf:"varint,5,opt,name=call_token_value,json=callTokenValue,proto3" json:"call_token_value,omitempty"` + TokenId int64 `protobuf:"varint,6,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` +} + +func (x *TriggerSmartContract) Reset() { + *x = TriggerSmartContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_smart_contract_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return false } -func (m *SmartContract_ABI_Entry) GetStateMutability() SmartContract_ABI_Entry_StateMutabilityType { - if m != nil { - return m.StateMutability +func (x *TriggerSmartContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TriggerSmartContract) ProtoMessage() {} + +func (x *TriggerSmartContract) ProtoReflect() protoreflect.Message { + mi := &file_core_smart_contract_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return SmartContract_ABI_Entry_UnknownMutabilityType + return mi.MessageOf(x) } -type SmartContract_ABI_Entry_Param struct { - Indexed bool `protobuf:"varint,1,opt,name=indexed,proto3" json:"indexed,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Deprecated: Use TriggerSmartContract.ProtoReflect.Descriptor instead. +func (*TriggerSmartContract) Descriptor() ([]byte, []int) { + return file_core_smart_contract_proto_rawDescGZIP(), []int{3} } -func (m *SmartContract_ABI_Entry_Param) Reset() { *m = SmartContract_ABI_Entry_Param{} } -func (m *SmartContract_ABI_Entry_Param) String() string { return proto.CompactTextString(m) } -func (*SmartContract_ABI_Entry_Param) ProtoMessage() {} -func (*SmartContract_ABI_Entry_Param) Descriptor() ([]byte, []int) { - return fileDescriptor_494f94e10ba63181, []int{0, 0, 0, 0} +func (x *TriggerSmartContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil } -func (m *SmartContract_ABI_Entry_Param) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SmartContract_ABI_Entry_Param.Unmarshal(m, b) +func (x *TriggerSmartContract) GetContractAddress() []byte { + if x != nil { + return x.ContractAddress + } + return nil } -func (m *SmartContract_ABI_Entry_Param) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SmartContract_ABI_Entry_Param.Marshal(b, m, deterministic) + +func (x *TriggerSmartContract) GetCallValue() int64 { + if x != nil { + return x.CallValue + } + return 0 } -func (m *SmartContract_ABI_Entry_Param) XXX_Merge(src proto.Message) { - xxx_messageInfo_SmartContract_ABI_Entry_Param.Merge(m, src) + +func (x *TriggerSmartContract) GetData() []byte { + if x != nil { + return x.Data + } + return nil } -func (m *SmartContract_ABI_Entry_Param) XXX_Size() int { - return xxx_messageInfo_SmartContract_ABI_Entry_Param.Size(m) + +func (x *TriggerSmartContract) GetCallTokenValue() int64 { + if x != nil { + return x.CallTokenValue + } + return 0 } -func (m *SmartContract_ABI_Entry_Param) XXX_DiscardUnknown() { - xxx_messageInfo_SmartContract_ABI_Entry_Param.DiscardUnknown(m) + +func (x *TriggerSmartContract) GetTokenId() int64 { + if x != nil { + return x.TokenId + } + return 0 } -var xxx_messageInfo_SmartContract_ABI_Entry_Param proto.InternalMessageInfo +type ClearABIContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *SmartContract_ABI_Entry_Param) GetIndexed() bool { - if m != nil { - return m.Indexed - } - return false + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` } -func (m *SmartContract_ABI_Entry_Param) GetName() string { - if m != nil { - return m.Name +func (x *ClearABIContract) Reset() { + *x = ClearABIContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_smart_contract_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return "" } -func (m *SmartContract_ABI_Entry_Param) GetType() string { - if m != nil { - return m.Type +func (x *ClearABIContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClearABIContract) ProtoMessage() {} + +func (x *ClearABIContract) ProtoReflect() protoreflect.Message { + mi := &file_core_smart_contract_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return "" + return mi.MessageOf(x) } -type CreateSmartContract struct { - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - NewContract *SmartContract `protobuf:"bytes,2,opt,name=new_contract,json=newContract,proto3" json:"new_contract,omitempty"` - CallTokenValue int64 `protobuf:"varint,3,opt,name=call_token_value,json=callTokenValue,proto3" json:"call_token_value,omitempty"` - TokenId int64 `protobuf:"varint,4,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CreateSmartContract) Reset() { *m = CreateSmartContract{} } -func (m *CreateSmartContract) String() string { return proto.CompactTextString(m) } -func (*CreateSmartContract) ProtoMessage() {} -func (*CreateSmartContract) Descriptor() ([]byte, []int) { - return fileDescriptor_494f94e10ba63181, []int{1} +// Deprecated: Use ClearABIContract.ProtoReflect.Descriptor instead. +func (*ClearABIContract) Descriptor() ([]byte, []int) { + return file_core_smart_contract_proto_rawDescGZIP(), []int{4} } -func (m *CreateSmartContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateSmartContract.Unmarshal(m, b) +func (x *ClearABIContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil } -func (m *CreateSmartContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateSmartContract.Marshal(b, m, deterministic) + +func (x *ClearABIContract) GetContractAddress() []byte { + if x != nil { + return x.ContractAddress + } + return nil } -func (m *CreateSmartContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateSmartContract.Merge(m, src) + +type UpdateSettingContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` + ConsumeUserResourcePercent int64 `protobuf:"varint,3,opt,name=consume_user_resource_percent,json=consumeUserResourcePercent,proto3" json:"consume_user_resource_percent,omitempty"` } -func (m *CreateSmartContract) XXX_Size() int { - return xxx_messageInfo_CreateSmartContract.Size(m) + +func (x *UpdateSettingContract) Reset() { + *x = UpdateSettingContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_smart_contract_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateSmartContract) XXX_DiscardUnknown() { - xxx_messageInfo_CreateSmartContract.DiscardUnknown(m) + +func (x *UpdateSettingContract) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_CreateSmartContract proto.InternalMessageInfo +func (*UpdateSettingContract) ProtoMessage() {} -func (m *CreateSmartContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *UpdateSettingContract) ProtoReflect() protoreflect.Message { + mi := &file_core_smart_contract_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateSettingContract.ProtoReflect.Descriptor instead. +func (*UpdateSettingContract) Descriptor() ([]byte, []int) { + return file_core_smart_contract_proto_rawDescGZIP(), []int{5} } -func (m *CreateSmartContract) GetNewContract() *SmartContract { - if m != nil { - return m.NewContract +func (x *UpdateSettingContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress } return nil } -func (m *CreateSmartContract) GetCallTokenValue() int64 { - if m != nil { - return m.CallTokenValue +func (x *UpdateSettingContract) GetContractAddress() []byte { + if x != nil { + return x.ContractAddress } - return 0 + return nil } -func (m *CreateSmartContract) GetTokenId() int64 { - if m != nil { - return m.TokenId +func (x *UpdateSettingContract) GetConsumeUserResourcePercent() int64 { + if x != nil { + return x.ConsumeUserResourcePercent } return 0 } -type TriggerSmartContract struct { - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` - CallValue int64 `protobuf:"varint,3,opt,name=call_value,json=callValue,proto3" json:"call_value,omitempty"` - Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` - CallTokenValue int64 `protobuf:"varint,5,opt,name=call_token_value,json=callTokenValue,proto3" json:"call_token_value,omitempty"` - TokenId int64 `protobuf:"varint,6,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *TriggerSmartContract) Reset() { *m = TriggerSmartContract{} } -func (m *TriggerSmartContract) String() string { return proto.CompactTextString(m) } -func (*TriggerSmartContract) ProtoMessage() {} -func (*TriggerSmartContract) Descriptor() ([]byte, []int) { - return fileDescriptor_494f94e10ba63181, []int{2} -} +type UpdateEnergyLimitContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *TriggerSmartContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TriggerSmartContract.Unmarshal(m, b) -} -func (m *TriggerSmartContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TriggerSmartContract.Marshal(b, m, deterministic) + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` + OriginEnergyLimit int64 `protobuf:"varint,3,opt,name=origin_energy_limit,json=originEnergyLimit,proto3" json:"origin_energy_limit,omitempty"` } -func (m *TriggerSmartContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_TriggerSmartContract.Merge(m, src) + +func (x *UpdateEnergyLimitContract) Reset() { + *x = UpdateEnergyLimitContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_smart_contract_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TriggerSmartContract) XXX_Size() int { - return xxx_messageInfo_TriggerSmartContract.Size(m) + +func (x *UpdateEnergyLimitContract) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TriggerSmartContract) XXX_DiscardUnknown() { - xxx_messageInfo_TriggerSmartContract.DiscardUnknown(m) + +func (*UpdateEnergyLimitContract) ProtoMessage() {} + +func (x *UpdateEnergyLimitContract) ProtoReflect() protoreflect.Message { + mi := &file_core_smart_contract_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TriggerSmartContract proto.InternalMessageInfo +// Deprecated: Use UpdateEnergyLimitContract.ProtoReflect.Descriptor instead. +func (*UpdateEnergyLimitContract) Descriptor() ([]byte, []int) { + return file_core_smart_contract_proto_rawDescGZIP(), []int{6} +} -func (m *TriggerSmartContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *UpdateEnergyLimitContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress } return nil } -func (m *TriggerSmartContract) GetContractAddress() []byte { - if m != nil { - return m.ContractAddress +func (x *UpdateEnergyLimitContract) GetContractAddress() []byte { + if x != nil { + return x.ContractAddress } return nil } -func (m *TriggerSmartContract) GetCallValue() int64 { - if m != nil { - return m.CallValue +func (x *UpdateEnergyLimitContract) GetOriginEnergyLimit() int64 { + if x != nil { + return x.OriginEnergyLimit } return 0 } -func (m *TriggerSmartContract) GetData() []byte { - if m != nil { - return m.Data - } - return nil +type SmartContractDataWrapper struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SmartContract *SmartContract `protobuf:"bytes,1,opt,name=smart_contract,json=smartContract,proto3" json:"smart_contract,omitempty"` + Runtimecode []byte `protobuf:"bytes,2,opt,name=runtimecode,proto3" json:"runtimecode,omitempty"` + ContractState *ContractState `protobuf:"bytes,3,opt,name=contract_state,json=contractState,proto3" json:"contract_state,omitempty"` } -func (m *TriggerSmartContract) GetCallTokenValue() int64 { - if m != nil { - return m.CallTokenValue +func (x *SmartContractDataWrapper) Reset() { + *x = SmartContractDataWrapper{} + if protoimpl.UnsafeEnabled { + mi := &file_core_smart_contract_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return 0 } -func (m *TriggerSmartContract) GetTokenId() int64 { - if m != nil { - return m.TokenId +func (x *SmartContractDataWrapper) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SmartContractDataWrapper) ProtoMessage() {} + +func (x *SmartContractDataWrapper) ProtoReflect() protoreflect.Message { + mi := &file_core_smart_contract_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return 0 + return mi.MessageOf(x) } -type ClearABIContract struct { - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Deprecated: Use SmartContractDataWrapper.ProtoReflect.Descriptor instead. +func (*SmartContractDataWrapper) Descriptor() ([]byte, []int) { + return file_core_smart_contract_proto_rawDescGZIP(), []int{7} } -func (m *ClearABIContract) Reset() { *m = ClearABIContract{} } -func (m *ClearABIContract) String() string { return proto.CompactTextString(m) } -func (*ClearABIContract) ProtoMessage() {} -func (*ClearABIContract) Descriptor() ([]byte, []int) { - return fileDescriptor_494f94e10ba63181, []int{3} +func (x *SmartContractDataWrapper) GetSmartContract() *SmartContract { + if x != nil { + return x.SmartContract + } + return nil } -func (m *ClearABIContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClearABIContract.Unmarshal(m, b) +func (x *SmartContractDataWrapper) GetRuntimecode() []byte { + if x != nil { + return x.Runtimecode + } + return nil } -func (m *ClearABIContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClearABIContract.Marshal(b, m, deterministic) + +func (x *SmartContractDataWrapper) GetContractState() *ContractState { + if x != nil { + return x.ContractState + } + return nil } -func (m *ClearABIContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClearABIContract.Merge(m, src) + +type SmartContract_ABI struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Entrys []*SmartContract_ABI_Entry `protobuf:"bytes,1,rep,name=entrys,proto3" json:"entrys,omitempty"` } -func (m *ClearABIContract) XXX_Size() int { - return xxx_messageInfo_ClearABIContract.Size(m) + +func (x *SmartContract_ABI) Reset() { + *x = SmartContract_ABI{} + if protoimpl.UnsafeEnabled { + mi := &file_core_smart_contract_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ClearABIContract) XXX_DiscardUnknown() { - xxx_messageInfo_ClearABIContract.DiscardUnknown(m) + +func (x *SmartContract_ABI) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ClearABIContract proto.InternalMessageInfo +func (*SmartContract_ABI) ProtoMessage() {} -func (m *ClearABIContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *SmartContract_ABI) ProtoReflect() protoreflect.Message { + mi := &file_core_smart_contract_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *ClearABIContract) GetContractAddress() []byte { - if m != nil { - return m.ContractAddress +// Deprecated: Use SmartContract_ABI.ProtoReflect.Descriptor instead. +func (*SmartContract_ABI) Descriptor() ([]byte, []int) { + return file_core_smart_contract_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *SmartContract_ABI) GetEntrys() []*SmartContract_ABI_Entry { + if x != nil { + return x.Entrys } return nil } -type UpdateSettingContract struct { - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` - ConsumeUserResourcePercent int64 `protobuf:"varint,3,opt,name=consume_user_resource_percent,json=consumeUserResourcePercent,proto3" json:"consume_user_resource_percent,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type SmartContract_ABI_Entry struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Anonymous bool `protobuf:"varint,1,opt,name=anonymous,proto3" json:"anonymous,omitempty"` + Constant bool `protobuf:"varint,2,opt,name=constant,proto3" json:"constant,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Inputs []*SmartContract_ABI_Entry_Param `protobuf:"bytes,4,rep,name=inputs,proto3" json:"inputs,omitempty"` + Outputs []*SmartContract_ABI_Entry_Param `protobuf:"bytes,5,rep,name=outputs,proto3" json:"outputs,omitempty"` + Type SmartContract_ABI_Entry_EntryType `protobuf:"varint,6,opt,name=type,proto3,enum=protocol.SmartContract_ABI_Entry_EntryType" json:"type,omitempty"` + Payable bool `protobuf:"varint,7,opt,name=payable,proto3" json:"payable,omitempty"` + StateMutability SmartContract_ABI_Entry_StateMutabilityType `protobuf:"varint,8,opt,name=stateMutability,proto3,enum=protocol.SmartContract_ABI_Entry_StateMutabilityType" json:"stateMutability,omitempty"` +} + +func (x *SmartContract_ABI_Entry) Reset() { + *x = SmartContract_ABI_Entry{} + if protoimpl.UnsafeEnabled { + mi := &file_core_smart_contract_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateSettingContract) Reset() { *m = UpdateSettingContract{} } -func (m *UpdateSettingContract) String() string { return proto.CompactTextString(m) } -func (*UpdateSettingContract) ProtoMessage() {} -func (*UpdateSettingContract) Descriptor() ([]byte, []int) { - return fileDescriptor_494f94e10ba63181, []int{4} +func (x *SmartContract_ABI_Entry) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateSettingContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateSettingContract.Unmarshal(m, b) -} -func (m *UpdateSettingContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateSettingContract.Marshal(b, m, deterministic) +func (*SmartContract_ABI_Entry) ProtoMessage() {} + +func (x *SmartContract_ABI_Entry) ProtoReflect() protoreflect.Message { + mi := &file_core_smart_contract_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (m *UpdateSettingContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateSettingContract.Merge(m, src) + +// Deprecated: Use SmartContract_ABI_Entry.ProtoReflect.Descriptor instead. +func (*SmartContract_ABI_Entry) Descriptor() ([]byte, []int) { + return file_core_smart_contract_proto_rawDescGZIP(), []int{0, 0, 0} } -func (m *UpdateSettingContract) XXX_Size() int { - return xxx_messageInfo_UpdateSettingContract.Size(m) + +func (x *SmartContract_ABI_Entry) GetAnonymous() bool { + if x != nil { + return x.Anonymous + } + return false } -func (m *UpdateSettingContract) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateSettingContract.DiscardUnknown(m) + +func (x *SmartContract_ABI_Entry) GetConstant() bool { + if x != nil { + return x.Constant + } + return false } -var xxx_messageInfo_UpdateSettingContract proto.InternalMessageInfo +func (x *SmartContract_ABI_Entry) GetName() string { + if x != nil { + return x.Name + } + return "" +} -func (m *UpdateSettingContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *SmartContract_ABI_Entry) GetInputs() []*SmartContract_ABI_Entry_Param { + if x != nil { + return x.Inputs } return nil } -func (m *UpdateSettingContract) GetContractAddress() []byte { - if m != nil { - return m.ContractAddress +func (x *SmartContract_ABI_Entry) GetOutputs() []*SmartContract_ABI_Entry_Param { + if x != nil { + return x.Outputs } return nil } -func (m *UpdateSettingContract) GetConsumeUserResourcePercent() int64 { - if m != nil { - return m.ConsumeUserResourcePercent +func (x *SmartContract_ABI_Entry) GetType() SmartContract_ABI_Entry_EntryType { + if x != nil { + return x.Type } - return 0 + return SmartContract_ABI_Entry_UnknownEntryType } -type UpdateEnergyLimitContract struct { - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` - OriginEnergyLimit int64 `protobuf:"varint,3,opt,name=origin_energy_limit,json=originEnergyLimit,proto3" json:"origin_energy_limit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *SmartContract_ABI_Entry) GetPayable() bool { + if x != nil { + return x.Payable + } + return false } -func (m *UpdateEnergyLimitContract) Reset() { *m = UpdateEnergyLimitContract{} } -func (m *UpdateEnergyLimitContract) String() string { return proto.CompactTextString(m) } -func (*UpdateEnergyLimitContract) ProtoMessage() {} -func (*UpdateEnergyLimitContract) Descriptor() ([]byte, []int) { - return fileDescriptor_494f94e10ba63181, []int{5} +func (x *SmartContract_ABI_Entry) GetStateMutability() SmartContract_ABI_Entry_StateMutabilityType { + if x != nil { + return x.StateMutability + } + return SmartContract_ABI_Entry_UnknownMutabilityType } -func (m *UpdateEnergyLimitContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateEnergyLimitContract.Unmarshal(m, b) -} -func (m *UpdateEnergyLimitContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateEnergyLimitContract.Marshal(b, m, deterministic) +type SmartContract_ABI_Entry_Param struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Indexed bool `protobuf:"varint,1,opt,name=indexed,proto3" json:"indexed,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // SolidityType type = 3; } -func (m *UpdateEnergyLimitContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateEnergyLimitContract.Merge(m, src) + +func (x *SmartContract_ABI_Entry_Param) Reset() { + *x = SmartContract_ABI_Entry_Param{} + if protoimpl.UnsafeEnabled { + mi := &file_core_smart_contract_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateEnergyLimitContract) XXX_Size() int { - return xxx_messageInfo_UpdateEnergyLimitContract.Size(m) + +func (x *SmartContract_ABI_Entry_Param) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateEnergyLimitContract) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateEnergyLimitContract.DiscardUnknown(m) + +func (*SmartContract_ABI_Entry_Param) ProtoMessage() {} + +func (x *SmartContract_ABI_Entry_Param) ProtoReflect() protoreflect.Message { + mi := &file_core_smart_contract_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateEnergyLimitContract proto.InternalMessageInfo +// Deprecated: Use SmartContract_ABI_Entry_Param.ProtoReflect.Descriptor instead. +func (*SmartContract_ABI_Entry_Param) Descriptor() ([]byte, []int) { + return file_core_smart_contract_proto_rawDescGZIP(), []int{0, 0, 0, 0} +} -func (m *UpdateEnergyLimitContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *SmartContract_ABI_Entry_Param) GetIndexed() bool { + if x != nil { + return x.Indexed } - return nil + return false } -func (m *UpdateEnergyLimitContract) GetContractAddress() []byte { - if m != nil { - return m.ContractAddress +func (x *SmartContract_ABI_Entry_Param) GetName() string { + if x != nil { + return x.Name } - return nil + return "" } -func (m *UpdateEnergyLimitContract) GetOriginEnergyLimit() int64 { - if m != nil { - return m.OriginEnergyLimit +func (x *SmartContract_ABI_Entry_Param) GetType() string { + if x != nil { + return x.Type } - return 0 + return "" } -func init() { - proto.RegisterEnum("protocol.SmartContract_ABI_Entry_EntryType", SmartContract_ABI_Entry_EntryType_name, SmartContract_ABI_Entry_EntryType_value) - proto.RegisterEnum("protocol.SmartContract_ABI_Entry_StateMutabilityType", SmartContract_ABI_Entry_StateMutabilityType_name, SmartContract_ABI_Entry_StateMutabilityType_value) - proto.RegisterType((*SmartContract)(nil), "protocol.SmartContract") - proto.RegisterType((*SmartContract_ABI)(nil), "protocol.SmartContract.ABI") - proto.RegisterType((*SmartContract_ABI_Entry)(nil), "protocol.SmartContract.ABI.Entry") - proto.RegisterType((*SmartContract_ABI_Entry_Param)(nil), "protocol.SmartContract.ABI.Entry.Param") - proto.RegisterType((*CreateSmartContract)(nil), "protocol.CreateSmartContract") - proto.RegisterType((*TriggerSmartContract)(nil), "protocol.TriggerSmartContract") - proto.RegisterType((*ClearABIContract)(nil), "protocol.ClearABIContract") - proto.RegisterType((*UpdateSettingContract)(nil), "protocol.UpdateSettingContract") - proto.RegisterType((*UpdateEnergyLimitContract)(nil), "protocol.UpdateEnergyLimitContract") -} - -func init() { proto.RegisterFile("core/contract/smart_contract.proto", fileDescriptor_494f94e10ba63181) } - -var fileDescriptor_494f94e10ba63181 = []byte{ - // 845 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xef, 0x6a, 0xe3, 0x46, - 0x10, 0x3f, 0x45, 0xfe, 0x23, 0x8f, 0x13, 0x47, 0xdd, 0xdc, 0x51, 0xc5, 0xd7, 0x83, 0x9c, 0x4b, - 0xa9, 0x4b, 0xa9, 0x0c, 0x2e, 0xfd, 0xd0, 0x42, 0x39, 0x9c, 0x90, 0x52, 0x43, 0x5b, 0x82, 0x2e, - 0x39, 0x68, 0xbf, 0x88, 0x95, 0x34, 0xb5, 0x97, 0xc8, 0xbb, 0x66, 0xb5, 0x3a, 0x47, 0xcf, 0x52, - 0xe8, 0x03, 0xf4, 0x15, 0xfa, 0x2e, 0x85, 0xbe, 0x40, 0x9f, 0xa1, 0xec, 0xea, 0x4f, 0xe3, 0x70, - 0xa9, 0xc9, 0x41, 0xbe, 0x24, 0x3b, 0xbf, 0x99, 0xd9, 0x99, 0xf9, 0x4d, 0xf4, 0xdb, 0xc0, 0x28, - 0x16, 0x12, 0x27, 0xb1, 0xe0, 0x4a, 0xd2, 0x58, 0x4d, 0xb2, 0x15, 0x95, 0x2a, 0xac, 0x4d, 0x7f, - 0x2d, 0x85, 0x12, 0xc4, 0x31, 0xbf, 0x62, 0x91, 0x0e, 0x0f, 0x4d, 0xf4, 0xa5, 0x14, 0xbc, 0x74, - 0x8d, 0xfe, 0x71, 0xe0, 0xe0, 0xb5, 0xce, 0x39, 0xab, 0x52, 0xc8, 0x27, 0x30, 0x10, 0x92, 0x2d, - 0x18, 0x0f, 0x69, 0x92, 0x48, 0xcc, 0x32, 0xcf, 0x3a, 0xb1, 0xc6, 0xfb, 0xc1, 0x41, 0x89, 0xce, - 0x4a, 0x90, 0x7c, 0x06, 0x6e, 0x5d, 0xa5, 0x09, 0xdc, 0x33, 0x81, 0x87, 0x35, 0x5e, 0x87, 0x7e, - 0x01, 0x36, 0x8d, 0x98, 0x67, 0x9f, 0x58, 0xe3, 0xfe, 0xf4, 0xb9, 0x5f, 0x37, 0xe3, 0x6f, 0xd5, - 0xf5, 0x67, 0xa7, 0xf3, 0x40, 0xc7, 0x91, 0x21, 0x38, 0x51, 0xa1, 0x30, 0x16, 0x09, 0x7a, 0x2d, - 0x73, 0x63, 0x63, 0x93, 0x17, 0x00, 0x31, 0x4d, 0xd3, 0xf0, 0x2d, 0x4d, 0x73, 0xf4, 0xda, 0x27, - 0xd6, 0xd8, 0x0e, 0x7a, 0x1a, 0x79, 0xa3, 0x01, 0x32, 0x83, 0x17, 0xb1, 0xe0, 0x59, 0xbe, 0xc2, - 0x30, 0xcf, 0x50, 0x86, 0x12, 0x33, 0x91, 0xcb, 0x18, 0xc3, 0x35, 0xca, 0x18, 0xb9, 0xf2, 0x3a, - 0x26, 0x63, 0x58, 0x05, 0x5d, 0x65, 0x28, 0x83, 0x2a, 0xe4, 0xa2, 0x8c, 0x20, 0x04, 0x5a, 0x9c, - 0xae, 0xd0, 0xeb, 0x9e, 0x58, 0xe3, 0x5e, 0x60, 0xce, 0xc4, 0x87, 0xa3, 0x8a, 0x12, 0xe4, 0x28, - 0x17, 0x45, 0x98, 0xb2, 0x15, 0x53, 0x9e, 0x63, 0x2e, 0xfb, 0xa0, 0x74, 0x9d, 0x1b, 0xcf, 0x0f, - 0xda, 0x41, 0x9e, 0x43, 0x4f, 0x77, 0x1b, 0x2e, 0x69, 0xb6, 0xf4, 0x7a, 0xe5, 0x08, 0x1a, 0xf8, - 0x9e, 0x66, 0x4b, 0x72, 0x0c, 0x8e, 0x92, 0x37, 0xa5, 0x0f, 0x8c, 0xaf, 0xab, 0xe4, 0x8d, 0x76, - 0x0d, 0xff, 0x6e, 0x83, 0x3d, 0x3b, 0x9d, 0x93, 0xaf, 0xa1, 0x83, 0x5c, 0xc9, 0x42, 0x53, 0x6f, - 0x8f, 0xfb, 0xd3, 0x97, 0xff, 0xc3, 0x99, 0x7f, 0xae, 0x23, 0x83, 0x2a, 0x61, 0xf8, 0x7b, 0x1b, - 0xda, 0x06, 0x21, 0x1f, 0x41, 0x8f, 0x72, 0xc1, 0x8b, 0x95, 0xc8, 0xcb, 0x15, 0x3a, 0xc1, 0x7f, - 0x80, 0x26, 0x59, 0x93, 0xa0, 0x28, 0x57, 0x66, 0x6d, 0x4e, 0xd0, 0xd8, 0x0d, 0x05, 0xf6, 0x2d, - 0x0a, 0x5e, 0x41, 0x87, 0xf1, 0x75, 0xae, 0x32, 0xaf, 0x65, 0x5a, 0xfa, 0x74, 0x67, 0x4b, 0xfe, - 0x05, 0x95, 0x74, 0x15, 0x54, 0x69, 0x64, 0x06, 0x5d, 0x91, 0x2b, 0x73, 0x43, 0xfb, 0x61, 0x37, - 0xd4, 0x79, 0xe4, 0x15, 0xb4, 0x54, 0xb1, 0x46, 0xb3, 0xc4, 0xc1, 0xf4, 0xf3, 0xdd, 0xf9, 0xe6, - 0xe7, 0x65, 0xb1, 0xc6, 0xc0, 0x24, 0x12, 0x0f, 0xba, 0x6b, 0x5a, 0xd0, 0x28, 0x2d, 0xd7, 0xeb, - 0x04, 0xb5, 0x49, 0x42, 0x38, 0xcc, 0x14, 0x55, 0xf8, 0x63, 0xae, 0x68, 0xc4, 0x52, 0xa6, 0x0a, - 0xb3, 0xdd, 0xc1, 0xf4, 0xab, 0xdd, 0x55, 0x5e, 0x6f, 0x27, 0x9a, 0x7a, 0x77, 0x6f, 0x1b, 0xce, - 0xa1, 0x6d, 0xa6, 0xd1, 0x3d, 0x30, 0x9e, 0xe0, 0x0d, 0x26, 0xd5, 0x52, 0x6a, 0xb3, 0xa1, 0x7d, - 0xef, 0x16, 0xed, 0xa4, 0x1a, 0xb9, 0x5a, 0x85, 0x3e, 0x8f, 0x7e, 0x86, 0x5e, 0x33, 0x18, 0x79, - 0x0a, 0xee, 0x15, 0xbf, 0xe6, 0x62, 0xc3, 0x1b, 0xcc, 0x7d, 0x42, 0x0e, 0xa1, 0x7f, 0xa6, 0xb7, - 0x29, 0xf3, 0x58, 0x09, 0xe9, 0x5a, 0x64, 0x1f, 0x9c, 0xef, 0x72, 0x1e, 0x2b, 0x26, 0xb8, 0xbb, - 0x47, 0x7a, 0xd0, 0x3e, 0x7f, 0x8b, 0x5c, 0xb9, 0xb6, 0x71, 0xd0, 0x34, 0x8d, 0x68, 0x7c, 0xed, - 0xb6, 0x46, 0x14, 0x8e, 0xde, 0x31, 0x0d, 0x39, 0x86, 0x67, 0x55, 0x91, 0x6d, 0x87, 0xfb, 0x84, - 0x38, 0xd0, 0xba, 0xc8, 0x25, 0xba, 0x96, 0x3e, 0xbd, 0x61, 0xb8, 0x71, 0xf7, 0xc8, 0x00, 0xe0, - 0x27, 0xc1, 0x2b, 0x6a, 0x5d, 0x9b, 0xf4, 0xa1, 0x7b, 0x51, 0x19, 0xad, 0xd1, 0x9f, 0x16, 0x1c, - 0x9d, 0x49, 0xa4, 0x0a, 0xb7, 0x65, 0xe7, 0x63, 0x38, 0x10, 0x1b, 0x8e, 0xf2, 0x8e, 0xea, 0xec, - 0x1b, 0xb0, 0x56, 0x92, 0x6f, 0x60, 0x9f, 0xe3, 0xa6, 0x91, 0x37, 0x43, 0x55, 0x7f, 0xfa, 0xe1, - 0x3d, 0x3b, 0x0a, 0xfa, 0x1c, 0x37, 0x4d, 0x81, 0x31, 0xb8, 0x46, 0x3a, 0x94, 0xb8, 0x46, 0x5e, - 0x09, 0x88, 0x6d, 0xbe, 0xe0, 0x81, 0xc6, 0x2f, 0x35, 0x5c, 0xaa, 0x88, 0xfe, 0x42, 0x4d, 0x10, - 0x4b, 0x8c, 0x00, 0xd9, 0x41, 0xd7, 0xd8, 0xf3, 0x64, 0xf4, 0x97, 0x05, 0x4f, 0x2f, 0x25, 0x5b, - 0x2c, 0x50, 0xbe, 0x47, 0xfb, 0x0f, 0xd0, 0xcc, 0x6d, 0xa1, 0xb3, 0xef, 0x0a, 0x1d, 0x81, 0x56, - 0x42, 0x15, 0xad, 0xf4, 0xd1, 0x9c, 0xdf, 0x39, 0x60, 0x7b, 0xe7, 0x80, 0x9d, 0xed, 0x01, 0x23, - 0x70, 0xcf, 0x52, 0xa4, 0x72, 0x76, 0x3a, 0x7f, 0xac, 0xd9, 0x46, 0x7f, 0x58, 0xf0, 0xec, 0x6a, - 0x9d, 0xe8, 0x3f, 0x01, 0x54, 0x8a, 0xf1, 0xc5, 0xa3, 0xb1, 0xb8, 0xf3, 0x3d, 0xb0, 0x77, 0xbd, - 0x07, 0xa3, 0xdf, 0x2c, 0x38, 0x2e, 0x9b, 0xbd, 0xa5, 0xf0, 0x8f, 0xd6, 0xf0, 0x3d, 0x2f, 0x8d, - 0x7d, 0xcf, 0x4b, 0x73, 0xfa, 0x2d, 0x78, 0x42, 0x2e, 0x7c, 0xd5, 0x3c, 0xe8, 0x99, 0x5f, 0x5f, - 0xf9, 0xcb, 0xcb, 0x05, 0x53, 0xcb, 0x3c, 0xf2, 0x63, 0xb1, 0x9a, 0xfc, 0x1a, 0x65, 0x22, 0x92, - 0xc8, 0x24, 0x9d, 0x2c, 0x84, 0x8e, 0x9e, 0xe8, 0x7f, 0x04, 0xa2, 0x8e, 0xc9, 0xf9, 0xf2, 0xdf, - 0x00, 0x00, 0x00, 0xff, 0xff, 0x8c, 0xc2, 0x79, 0x25, 0x45, 0x08, 0x00, 0x00, +var File_core_smart_contract_proto protoreflect.FileDescriptor + +var file_core_smart_contract_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x73, 0x6d, 0x61, 0x72, 0x74, 0x5f, 0x63, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x1a, 0x0f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x54, 0x72, 0x6f, 0x6e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa0, 0x09, 0x0a, 0x0d, 0x53, 0x6d, 0x61, 0x72, 0x74, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x72, 0x69, 0x67, + 0x69, 0x6e, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0d, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, + 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2d, 0x0a, 0x03, 0x61, 0x62, + 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x2e, 0x41, 0x42, 0x49, 0x52, 0x03, 0x61, 0x62, 0x69, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x79, 0x74, + 0x65, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x62, 0x79, 0x74, + 0x65, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x12, 0x41, 0x0a, 0x1d, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x5f, + 0x75, 0x73, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x65, + 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1a, 0x63, 0x6f, 0x6e, + 0x73, 0x75, 0x6d, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x6f, + 0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x6c, 0x69, 0x6d, + 0x69, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, + 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, + 0x6f, 0x64, 0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, + 0x63, 0x6f, 0x64, 0x65, 0x48, 0x61, 0x73, 0x68, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x78, 0x5f, + 0x68, 0x61, 0x73, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x72, 0x78, 0x48, + 0x61, 0x73, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0xf9, 0x05, + 0x0a, 0x03, 0x41, 0x42, 0x49, 0x12, 0x39, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x41, + 0x42, 0x49, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x73, + 0x1a, 0xb6, 0x05, 0x0a, 0x05, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x6e, + 0x6f, 0x6e, 0x79, 0x6d, 0x6f, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x61, + 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x6f, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x73, + 0x74, 0x61, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x73, + 0x74, 0x61, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, + 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x2e, 0x41, 0x42, 0x49, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x41, 0x0a, 0x07, 0x6f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x2e, 0x41, 0x42, 0x49, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x3f, 0x0a, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x2e, 0x41, 0x42, 0x49, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, + 0x07, 0x70, 0x61, 0x79, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, + 0x70, 0x61, 0x79, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x5f, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x4d, 0x75, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x35, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, + 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x41, 0x42, 0x49, 0x2e, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x75, 0x74, 0x61, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x75, + 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x1a, 0x49, 0x0a, 0x05, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, + 0x79, 0x70, 0x65, 0x22, 0x71, 0x0a, 0x09, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x14, 0x0a, 0x10, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x54, 0x79, 0x70, 0x65, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x6f, 0x72, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x75, 0x6e, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x10, 0x03, + 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x10, 0x04, 0x12, 0x0b, + 0x0a, 0x07, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x10, 0x05, 0x12, 0x09, 0x0a, 0x05, 0x45, + 0x72, 0x72, 0x6f, 0x72, 0x10, 0x06, 0x22, 0x61, 0x0a, 0x13, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4d, + 0x75, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, + 0x15, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x4d, 0x75, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x75, 0x72, 0x65, + 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x56, 0x69, 0x65, 0x77, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, + 0x4e, 0x6f, 0x6e, 0x70, 0x61, 0x79, 0x61, 0x62, 0x6c, 0x65, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, + 0x50, 0x61, 0x79, 0x61, 0x62, 0x6c, 0x65, 0x10, 0x04, 0x22, 0x7a, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x6e, + 0x65, 0x72, 0x67, 0x79, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0b, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x23, 0x0a, + 0x0d, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x46, 0x61, 0x63, 0x74, + 0x6f, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x79, 0x63, + 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x43, 0x79, 0x63, 0x6c, 0x65, 0x22, 0xbb, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, + 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x3a, 0x0a, 0x0c, 0x6e, 0x65, 0x77, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x52, 0x0b, 0x6e, 0x65, 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x28, + 0x0a, 0x10, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x63, 0x61, 0x6c, 0x6c, 0x54, 0x6f, + 0x6b, 0x65, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x49, 0x64, 0x22, 0xde, 0x01, 0x0a, 0x14, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, + 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, + 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, + 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, + 0x28, 0x0a, 0x10, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x63, 0x61, 0x6c, 0x6c, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x49, 0x64, 0x22, 0x62, 0x0a, 0x10, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x41, 0x42, 0x49, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, + 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, + 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xaa, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x41, 0x0a, 0x1d, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x5f, 0x75, 0x73, + 0x65, 0x72, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x63, + 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1a, 0x63, 0x6f, 0x6e, 0x73, 0x75, + 0x6d, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x65, + 0x72, 0x63, 0x65, 0x6e, 0x74, 0x22, 0x9b, 0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, + 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x65, 0x6e, + 0x65, 0x72, 0x67, 0x79, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x11, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, + 0x6d, 0x69, 0x74, 0x22, 0xbc, 0x01, 0x0a, 0x18, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, + 0x12, 0x3e, 0x0a, 0x0e, 0x73, 0x6d, 0x61, 0x72, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x52, 0x0d, 0x73, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x63, 0x6f, + 0x64, 0x65, 0x12, 0x3e, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x42, 0x4b, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x2f, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, + 0x72, 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, + 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_core_smart_contract_proto_rawDescOnce sync.Once + file_core_smart_contract_proto_rawDescData = file_core_smart_contract_proto_rawDesc +) + +func file_core_smart_contract_proto_rawDescGZIP() []byte { + file_core_smart_contract_proto_rawDescOnce.Do(func() { + file_core_smart_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_smart_contract_proto_rawDescData) + }) + return file_core_smart_contract_proto_rawDescData +} + +var file_core_smart_contract_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_core_smart_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 11) +var file_core_smart_contract_proto_goTypes = []interface{}{ + (SmartContract_ABI_Entry_EntryType)(0), // 0: protocol.SmartContract.ABI.Entry.EntryType + (SmartContract_ABI_Entry_StateMutabilityType)(0), // 1: protocol.SmartContract.ABI.Entry.StateMutabilityType + (*SmartContract)(nil), // 2: protocol.SmartContract + (*ContractState)(nil), // 3: protocol.ContractState + (*CreateSmartContract)(nil), // 4: protocol.CreateSmartContract + (*TriggerSmartContract)(nil), // 5: protocol.TriggerSmartContract + (*ClearABIContract)(nil), // 6: protocol.ClearABIContract + (*UpdateSettingContract)(nil), // 7: protocol.UpdateSettingContract + (*UpdateEnergyLimitContract)(nil), // 8: protocol.UpdateEnergyLimitContract + (*SmartContractDataWrapper)(nil), // 9: protocol.SmartContractDataWrapper + (*SmartContract_ABI)(nil), // 10: protocol.SmartContract.ABI + (*SmartContract_ABI_Entry)(nil), // 11: protocol.SmartContract.ABI.Entry + (*SmartContract_ABI_Entry_Param)(nil), // 12: protocol.SmartContract.ABI.Entry.Param +} +var file_core_smart_contract_proto_depIdxs = []int32{ + 10, // 0: protocol.SmartContract.abi:type_name -> protocol.SmartContract.ABI + 2, // 1: protocol.CreateSmartContract.new_contract:type_name -> protocol.SmartContract + 2, // 2: protocol.SmartContractDataWrapper.smart_contract:type_name -> protocol.SmartContract + 3, // 3: protocol.SmartContractDataWrapper.contract_state:type_name -> protocol.ContractState + 11, // 4: protocol.SmartContract.ABI.entrys:type_name -> protocol.SmartContract.ABI.Entry + 12, // 5: protocol.SmartContract.ABI.Entry.inputs:type_name -> protocol.SmartContract.ABI.Entry.Param + 12, // 6: protocol.SmartContract.ABI.Entry.outputs:type_name -> protocol.SmartContract.ABI.Entry.Param + 0, // 7: protocol.SmartContract.ABI.Entry.type:type_name -> protocol.SmartContract.ABI.Entry.EntryType + 1, // 8: protocol.SmartContract.ABI.Entry.stateMutability:type_name -> protocol.SmartContract.ABI.Entry.StateMutabilityType + 9, // [9:9] is the sub-list for method output_type + 9, // [9:9] is the sub-list for method input_type + 9, // [9:9] is the sub-list for extension type_name + 9, // [9:9] is the sub-list for extension extendee + 0, // [0:9] is the sub-list for field type_name +} + +func init() { file_core_smart_contract_proto_init() } +func file_core_smart_contract_proto_init() { + if File_core_smart_contract_proto != nil { + return + } + file_core_Tron_proto_init() + if !protoimpl.UnsafeEnabled { + file_core_smart_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SmartContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_smart_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContractState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_smart_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateSmartContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_smart_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TriggerSmartContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_smart_contract_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClearABIContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_smart_contract_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateSettingContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_smart_contract_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateEnergyLimitContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_smart_contract_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SmartContractDataWrapper); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_smart_contract_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SmartContract_ABI); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_smart_contract_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SmartContract_ABI_Entry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_smart_contract_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SmartContract_ABI_Entry_Param); 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_core_smart_contract_proto_rawDesc, + NumEnums: 2, + NumMessages: 11, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_core_smart_contract_proto_goTypes, + DependencyIndexes: file_core_smart_contract_proto_depIdxs, + EnumInfos: file_core_smart_contract_proto_enumTypes, + MessageInfos: file_core_smart_contract_proto_msgTypes, + }.Build() + File_core_smart_contract_proto = out.File + file_core_smart_contract_proto_rawDesc = nil + file_core_smart_contract_proto_goTypes = nil + file_core_smart_contract_proto_depIdxs = nil } diff --git a/pkg/proto/core/storage_contract.pb.go b/pkg/proto/core/storage_contract.pb.go index f1baa989a..82d0b03b7 100644 --- a/pkg/proto/core/storage_contract.pb.go +++ b/pkg/proto/core/storage_contract.pb.go @@ -1,240 +1,379 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// source: core/contract/storage_contract.proto +// versions: +// protoc-gen-go v1.28.0 +// protoc v3.21.12 +// source: core/storage_contract.proto package core import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 BuyStorageBytesContract struct { - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Bytes int64 `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *BuyStorageBytesContract) Reset() { *m = BuyStorageBytesContract{} } -func (m *BuyStorageBytesContract) String() string { return proto.CompactTextString(m) } -func (*BuyStorageBytesContract) ProtoMessage() {} -func (*BuyStorageBytesContract) Descriptor() ([]byte, []int) { - return fileDescriptor_fb2d446a78170b16, []int{0} + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Bytes int64 `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"` // storage bytes for buy } -func (m *BuyStorageBytesContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BuyStorageBytesContract.Unmarshal(m, b) -} -func (m *BuyStorageBytesContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BuyStorageBytesContract.Marshal(b, m, deterministic) -} -func (m *BuyStorageBytesContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_BuyStorageBytesContract.Merge(m, src) +func (x *BuyStorageBytesContract) Reset() { + *x = BuyStorageBytesContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_storage_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BuyStorageBytesContract) XXX_Size() int { - return xxx_messageInfo_BuyStorageBytesContract.Size(m) + +func (x *BuyStorageBytesContract) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BuyStorageBytesContract) XXX_DiscardUnknown() { - xxx_messageInfo_BuyStorageBytesContract.DiscardUnknown(m) + +func (*BuyStorageBytesContract) ProtoMessage() {} + +func (x *BuyStorageBytesContract) ProtoReflect() protoreflect.Message { + mi := &file_core_storage_contract_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_BuyStorageBytesContract proto.InternalMessageInfo +// Deprecated: Use BuyStorageBytesContract.ProtoReflect.Descriptor instead. +func (*BuyStorageBytesContract) Descriptor() ([]byte, []int) { + return file_core_storage_contract_proto_rawDescGZIP(), []int{0} +} -func (m *BuyStorageBytesContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *BuyStorageBytesContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress } return nil } -func (m *BuyStorageBytesContract) GetBytes() int64 { - if m != nil { - return m.Bytes +func (x *BuyStorageBytesContract) GetBytes() int64 { + if x != nil { + return x.Bytes } return 0 } type BuyStorageContract struct { - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Quant int64 `protobuf:"varint,2,opt,name=quant,proto3" json:"quant,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *BuyStorageContract) Reset() { *m = BuyStorageContract{} } -func (m *BuyStorageContract) String() string { return proto.CompactTextString(m) } -func (*BuyStorageContract) ProtoMessage() {} -func (*BuyStorageContract) Descriptor() ([]byte, []int) { - return fileDescriptor_fb2d446a78170b16, []int{1} + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Quant int64 `protobuf:"varint,2,opt,name=quant,proto3" json:"quant,omitempty"` // trx quantity for buy storage (sun) } -func (m *BuyStorageContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BuyStorageContract.Unmarshal(m, b) -} -func (m *BuyStorageContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BuyStorageContract.Marshal(b, m, deterministic) -} -func (m *BuyStorageContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_BuyStorageContract.Merge(m, src) +func (x *BuyStorageContract) Reset() { + *x = BuyStorageContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_storage_contract_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BuyStorageContract) XXX_Size() int { - return xxx_messageInfo_BuyStorageContract.Size(m) + +func (x *BuyStorageContract) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BuyStorageContract) XXX_DiscardUnknown() { - xxx_messageInfo_BuyStorageContract.DiscardUnknown(m) + +func (*BuyStorageContract) ProtoMessage() {} + +func (x *BuyStorageContract) ProtoReflect() protoreflect.Message { + mi := &file_core_storage_contract_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_BuyStorageContract proto.InternalMessageInfo +// Deprecated: Use BuyStorageContract.ProtoReflect.Descriptor instead. +func (*BuyStorageContract) Descriptor() ([]byte, []int) { + return file_core_storage_contract_proto_rawDescGZIP(), []int{1} +} -func (m *BuyStorageContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *BuyStorageContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress } return nil } -func (m *BuyStorageContract) GetQuant() int64 { - if m != nil { - return m.Quant +func (x *BuyStorageContract) GetQuant() int64 { + if x != nil { + return x.Quant } return 0 } type SellStorageContract struct { - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - StorageBytes int64 `protobuf:"varint,2,opt,name=storage_bytes,json=storageBytes,proto3" json:"storage_bytes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *SellStorageContract) Reset() { *m = SellStorageContract{} } -func (m *SellStorageContract) String() string { return proto.CompactTextString(m) } -func (*SellStorageContract) ProtoMessage() {} -func (*SellStorageContract) Descriptor() ([]byte, []int) { - return fileDescriptor_fb2d446a78170b16, []int{2} + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + StorageBytes int64 `protobuf:"varint,2,opt,name=storage_bytes,json=storageBytes,proto3" json:"storage_bytes,omitempty"` } -func (m *SellStorageContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SellStorageContract.Unmarshal(m, b) -} -func (m *SellStorageContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SellStorageContract.Marshal(b, m, deterministic) -} -func (m *SellStorageContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_SellStorageContract.Merge(m, src) +func (x *SellStorageContract) Reset() { + *x = SellStorageContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_storage_contract_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SellStorageContract) XXX_Size() int { - return xxx_messageInfo_SellStorageContract.Size(m) + +func (x *SellStorageContract) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SellStorageContract) XXX_DiscardUnknown() { - xxx_messageInfo_SellStorageContract.DiscardUnknown(m) + +func (*SellStorageContract) ProtoMessage() {} + +func (x *SellStorageContract) ProtoReflect() protoreflect.Message { + mi := &file_core_storage_contract_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SellStorageContract proto.InternalMessageInfo +// Deprecated: Use SellStorageContract.ProtoReflect.Descriptor instead. +func (*SellStorageContract) Descriptor() ([]byte, []int) { + return file_core_storage_contract_proto_rawDescGZIP(), []int{2} +} -func (m *SellStorageContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *SellStorageContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress } return nil } -func (m *SellStorageContract) GetStorageBytes() int64 { - if m != nil { - return m.StorageBytes +func (x *SellStorageContract) GetStorageBytes() int64 { + if x != nil { + return x.StorageBytes } return 0 } type UpdateBrokerageContract struct { - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Brokerage int32 `protobuf:"varint,2,opt,name=brokerage,proto3" json:"brokerage,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *UpdateBrokerageContract) Reset() { *m = UpdateBrokerageContract{} } -func (m *UpdateBrokerageContract) String() string { return proto.CompactTextString(m) } -func (*UpdateBrokerageContract) ProtoMessage() {} -func (*UpdateBrokerageContract) Descriptor() ([]byte, []int) { - return fileDescriptor_fb2d446a78170b16, []int{3} + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Brokerage int32 `protobuf:"varint,2,opt,name=brokerage,proto3" json:"brokerage,omitempty"` // 1 mean 1% } -func (m *UpdateBrokerageContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateBrokerageContract.Unmarshal(m, b) -} -func (m *UpdateBrokerageContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateBrokerageContract.Marshal(b, m, deterministic) -} -func (m *UpdateBrokerageContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateBrokerageContract.Merge(m, src) +func (x *UpdateBrokerageContract) Reset() { + *x = UpdateBrokerageContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_storage_contract_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateBrokerageContract) XXX_Size() int { - return xxx_messageInfo_UpdateBrokerageContract.Size(m) + +func (x *UpdateBrokerageContract) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateBrokerageContract) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateBrokerageContract.DiscardUnknown(m) + +func (*UpdateBrokerageContract) ProtoMessage() {} + +func (x *UpdateBrokerageContract) ProtoReflect() protoreflect.Message { + mi := &file_core_storage_contract_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_UpdateBrokerageContract proto.InternalMessageInfo +// Deprecated: Use UpdateBrokerageContract.ProtoReflect.Descriptor instead. +func (*UpdateBrokerageContract) Descriptor() ([]byte, []int) { + return file_core_storage_contract_proto_rawDescGZIP(), []int{3} +} -func (m *UpdateBrokerageContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *UpdateBrokerageContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress } return nil } -func (m *UpdateBrokerageContract) GetBrokerage() int32 { - if m != nil { - return m.Brokerage +func (x *UpdateBrokerageContract) GetBrokerage() int32 { + if x != nil { + return x.Brokerage } return 0 } -func init() { - proto.RegisterType((*BuyStorageBytesContract)(nil), "protocol.BuyStorageBytesContract") - proto.RegisterType((*BuyStorageContract)(nil), "protocol.BuyStorageContract") - proto.RegisterType((*SellStorageContract)(nil), "protocol.SellStorageContract") - proto.RegisterType((*UpdateBrokerageContract)(nil), "protocol.UpdateBrokerageContract") -} - -func init() { - proto.RegisterFile("core/contract/storage_contract.proto", fileDescriptor_fb2d446a78170b16) -} - -var fileDescriptor_fb2d446a78170b16 = []byte{ - // 246 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x91, 0x31, 0x4f, 0xc3, 0x30, - 0x10, 0x85, 0x15, 0x50, 0x11, 0x9c, 0xd2, 0x25, 0x20, 0x35, 0x03, 0x43, 0x49, 0x19, 0x3a, 0xc5, - 0x03, 0x33, 0x03, 0xe1, 0x07, 0x20, 0xa5, 0xb0, 0x20, 0xa4, 0xc8, 0x76, 0x8e, 0x50, 0x11, 0x72, - 0xe5, 0x7c, 0x11, 0xea, 0xbf, 0x47, 0x71, 0xb0, 0xda, 0x35, 0x4c, 0xd6, 0x3d, 0xbd, 0xf7, 0x9d, - 0xed, 0x07, 0xb7, 0x96, 0x18, 0x95, 0xa5, 0x4e, 0x58, 0x5b, 0x51, 0x4e, 0x88, 0x75, 0x83, 0x55, - 0x10, 0xf2, 0x1d, 0x93, 0x50, 0x72, 0xee, 0x0f, 0x4b, 0x6d, 0xf6, 0x0c, 0x8b, 0xa2, 0xdf, 0x6f, - 0x46, 0x5b, 0xb1, 0x17, 0x74, 0x8f, 0x7f, 0xd6, 0x64, 0x05, 0x73, 0xfa, 0xe9, 0x90, 0x2b, 0x5d, - 0xd7, 0x8c, 0xce, 0xa5, 0xd1, 0x32, 0x5a, 0xc7, 0x65, 0xec, 0xc5, 0x87, 0x51, 0x4b, 0xae, 0x60, - 0x66, 0x86, 0x54, 0x7a, 0xb2, 0x8c, 0xd6, 0xa7, 0xe5, 0x38, 0x64, 0x4f, 0x90, 0x1c, 0xa8, 0x93, - 0x81, 0xdf, 0xbd, 0xee, 0x24, 0x00, 0xfd, 0x90, 0x55, 0x70, 0xb9, 0xc1, 0xb6, 0xfd, 0x17, 0x71, - 0x05, 0xf3, 0xf0, 0x0d, 0xc7, 0x57, 0x8d, 0xdd, 0xd1, 0xa3, 0xb3, 0x37, 0x58, 0xbc, 0xec, 0x6a, - 0x2d, 0x58, 0x30, 0x7d, 0xe2, 0xf4, 0x25, 0xd7, 0x70, 0x61, 0x42, 0xd2, 0x2f, 0x98, 0x95, 0x07, - 0xa1, 0xb8, 0x87, 0x94, 0xb8, 0xc9, 0x85, 0xa9, 0x1b, 0x1b, 0x70, 0x79, 0x68, 0xe4, 0xf5, 0xa6, - 0xd9, 0xca, 0x47, 0x6f, 0x72, 0x4b, 0x5f, 0xea, 0xdd, 0x38, 0x32, 0x8c, 0x5b, 0xd6, 0xaa, 0xa1, - 0xc1, 0xad, 0x86, 0x3a, 0xcd, 0x99, 0xcf, 0xdc, 0xfd, 0x06, 0x00, 0x00, 0xff, 0xff, 0x5d, 0xc5, - 0x4d, 0x27, 0xdd, 0x01, 0x00, 0x00, +var File_core_storage_contract_proto protoreflect.FileDescriptor + +var file_core_storage_contract_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0x54, 0x0a, 0x17, 0x42, 0x75, 0x79, 0x53, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x22, 0x4f, 0x0a, + 0x12, 0x42, 0x75, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, + 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x61, 0x6e, + 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x22, 0x5f, + 0x0a, 0x13, 0x53, 0x65, 0x6c, 0x6c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, + 0x5c, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x61, + 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, + 0x1c, 0x0a, 0x09, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x09, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x61, 0x67, 0x65, 0x42, 0x4b, 0x0a, + 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, + 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, 0x72, 0x65, 0x69, 0x72, 0x61, + 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x6b, 0x67, 0x2f, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_core_storage_contract_proto_rawDescOnce sync.Once + file_core_storage_contract_proto_rawDescData = file_core_storage_contract_proto_rawDesc +) + +func file_core_storage_contract_proto_rawDescGZIP() []byte { + file_core_storage_contract_proto_rawDescOnce.Do(func() { + file_core_storage_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_storage_contract_proto_rawDescData) + }) + return file_core_storage_contract_proto_rawDescData +} + +var file_core_storage_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_core_storage_contract_proto_goTypes = []interface{}{ + (*BuyStorageBytesContract)(nil), // 0: protocol.BuyStorageBytesContract + (*BuyStorageContract)(nil), // 1: protocol.BuyStorageContract + (*SellStorageContract)(nil), // 2: protocol.SellStorageContract + (*UpdateBrokerageContract)(nil), // 3: protocol.UpdateBrokerageContract +} +var file_core_storage_contract_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_core_storage_contract_proto_init() } +func file_core_storage_contract_proto_init() { + if File_core_storage_contract_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_core_storage_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BuyStorageBytesContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_storage_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BuyStorageContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_storage_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SellStorageContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_storage_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateBrokerageContract); 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_core_storage_contract_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_core_storage_contract_proto_goTypes, + DependencyIndexes: file_core_storage_contract_proto_depIdxs, + MessageInfos: file_core_storage_contract_proto_msgTypes, + }.Build() + File_core_storage_contract_proto = out.File + file_core_storage_contract_proto_rawDesc = nil + file_core_storage_contract_proto_goTypes = nil + file_core_storage_contract_proto_depIdxs = nil } diff --git a/pkg/proto/core/vote_asset_contract.pb.go b/pkg/proto/core/vote_asset_contract.pb.go index 996839908..7471721ef 100644 --- a/pkg/proto/core/vote_asset_contract.pb.go +++ b/pkg/proto/core/vote_asset_contract.pb.go @@ -1,110 +1,177 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// source: core/contract/vote_asset_contract.proto +// versions: +// protoc-gen-go v1.28.0 +// protoc v3.21.12 +// source: core/vote_asset_contract.proto package core import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 VoteAssetContract struct { - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - VoteAddress [][]byte `protobuf:"bytes,2,rep,name=vote_address,json=voteAddress,proto3" json:"vote_address,omitempty"` - Support bool `protobuf:"varint,3,opt,name=support,proto3" json:"support,omitempty"` - Count int32 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *VoteAssetContract) Reset() { *m = VoteAssetContract{} } -func (m *VoteAssetContract) String() string { return proto.CompactTextString(m) } -func (*VoteAssetContract) ProtoMessage() {} -func (*VoteAssetContract) Descriptor() ([]byte, []int) { - return fileDescriptor_268c0a108a0de374, []int{0} + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + VoteAddress [][]byte `protobuf:"bytes,2,rep,name=vote_address,json=voteAddress,proto3" json:"vote_address,omitempty"` + Support bool `protobuf:"varint,3,opt,name=support,proto3" json:"support,omitempty"` + Count int32 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"` } -func (m *VoteAssetContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VoteAssetContract.Unmarshal(m, b) -} -func (m *VoteAssetContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VoteAssetContract.Marshal(b, m, deterministic) -} -func (m *VoteAssetContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_VoteAssetContract.Merge(m, src) +func (x *VoteAssetContract) Reset() { + *x = VoteAssetContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_vote_asset_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VoteAssetContract) XXX_Size() int { - return xxx_messageInfo_VoteAssetContract.Size(m) + +func (x *VoteAssetContract) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VoteAssetContract) XXX_DiscardUnknown() { - xxx_messageInfo_VoteAssetContract.DiscardUnknown(m) + +func (*VoteAssetContract) ProtoMessage() {} + +func (x *VoteAssetContract) ProtoReflect() protoreflect.Message { + mi := &file_core_vote_asset_contract_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_VoteAssetContract proto.InternalMessageInfo +// Deprecated: Use VoteAssetContract.ProtoReflect.Descriptor instead. +func (*VoteAssetContract) Descriptor() ([]byte, []int) { + return file_core_vote_asset_contract_proto_rawDescGZIP(), []int{0} +} -func (m *VoteAssetContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *VoteAssetContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress } return nil } -func (m *VoteAssetContract) GetVoteAddress() [][]byte { - if m != nil { - return m.VoteAddress +func (x *VoteAssetContract) GetVoteAddress() [][]byte { + if x != nil { + return x.VoteAddress } return nil } -func (m *VoteAssetContract) GetSupport() bool { - if m != nil { - return m.Support +func (x *VoteAssetContract) GetSupport() bool { + if x != nil { + return x.Support } return false } -func (m *VoteAssetContract) GetCount() int32 { - if m != nil { - return m.Count +func (x *VoteAssetContract) GetCount() int32 { + if x != nil { + return x.Count } return 0 } -func init() { - proto.RegisterType((*VoteAssetContract)(nil), "protocol.VoteAssetContract") +var File_core_vote_asset_contract_proto protoreflect.FileDescriptor + +var file_core_vote_asset_contract_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, + 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0x8b, 0x01, 0x0a, 0x11, 0x56, + 0x6f, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0b, 0x76, 0x6f, 0x74, + 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x70, 0x70, + 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x70, 0x70, 0x6f, + 0x72, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x4b, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, + 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, 0x72, 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, + 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_core_vote_asset_contract_proto_rawDescOnce sync.Once + file_core_vote_asset_contract_proto_rawDescData = file_core_vote_asset_contract_proto_rawDesc +) + +func file_core_vote_asset_contract_proto_rawDescGZIP() []byte { + file_core_vote_asset_contract_proto_rawDescOnce.Do(func() { + file_core_vote_asset_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_vote_asset_contract_proto_rawDescData) + }) + return file_core_vote_asset_contract_proto_rawDescData } -func init() { - proto.RegisterFile("core/contract/vote_asset_contract.proto", fileDescriptor_268c0a108a0de374) +var file_core_vote_asset_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_core_vote_asset_contract_proto_goTypes = []interface{}{ + (*VoteAssetContract)(nil), // 0: protocol.VoteAssetContract +} +var file_core_vote_asset_contract_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 } -var fileDescriptor_268c0a108a0de374 = []byte{ - // 211 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x34, 0x8f, 0xb1, 0x4e, 0x04, 0x21, - 0x10, 0x86, 0x83, 0x97, 0xd5, 0x0b, 0xae, 0x85, 0x1b, 0x0b, 0x4a, 0x4e, 0x0b, 0xa9, 0xa0, 0xb0, - 0xb6, 0x38, 0x7d, 0x03, 0x0a, 0x0b, 0x9b, 0x0d, 0x70, 0xb8, 0x5e, 0xa2, 0xcc, 0x66, 0x98, 0xd5, - 0x87, 0xf0, 0xa5, 0x0d, 0xcb, 0x52, 0x4d, 0xfe, 0x2f, 0xdf, 0x64, 0xfe, 0xe1, 0x8f, 0x01, 0x30, - 0x9a, 0x00, 0x89, 0xd0, 0x05, 0x32, 0x3f, 0x40, 0x71, 0x74, 0x39, 0x47, 0x1a, 0x1b, 0xd3, 0x33, - 0x02, 0xc1, 0xb0, 0x5f, 0x47, 0x80, 0xaf, 0xfb, 0x3f, 0xc6, 0x6f, 0xdf, 0x80, 0xe2, 0xb1, 0x68, - 0xaf, 0x9b, 0x35, 0x3c, 0xf0, 0x1b, 0xf8, 0x4d, 0x11, 0x47, 0x77, 0x3a, 0x61, 0xcc, 0x59, 0x30, - 0xc9, 0x54, 0x6f, 0xfb, 0x15, 0x1e, 0x2b, 0x1b, 0x0e, 0xbc, 0xaf, 0x17, 0x36, 0xe7, 0x42, 0xee, - 0x54, 0x6f, 0xaf, 0x0b, 0x6b, 0x8a, 0xe0, 0x57, 0x79, 0x99, 0x67, 0x40, 0x12, 0x3b, 0xc9, 0xd4, - 0xde, 0xb6, 0x38, 0xdc, 0xf1, 0x2e, 0xc0, 0x92, 0x48, 0x74, 0x92, 0xa9, 0xce, 0xd6, 0xf0, 0xf2, - 0xcc, 0x05, 0xe0, 0xa4, 0x09, 0x21, 0xd5, 0xa6, 0x59, 0xb7, 0xe6, 0xef, 0x87, 0xe9, 0x4c, 0x9f, - 0x8b, 0xd7, 0x01, 0xbe, 0xcd, 0x87, 0xcf, 0xe0, 0x31, 0x9e, 0xd1, 0x99, 0x09, 0x8a, 0x6d, 0xca, - 0xe7, 0xfe, 0x72, 0xdd, 0x79, 0xfa, 0x0f, 0x00, 0x00, 0xff, 0xff, 0x46, 0x61, 0x03, 0x0d, 0x08, - 0x01, 0x00, 0x00, +func init() { file_core_vote_asset_contract_proto_init() } +func file_core_vote_asset_contract_proto_init() { + if File_core_vote_asset_contract_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_core_vote_asset_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VoteAssetContract); 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_core_vote_asset_contract_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_core_vote_asset_contract_proto_goTypes, + DependencyIndexes: file_core_vote_asset_contract_proto_depIdxs, + MessageInfos: file_core_vote_asset_contract_proto_msgTypes, + }.Build() + File_core_vote_asset_contract_proto = out.File + file_core_vote_asset_contract_proto_rawDesc = nil + file_core_vote_asset_contract_proto_goTypes = nil + file_core_vote_asset_contract_proto_depIdxs = nil } diff --git a/pkg/proto/core/witness_contract.pb.go b/pkg/proto/core/witness_contract.pb.go index fc8d7b821..0d5d9b89b 100644 --- a/pkg/proto/core/witness_contract.pb.go +++ b/pkg/proto/core/witness_contract.pb.go @@ -1,251 +1,390 @@ // Code generated by protoc-gen-go. DO NOT EDIT. -// source: core/contract/witness_contract.proto +// versions: +// protoc-gen-go v1.28.0 +// protoc v3.21.12 +// source: core/witness_contract.proto package core import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +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 WitnessCreateContract struct { - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Url []byte `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *WitnessCreateContract) Reset() { *m = WitnessCreateContract{} } -func (m *WitnessCreateContract) String() string { return proto.CompactTextString(m) } -func (*WitnessCreateContract) ProtoMessage() {} -func (*WitnessCreateContract) Descriptor() ([]byte, []int) { - return fileDescriptor_083020148d0431a0, []int{0} + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Url []byte `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` } -func (m *WitnessCreateContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WitnessCreateContract.Unmarshal(m, b) -} -func (m *WitnessCreateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WitnessCreateContract.Marshal(b, m, deterministic) -} -func (m *WitnessCreateContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_WitnessCreateContract.Merge(m, src) +func (x *WitnessCreateContract) Reset() { + *x = WitnessCreateContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_witness_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WitnessCreateContract) XXX_Size() int { - return xxx_messageInfo_WitnessCreateContract.Size(m) + +func (x *WitnessCreateContract) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WitnessCreateContract) XXX_DiscardUnknown() { - xxx_messageInfo_WitnessCreateContract.DiscardUnknown(m) + +func (*WitnessCreateContract) ProtoMessage() {} + +func (x *WitnessCreateContract) ProtoReflect() protoreflect.Message { + mi := &file_core_witness_contract_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WitnessCreateContract proto.InternalMessageInfo +// Deprecated: Use WitnessCreateContract.ProtoReflect.Descriptor instead. +func (*WitnessCreateContract) Descriptor() ([]byte, []int) { + return file_core_witness_contract_proto_rawDescGZIP(), []int{0} +} -func (m *WitnessCreateContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *WitnessCreateContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress } return nil } -func (m *WitnessCreateContract) GetUrl() []byte { - if m != nil { - return m.Url +func (x *WitnessCreateContract) GetUrl() []byte { + if x != nil { + return x.Url } return nil } type WitnessUpdateContract struct { - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - UpdateUrl []byte `protobuf:"bytes,12,opt,name=update_url,json=updateUrl,proto3" json:"update_url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *WitnessUpdateContract) Reset() { *m = WitnessUpdateContract{} } -func (m *WitnessUpdateContract) String() string { return proto.CompactTextString(m) } -func (*WitnessUpdateContract) ProtoMessage() {} -func (*WitnessUpdateContract) Descriptor() ([]byte, []int) { - return fileDescriptor_083020148d0431a0, []int{1} + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + UpdateUrl []byte `protobuf:"bytes,12,opt,name=update_url,json=updateUrl,proto3" json:"update_url,omitempty"` } -func (m *WitnessUpdateContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WitnessUpdateContract.Unmarshal(m, b) -} -func (m *WitnessUpdateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WitnessUpdateContract.Marshal(b, m, deterministic) -} -func (m *WitnessUpdateContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_WitnessUpdateContract.Merge(m, src) +func (x *WitnessUpdateContract) Reset() { + *x = WitnessUpdateContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_witness_contract_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WitnessUpdateContract) XXX_Size() int { - return xxx_messageInfo_WitnessUpdateContract.Size(m) + +func (x *WitnessUpdateContract) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WitnessUpdateContract) XXX_DiscardUnknown() { - xxx_messageInfo_WitnessUpdateContract.DiscardUnknown(m) + +func (*WitnessUpdateContract) ProtoMessage() {} + +func (x *WitnessUpdateContract) ProtoReflect() protoreflect.Message { + mi := &file_core_witness_contract_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_WitnessUpdateContract proto.InternalMessageInfo +// Deprecated: Use WitnessUpdateContract.ProtoReflect.Descriptor instead. +func (*WitnessUpdateContract) Descriptor() ([]byte, []int) { + return file_core_witness_contract_proto_rawDescGZIP(), []int{1} +} -func (m *WitnessUpdateContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *WitnessUpdateContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress } return nil } -func (m *WitnessUpdateContract) GetUpdateUrl() []byte { - if m != nil { - return m.UpdateUrl +func (x *WitnessUpdateContract) GetUpdateUrl() []byte { + if x != nil { + return x.UpdateUrl } return nil } type VoteWitnessContract struct { - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Votes []*VoteWitnessContract_Vote `protobuf:"bytes,2,rep,name=votes,proto3" json:"votes,omitempty"` - Support bool `protobuf:"varint,3,opt,name=support,proto3" json:"support,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *VoteWitnessContract) Reset() { *m = VoteWitnessContract{} } -func (m *VoteWitnessContract) String() string { return proto.CompactTextString(m) } -func (*VoteWitnessContract) ProtoMessage() {} -func (*VoteWitnessContract) Descriptor() ([]byte, []int) { - return fileDescriptor_083020148d0431a0, []int{2} + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Votes []*VoteWitnessContract_Vote `protobuf:"bytes,2,rep,name=votes,proto3" json:"votes,omitempty"` + Support bool `protobuf:"varint,3,opt,name=support,proto3" json:"support,omitempty"` } -func (m *VoteWitnessContract) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VoteWitnessContract.Unmarshal(m, b) -} -func (m *VoteWitnessContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VoteWitnessContract.Marshal(b, m, deterministic) -} -func (m *VoteWitnessContract) XXX_Merge(src proto.Message) { - xxx_messageInfo_VoteWitnessContract.Merge(m, src) +func (x *VoteWitnessContract) Reset() { + *x = VoteWitnessContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_witness_contract_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VoteWitnessContract) XXX_Size() int { - return xxx_messageInfo_VoteWitnessContract.Size(m) + +func (x *VoteWitnessContract) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VoteWitnessContract) XXX_DiscardUnknown() { - xxx_messageInfo_VoteWitnessContract.DiscardUnknown(m) + +func (*VoteWitnessContract) ProtoMessage() {} + +func (x *VoteWitnessContract) ProtoReflect() protoreflect.Message { + mi := &file_core_witness_contract_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_VoteWitnessContract proto.InternalMessageInfo +// Deprecated: Use VoteWitnessContract.ProtoReflect.Descriptor instead. +func (*VoteWitnessContract) Descriptor() ([]byte, []int) { + return file_core_witness_contract_proto_rawDescGZIP(), []int{2} +} -func (m *VoteWitnessContract) GetOwnerAddress() []byte { - if m != nil { - return m.OwnerAddress +func (x *VoteWitnessContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress } return nil } -func (m *VoteWitnessContract) GetVotes() []*VoteWitnessContract_Vote { - if m != nil { - return m.Votes +func (x *VoteWitnessContract) GetVotes() []*VoteWitnessContract_Vote { + if x != nil { + return x.Votes } return nil } -func (m *VoteWitnessContract) GetSupport() bool { - if m != nil { - return m.Support +func (x *VoteWitnessContract) GetSupport() bool { + if x != nil { + return x.Support } return false } type VoteWitnessContract_Vote struct { - VoteAddress []byte `protobuf:"bytes,1,opt,name=vote_address,json=voteAddress,proto3" json:"vote_address,omitempty"` - VoteCount int64 `protobuf:"varint,2,opt,name=vote_count,json=voteCount,proto3" json:"vote_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *VoteWitnessContract_Vote) Reset() { *m = VoteWitnessContract_Vote{} } -func (m *VoteWitnessContract_Vote) String() string { return proto.CompactTextString(m) } -func (*VoteWitnessContract_Vote) ProtoMessage() {} -func (*VoteWitnessContract_Vote) Descriptor() ([]byte, []int) { - return fileDescriptor_083020148d0431a0, []int{2, 0} + VoteAddress []byte `protobuf:"bytes,1,opt,name=vote_address,json=voteAddress,proto3" json:"vote_address,omitempty"` + VoteCount int64 `protobuf:"varint,2,opt,name=vote_count,json=voteCount,proto3" json:"vote_count,omitempty"` } -func (m *VoteWitnessContract_Vote) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VoteWitnessContract_Vote.Unmarshal(m, b) -} -func (m *VoteWitnessContract_Vote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VoteWitnessContract_Vote.Marshal(b, m, deterministic) -} -func (m *VoteWitnessContract_Vote) XXX_Merge(src proto.Message) { - xxx_messageInfo_VoteWitnessContract_Vote.Merge(m, src) +func (x *VoteWitnessContract_Vote) Reset() { + *x = VoteWitnessContract_Vote{} + if protoimpl.UnsafeEnabled { + mi := &file_core_witness_contract_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VoteWitnessContract_Vote) XXX_Size() int { - return xxx_messageInfo_VoteWitnessContract_Vote.Size(m) + +func (x *VoteWitnessContract_Vote) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VoteWitnessContract_Vote) XXX_DiscardUnknown() { - xxx_messageInfo_VoteWitnessContract_Vote.DiscardUnknown(m) + +func (*VoteWitnessContract_Vote) ProtoMessage() {} + +func (x *VoteWitnessContract_Vote) ProtoReflect() protoreflect.Message { + mi := &file_core_witness_contract_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_VoteWitnessContract_Vote proto.InternalMessageInfo +// Deprecated: Use VoteWitnessContract_Vote.ProtoReflect.Descriptor instead. +func (*VoteWitnessContract_Vote) Descriptor() ([]byte, []int) { + return file_core_witness_contract_proto_rawDescGZIP(), []int{2, 0} +} -func (m *VoteWitnessContract_Vote) GetVoteAddress() []byte { - if m != nil { - return m.VoteAddress +func (x *VoteWitnessContract_Vote) GetVoteAddress() []byte { + if x != nil { + return x.VoteAddress } return nil } -func (m *VoteWitnessContract_Vote) GetVoteCount() int64 { - if m != nil { - return m.VoteCount +func (x *VoteWitnessContract_Vote) GetVoteCount() int64 { + if x != nil { + return x.VoteCount } return 0 } -func init() { - proto.RegisterType((*WitnessCreateContract)(nil), "protocol.WitnessCreateContract") - proto.RegisterType((*WitnessUpdateContract)(nil), "protocol.WitnessUpdateContract") - proto.RegisterType((*VoteWitnessContract)(nil), "protocol.VoteWitnessContract") - proto.RegisterType((*VoteWitnessContract_Vote)(nil), "protocol.VoteWitnessContract.Vote") -} - -func init() { - proto.RegisterFile("core/contract/witness_contract.proto", fileDescriptor_083020148d0431a0) -} - -var fileDescriptor_083020148d0431a0 = []byte{ - // 290 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x91, 0x31, 0x4b, 0xf4, 0x40, - 0x10, 0x86, 0xc9, 0xe5, 0xfb, 0xf4, 0x6e, 0x2e, 0x82, 0x44, 0x84, 0x45, 0x10, 0xee, 0xa2, 0x45, - 0xaa, 0x0d, 0x68, 0x63, 0x63, 0xa1, 0x69, 0xac, 0x2c, 0x02, 0xa7, 0xa0, 0x45, 0x48, 0x36, 0x6b, - 0x0c, 0xc4, 0x4c, 0x98, 0x9d, 0x78, 0x7f, 0xd5, 0x9f, 0x23, 0xbb, 0x31, 0x22, 0x62, 0x73, 0x55, - 0x92, 0x27, 0xcf, 0xbc, 0x3b, 0x3b, 0x03, 0xe7, 0x0a, 0x49, 0x27, 0x0a, 0x3b, 0xa6, 0x42, 0x71, - 0xb2, 0x6d, 0xb8, 0xd3, 0xc6, 0xe4, 0x13, 0x90, 0x3d, 0x21, 0x63, 0x38, 0x77, 0x0f, 0x85, 0x6d, - 0x74, 0x0f, 0xc7, 0x8f, 0xa3, 0x93, 0x92, 0x2e, 0x58, 0xa7, 0x5f, 0x62, 0x78, 0x06, 0x07, 0xb8, - 0xed, 0x34, 0xe5, 0x45, 0x55, 0x91, 0x36, 0x46, 0x78, 0x2b, 0x2f, 0x0e, 0xb2, 0xc0, 0xc1, 0x9b, - 0x91, 0x85, 0x87, 0xe0, 0x0f, 0xd4, 0x8a, 0x99, 0xfb, 0x65, 0x5f, 0xa3, 0xe7, 0xef, 0xbc, 0x4d, - 0x5f, 0xed, 0x9c, 0x77, 0x0a, 0x30, 0xb8, 0xb2, 0xdc, 0xc6, 0x06, 0xce, 0x58, 0x8c, 0x64, 0x43, - 0x6d, 0xf4, 0xe1, 0xc1, 0xd1, 0x03, 0xb2, 0x9e, 0x3a, 0xde, 0x29, 0xfb, 0x0a, 0xfe, 0xbf, 0x23, - 0x6b, 0x23, 0x66, 0x2b, 0x3f, 0x5e, 0x5e, 0x44, 0x72, 0x9a, 0x81, 0xfc, 0x23, 0xd2, 0xb1, 0x6c, - 0x2c, 0x08, 0x05, 0xec, 0x9b, 0xa1, 0xef, 0x91, 0x58, 0xf8, 0x2b, 0x2f, 0x9e, 0x67, 0xd3, 0xe7, - 0xc9, 0x1d, 0xfc, 0xb3, 0x62, 0xb8, 0x86, 0xc0, 0xaa, 0xbf, 0xce, 0x5f, 0x5a, 0xf6, 0xe3, 0x6a, - 0x4e, 0x51, 0x38, 0x74, 0xec, 0x26, 0xe6, 0x67, 0x0b, 0x4b, 0x52, 0x0b, 0x6e, 0xaf, 0x41, 0x20, - 0xd5, 0x92, 0x09, 0xbb, 0xb1, 0x31, 0x23, 0xa7, 0x9d, 0x3d, 0xad, 0xeb, 0x86, 0x5f, 0x87, 0x52, - 0x2a, 0x7c, 0x4b, 0x5e, 0x4a, 0x83, 0x25, 0xe9, 0x86, 0x8a, 0xa4, 0x46, 0x6b, 0x27, 0x76, 0xe1, - 0xe5, 0x9e, 0xab, 0xb9, 0xfc, 0x0c, 0x00, 0x00, 0xff, 0xff, 0xea, 0xca, 0xef, 0x4c, 0xff, 0x01, - 0x00, 0x00, +var File_core_witness_contract_proto protoreflect.FileDescriptor + +var file_core_witness_contract_proto_rawDesc = []byte{ + 0x0a, 0x1b, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0x4e, 0x0a, 0x15, 0x57, 0x69, 0x74, 0x6e, 0x65, + 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0x5b, 0x0a, 0x15, 0x57, 0x69, 0x74, 0x6e, 0x65, + 0x73, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, + 0x75, 0x72, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x55, 0x72, 0x6c, 0x22, 0xd8, 0x01, 0x0a, 0x13, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, + 0x6e, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x38, 0x0a, 0x05, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x74, 0x65, + 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, + 0x56, 0x6f, 0x74, 0x65, 0x52, 0x05, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, + 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, + 0x70, 0x70, 0x6f, 0x72, 0x74, 0x1a, 0x48, 0x0a, 0x04, 0x56, 0x6f, 0x74, 0x65, 0x12, 0x21, 0x0a, + 0x0c, 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x76, 0x6f, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x76, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, + 0x4b, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x2f, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, 0x72, 0x65, 0x69, + 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x6b, + 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_core_witness_contract_proto_rawDescOnce sync.Once + file_core_witness_contract_proto_rawDescData = file_core_witness_contract_proto_rawDesc +) + +func file_core_witness_contract_proto_rawDescGZIP() []byte { + file_core_witness_contract_proto_rawDescOnce.Do(func() { + file_core_witness_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_witness_contract_proto_rawDescData) + }) + return file_core_witness_contract_proto_rawDescData +} + +var file_core_witness_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_core_witness_contract_proto_goTypes = []interface{}{ + (*WitnessCreateContract)(nil), // 0: protocol.WitnessCreateContract + (*WitnessUpdateContract)(nil), // 1: protocol.WitnessUpdateContract + (*VoteWitnessContract)(nil), // 2: protocol.VoteWitnessContract + (*VoteWitnessContract_Vote)(nil), // 3: protocol.VoteWitnessContract.Vote +} +var file_core_witness_contract_proto_depIdxs = []int32{ + 3, // 0: protocol.VoteWitnessContract.votes:type_name -> protocol.VoteWitnessContract.Vote + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_core_witness_contract_proto_init() } +func file_core_witness_contract_proto_init() { + if File_core_witness_contract_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_core_witness_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WitnessCreateContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_witness_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WitnessUpdateContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_witness_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VoteWitnessContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_witness_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VoteWitnessContract_Vote); 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_core_witness_contract_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_core_witness_contract_proto_goTypes, + DependencyIndexes: file_core_witness_contract_proto_depIdxs, + MessageInfos: file_core_witness_contract_proto_msgTypes, + }.Build() + File_core_witness_contract_proto = out.File + file_core_witness_contract_proto_rawDesc = nil + file_core_witness_contract_proto_goTypes = nil + file_core_witness_contract_proto_depIdxs = nil } diff --git a/pkg/proto/util/completeTx.pb.go b/pkg/proto/util/completeTx.pb.go index 0654d8110..9a2068375 100644 --- a/pkg/proto/util/completeTx.pb.go +++ b/pkg/proto/util/completeTx.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.21.0-devel -// protoc v3.11.4 +// protoc-gen-go v1.28.0 +// protoc v3.21.12 // source: completeTx.proto package util @@ -9,7 +9,6 @@ package util import ( api "github.com/fbsobreira/gotron-sdk/pkg/proto/api" core "github.com/fbsobreira/gotron-sdk/pkg/proto/core" - proto "github.com/golang/protobuf/proto" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -23,10 +22,6 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -// This is a compile-time assertion that a sufficiently up-to-date version -// of the legacy proto package is being used. -const _ = proto.ProtoPackageIsVersion4 - type ProtoCompleteTransaction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -120,33 +115,32 @@ var file_completeTx_proto_rawDesc = []byte{ 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x1a, 0x0f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x54, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0d, 0x61, - 0x70, 0x69, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x63, 0x6f, - 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, 0x61, 0x73, 0x73, 0x65, - 0x74, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xad, 0x02, 0x0a, 0x18, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, - 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, - 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, - 0x69, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x02, 0x54, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x02, 0x54, 0x78, 0x12, 0x2d, 0x0a, 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x49, 0x6e, - 0x66, 0x6f, 0x12, 0x36, 0x0a, 0x0c, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, - 0x66, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0c, 0x45, 0x78, - 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3a, 0x0a, 0x09, 0x41, 0x73, - 0x73, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, - 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x09, 0x41, 0x73, 0x73, - 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x31, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, 0x72, 0x65, 0x69, 0x72, 0x61, 0x2f, - 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x75, 0x74, 0x69, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x70, 0x69, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x63, 0x6f, + 0x72, 0x65, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xad, 0x02, + 0x0a, 0x18, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x0b, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x09, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x02, 0x54, 0x78, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, + 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x02, 0x54, 0x78, 0x12, 0x2d, 0x0a, 0x04, 0x49, 0x6e, + 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x36, 0x0a, 0x0c, 0x45, 0x78, 0x63, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x52, 0x0c, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x3a, 0x0a, 0x09, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x52, 0x09, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x31, 0x5a, + 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, 0x6f, + 0x62, 0x72, 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, 0x64, + 0x6b, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x75, 0x74, 0x69, 0x6c, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/proto/tron b/proto/tron index 2351aa6c2..393732abc 160000 --- a/proto/tron +++ b/proto/tron @@ -1 +1 @@ -Subproject commit 2351aa6c2d708bf5ef47baf70410b3bc87d65fa7 +Subproject commit 393732abcb359cea591d06a6179ee4bfca8662bd diff --git a/proto/util/completeTx.proto b/proto/util/completeTx.proto index 1b3c3ac4e..53a2ccb04 100644 --- a/proto/util/completeTx.proto +++ b/proto/util/completeTx.proto @@ -2,7 +2,7 @@ syntax = "proto3"; import "core/Tron.proto"; import "api/api.proto"; -import "core/contract/asset_issue_contract.proto"; +import "core/asset_issue_contract.proto"; package protocol; From 874fc4b6eccc22594815cba329d4e4f08e9800af Mon Sep 17 00:00:00 2001 From: Fernando Sobreira Date: Fri, 17 Feb 2023 10:38:21 -0500 Subject: [PATCH 15/53] Improve Tests & Sign Message (#52) * replace deprecate protobuf package * . * improve tx parser * contract tests/examples * Account sign and verify message --- cmd/subcommands/account.go | 85 ++++++++- cmd/subcommands/bc.go | 256 +++++++++------------------ go.mod | 8 +- go.sum | 16 +- pkg/client/account.go | 2 +- pkg/client/assets.go | 2 +- pkg/client/bank.go | 2 +- pkg/client/client_test.go | 59 ++++++ pkg/client/contracts_test.go | 93 ++++++++++ pkg/client/exchange.go | 2 +- pkg/client/network.go | 6 +- pkg/client/proposal.go | 2 +- pkg/client/transaction/controller.go | 2 +- pkg/client/transfer.go | 2 +- pkg/client/trc20.go | 20 ++- pkg/client/trc20_test.go | 23 +++ pkg/client/witnesses.go | 2 +- pkg/common/hash.go | 8 + pkg/keystore/account.go | 61 +++++-- pkg/keystore/wallet.go | 4 +- 20 files changed, 439 insertions(+), 216 deletions(-) create mode 100755 pkg/client/client_test.go create mode 100755 pkg/client/contracts_test.go create mode 100644 pkg/client/trc20_test.go diff --git a/cmd/subcommands/account.go b/cmd/subcommands/account.go index 9b224aa16..8f628538a 100644 --- a/cmd/subcommands/account.go +++ b/cmd/subcommands/account.go @@ -1,6 +1,7 @@ package cmd import ( + "encoding/hex" "encoding/json" "fmt" "math" @@ -53,6 +54,7 @@ func accountSub() []*cobra.Command { result["balance"] = float64(acc.GetBalance()) / 1000000 result["allowance"] = float64(acc.GetAllowance()) / 1000000 result["rewards"] = float64(rewards) / 1000000 + asJSON, _ := json.Marshal(result) fmt.Println(common.JSONPrettyFormat(string(asJSON))) return nil @@ -607,7 +609,88 @@ func accountSub() []*cobra.Command { cmdPermission.Flags().StringSliceVar(&permissionList, "allow", []string{}, "TYPE:THRESHOLD:ADDRESS1-WEIGHT+ADDRESS2-WEIGHT") - return []*cobra.Command{cmdBalance, cmdActivate, cmdSend, cmdAddress, cmdInfo, cmdWithdraw, cmdFreeze, cmdVote, cmdPermission} + var useFixedLength bool + var hashMessage bool + + cmdSign := &cobra.Command{ + Use: "sign", + Short: "sign message", + Args: cobra.ExactArgs(1), + RunE: func(cmd *cobra.Command, args []string) error { + if signerAddress.String() == "" { + return fmt.Errorf("no signer specified") + } + + message := []byte(args[0]) + if hashMessage { + message = common.Keccak256([]byte(message)) + } + + var signature []byte + if useLedgerWallet { + // TODO: + // account := keystore.Account{Address: signerAddress.GetAddress()} + } else { + ks, acct, err := store.UnlockedKeystore(signerAddress.String(), passphrase) + if err != nil { + return err + } + signature, err = ks.Wallets()[0].SignText(*acct, []byte(message), useFixedLength) + if err != nil { + return err + } + } + + result := make(map[string]interface{}) + result["Signer"] = signerAddress.String() + result["Message"] = args[0] + result["Signature"] = hex.EncodeToString(signature) + asJSON, _ := json.Marshal(result) + fmt.Println(common.JSONPrettyFormat(string(asJSON))) + return nil + }, + } + cmdSign.Flags().BoolVar(&useFixedLength, "useFixedLength", false, "--useFixedLength=true") + cmdSign.Flags().BoolVar(&hashMessage, "hashMessage", false, "--hashMessage=true") + + cmdVerify := &cobra.Command{ + Use: "verify", + Short: "verify message signature", + Args: cobra.ExactArgs(2), + RunE: func(cmd *cobra.Command, args []string) error { + + message := []byte(args[0]) + if hashMessage { + message = common.Keccak256([]byte(message)) + } + + // compute message hash + hash := keystore.TextHash(message, useFixedLength) + signature, err := hex.DecodeString(args[1]) + if err != nil { + fmt.Println("Invalid signature") + return err + } + + addr, err := keystore.RecoverPubkey(hash, signature) + if err != nil { + return err + } + + result := make(map[string]interface{}) + result["Message"] = args[0] + result["Signature"] = args[1] + result["Signer"] = addr.String() + + asJSON, _ := json.Marshal(result) + fmt.Println(common.JSONPrettyFormat(string(asJSON))) + return nil + }, + } + cmdVerify.Flags().BoolVar(&useFixedLength, "useFixedLength", false, "--useFixedLength=true") + cmdVerify.Flags().BoolVar(&hashMessage, "hashMessage", false, "--hashMessage=true") + + return []*cobra.Command{cmdBalance, cmdActivate, cmdSend, cmdAddress, cmdInfo, cmdWithdraw, cmdFreeze, cmdVote, cmdPermission, cmdSign, cmdVerify} } func init() { diff --git a/cmd/subcommands/bc.go b/cmd/subcommands/bc.go index 6a30d98e5..51a07a87b 100644 --- a/cmd/subcommands/bc.go +++ b/cmd/subcommands/bc.go @@ -3,14 +3,15 @@ package cmd import ( "encoding/json" "fmt" + "strings" "time" "github.com/fatih/structs" "github.com/fbsobreira/gotron-sdk/pkg/address" "github.com/fbsobreira/gotron-sdk/pkg/common" "github.com/fbsobreira/gotron-sdk/pkg/proto/core" - "github.com/golang/protobuf/ptypes" "github.com/spf13/cobra" + "google.golang.org/protobuf/reflect/protoreflect" ) var () @@ -107,210 +108,94 @@ func bcSub() []*cobra.Command { result["contractName"] = contract.Type.String() //parse contract + var c interface{} switch contract.Type { case core.Transaction_Contract_AccountCreateContract: - var c core.AccountCreateContract - if err = ptypes.UnmarshalAny(contract.GetParameter(), &c); err != nil { - return fmt.Errorf("Tx inconsistent") - } - result["contract"] = structs.Map(c) + c = &core.AccountCreateContract{} case core.Transaction_Contract_TransferContract: - var c core.TransferContract - if err = ptypes.UnmarshalAny(contract.GetParameter(), &c); err != nil { - return fmt.Errorf("Tx inconsistent") - } - result["contract"] = structs.Map(c) + c = &core.TransferContract{} case core.Transaction_Contract_TransferAssetContract: - var c core.TransferAssetContract - if err = ptypes.UnmarshalAny(contract.GetParameter(), &c); err != nil { - return fmt.Errorf("Tx inconsistent") - } - result["contract"] = structs.Map(c) + c = &core.TransferAssetContract{} case core.Transaction_Contract_VoteWitnessContract: - var c core.VoteWitnessContract - if err = ptypes.UnmarshalAny(contract.GetParameter(), &c); err != nil { - return fmt.Errorf("Tx inconsistent") - } - result["contract"] = structs.Map(c) + c = &core.VoteWitnessContract{} case core.Transaction_Contract_WitnessCreateContract: - var c core.WitnessCreateContract - if err = ptypes.UnmarshalAny(contract.GetParameter(), &c); err != nil { - return fmt.Errorf("Tx inconsistent") - } - result["contract"] = structs.Map(c) + c = &core.WitnessCreateContract{} + case core.Transaction_Contract_WitnessUpdateContract: + c = &core.WitnessUpdateContract{} case core.Transaction_Contract_AssetIssueContract: - var c core.AssetIssueContract - if err = ptypes.UnmarshalAny(contract.GetParameter(), &c); err != nil { - return fmt.Errorf("Tx inconsistent") - } - result["contract"] = structs.Map(c) + c = &core.AssetIssueContract{} case core.Transaction_Contract_ParticipateAssetIssueContract: - var c core.ParticipateAssetIssueContract - if err = ptypes.UnmarshalAny(contract.GetParameter(), &c); err != nil { - return fmt.Errorf("Tx inconsistent") - } - result["contract"] = structs.Map(c) + c = &core.ParticipateAssetIssueContract{} case core.Transaction_Contract_AccountUpdateContract: - var c core.AccountUpdateContract - if err = ptypes.UnmarshalAny(contract.GetParameter(), &c); err != nil { - return fmt.Errorf("Tx inconsistent") - } - result["contract"] = structs.Map(c) + c = &core.AccountUpdateContract{} case core.Transaction_Contract_FreezeBalanceContract: - var c core.FreezeBalanceContract - if err = ptypes.UnmarshalAny(contract.GetParameter(), &c); err != nil { - return fmt.Errorf("Tx inconsistent") - } - result["contract"] = structs.Map(c) + c = &core.FreezeBalanceContract{} case core.Transaction_Contract_UnfreezeBalanceContract: - var c core.UnfreezeBalanceContract - if err = ptypes.UnmarshalAny(contract.GetParameter(), &c); err != nil { - return fmt.Errorf("Tx inconsistent") - } - result["contract"] = structs.Map(c) + c = &core.UnfreezeBalanceContract{} case core.Transaction_Contract_WithdrawBalanceContract: - var c core.WithdrawBalanceContract - if err = ptypes.UnmarshalAny(contract.GetParameter(), &c); err != nil { - return fmt.Errorf("Tx inconsistent") - } - result["contract"] = structs.Map(c) + c = &core.WithdrawBalanceContract{} case core.Transaction_Contract_UnfreezeAssetContract: - var c core.UnfreezeAssetContract - if err = ptypes.UnmarshalAny(contract.GetParameter(), &c); err != nil { - return fmt.Errorf("Tx inconsistent") - } - result["contract"] = structs.Map(c) + c = &core.UnfreezeAssetContract{} case core.Transaction_Contract_UpdateAssetContract: - var c core.UpdateAssetContract - if err = ptypes.UnmarshalAny(contract.GetParameter(), &c); err != nil { - return fmt.Errorf("Tx inconsistent") - } - result["contract"] = structs.Map(c) - + c = &core.UpdateAssetContract{} case core.Transaction_Contract_ProposalCreateContract: - var c core.ProposalCreateContract - if err = ptypes.UnmarshalAny(contract.GetParameter(), &c); err != nil { - return fmt.Errorf("Tx inconsistent") - } - result["contract"] = structs.Map(c) + c = &core.ProposalCreateContract{} case core.Transaction_Contract_ProposalApproveContract: - var c core.ProposalApproveContract - if err = ptypes.UnmarshalAny(contract.GetParameter(), &c); err != nil { - return fmt.Errorf("Tx inconsistent") - } - result["contract"] = structs.Map(c) + c = &core.ProposalApproveContract{} case core.Transaction_Contract_ProposalDeleteContract: - var c core.ProposalDeleteContract - if err = ptypes.UnmarshalAny(contract.GetParameter(), &c); err != nil { - return fmt.Errorf("Tx inconsistent") - } - result["contract"] = structs.Map(c) + c = &core.ProposalDeleteContract{} case core.Transaction_Contract_SetAccountIdContract: - var c core.SetAccountIdContract - if err = ptypes.UnmarshalAny(contract.GetParameter(), &c); err != nil { - return fmt.Errorf("Tx inconsistent") - } - result["contract"] = structs.Map(c) + c = &core.SetAccountIdContract{} case core.Transaction_Contract_CustomContract: - return fmt.Errorf("Tx inconsistent") + return fmt.Errorf("proto unmarshal any: %s", "customContract") case core.Transaction_Contract_CreateSmartContract: - var c core.CreateSmartContract - if err = ptypes.UnmarshalAny(contract.GetParameter(), &c); err != nil { - return fmt.Errorf("Tx inconsistent") - } - result["contract"] = structs.Map(c) + c = &core.CreateSmartContract{} case core.Transaction_Contract_TriggerSmartContract: - var c core.TriggerSmartContract - if err = ptypes.UnmarshalAny(contract.GetParameter(), &c); err != nil { - return fmt.Errorf("Tx inconsistent") - } - result["contract"] = structs.Map(c) + c = &core.TriggerSmartContract{} + case core.Transaction_Contract_GetContract: + return fmt.Errorf("proto unmarshal any: %s", "getContract") case core.Transaction_Contract_UpdateSettingContract: - var c core.UpdateSettingContract - if err = ptypes.UnmarshalAny(contract.GetParameter(), &c); err != nil { - return fmt.Errorf("Tx inconsistent") - } - result["contract"] = structs.Map(c) + c = &core.UpdateSettingContract{} case core.Transaction_Contract_ExchangeCreateContract: - var c core.ExchangeCreateContract - if err = ptypes.UnmarshalAny(contract.GetParameter(), &c); err != nil { - return fmt.Errorf("Tx inconsistent") - } - result["contract"] = structs.Map(c) + c = &core.ExchangeCreateContract{} case core.Transaction_Contract_ExchangeInjectContract: - var c core.ExchangeInjectContract - if err = ptypes.UnmarshalAny(contract.GetParameter(), &c); err != nil { - return fmt.Errorf("Tx inconsistent") - } - result["contract"] = structs.Map(c) + c = &core.ExchangeInjectContract{} case core.Transaction_Contract_ExchangeWithdrawContract: - var c core.ExchangeWithdrawContract - if err = ptypes.UnmarshalAny(contract.GetParameter(), &c); err != nil { - return fmt.Errorf("Tx inconsistent") - } - result["contract"] = structs.Map(c) + c = &core.ExchangeWithdrawContract{} case core.Transaction_Contract_ExchangeTransactionContract: - var c core.ExchangeTransactionContract - if err = ptypes.UnmarshalAny(contract.GetParameter(), &c); err != nil { - return fmt.Errorf("Tx inconsistent") - } - result["contract"] = structs.Map(c) + c = &core.ExchangeTransactionContract{} case core.Transaction_Contract_UpdateEnergyLimitContract: - var c core.UpdateEnergyLimitContract - if err = ptypes.UnmarshalAny(contract.GetParameter(), &c); err != nil { - return fmt.Errorf("Tx inconsistent") - } - result["contract"] = structs.Map(c) + c = &core.UpdateEnergyLimitContract{} case core.Transaction_Contract_AccountPermissionUpdateContract: - var c core.AccountPermissionUpdateContract - if err = ptypes.UnmarshalAny(contract.GetParameter(), &c); err != nil { - return fmt.Errorf("Tx inconsistent") - } - result["contract"] = structs.Map(c) + c = &core.AccountPermissionUpdateContract{} case core.Transaction_Contract_ClearABIContract: - var c core.ClearABIContract - if err = ptypes.UnmarshalAny(contract.GetParameter(), &c); err != nil { - return fmt.Errorf("Tx inconsistent") - } - result["contract"] = structs.Map(c) + c = &core.ClearABIContract{} case core.Transaction_Contract_UpdateBrokerageContract: - var c core.UpdateBrokerageContract - if err = ptypes.UnmarshalAny(contract.GetParameter(), &c); err != nil { - return fmt.Errorf("Tx inconsistent") - } - result["contract"] = structs.Map(c) + c = &core.UpdateBrokerageContract{} case core.Transaction_Contract_ShieldedTransferContract: - var c core.ShieldedTransferContract - if err = ptypes.UnmarshalAny(contract.GetParameter(), &c); err != nil { - return fmt.Errorf("Tx inconsistent") - } - result["contract"] = structs.Map(c) + c = &core.ShieldedTransferContract{} + case core.Transaction_Contract_MarketSellAssetContract: + c = &core.MarketSellAssetContract{} + case core.Transaction_Contract_MarketCancelOrderContract: + c = &core.MarketCancelOrderContract{} + case core.Transaction_Contract_FreezeBalanceV2Contract: + c = &core.FreezeBalanceV2Contract{} + case core.Transaction_Contract_UnfreezeBalanceV2Contract: + c = &core.UnfreezeBalanceV2Contract{} + case core.Transaction_Contract_WithdrawExpireUnfreezeContract: + c = &core.WithdrawExpireUnfreezeContract{} + case core.Transaction_Contract_DelegateResourceContract: + c = &core.DelegateResourceContract{} + case core.Transaction_Contract_UnDelegateResourceContract: + c = &core.UnDelegateResourceContract{} default: - return fmt.Errorf("Tx inconsistent") - } - - c := result["contract"].(map[string]interface{}) - delete(c, "XXX_NoUnkeyedLiteral") - delete(c, "XXX_sizecache") - delete(c, "XXX_unrecognized") - if v, ok := c["OwnerAddress"]; ok && len(v.([]uint8)) > 0 { - c["OwnerAddress"] = address.Address(v.([]uint8)).String() - } - if v, ok := c["ReceiverAddress"]; ok && len(v.([]uint8)) > 0 { - c["ReceiverAddress"] = address.Address(v.([]uint8)).String() - } - if v, ok := c["ToAddress"]; ok && len(v.([]uint8)) > 0 { - c["ToAddress"] = address.Address(v.([]uint8)).String() + return fmt.Errorf("proto unmarshal any: %+w", err) } - if v, ok := c["Votes"]; ok { - votes := make(map[string]int64) - for _, d := range v.([]interface{}) { - dP := d.(map[string]interface{}) - votes[address.Address(dP["VoteAddress"].([]uint8)).String()] = dP["VoteCount"].(int64) - } - c["Votes"] = votes + if err = contract.GetParameter().UnmarshalTo(c.(protoreflect.ProtoMessage)); err != nil { + return fmt.Errorf("proto unmarshal any: %+w", err) } + result["contract"] = parseContractHumanReadable(structs.Map(c)) asJSON, _ := json.Marshal(result) fmt.Println(common.JSONPrettyFormat(string(asJSON))) @@ -321,6 +206,37 @@ func bcSub() []*cobra.Command { return []*cobra.Command{cmdNode, cmdMT, cmdTX} } +func parseContractHumanReadable(ck map[string]interface{}) map[string]interface{} { + // Addresses fields + addresses := map[string]bool{ + "OwnerAddress": true, + "ReceiverAddress": true, + "ToAddress": true, + "ContractAddress": true, + } + for f, d := range ck { + if strings.HasPrefix(f, "XXX_") { + delete(ck, f) + } + + // convert addresses + if addresses[f] { + ck[f] = address.Address(d.([]uint8)).String() + } + } + + if v, ok := ck["Votes"]; ok { + votes := make(map[string]int64) + for _, d := range v.([]interface{}) { + dP := d.(map[string]interface{}) + votes[address.Address(dP["VoteAddress"].([]uint8)).String()] = dP["VoteCount"].(int64) + } + ck["Votes"] = votes + } + + return ck +} + func init() { cmdBC := &cobra.Command{ Use: "bc", diff --git a/go.mod b/go.mod index 78846a6e8..3c74f4301 100644 --- a/go.mod +++ b/go.mod @@ -9,7 +9,6 @@ require ( github.com/ethereum/go-ethereum v1.10.11 github.com/fatih/color v1.9.0 github.com/fatih/structs v1.1.0 - github.com/golang/protobuf v1.4.3 github.com/karalabe/hid v1.0.0 github.com/mitchellh/go-homedir v1.1.0 github.com/pborman/uuid v1.2.1 @@ -23,7 +22,7 @@ require ( golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 google.golang.org/genproto v0.0.0-20200825200019-8632dd797987 google.golang.org/grpc v1.37.0 - google.golang.org/protobuf v1.25.0 + google.golang.org/protobuf v1.28.1 gopkg.in/yaml.v2 v2.4.0 ) @@ -31,6 +30,7 @@ require ( github.com/cpuguy83/go-md2man/v2 v2.0.0 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/go-stack/stack v1.8.0 // indirect + github.com/golang/protobuf v1.5.0 // indirect github.com/google/uuid v1.1.5 // indirect github.com/inconshreveable/mousetrap v1.0.0 // indirect github.com/mattn/go-colorable v0.1.8 // indirect @@ -38,11 +38,11 @@ require ( github.com/pmezard/go-difflib v1.0.0 // indirect github.com/russross/blackfriday/v2 v2.0.1 // indirect github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect - github.com/spf13/pflag v1.0.5 // indirect + github.com/spf13/pflag v1.0.3 // indirect go.uber.org/atomic v1.6.0 // indirect go.uber.org/multierr v1.5.0 // indirect golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d // indirect - golang.org/x/sys v0.0.0-20211102061401-a2f17f7b995c // indirect + golang.org/x/sys v0.0.0-20210816183151-1e6c022a8912 // indirect golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 // indirect golang.org/x/text v0.3.6 // indirect gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect diff --git a/go.sum b/go.sum index 129061fd8..1ad71f294 100644 --- a/go.sum +++ b/go.sum @@ -174,8 +174,9 @@ github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:W github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.4.3 h1:JjCZWpVbqXDqFVmTfYWEVTMIYrL/NPdPSCHPJ0T/raM= github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/protobuf v1.5.0 h1:LUVKkCeviFUMKqHa4tXIIij/lbhnMbP7Fn5wKdKkRh4= +github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= @@ -189,8 +190,9 @@ github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMyw github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.4 h1:L8R9j+yAqZuZjsqh/z+F1NCffTKKLShY6zXTItVIZ8M= github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= +github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/gofuzz v1.1.1-0.20200604201612-c04b05f3adfa/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= @@ -381,9 +383,8 @@ github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3 github.com/spf13/cobra v1.0.0 h1:6m/oheQuQ13N9ks4hubMG6BnvwOeaJrqSPLahSnczz8= github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= +github.com/spf13/pflag v1.0.3 h1:zPAT6CGy6wXeQ7NtTnaTerfKOsV6V6F8agHXFiazDkg= github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= -github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= -github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE= github.com/status-im/keycard-go v0.0.0-20190316090335-8537d3370df4/go.mod h1:RZLeN1LMWmRsyYjvAu+I6Dm9QmlDaIIt+Y+4Kd7Tp+Q= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= @@ -554,9 +555,8 @@ golang.org/x/sys v0.0.0-20210324051608-47abb6519492/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210420205809-ac73e9fd8988/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210816183151-1e6c022a8912 h1:uCLL3g5wH2xjxVREVuAbP9JM5PPKjRbXKRa6IBjkzmU= golang.org/x/sys v0.0.0-20210816183151-1e6c022a8912/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211102061401-a2f17f7b995c h1:QOfDMdrf/UwlVR0UBq2Mpr58UzNtvgJRXA4BgPfFACs= -golang.org/x/sys v0.0.0-20211102061401-a2f17f7b995c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 h1:v+OssWQX+hTHEmOBgwxdZxK4zHq3yOs8F9J7mk0PY8E= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= @@ -662,8 +662,10 @@ google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2 google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= -google.golang.org/protobuf v1.25.0 h1:Ejskq+SyPohKW+1uil0JJMtmHCgJPJ/qWTxr8qp+R4c= google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= +google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= +google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w= +google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/pkg/client/account.go b/pkg/client/account.go index b66c777e1..c2035a088 100644 --- a/pkg/client/account.go +++ b/pkg/client/account.go @@ -10,7 +10,7 @@ import ( "github.com/fbsobreira/gotron-sdk/pkg/common" "github.com/fbsobreira/gotron-sdk/pkg/proto/api" "github.com/fbsobreira/gotron-sdk/pkg/proto/core" - "github.com/golang/protobuf/proto" + "google.golang.org/protobuf/proto" ) // GetAccount from BASE58 address diff --git a/pkg/client/assets.go b/pkg/client/assets.go index 56fe406f8..5f633b09a 100644 --- a/pkg/client/assets.go +++ b/pkg/client/assets.go @@ -9,7 +9,7 @@ import ( "github.com/fbsobreira/gotron-sdk/pkg/common" "github.com/fbsobreira/gotron-sdk/pkg/proto/api" "github.com/fbsobreira/gotron-sdk/pkg/proto/core" - "github.com/golang/protobuf/proto" + "google.golang.org/protobuf/proto" ) // GetAssetIssueByAccount list asset issued by account diff --git a/pkg/client/bank.go b/pkg/client/bank.go index ae19808b9..da7a1766d 100644 --- a/pkg/client/bank.go +++ b/pkg/client/bank.go @@ -6,7 +6,7 @@ import ( "github.com/fbsobreira/gotron-sdk/pkg/common" "github.com/fbsobreira/gotron-sdk/pkg/proto/api" "github.com/fbsobreira/gotron-sdk/pkg/proto/core" - "github.com/golang/protobuf/proto" + "google.golang.org/protobuf/proto" ) // FreezeBalance from base58 address diff --git a/pkg/client/client_test.go b/pkg/client/client_test.go new file mode 100755 index 000000000..a3c3fa3be --- /dev/null +++ b/pkg/client/client_test.go @@ -0,0 +1,59 @@ +package client_test + +import ( + "crypto/sha256" + "encoding/hex" + "testing" + + "github.com/btcsuite/btcd/btcec" + "github.com/ethereum/go-ethereum/crypto" + "github.com/fbsobreira/gotron-sdk/pkg/client" + "github.com/stretchr/testify/require" + "google.golang.org/grpc" + "google.golang.org/protobuf/proto" +) + +func TestTRC20(t *testing.T) { + c := client.NewGrpcClient("") + err := c.Start(grpc.WithInsecure()) + require.Nil(t, err) + + value, err := c.TRC20GetDecimals("TN7EWmuVWrdehLwKGnU2rk42GWodbAXGUM") + require.Nil(t, err) + require.Equal(t, value.Int64(), int64(0)) + + value, err = c.TRC20GetDecimals("TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t") + require.Nil(t, err) + require.Equal(t, value.Int64(), int64(6)) +} + +func TestSend(t *testing.T) { + t.Skip() + fromAddress := "" + toAddress := "" + + privateKeyBytes, _ := hex.DecodeString("ABCD") + + c := client.NewGrpcClient("") + err := c.Start(grpc.WithInsecure()) + require.Nil(t, err) + tx, err := c.Transfer(fromAddress, toAddress, 1000) + require.Nil(t, err) + + rawData, err := proto.Marshal(tx.Transaction.GetRawData()) + require.Nil(t, err) + h256h := sha256.New() + h256h.Write(rawData) + hash := h256h.Sum(nil) + + // btcec.PrivKeyFromBytes only returns a secret key and public key + sk, _ := btcec.PrivKeyFromBytes(btcec.S256(), privateKeyBytes) + + signature, err := crypto.Sign(hash, sk.ToECDSA()) + require.Nil(t, err) + tx.Transaction.Signature = append(tx.Transaction.Signature, signature) + + result, err := c.Broadcast(tx.Transaction) + require.Nil(t, err) + require.NotNil(t, result) +} diff --git a/pkg/client/contracts_test.go b/pkg/client/contracts_test.go new file mode 100755 index 000000000..4dcca074a --- /dev/null +++ b/pkg/client/contracts_test.go @@ -0,0 +1,93 @@ +package client_test + +import ( + "encoding/hex" + "fmt" + "math/big" + "testing" + + "github.com/fbsobreira/gotron-sdk/pkg/abi" + "github.com/fbsobreira/gotron-sdk/pkg/client" + "github.com/fbsobreira/gotron-sdk/pkg/proto/api" + "github.com/fbsobreira/gotron-sdk/pkg/proto/core" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "google.golang.org/grpc" + "google.golang.org/protobuf/proto" +) + +func TestProtoParse(t *testing.T) { + raw := &core.TransactionRaw{} + + mb, _ := hex.DecodeString("0a020cd222081e6d180d0ea1be1340c082fc94c22e5a8e01081f1289010a31747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e54726967676572536d617274436f6e747261637412540a15419df085719e7e0bd5bf4fd1b2a6aed6afd2b8416d121541157a629d8e8d7d43218b83240afaa02e8c300b36222497a5d5b50000000000000000000000009df085719e7e0bd5bf4fd1b2a6aed6afd2b8416d7085c1f894c22e") + + proto.Unmarshal(mb, raw) + fmt.Printf("Raw: %+v\n", raw) + c := raw.GetContract()[0] + trig := &core.TriggerSmartContract{} + // recover + err := c.GetParameter().UnmarshalTo(trig) + require.Nil(t, err) + assert.Equal(t, hex.EncodeToString(trig.Data), "97a5d5b50000000000000000000000009df085719e7e0bd5bf4fd1b2a6aed6afd2b8416d") +} + +func TestGetAccount(t *testing.T) { + conn := client.NewGrpcClient("grpc.trongrid.io:50051") + err := conn.Start(grpc.WithInsecure()) + require.Nil(t, err) + + tx, err := conn.TriggerConstantContract("", + "TBvmoZWgmx3wqvJoDyejSXqWWogy6kCNGp", + "statusOf(address)", `[{"address": "TQNKDtPaeSSGhtbDAykLeHEpMpfUYmSuj1"}]`) + require.Nil(t, err) + + assert.Equal(t, api.Return_SUCCESS, tx.Result.Code) + + /*const abiJSON = `[{"outputs":[{"type":"address"}],"constant":true,"name":"kleverToken","stateMutability":"View","type":"Function"},{"name":"unpause","stateMutability":"Nonpayable","type":"Function"},{"outputs":[{"type":"bool"}],"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"isPauser","stateMutability":"View","type":"Function"},{"inputs":[{"name":"_to","type":"address"}],"name":"reclaimTRX","stateMutability":"Nonpayable","type":"Function"},{"outputs":[{"type":"bool"}],"constant":true,"name":"paused","stateMutability":"View","type":"Function"},{"name":"renouncePauser","stateMutability":"Nonpayable","type":"Function"},{"name":"renounceOwnership","stateMutability":"Nonpayable","type":"Function"},{"inputs":[{"name":"account","type":"address"}],"name":"addPauser","stateMutability":"Nonpayable","type":"Function"},{"name":"pause","stateMutability":"Nonpayable","type":"Function"},{"inputs":[{"name":"_token","type":"address"},{"name":"_to","type":"address"}],"name":"reclaimToken","stateMutability":"Nonpayable","type":"Function"},{"outputs":[{"type":"address"}],"constant":true,"name":"owner","stateMutability":"View","type":"Function"},{"outputs":[{"type":"bool"}],"constant":true,"name":"isOwner","stateMutability":"View","type":"Function"},{"outputs":[{"type":"uint256"}],"constant":true,"name":"totalMinted","stateMutability":"View","type":"Function"},{"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","stateMutability":"Nonpayable","type":"Function"},{"inputs":[{"name":"_kleverToken","type":"address"}],"stateMutability":"Nonpayable","type":"Constructor"},{"inputs":[{"name":"account","type":"address"}],"name":"Paused","type":"Event"},{"inputs":[{"name":"account","type":"address"}],"name":"Unpaused","type":"Event"},{"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"PauserAdded","type":"Event"},{"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"PauserRemoved","type":"Event"},{"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"Event"},{"inputs":[{"name":"APR","type":"uint32"}],"name":"SetAPR","type":"Event"},{"inputs":[{"indexed":true,"name":"account","type":"address"},{"name":"amount","type":"uint256"},{"name":"APR","type":"uint32"},{"name":"totalFrozen","type":"uint256"}],"name":"Freeze","type":"Event"},{"inputs":[{"indexed":true,"name":"account","type":"address"},{"name":"amount","type":"uint256"},{"name":"totalUnfrozen","type":"uint256"},{"name":"realizedInterest","type":"uint256"},{"name":"availableDate","type":"uint64"}],"name":"Unfreeze","type":"Event"},{"inputs":[{"indexed":true,"name":"account","type":"address"},{"name":"totalUnfrozen","type":"uint256"},{"name":"realizedInterest","type":"uint256"}],"name":"Withdraw","type":"Event"},{"inputs":[{"indexed":true,"name":"account","type":"address"},{"name":"totalInterest","type":"uint256"},{"name":"realizedInterest","type":"uint256"}],"name":"Claim","type":"Event"},{"inputs":[{"name":"timeInSec","type":"uint64"}],"name":"SetMinTimeToUnfreeze","type":"Event"},{"inputs":[{"name":"timeInSec","type":"uint64"}],"name":"SetUnfreezeDelay","type":"Event"},{"inputs":[{"name":"timeInSec","type":"uint64"}],"name":"SetClaimDelay","type":"Event"},{"outputs":[{"name":"total","type":"uint256"}],"constant":true,"name":"totalFrozen","stateMutability":"View","type":"Function"},{"outputs":[{"name":"value","type":"uint32"}],"constant":true,"name":"currentAPR","stateMutability":"View","type":"Function"},{"outputs":[{"name":"success","type":"bool"}],"inputs":[{"name":"value","type":"uint32"}],"name":"setAPR","stateMutability":"Nonpayable","type":"Function"},{"outputs":[{"name":"value","type":"uint64"}],"constant":true,"name":"minTimeToUnfreeze","stateMutability":"View","type":"Function"},{"outputs":[{"name":"value","type":"uint64"}],"constant":true,"name":"unfreezeDelay","stateMutability":"View","type":"Function"},{"outputs":[{"name":"value","type":"uint64"}],"constant":true,"name":"claimDelay","stateMutability":"View","type":"Function"},{"outputs":[{"name":"success","type":"bool"}],"inputs":[{"name":"timeInSec","type":"uint64"}],"name":"setMinTimeToUnfreeze","stateMutability":"Nonpayable","type":"Function"},{"outputs":[{"name":"success","type":"bool"}],"inputs":[{"name":"timeInSec","type":"uint64"}],"name":"setUnfreezeDelay","stateMutability":"Nonpayable","type":"Function"},{"outputs":[{"name":"success","type":"bool"}],"inputs":[{"name":"timeInSec","type":"uint64"}],"name":"setClaimDelay","stateMutability":"Nonpayable","type":"Function"},{"outputs":[{"name":"frozenAmount","type":"uint256"}],"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"frozenBalanceOf","stateMutability":"View","type":"Function"},{"outputs":[{"name":"unfrozenAmount","type":"uint256"},{"name":"availableOn","type":"uint64"}],"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"unfrozenBalanceOf","stateMutability":"View","type":"Function"},{"outputs":[{"name":"realizedAmount","type":"uint256"}],"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"realizedInterestOf","stateMutability":"View","type":"Function"},{"outputs":[{"name":"lastClaim","type":"uint64"}],"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"lastClaimOf","stateMutability":"View","type":"Function"},{"outputs":[{"name":"frozenDate","type":"uint64"}],"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"frozenDateOf","stateMutability":"View","type":"Function"},{"outputs":[{"name":"pendingAmount","type":"uint256"}],"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"pendingInterestOf","stateMutability":"View","type":"Function"},{"outputs":[{"name":"APR","type":"uint32"}],"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"aprOf","stateMutability":"View","type":"Function"},{"outputs":[{"name":"timestamp","type":"uint64"}],"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"canUnfreezeOn","stateMutability":"View","type":"Function"},{"outputs":[{"name":"frozen","type":"uint256"},{"name":"unfreezeAvailableOn","type":"uint64"},{"name":"frozenDate","type":"uint64"},{"name":"pendingInterest","type":"uint256"},{"name":"realizedInterest","type":"uint256"},{"name":"APR","type":"uint32"},{"name":"unfrozen","type":"uint256"},{"name":"availableOn","type":"uint64"},{"name":"lastClaim","type":"uint64"}],"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"statusOf","stateMutability":"View","type":"Function"},{"outputs":[{"name":"success","type":"bool"}],"inputs":[{"name":"amount","type":"uint256"}],"name":"freeze","stateMutability":"Nonpayable","type":"Function"},{"outputs":[{"name":"availableDate","type":"uint64"}],"name":"unfreeze","stateMutability":"Nonpayable","type":"Function"},{"outputs":[{"name":"interestValue","type":"uint256"},{"name":"unfrozenValue","type":"uint256"}],"name":"withdraw","stateMutability":"Nonpayable","type":"Function"},{"outputs":[{"name":"interest","type":"uint256"}],"name":"claim","stateMutability":"Nonpayable","type":"Function"}]` + a, _ := contract.JSONtoABI(abiJSON) + */ + a, err := conn.GetContractABI("TBvmoZWgmx3wqvJoDyejSXqWWogy6kCNGp") + require.Nil(t, err) + arg, err := abi.GetParser(a, "statusOf") + require.Nil(t, err) + fmt.Printf("\nContractABI ->>> %+v\n\n", a) + fmt.Printf("\nResult ->>> %s\n\n", hex.EncodeToString(tx.ConstantResult[0])) + result := map[string]interface{}{} + err = arg.UnpackIntoMap(result, tx.ConstantResult[0]) + fmt.Printf("\nUnpack Result ->>> %+v\n\n", result) + require.Nil(t, err) +} + +func TestGetAccount2(t *testing.T) { + conn := client.NewGrpcClient("grpc.trongrid.io:50051") + err := conn.Start(grpc.WithInsecure()) + require.Nil(t, err) + + tx, err := conn.GetAccountDetailed("TPpw7soPWEDQWXPCGUMagYPryaWrYR5b3b") + require.Nil(t, err) + fmt.Printf("%v", tx) +} + +func TestGetAccountMigrationContract(t *testing.T) { + conn := client.NewGrpcClient("grpc.trongrid.io:50051") + err := conn.Start(grpc.WithInsecure()) + require.Nil(t, err) + + tx, err := conn.TriggerConstantContract("TX8h6Df74VpJsXF6sTDz1QJsq3Ec8dABc3", + "TVoo62PAagTvNvZbB796YfZ7dWtqpPNxnL", + "frozenAmount(address)", `[{"address": "TX8h6Df74VpJsXF6sTDz1QJsq3Ec8dABc3"}]`) + require.Nil(t, err) + assert.Equal(t, api.Return_SUCCESS, tx.Result.Code) + + a, err := conn.GetContractABI("TVoo62PAagTvNvZbB796YfZ7dWtqpPNxnL") + require.Nil(t, err) + arg, err := abi.GetParser(a, "frozenAmount") + require.Nil(t, err) + fmt.Printf("\nContractABI ->>> %+v\n\n", a) + fmt.Printf("\nResult ->>> %s\n\n", hex.EncodeToString(tx.ConstantResult[0])) + + result := map[string]interface{}{} + err = arg.UnpackIntoMap(result, tx.ConstantResult[0]) + fmt.Println(result["amount"].(*big.Int).Int64()) + require.Nil(t, err) +} diff --git a/pkg/client/exchange.go b/pkg/client/exchange.go index a4fad3bb9..51492c488 100644 --- a/pkg/client/exchange.go +++ b/pkg/client/exchange.go @@ -7,7 +7,7 @@ import ( "github.com/fbsobreira/gotron-sdk/pkg/common" "github.com/fbsobreira/gotron-sdk/pkg/proto/api" "github.com/fbsobreira/gotron-sdk/pkg/proto/core" - "github.com/golang/protobuf/proto" + "google.golang.org/protobuf/proto" ) // ExchangeList of bancor TRC10, use page -1 to list all diff --git a/pkg/client/network.go b/pkg/client/network.go index e2cde9e97..d4f79d7fe 100644 --- a/pkg/client/network.go +++ b/pkg/client/network.go @@ -7,8 +7,8 @@ import ( "github.com/fbsobreira/gotron-sdk/pkg/common" "github.com/fbsobreira/gotron-sdk/pkg/proto/api" "github.com/fbsobreira/gotron-sdk/pkg/proto/core" - "github.com/golang/protobuf/proto" "go.uber.org/zap" + "google.golang.org/protobuf/proto" ) // ListNodes provides list of network nodes @@ -41,7 +41,7 @@ func (g *GrpcClient) TotalTransaction() (*api.NumberMessage, error) { new(api.EmptyMessage)) } -//GetTransactionByID returns transaction details by ID +// GetTransactionByID returns transaction details by ID func (g *GrpcClient) GetTransactionByID(id string) (*core.Transaction, error) { transactionID := new(api.BytesMessage) var err error @@ -64,7 +64,7 @@ func (g *GrpcClient) GetTransactionByID(id string) (*core.Transaction, error) { return nil, fmt.Errorf("transaction info not found") } -//GetTransactionInfoByID returns transaction receipt by ID +// GetTransactionInfoByID returns transaction receipt by ID func (g *GrpcClient) GetTransactionInfoByID(id string) (*core.TransactionInfo, error) { transactionID := new(api.BytesMessage) var err error diff --git a/pkg/client/proposal.go b/pkg/client/proposal.go index 04a4ad17a..ea150921f 100644 --- a/pkg/client/proposal.go +++ b/pkg/client/proposal.go @@ -6,7 +6,7 @@ import ( "github.com/fbsobreira/gotron-sdk/pkg/common" "github.com/fbsobreira/gotron-sdk/pkg/proto/api" "github.com/fbsobreira/gotron-sdk/pkg/proto/core" - "github.com/golang/protobuf/proto" + "google.golang.org/protobuf/proto" ) // ProposalsList return all network proposals diff --git a/pkg/client/transaction/controller.go b/pkg/client/transaction/controller.go index c2c5b3fef..d602d9495 100644 --- a/pkg/client/transaction/controller.go +++ b/pkg/client/transaction/controller.go @@ -12,7 +12,7 @@ import ( "github.com/fbsobreira/gotron-sdk/pkg/ledger" "github.com/fbsobreira/gotron-sdk/pkg/proto/api" "github.com/fbsobreira/gotron-sdk/pkg/proto/core" - proto "github.com/golang/protobuf/proto" + proto "google.golang.org/protobuf/proto" ) var ( diff --git a/pkg/client/transfer.go b/pkg/client/transfer.go index 7cdd50d78..fed9778ee 100644 --- a/pkg/client/transfer.go +++ b/pkg/client/transfer.go @@ -6,7 +6,7 @@ import ( "github.com/fbsobreira/gotron-sdk/pkg/common" "github.com/fbsobreira/gotron-sdk/pkg/proto/api" "github.com/fbsobreira/gotron-sdk/pkg/proto/core" - "github.com/golang/protobuf/proto" + "google.golang.org/protobuf/proto" ) // Transfer from to base58 address diff --git a/pkg/client/trc20.go b/pkg/client/trc20.go index 771a9a33a..bfd7ba2c3 100644 --- a/pkg/client/trc20.go +++ b/pkg/client/trc20.go @@ -46,10 +46,9 @@ func (g *GrpcClient) TRC20Call(from, contractAddress, data string, constant bool ContractAddress: contractDesc.Bytes(), Data: dataBytes, } - result := &api.TransactionExtention{} + var result *api.TransactionExtention if constant { result, err = g.triggerConstantContract(ct) - } else { result, err = g.triggerContract(ct, feeLimit) } @@ -69,7 +68,7 @@ func (g *GrpcClient) TRC20GetName(contractAddress string) (string, error) { if err != nil { return "", err } - data := common.ToHex(result.GetConstantResult()[0]) + data := common.BytesToHexString(result.GetConstantResult()[0]) return g.ParseTRC20StringProperty(data) } @@ -79,7 +78,7 @@ func (g *GrpcClient) TRC20GetSymbol(contractAddress string) (string, error) { if err != nil { return "", err } - data := common.ToHex(result.GetConstantResult()[0]) + data := common.BytesToHexString(result.GetConstantResult()[0]) return g.ParseTRC20StringProperty(data) } @@ -89,7 +88,7 @@ func (g *GrpcClient) TRC20GetDecimals(contractAddress string) (*big.Int, error) if err != nil { return nil, err } - data := common.ToHex(result.GetConstantResult()[0]) + data := common.BytesToHexString(result.GetConstantResult()[0]) return g.ParseTRC20NumericProperty(data) } @@ -105,7 +104,12 @@ func (g *GrpcClient) ParseTRC20NumericProperty(data string) (*big.Int, error) { return &n, nil } } - return nil, fmt.Errorf("Cannot parse %s", data) + + if len(data) == 0 { + return big.NewInt(0), nil + } + + return nil, fmt.Errorf("cannot parse %s", data) } // ParseTRC20StringProperty get string from data @@ -137,7 +141,7 @@ func (g *GrpcClient) ParseTRC20StringProperty(data string) (string, error) { } } } - return "", fmt.Errorf("Cannot parse %s,", data) + return "", fmt.Errorf("cannot parse %s,", data) } // TRC20ContractBalance get Address balance @@ -151,7 +155,7 @@ func (g *GrpcClient) TRC20ContractBalance(addr, contractAddress string) (*big.In if err != nil { return nil, err } - data := common.ToHex(result.GetConstantResult()[0]) + data := common.BytesToHexString(result.GetConstantResult()[0]) r, err := g.ParseTRC20NumericProperty(data) if err != nil { return nil, fmt.Errorf("contract address %s: %v", contractAddress, err) diff --git a/pkg/client/trc20_test.go b/pkg/client/trc20_test.go new file mode 100644 index 000000000..7690b6da5 --- /dev/null +++ b/pkg/client/trc20_test.go @@ -0,0 +1,23 @@ +package client_test + +import ( + "testing" + + "github.com/fbsobreira/gotron-sdk/pkg/client" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "google.golang.org/grpc" +) + +func TestTRC20_Balance(t *testing.T) { + trc20Contract := "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t" // USDT + address := "TMuA6YqfCeX8EhbfYEg5y7S4DqzSJireY9" + + conn := client.NewGrpcClient("grpc.trongrid.io:50051") + err := conn.Start(grpc.WithInsecure()) + require.Nil(t, err) + + balance, err := conn.TRC20ContractBalance(address, trc20Contract) + assert.Nil(t, err) + assert.Greater(t, balance.Int64(), int64(0)) +} diff --git a/pkg/client/witnesses.go b/pkg/client/witnesses.go index e962c00bd..2894e306f 100644 --- a/pkg/client/witnesses.go +++ b/pkg/client/witnesses.go @@ -6,7 +6,7 @@ import ( "github.com/fbsobreira/gotron-sdk/pkg/common" "github.com/fbsobreira/gotron-sdk/pkg/proto/api" "github.com/fbsobreira/gotron-sdk/pkg/proto/core" - "github.com/golang/protobuf/proto" + "google.golang.org/protobuf/proto" ) // ListWitnesses return all witnesses diff --git a/pkg/common/hash.go b/pkg/common/hash.go index 521ebdbe6..5978f60e0 100644 --- a/pkg/common/hash.go +++ b/pkg/common/hash.go @@ -3,6 +3,8 @@ package common import ( "fmt" "math/big" + + "golang.org/x/crypto/sha3" ) const ( @@ -65,3 +67,9 @@ func (h *Hash) SetBytes(b []byte) { copy(h[HashLength-len(b):], b) } + +func Keccak256(msg []byte) []byte { + hasher := sha3.NewLegacyKeccak256() + hasher.Write(msg) + return hasher.Sum(nil) +} diff --git a/pkg/keystore/account.go b/pkg/keystore/account.go index 9b8e9bcfa..f31cd73aa 100644 --- a/pkg/keystore/account.go +++ b/pkg/keystore/account.go @@ -1,11 +1,15 @@ package keystore import ( + "crypto/ecdsa" + "crypto/elliptic" "fmt" + "github.com/ethereum/go-ethereum/crypto" + "github.com/ethereum/go-ethereum/crypto/secp256k1" "github.com/fbsobreira/gotron-sdk/pkg/address" + "github.com/fbsobreira/gotron-sdk/pkg/common" "github.com/fbsobreira/gotron-sdk/pkg/proto/core" - "golang.org/x/crypto/sha3" ) type DerivationPath []uint32 @@ -88,7 +92,7 @@ type Wallet interface { // about which fields or actions are needed. The user may retry by providing // the needed details via SignHashWithPassphrase, or by other means (e.g. unlock // the account in a keystore). - SignText(account Account, text []byte) ([]byte, error) + SignText(account Account, text []byte, useFixedLength ...bool) ([]byte, error) // SignTextWithPassphrase is identical to Signtext, but also takes a password SignTextWithPassphrase(account Account, passphrase string, hash []byte) ([]byte, error) @@ -136,25 +140,56 @@ type WalletEventType int // TextHash is a helper function that calculates a hash for the given message that can be // safely used to calculate a signature from. // -// The hash is calulcated as -// keccak256("\x19Ethereum Signed Message:\n"${message length}${message}). +// The hash is calulcated as: +// keccak256("\x19TRON Signed Message:\n"${message length}${message}). // // This gives context to the signed message and prevents signing of transactions. -func TextHash(data []byte) []byte { - hash, _ := TextAndHash(data) +func TextHash(data []byte, useFixedLength ...bool) []byte { + hash, _ := TextAndHash(data, useFixedLength...) return hash } // TextAndHash is a helper function that calculates a hash for the given message that can be // safely used to calculate a signature from. // -// The hash is calulcated as -// keccak256("\x19Ethereum Signed Message:\n"${message length}${message}). +// The hash is calulcated as: +// keccak256("\x19TRON Signed Message:\n"${message length}${message}). // // This gives context to the signed message and prevents signing of transactions. -func TextAndHash(data []byte) ([]byte, string) { - msg := fmt.Sprintf("\x19Tron Signed Message:\n%d%s", len(data), string(data)) - hasher := sha3.NewLegacyKeccak256() - hasher.Write([]byte(msg)) - return hasher.Sum(nil), msg +func TextAndHash(data []byte, useFixedLength ...bool) ([]byte, string) { + length := len(data) + if len(useFixedLength) > 0 && useFixedLength[0] { + length = 32 + } + + msg := fmt.Sprintf("\x19TRON Signed Message:\n%d%s", length, string(data)) + return common.Keccak256([]byte(msg)), msg +} + +func UnmarshalPublic(pbk []byte) (*ecdsa.PublicKey, error) { + x, y := elliptic.Unmarshal(crypto.S256(), pbk) + if x == nil { + return nil, fmt.Errorf("invalid publickey") + } + + return &ecdsa.PublicKey{Curve: crypto.S256(), X: x, Y: y}, nil +} + +func RecoverPubkey(hash []byte, signature []byte) (address.Address, error) { + + if signature[64] >= 27 { + signature[64] -= 27 + } + + sigPublicKey, err := secp256k1.RecoverPubkey(hash, signature) + if err != nil { + return nil, err + } + pubKey, err := UnmarshalPublic(sigPublicKey) + if err != nil { + return nil, err + } + + addr := address.PubkeyToAddress(*pubKey) + return addr, nil } diff --git a/pkg/keystore/wallet.go b/pkg/keystore/wallet.go index f8a10413c..6a796c7c7 100644 --- a/pkg/keystore/wallet.go +++ b/pkg/keystore/wallet.go @@ -101,8 +101,8 @@ func (w *keystoreWallet) SignDataWithPassphrase(acc Account, passphrase, mimeTyp return w.keystore.SignHashWithPassphrase(acc, passphrase, crypto.Keccak256(data)) } -func (w *keystoreWallet) SignText(acc Account, text []byte) ([]byte, error) { - return w.signHash(acc, TextHash(text)) +func (w *keystoreWallet) SignText(acc Account, text []byte, useFixedLength ...bool) ([]byte, error) { + return w.signHash(acc, TextHash(text, useFixedLength...)) } // SignTextWithPassphrase implements Wallet, attempting to sign the From 3e721028a4f030adc69e5850dacc1986bdc530cb Mon Sep 17 00:00:00 2001 From: Gustavo Britto Date: Tue, 14 Mar 2023 13:37:15 -0300 Subject: [PATCH 16/53] Feat/add staking 2.0 operations (#63) * add staking 2.0 operations * update staking 2.0 * adjust model * update staking v2.0 operations * skip tests only for testnet nile --- pkg/account/model.go | 52 ++++++++++------ pkg/client/account.go | 117 ++++++++++++++++++++++++++++------- pkg/client/account_test.go | 72 ++++++++++++++++++++-- pkg/client/bank.go | 122 +++++++++++++++++++++++++++++++++++++ pkg/client/resources.go | 116 +++++++++++++++++++++++++++++++++++ 5 files changed, 432 insertions(+), 47 deletions(-) diff --git a/pkg/account/model.go b/pkg/account/model.go index eb85f8be0..62fccc5dd 100644 --- a/pkg/account/model.go +++ b/pkg/account/model.go @@ -12,26 +12,38 @@ type FrozenResource struct { Expire int64 } +// UnfrozenResource by account +type UnfrozenResource struct { + Type core.ResourceCode + Amount int64 + Expire int64 +} + // Account detailed view type Account struct { - Address string `json:"address"` - Type string `json:"type"` - Name string `json:"name"` - ID string `json:"id"` - Balance int64 `json:"balance"` - Allowance int64 `json:"allowance"` - LastWithdraw int64 `json:"lastWithdraw"` - IsWitness bool `json:"isWitness"` - IsElected bool `json:"isElected"` - Assets map[string]int64 `json:"assetList"` - TronPower int64 `json:"tronPower"` - TronPowerUsed int64 `json:"tronPowerUsed"` - FrozenBalance int64 `json:"frozenBalance"` - FrozenResources []FrozenResource `json:"frozenList"` - Votes map[string]int64 `json:"voteList"` - BWTotal int64 `json:"bandwidthTotal"` - BWUsed int64 `json:"bandwidthUsed"` - EnergyTotal int64 `json:"energyTotal"` - EnergyUsed int64 `json:"energyUsed"` - Rewards int64 `json:"rewards"` + Address string `json:"address"` + Type string `json:"type"` + Name string `json:"name"` + ID string `json:"id"` + Balance int64 `json:"balance"` + Allowance int64 `json:"allowance"` + LastWithdraw int64 `json:"lastWithdraw"` + IsWitness bool `json:"isWitness"` + IsElected bool `json:"isElected"` + Assets map[string]int64 `json:"assetList"` + TronPower int64 `json:"tronPower"` + TronPowerUsed int64 `json:"tronPowerUsed"` + FrozenBalance int64 `json:"frozenBalance"` + FrozenResources []FrozenResource `json:"frozenList"` + FrozenBalanceV2 int64 `json:"frozenBalanceV2"` + FrozenResourcesV2 []FrozenResource `json:"frozenListV2"` + UnfrozenResource []UnfrozenResource `json:"unfrozenList"` + Votes map[string]int64 `json:"voteList"` + BWTotal int64 `json:"bandwidthTotal"` + BWUsed int64 `json:"bandwidthUsed"` + EnergyTotal int64 `json:"energyTotal"` + EnergyUsed int64 `json:"energyUsed"` + Rewards int64 `json:"rewards"` + WithdrawableBalance int64 `json:"withdrawableBalance"` + UnfreezeLeft int64 `json:"countUnfreezeLeft"` } diff --git a/pkg/client/account.go b/pkg/client/account.go index c2035a088..6c28486ed 100644 --- a/pkg/client/account.go +++ b/pkg/client/account.go @@ -4,6 +4,7 @@ import ( "bytes" "fmt" "math/big" + "time" "github.com/fbsobreira/gotron-sdk/pkg/account" "github.com/fbsobreira/gotron-sdk/pkg/address" @@ -139,12 +140,27 @@ func (g *GrpcClient) GetAccountDetailed(addr string) (*account.Account, error) { return nil, err } + accDeleagatedV2, err := g.GetDelegatedResourcesV2(addr) + if err != nil { + return nil, err + } + + accUnfreezeLeft, err := g.GetAvailableUnfreezeCount(addr) + if err != nil { + return nil, err + } + rewards, err := g.GetRewardsInfo(addr) if err != nil { return nil, err } - // SUM Total freeze + withdrawableAmount, err := g.GetCanWithdrawUnfreezeAmount(addr, time.Now().UnixMilli()) + if err != nil { + return nil, err + } + + // SUM Total freeze V1 totalFrozen := int64(0) frozenList := make([]account.FrozenResource, 0) if acc.GetAccountResource().GetFrozenBalanceForEnergy().GetFrozenBalance() > 0 { @@ -166,7 +182,7 @@ func (g *GrpcClient) GetAccountDetailed(addr string) (*account.Account, error) { totalFrozen += f.GetFrozenBalance() } - // Fill Delegated + // Fill Delegated V1 for _, delegated := range accDeleagated { for _, d := range delegated.GetDelegatedResource() { if d.GetFrozenBalanceForBandwidth() > 0 { @@ -190,6 +206,58 @@ func (g *GrpcClient) GetAccountDetailed(addr string) (*account.Account, error) { } } + // SUM Total freeze V2 + totalFrozenV2 := int64(0) + frozenListV2 := make([]account.FrozenResource, 0) + + // Energy Delegated + totalFrozen += acc.GetAccountResource().GetDelegatedFrozenV2BalanceForEnergy() + // Bandwidth Delegated + totalFrozen += acc.GetDelegatedFrozenV2BalanceForBandwidth() + + // Frozen not delegated + for _, f := range acc.FrozenV2 { + frozenListV2 = append(frozenListV2, account.FrozenResource{ + Type: f.GetType(), + Amount: f.GetAmount(), + DelegateTo: "", + }) + totalFrozen += f.GetAmount() + } + + // Fill Delegated V2 + for _, delegated := range accDeleagatedV2 { + for _, d := range delegated.GetDelegatedResource() { + if d.GetFrozenBalanceForBandwidth() > 0 { + frozenListV2 = append(frozenListV2, account.FrozenResource{ + Type: core.ResourceCode_BANDWIDTH, + Amount: d.GetFrozenBalanceForBandwidth(), + Expire: d.GetExpireTimeForBandwidth(), + DelegateTo: address.Address(d.GetTo()).String(), + }) + totalFrozenV2 += d.GetFrozenBalanceForBandwidth() + } + if d.GetFrozenBalanceForEnergy() > 0 { + frozenListV2 = append(frozenListV2, account.FrozenResource{ + Type: core.ResourceCode_ENERGY, + Amount: d.GetFrozenBalanceForEnergy(), + Expire: d.GetExpireTimeForEnergy(), + DelegateTo: address.Address(d.GetTo()).String(), + }) + totalFrozenV2 += d.GetFrozenBalanceForEnergy() + } + } + } + + unfrozenListV2 := make([]account.UnfrozenResource, 0) + for _, uf := range acc.UnfrozenV2 { + unfrozenListV2 = append(unfrozenListV2, account.UnfrozenResource{ + Type: uf.GetType(), + Amount: uf.GetUnfreezeAmount(), + Expire: uf.GetUnfreezeExpireTime(), + }) + } + voteList := make(map[string]int64) totalVotes := int64(0) @@ -199,26 +267,31 @@ func (g *GrpcClient) GetAccountDetailed(addr string) (*account.Account, error) { } accDet := &account.Account{ - Address: address.Address(acc.GetAddress()).String(), - Type: acc.Type.String(), - Name: string(acc.GetAccountName()), - ID: string(acc.GetAccountId()), - Balance: acc.GetBalance(), - Allowance: acc.GetAllowance(), - LastWithdraw: acc.LatestWithdrawTime, - IsWitness: acc.IsWitness, - IsElected: acc.IsCommittee, - Assets: acc.GetAssetV2(), - TronPower: totalFrozen / 1000000, - TronPowerUsed: totalVotes, - FrozenBalance: totalFrozen, - FrozenResources: frozenList, - Votes: voteList, - BWTotal: accR.GetFreeNetLimit() + accR.GetNetLimit(), - BWUsed: accR.GetFreeNetUsed() + accR.GetNetUsed(), - EnergyTotal: accR.GetEnergyLimit(), - EnergyUsed: accR.GetEnergyUsed(), - Rewards: rewards, + Address: address.Address(acc.GetAddress()).String(), + Type: acc.Type.String(), + Name: string(acc.GetAccountName()), + ID: string(acc.GetAccountId()), + Balance: acc.GetBalance(), + Allowance: acc.GetAllowance(), + LastWithdraw: acc.LatestWithdrawTime, + IsWitness: acc.IsWitness, + IsElected: acc.IsCommittee, + Assets: acc.GetAssetV2(), + TronPower: totalFrozen / 1000000, + TronPowerUsed: totalVotes, + FrozenBalance: totalFrozen, + FrozenBalanceV2: totalFrozenV2, + FrozenResourcesV2: frozenListV2, + FrozenResources: frozenList, + Votes: voteList, + BWTotal: accR.GetFreeNetLimit() + accR.GetNetLimit(), + BWUsed: accR.GetFreeNetUsed() + accR.GetNetUsed(), + EnergyTotal: accR.GetEnergyLimit(), + EnergyUsed: accR.GetEnergyUsed(), + Rewards: rewards, + WithdrawableBalance: withdrawableAmount.GetAmount(), + UnfrozenResource: unfrozenListV2, + UnfreezeLeft: accUnfreezeLeft.GetCount(), } return accDet, nil diff --git a/pkg/client/account_test.go b/pkg/client/account_test.go index d2fafaa9a..cbe132d7d 100644 --- a/pkg/client/account_test.go +++ b/pkg/client/account_test.go @@ -6,16 +6,19 @@ import ( "testing" "github.com/fbsobreira/gotron-sdk/pkg/client" + "github.com/fbsobreira/gotron-sdk/pkg/proto/core" "github.com/stretchr/testify/require" "google.golang.org/grpc" ) var ( - conn *client.GrpcClient - apiKey = "622ec85e-7406-431d-9caf-0a19501469a4" - tronAddress = "grpc.trongrid.io:50051" - accountAddress = "TPpw7soPWEDQWXPCGUMagYPryaWrYR5b3b" - accountAddressWitness = "TGj1Ej1qRzL9feLTLhjwgxXF4Ct6GTWg2U" + conn *client.GrpcClient + apiKey = "622ec85e-7406-431d-9caf-0a19501469a4" + tronAddress = "grpc.nile.trongrid.io:50051" + accountAddress = "TPpw7soPWEDQWXPCGUMagYPryaWrYR5b3b" + accountAddressWitness = "TGj1Ej1qRzL9feLTLhjwgxXF4Ct6GTWg2U" + testnetNileAddressExample = "TUoHaVjx7n5xz8LwPRDckgFrDWhMhuSuJM" + testnetNileAddressDelegateExample = "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g" ) func TestMain(m *testing.M) { @@ -46,3 +49,62 @@ func TestGetAccountDetailed(t *testing.T) { require.NotNil(t, acc2.Rewards) } + +func TestGetAccountDetailedV2(t *testing.T) { + acc, err := conn.GetAccountDetailed(testnetNileAddressExample) + + require.Nil(t, err) + require.NotNil(t, acc.Allowance) + require.NotNil(t, acc.Rewards) + +} + +func TestFreezeV2(t *testing.T) { + t.Skip() // Only in testnet nile + freezeTx, err := conn.FreezeBalanceV2(testnetNileAddressExample, core.ResourceCode_BANDWIDTH, 1000000) + + require.Nil(t, err) + require.NotNil(t, freezeTx.GetTxid()) + +} + +func TestUnfreezeV2(t *testing.T) { + t.Skip() // Only in testnet nile + unfreezeTx, err := conn.UnfreezeBalanceV2(testnetNileAddressExample, core.ResourceCode_BANDWIDTH, 1000000) + + require.Nil(t, err) + require.NotNil(t, unfreezeTx.GetTxid()) + +} + +func TestDelegate(t *testing.T) { + t.Skip() // Only in testnet nile + tx, err := conn.DelegateResource(testnetNileAddressExample, testnetNileAddressDelegateExample, core.ResourceCode_BANDWIDTH, 1000000, false) + + require.Nil(t, err) + require.NotNil(t, tx.GetTxid()) +} + +func TestUndelegate(t *testing.T) { + t.Skip() // Only in testnet nile + tx, err := conn.UnDelegateResource(testnetNileAddressExample, testnetNileAddressDelegateExample, core.ResourceCode_BANDWIDTH, 1000000, false) + + require.Nil(t, err) + require.NotNil(t, tx.GetTxid()) +} + +func TestDelegateMaxSize(t *testing.T) { + t.Skip() // Only in testnet nile + tx, err := conn.GetCanDelegatedMaxSize(testnetNileAddressExample, int32(core.ResourceCode_BANDWIDTH.Number())) + + require.Nil(t, err) + require.GreaterOrEqual(t, tx.GetMaxSize(), int64(0)) +} + +func TestUnfreezeLeftCount(t *testing.T) { + t.Skip() // Only in testnet nile + tx, err := conn.GetAvailableUnfreezeCount(testnetNileAddressExample) + + require.Nil(t, err) + require.GreaterOrEqual(t, tx.GetCount(), int64(0)) +} diff --git a/pkg/client/bank.go b/pkg/client/bank.go index da7a1766d..61507b99c 100644 --- a/pkg/client/bank.go +++ b/pkg/client/bank.go @@ -46,6 +46,35 @@ func (g *GrpcClient) FreezeBalance(from, delegateTo string, return tx, nil } +// FreezeBalance from base58 address +func (g *GrpcClient) FreezeBalanceV2(from string, + resource core.ResourceCode, frozenBalance int64) (*api.TransactionExtention, error) { + var err error + + contract := &core.FreezeBalanceV2Contract{} + if contract.OwnerAddress, err = common.DecodeCheck(from); err != nil { + return nil, err + } + + contract.FrozenBalance = frozenBalance + contract.Resource = resource + + ctx, cancel := g.getContext() + defer cancel() + + tx, err := g.Client.FreezeBalanceV2(ctx, contract) + if err != nil { + return nil, err + } + if proto.Size(tx) == 0 { + return nil, fmt.Errorf("bad transaction") + } + if tx.GetResult().GetCode() != 0 { + return nil, fmt.Errorf("%s", tx.GetResult().GetMessage()) + } + return tx, nil +} + // UnfreezeBalance from base58 address func (g *GrpcClient) UnfreezeBalance(from, delegateTo string, resource core.ResourceCode) (*api.TransactionExtention, error) { var err error @@ -78,3 +107,96 @@ func (g *GrpcClient) UnfreezeBalance(from, delegateTo string, resource core.Reso } return tx, nil } + +// UnfreezeBalance from base58 address +func (g *GrpcClient) UnfreezeBalanceV2(from string, resource core.ResourceCode, unfreezeBalance int64) (*api.TransactionExtention, error) { + var err error + + contract := &core.UnfreezeBalanceV2Contract{} + if contract.OwnerAddress, err = common.DecodeCheck(from); err != nil { + return nil, err + } + + contract.UnfreezeBalance = unfreezeBalance + contract.Resource = resource + + ctx, cancel := g.getContext() + defer cancel() + + tx, err := g.Client.UnfreezeBalanceV2(ctx, contract) + if err != nil { + return nil, err + } + if proto.Size(tx) == 0 { + return nil, fmt.Errorf("bad transaction") + } + if tx.GetResult().GetCode() != 0 { + return nil, fmt.Errorf("%s", tx.GetResult().GetMessage()) + } + return tx, nil +} + +// GetAvailableUnfreezeCount from base58 address +func (g *GrpcClient) GetAvailableUnfreezeCount(from string) (*api.GetAvailableUnfreezeCountResponseMessage, error) { + var err error + + contract := &api.GetAvailableUnfreezeCountRequestMessage{} + if contract.OwnerAddress, err = common.DecodeCheck(from); err != nil { + return nil, err + } + + ctx, cancel := g.getContext() + defer cancel() + + tx, err := g.Client.GetAvailableUnfreezeCount(ctx, contract) + if err != nil { + return nil, err + } + if proto.Size(tx) == 0 { + return nil, fmt.Errorf("bad transaction") + } + return tx, nil +} + +// GetCanWithdrawUnfreezeAmount from base58 address +func (g *GrpcClient) GetCanWithdrawUnfreezeAmount(from string, timestamp int64) (*api.CanWithdrawUnfreezeAmountResponseMessage, error) { + var err error + + contract := &api.CanWithdrawUnfreezeAmountRequestMessage{} + if contract.OwnerAddress, err = common.DecodeCheck(from); err != nil { + return nil, err + } + contract.Timestamp = timestamp + + ctx, cancel := g.getContext() + defer cancel() + + tx, err := g.Client.GetCanWithdrawUnfreezeAmount(ctx, contract) + if err != nil { + return nil, err + } + + return tx, nil +} + +// WithdrawExpireUnfreeze from base58 address +func (g *GrpcClient) WithdrawExpireUnfreeze(from string, timestamp int64) (*api.TransactionExtention, error) { + var err error + + contract := &core.WithdrawExpireUnfreezeContract{} + if contract.OwnerAddress, err = common.DecodeCheck(from); err != nil { + return nil, err + } + + ctx, cancel := g.getContext() + defer cancel() + + tx, err := g.Client.WithdrawExpireUnfreeze(ctx, contract) + if err != nil { + return nil, err + } + if proto.Size(tx) == 0 { + return nil, fmt.Errorf("bad transaction") + } + return tx, nil +} diff --git a/pkg/client/resources.go b/pkg/client/resources.go index 9b5407187..4ae055c5a 100644 --- a/pkg/client/resources.go +++ b/pkg/client/resources.go @@ -50,3 +50,119 @@ func (g *GrpcClient) GetDelegatedResources(address string) ([]*api.DelegatedReso } return result, nil } + +// GetDelegatedResourcesV2 from BASE58 address +func (g *GrpcClient) GetDelegatedResourcesV2(address string) ([]*api.DelegatedResourceList, error) { + addrBytes, err := common.DecodeCheck(address) + if err != nil { + return nil, err + } + ctx, cancel := g.getContext() + defer cancel() + + ai, err := g.Client.GetDelegatedResourceAccountIndexV2(ctx, GetMessageBytes(addrBytes)) + if err != nil { + return nil, err + } + + result := make([]*api.DelegatedResourceList, len(ai.GetToAccounts())) + for i, addrTo := range ai.GetToAccounts() { + dm := &api.DelegatedResourceMessage{ + FromAddress: addrBytes, + ToAddress: addrTo, + } + resource, err := g.Client.GetDelegatedResourceV2(ctx, dm) + if err != nil { + return nil, err + + } + result[i] = resource + } + return result, nil +} + +// GetCanDelegatedMaxSize from BASE58 address +func (g *GrpcClient) GetCanDelegatedMaxSize(address string, resource int32) (*api.CanDelegatedMaxSizeResponseMessage, error) { + addrBytes, err := common.DecodeCheck(address) + if err != nil { + return nil, err + } + ctx, cancel := g.getContext() + defer cancel() + + dm := &api.CanDelegatedMaxSizeRequestMessage{} + + dm.Type = resource + dm.OwnerAddress = addrBytes + + response, err := g.Client.GetCanDelegatedMaxSize(ctx, dm) + if err != nil { + return nil, err + + } + + return response, nil +} + +// DelegateResource from BASE58 address +func (g *GrpcClient) DelegateResource(from, to string, resource core.ResourceCode, delegateBalance int64, lock bool) (*api.TransactionExtention, error) { + addrFromBytes, err := common.DecodeCheck(from) + if err != nil { + return nil, err + } + + addrToBytes, err := common.DecodeCheck(to) + if err != nil { + return nil, err + } + + ctx, cancel := g.getContext() + defer cancel() + + contract := &core.DelegateResourceContract{} + + contract.Resource = resource + contract.OwnerAddress = addrFromBytes + contract.ReceiverAddress = addrToBytes + contract.Balance = delegateBalance + contract.Lock = lock + + response, err := g.Client.DelegateResource(ctx, contract) + if err != nil { + return nil, err + + } + + return response, nil +} + +// UnDelegateResource from BASE58 address +func (g *GrpcClient) UnDelegateResource(owner, receiver string, resource core.ResourceCode, delegateBalance int64, lock bool) (*api.TransactionExtention, error) { + addrOwnerBytes, err := common.DecodeCheck(owner) + if err != nil { + return nil, err + } + + addrReceiverBytes, err := common.DecodeCheck(receiver) + if err != nil { + return nil, err + } + + ctx, cancel := g.getContext() + defer cancel() + + contract := &core.UnDelegateResourceContract{} + + contract.Resource = resource + contract.OwnerAddress = addrOwnerBytes + contract.ReceiverAddress = addrReceiverBytes + contract.Balance = delegateBalance + + response, err := g.Client.UnDelegateResource(ctx, contract) + if err != nil { + return nil, err + + } + + return response, nil +} From 5f2e53c770adabc3e9d1e0bcbe8c010aff8377eb Mon Sep 17 00:00:00 2001 From: Fernando Sobreira Date: Wed, 15 Mar 2023 05:12:58 -0400 Subject: [PATCH 17/53] Update go packages (#64) * upgrade deprecated packages * golang packages * btcd * goethereum --- go.mod | 37 +-- go.sum | 505 ++++----------------------------- pkg/keystore/watch.go | 1 + pkg/keystore/watch_fallback.go | 1 + pkg/ledger/nano_S_driver.go | 2 +- 5 files changed, 70 insertions(+), 476 deletions(-) diff --git a/go.mod b/go.mod index 3c74f4301..63a7b74ad 100644 --- a/go.mod +++ b/go.mod @@ -1,25 +1,25 @@ module github.com/fbsobreira/gotron-sdk -go 1.17 +go 1.19 require ( github.com/araddon/dateparse v0.0.0-20200409225146-d820a6159ab1 - github.com/btcsuite/btcd v0.22.0-beta - github.com/deckarep/golang-set v1.7.1 - github.com/ethereum/go-ethereum v1.10.11 + github.com/btcsuite/btcd v0.22.1 + github.com/deckarep/golang-set v1.8.0 + github.com/ethereum/go-ethereum v1.10.26 github.com/fatih/color v1.9.0 github.com/fatih/structs v1.1.0 - github.com/karalabe/hid v1.0.0 github.com/mitchellh/go-homedir v1.1.0 github.com/pborman/uuid v1.2.1 github.com/pkg/errors v0.9.1 - github.com/rjeczalik/notify v0.9.2 + github.com/rjeczalik/notify v0.9.3 github.com/shengdoushi/base58 v1.0.0 github.com/spf13/cobra v1.0.0 - github.com/stretchr/testify v1.7.0 + github.com/stretchr/testify v1.7.2 github.com/tyler-smith/go-bip39 v1.0.2 + github.com/zondax/hid v0.9.1 go.uber.org/zap v1.15.0 - golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 + golang.org/x/crypto v0.7.0 google.golang.org/genproto v0.0.0-20200825200019-8632dd797987 google.golang.org/grpc v1.37.0 google.golang.org/protobuf v1.28.1 @@ -27,23 +27,24 @@ require ( ) require ( - github.com/cpuguy83/go-md2man/v2 v2.0.0 // indirect + github.com/btcsuite/btcd/btcec/v2 v2.2.0 // indirect + github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect github.com/davecgh/go-spew v1.1.1 // indirect + github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect github.com/go-stack/stack v1.8.0 // indirect - github.com/golang/protobuf v1.5.0 // indirect - github.com/google/uuid v1.1.5 // indirect + github.com/golang/protobuf v1.5.2 // indirect + github.com/google/uuid v1.2.0 // indirect github.com/inconshreveable/mousetrap v1.0.0 // indirect github.com/mattn/go-colorable v0.1.8 // indirect github.com/mattn/go-isatty v0.0.12 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/russross/blackfriday/v2 v2.0.1 // indirect - github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect + github.com/russross/blackfriday/v2 v2.1.0 // indirect github.com/spf13/pflag v1.0.3 // indirect go.uber.org/atomic v1.6.0 // indirect go.uber.org/multierr v1.5.0 // indirect - golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d // indirect - golang.org/x/sys v0.0.0-20210816183151-1e6c022a8912 // indirect - golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 // indirect - golang.org/x/text v0.3.6 // indirect - gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect + golang.org/x/net v0.8.0 // indirect + golang.org/x/sys v0.6.0 // indirect + golang.org/x/term v0.6.0 // indirect + golang.org/x/text v0.8.0 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/go.sum b/go.sum index 1ad71f294..5e44e10ce 100644 --- a/go.sum +++ b/go.sum @@ -1,169 +1,64 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= -cloud.google.com/go v0.43.0/go.mod h1:BOSR3VbTLkk6FDC/TcffxP4NF/FFBGA5ku+jvKOP7pg= -cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= -cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= -cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= -cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= -cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= -cloud.google.com/go v0.51.0/go.mod h1:hWtGJ6gnXH+KgDv+V0zFGDvpi07n3z8ZNj3T1RW0Gcw= -cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= -cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= -cloud.google.com/go/bigtable v1.2.0/go.mod h1:JcVAOl45lrTmQfLj7T6TxyMzIN/3FGGcFm+2xVAli2o= -cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= -cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= -cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= -cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= -cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= -collectd.org v0.3.0/go.mod h1:A/8DzQBkF6abtvrT2j/AU/4tiBgJWYyh0y/oB/4MlWE= -dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -github.com/Azure/azure-pipeline-go v0.2.1/go.mod h1:UGSo8XybXnIGZ3epmeBw7Jdz+HiUVpqIlpz/HKHylF4= -github.com/Azure/azure-pipeline-go v0.2.2/go.mod h1:4rQ/NZncSvGqNkkOsNpOU1tgoNuIlp9AfUH5G1tvCHc= -github.com/Azure/azure-storage-blob-go v0.7.0/go.mod h1:f9YQKtsG1nMisotuTPpO0tjNuEjKRYAcJU8/ydDI++4= -github.com/Azure/go-autorest/autorest v0.9.0/go.mod h1:xyHB1BMZT0cuDHU7I0+g046+BFDTQ8rEZB0s4Yfa6bI= -github.com/Azure/go-autorest/autorest/adal v0.5.0/go.mod h1:8Z9fGy2MpX0PvDjB1pEgQTmVqjGhiHBW7RJJEciWzS0= -github.com/Azure/go-autorest/autorest/adal v0.8.0/go.mod h1:Z6vX6WXXuyieHAXwMj0S6HY6e6wcHn37qQMBQlvY3lc= -github.com/Azure/go-autorest/autorest/date v0.1.0/go.mod h1:plvfp3oPSKwf2DNjlBjWF/7vwR+cUD/ELuzDCXwHUVA= -github.com/Azure/go-autorest/autorest/date v0.2.0/go.mod h1:vcORJHLJEh643/Ioh9+vPmf1Ij9AEBM5FuBIXLmIy0g= -github.com/Azure/go-autorest/autorest/mocks v0.1.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= -github.com/Azure/go-autorest/autorest/mocks v0.2.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= -github.com/Azure/go-autorest/autorest/mocks v0.3.0/go.mod h1:a8FDP3DYzQ4RYfVAxAN3SVSiiO77gL2j2ronKKP0syM= -github.com/Azure/go-autorest/logger v0.1.0/go.mod h1:oExouG+K6PryycPJfVSxi/koC6LSNgds39diKLz7Vrc= -github.com/Azure/go-autorest/tracing v0.5.0/go.mod h1:r/s2XiOKccPW3HrqB+W0TQzfbtp2fGCgRFtBroKn4Dk= github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/DATA-DOG/go-sqlmock v1.3.3/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg= -github.com/VictoriaMetrics/fastcache v1.6.0/go.mod h1:0qHz5QP0GMX4pfmMA/zt5RgfNuXJrTP0zS7DqpHGGTw= -github.com/aead/siphash v1.0.1/go.mod h1:Nywa3cDsYNNK3gaciGTWPwHt0wlpNV15vwmswBAUSII= -github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156/go.mod h1:Cb/ax3seSYIx7SuZdm2G2xzfwmv3TPSk2ucNfQESPXM= -github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8= -github.com/apache/arrow/go/arrow v0.0.0-20191024131854-af6fa24be0db/go.mod h1:VTxUBvSJ3s3eHAg65PNgrsn5BtqCRPdmyXh6rAfdxN0= github.com/araddon/dateparse v0.0.0-20200409225146-d820a6159ab1 h1:TEBmxO80TM04L8IuMWk77SGL1HomBmKTdzdJLLWznxI= github.com/araddon/dateparse v0.0.0-20200409225146-d820a6159ab1/go.mod h1:SLqhdZcd+dF3TEVL2RMoob5bBP5R1P1qkox+HtCBgGI= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= -github.com/aws/aws-sdk-go-v2 v1.2.0/go.mod h1:zEQs02YRBw1DjK0PoJv3ygDYOFTre1ejlJWl8FwAuQo= -github.com/aws/aws-sdk-go-v2/config v1.1.1/go.mod h1:0XsVy9lBI/BCXm+2Tuvt39YmdHwS5unDQmxZOYe8F5Y= -github.com/aws/aws-sdk-go-v2/credentials v1.1.1/go.mod h1:mM2iIjwl7LULWtS6JCACyInboHirisUUdkBPoTHMOUo= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.0.2/go.mod h1:3hGg3PpiEjHnrkrlasTfxFqUsZ2GCk/fMUn4CbKgSkM= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.0.2/go.mod h1:45MfaXZ0cNbeuT0KQ1XJylq8A6+OpVV2E5kvY/Kq+u8= -github.com/aws/aws-sdk-go-v2/service/route53 v1.1.1/go.mod h1:rLiOUrPLW/Er5kRcQ7NkwbjlijluLsrIbu/iyl35RO4= -github.com/aws/aws-sdk-go-v2/service/sso v1.1.1/go.mod h1:SuZJxklHxLAXgLTc1iFXbEWkXs7QRTQpCLGaKIprQW0= -github.com/aws/aws-sdk-go-v2/service/sts v1.1.1/go.mod h1:Wi0EBZwiz/K44YliU0EKxqTCJGUfYTWXrrBwkq736bM= -github.com/aws/smithy-go v1.1.0/go.mod h1:EzMw8dbp/YJL4A5/sbhGddag+NPT7q084agLbB9LgIw= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= -github.com/bmizerany/pat v0.0.0-20170815010413-6226ea591a40/go.mod h1:8rLXio+WjiTceGBHIoTvn60HIbs7Hm7bcHjyrSqYB9c= -github.com/boltdb/bolt v1.3.1/go.mod h1:clJnj/oiGkjum5o1McbSZDSLxVThjynRyGBgiAx27Ps= -github.com/btcsuite/btcd v0.20.1-beta/go.mod h1:wVuoA8VJLEcwgqHBwHmzLRazpKxTv13Px/pDuV7OomQ= -github.com/btcsuite/btcd v0.22.0-beta h1:LTDpDKUM5EeOFBPM8IXpinEcmZ6FWfNZbE3lfrfdnWo= -github.com/btcsuite/btcd v0.22.0-beta/go.mod h1:9n5ntfhhHQBIhUvlhDvD3Qg6fRUj4jkN0VB8L8svzOA= -github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f/go.mod h1:TdznJufoqS23FtqVCzL0ZqgP5MqXbb4fg/WgDys70nA= -github.com/btcsuite/btcutil v0.0.0-20190425235716-9e5f4b9a998d/go.mod h1:+5NJ2+qvTyV9exUAL/rxXi3DcLg2Ts+ymUAY5y4NvMg= -github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce/go.mod h1:0DVlHczLPewLcPGEIeUEzfOJhqGPQ0mJJRDBtD307+o= -github.com/btcsuite/go-socks v0.0.0-20170105172521-4720035b7bfd/go.mod h1:HHNXQzUsZCxOoE+CPiyCTO6x34Zs86zZUiwtpXoGdtg= -github.com/btcsuite/goleveldb v0.0.0-20160330041536-7834afc9e8cd/go.mod h1:F+uVaaLLH7j4eDXPRvw78tMflu7Ie2bzYOH4Y8rRKBY= -github.com/btcsuite/goleveldb v1.0.0/go.mod h1:QiK9vBlgftBg6rWQIj6wFzbPfRjiykIEhBH4obrXJ/I= -github.com/btcsuite/snappy-go v0.0.0-20151229074030-0bdef8d06723/go.mod h1:8woku9dyThutzjeg+3xrA5iCpBRH8XEEg3lh6TiUghc= -github.com/btcsuite/snappy-go v1.0.0/go.mod h1:8woku9dyThutzjeg+3xrA5iCpBRH8XEEg3lh6TiUghc= -github.com/btcsuite/websocket v0.0.0-20150119174127-31079b680792/go.mod h1:ghJtEyQwv5/p4Mg4C0fgbePVuGr935/5ddU9Z3TmDRY= -github.com/btcsuite/winsvc v1.0.0/go.mod h1:jsenWakMcC0zFBFurPLEAyrnc/teJEM1O46fmI40EZs= -github.com/c-bata/go-prompt v0.2.2/go.mod h1:VzqtzE2ksDBcdln8G7mk2RX9QyGjH+OVqOCSiVIqS34= +github.com/btcsuite/btcd v0.22.1 h1:CnwP9LM/M9xuRrGSCGeMVs9iv09uMqwsVX7EeIpgV2c= +github.com/btcsuite/btcd v0.22.1/go.mod h1:wqgTSL29+50LRkmOVknEdmt8ZojIzhuWvgu/iptuN7Y= +github.com/btcsuite/btcd/btcec/v2 v2.2.0 h1:fzn1qaOt32TuLjFlkzYSsBC35Q3KUjT1SwPxiMSCF5k= +github.com/btcsuite/btcd/btcec/v2 v2.2.0/go.mod h1:U7MHm051Al6XmscBQ0BoNydpOTsFAn707034b5nY8zU= +github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 h1:q0rUy8C/TYNBQS1+CGKw68tLOFYSNEs0TFnxxnS9+4U= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/cespare/cp v0.1.0/go.mod h1:SOGHArjBr4JWaSDEVpWpo/hNg6RoKrls6Oh40hiwW+s= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= -github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= -github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= -github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cloudflare/cloudflare-go v0.14.0/go.mod h1:EnwdgGMaFOruiPZRFSgn+TsQ3hQ7C/YWzIGLeu5c304= github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= -github.com/consensys/bavard v0.1.8-0.20210406032232-f3452dc9b572/go.mod h1:Bpd0/3mZuaj6Sj+PqrmIquiOKy397AKGThQPaGzNXAQ= -github.com/consensys/gnark-crypto v0.4.1-0.20210426202927-39ac3d4b3f1f/go.mod h1:815PAHg3wvysy0SyIqanF8gZ0Y1wjk/hrDHD/iT88+Q= github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= -github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= -github.com/cpuguy83/go-md2man/v2 v2.0.0 h1:EoUDS0afbrsXAZ9YQ9jdu/mZ2sXgT1/2yyNng4PGlyM= github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= -github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/cyberdelia/templates v0.0.0-20141128023046-ca7fffd4298c/go.mod h1:GyV+0YP4qX0UQ7r2MoYZ+AvYDp12OF5yg4q8rGnyNh4= -github.com/dave/jennifer v1.2.0/go.mod h1:fIb+770HOpJ2fmN9EPPKOqm1vMGhB+TwXKMZhrIygKg= -github.com/davecgh/go-spew v0.0.0-20171005155431-ecdeabc65495/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/cpuguy83/go-md2man/v2 v2.0.2 h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w= +github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/deckarep/golang-set v0.0.0-20180603214616-504e848d77ea/go.mod h1:93vsz/8Wt4joVM7c2AVqh+YRMiUSc14yDtF28KmMOgQ= -github.com/deckarep/golang-set v1.7.1 h1:SCQV0S6gTtp6itiFrTqI+pfmJ4LN85S1YzhDf9rTHJQ= -github.com/deckarep/golang-set v1.7.1/go.mod h1:93vsz/8Wt4joVM7c2AVqh+YRMiUSc14yDtF28KmMOgQ= -github.com/decred/dcrd/lru v1.0.0/go.mod h1:mxKOwFd7lFjN2GZYsiz/ecgqR6kkYAl+0pz0tEMk218= -github.com/deepmap/oapi-codegen v1.6.0/go.mod h1:ryDa9AgbELGeB+YEXE1dR53yAjHwFvE9iAUlWl9Al3M= -github.com/deepmap/oapi-codegen v1.8.2/go.mod h1:YLgSKSDv/bZQB7N4ws6luhozi3cEdRktEqrX88CvjIw= +github.com/deckarep/golang-set v1.8.0 h1:sk9/l/KqpunDwP7pSjUg0keiOOLEnOBHzykLrsPppp4= +github.com/deckarep/golang-set v1.8.0/go.mod h1:5nI87KwE7wgsBU1F4GKAw2Qod7p5kyS383rP6+o6qqo= +github.com/decred/dcrd/crypto/blake256 v1.0.0 h1:/8DMNYp9SGi5f0w7uCm6d6M4OU2rGFK09Y2A4Xv7EE0= +github.com/decred/dcrd/crypto/blake256 v1.0.0/go.mod h1:sQl2p6Y26YV+ZOcSTP6thNdn47hh8kt6rqSlvmrXFAc= +github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 h1:YLtO71vCjJRCBcrPMtQ9nqBsqpA1m5sE92cU+pd5Mcc= +github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1/go.mod h1:hyedUtir6IdtD/7lIxGeCxkaw7y45JueMRL4DIyJDKs= github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= -github.com/dgryski/go-bitstream v0.0.0-20180413035011-3522498ce2c8/go.mod h1:VMaSuZ+SZcx/wljOQKvp5srsbCiKDEb6K2wC4+PiBmQ= github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= -github.com/dlclark/regexp2 v1.4.1-0.20201116162257-a2a8dda75c91/go.mod h1:2pZnwuY/m+8K6iRw6wQdMtk+rH5tNGR1i55kozfMjCc= -github.com/docker/docker v1.4.2-0.20180625184442-8e610b2b55bf/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= -github.com/dop251/goja v0.0.0-20211011172007-d99e4b8cbf48/go.mod h1:R9ET47fwRVRPZnOGvHxxhuZcbrMCuiqOz3Rlrh4KSnk= -github.com/dop251/goja_nodejs v0.0.0-20210225215109-d91c329300e7/go.mod h1:hn7BA7c8pLvoGndExHudxTDKZ84Pyvv+90pbBjbTz0Y= -github.com/eclipse/paho.mqtt.golang v1.2.0/go.mod h1:H9keYFcgq3Qr5OUJm/JZI/i6U7joQ8SYLhZwfeOo6Ts= -github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/ethereum/go-ethereum v1.10.11 h1:KKIcwpmur9iTaVbR2dxlHu+peHVhU+/KX//NWvT1n9U= -github.com/ethereum/go-ethereum v1.10.11/go.mod h1:W3yfrFyL9C1pHcwY5hmRHVDaorTiQxhYBkKyu5mEDHw= -github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= +github.com/ethereum/go-ethereum v1.10.26 h1:i/7d9RBBwiXCEuyduBQzJw/mKmnvzsN14jqBmytw72s= +github.com/ethereum/go-ethereum v1.10.26/go.mod h1:EYFyF19u3ezGLD4RqOkLq+ZCXzYbLoNDdZlMt7kyKFg= github.com/fatih/color v1.9.0 h1:8xPHl4/q1VyqGIPif1F+1V3Y3lSmrq01EabUW3CoW5s= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= github.com/fatih/structs v1.1.0 h1:Q7juDM0QtcnhCpeyLGQKyg4TOIghuNXrkL32pHAUMxo= github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M= -github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5/go.mod h1:VvhXpOYNQvB+uIk2RvXzuaQtkQJzzIx6lSBe1xv7hi0= -github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= -github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= -github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff/go.mod h1:x7DCsMOv1taUwEWCzT4cmDeAkigA5/QCwUodaVOe8Ww= -github.com/getkin/kin-openapi v0.53.0/go.mod h1:7Yn5whZr5kJi6t+kShccXS8ae1APpYTW6yheSwk8Yi4= -github.com/getkin/kin-openapi v0.61.0/go.mod h1:7Yn5whZr5kJi6t+kShccXS8ae1APpYTW6yheSwk8Yi4= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/glycerine/go-unsnap-stream v0.0.0-20180323001048-9f0cb55181dd/go.mod h1:/20jfyN9Y5QPEAprSgKAUr+glWDY39ZiUEAYOEv5dsE= -github.com/glycerine/goconvey v0.0.0-20190410193231-58a59202ab31/go.mod h1:Ogl1Tioa0aV7gstGFO7KhffUsb9M4ydbEbbxpcEDc24= -github.com/go-chi/chi/v5 v5.0.0/go.mod h1:BBug9lr0cqtdAhsu6R4AAdvufI0/XBzAQSsUqJpoZOs= -github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= -github.com/go-ole/go-ole v1.2.1/go.mod h1:7FAglXiTm7HKlQRDeOQ6ZNUHidzCWXuZWq/1dTyBNF8= -github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= -github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= -github.com/go-sourcemap/sourcemap v2.1.3+incompatible/go.mod h1:F8jJfvm2KbVjc5NqelyYJmf/v5J0dwNLS2mL4sNA1Jg= -github.com/go-sql-driver/mysql v1.4.1/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= github.com/go-stack/stack v1.8.0 h1:5SgMzNM5HxrEjV0ww2lTmX6E2Izsfxas4+YHWRs3Lsk= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= -github.com/gofrs/uuid v3.3.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= -github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= -github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k= -github.com/golang/geo v0.0.0-20190916061304-5b978397cfec/go.mod h1:QZ0nwyI2jOfgRAoBvP+ab5aRr7c9x7lhGEJrKvBwjWI= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= @@ -174,251 +69,111 @@ github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:W github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.5.0 h1:LUVKkCeviFUMKqHa4tXIIij/lbhnMbP7Fn5wKdKkRh4= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/golangci/lint-1 v0.0.0-20181222135242-d2cdd8c08219/go.mod h1:/X8TswGSh1pIozq4ZwCfxS0WA5JGXguxk94ar/4c87Y= -github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= +github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/flatbuffers v1.11.0/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/gofuzz v1.1.1-0.20200604201612-c04b05f3adfa/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= -github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.1.5 h1:kxhtnfFVi+rYdOALN0B3k9UT86zVJKfBimRaciULW4I= -github.com/google/uuid v1.1.5/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= -github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= -github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= -github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= +github.com/google/uuid v1.2.0 h1:qJYtXnJRWmpe7m/3XlyhrsLrEURqHRM2kxzoxXqyUDs= +github.com/google/uuid v1.2.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= -github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/graph-gophers/graphql-go v0.0.0-20201113091052-beb923fada29/go.mod h1:9CQHMSxwO4MprSdzoIEobiHpoLtHm77vfxsvsIN5Vuc= github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= -github.com/hashicorp/go-bexpr v0.1.10/go.mod h1:oxlubA2vC/gFVfX1A6JGp7ls7uCDlfJn732ehYYg+g0= -github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/holiman/bloomfilter/v2 v2.0.3/go.mod h1:zpoh+gs7qcpqrHr3dB55AMiJwo0iURXE7ZOP9L9hSkA= -github.com/holiman/uint256 v1.2.0/go.mod h1:y4ga/t+u+Xwd7CpDgZESaRcWy0I7XMlTMA25ApIH5Jw= -github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= -github.com/huin/goupnp v1.0.2/go.mod h1:0dxJBVBHqTMjIUMkESDTNgOOx/Mw5wYIfyFmdzSamkM= -github.com/huin/goutil v0.0.0-20170803182201-1ca381bf3150/go.mod h1:PpLOETDnJ0o3iZrZfqZzyLl6l7F3c6L1oWn7OICBi6o= -github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= -github.com/influxdata/flux v0.65.1/go.mod h1:J754/zds0vvpfwuq7Gc2wRdVwEodfpCFM7mYlOw2LqY= -github.com/influxdata/influxdb v1.8.3/go.mod h1:JugdFhsvvI8gadxOI6noqNeeBHvWNTbfYGtiAn+2jhI= -github.com/influxdata/influxdb-client-go/v2 v2.4.0/go.mod h1:vLNHdxTJkIf2mSLvGrpj8TCcISApPoXkaxP8g9uRlW8= -github.com/influxdata/influxql v1.1.1-0.20200828144457-65d3ef77d385/go.mod h1:gHp9y86a/pxhjJ+zMjNXiQAA197Xk9wLxaz+fGG+kWk= -github.com/influxdata/line-protocol v0.0.0-20180522152040-32c6aa80de5e/go.mod h1:4kt73NQhadE3daL3WhR5EJ/J2ocX0PZzwxQ0gXJ7oFE= -github.com/influxdata/line-protocol v0.0.0-20200327222509-2487e7298839/go.mod h1:xaLFMmpvUxqXtVkUJfg9QmT88cDaCJ3ZKgdZ78oO8Qo= -github.com/influxdata/line-protocol v0.0.0-20210311194329-9aa0e372d097/go.mod h1:xaLFMmpvUxqXtVkUJfg9QmT88cDaCJ3ZKgdZ78oO8Qo= -github.com/influxdata/promql/v2 v2.12.0/go.mod h1:fxOPu+DY0bqCTCECchSRtWfc+0X19ybifQhZoQNF5D8= -github.com/influxdata/roaring v0.4.13-0.20180809181101-fc520f41fab6/go.mod h1:bSgUQ7q5ZLSO+bKBGqJiCBGAl+9DxyW63zLTujjUlOE= -github.com/influxdata/tdigest v0.0.0-20181121200506-bf2b5ad3c0a9/go.mod h1:Js0mqiSBE6Ffsg94weZZ2c+v/ciT8QRHFOap7EKDrR0= -github.com/influxdata/usage-client v0.0.0-20160829180054-6d3895376368/go.mod h1:Wbbw6tYNvwa5dlB6304Sd+82Z3f7PmVZHVKU637d4po= -github.com/jackpal/go-nat-pmp v1.0.2-0.20160603034137-1fa385a6f458/go.mod h1:QPH045xvCAeXUZOxsnwmrtiCoxIr9eob+4orBN1SBKc= -github.com/jedisct1/go-minisign v0.0.0-20190909160543-45766022959e/go.mod h1:G1CVv03EnqU1wYL2dFwXxW2An0az9JTl/ZsqXQeBlkU= -github.com/jessevdk/go-flags v0.0.0-20141203071132-1679536dcc89/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= -github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= -github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= -github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= -github.com/jrick/logrotate v1.0.0/go.mod h1:LNinyqDIJnpAur+b8yyulnQw/wDuN1+BYKlTRt3OuAQ= -github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= -github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= -github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= -github.com/jsternberg/zap-logfmt v1.0.0/go.mod h1:uvPs/4X51zdkcm5jXl5SYoN+4RK21K8mysFmDaM/h+o= -github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= -github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= -github.com/jwilder/encoding v0.0.0-20170811194829-b4e1701a28ef/go.mod h1:Ct9fl0F6iIOGgxJ5npU/IUOhOhqlVrGjyIZc8/MagT0= -github.com/karalabe/hid v1.0.0 h1:+/CIMNXhSU/zIJgnIvBD2nKHxS/bnRHhhs9xBryLpPo= -github.com/karalabe/hid v1.0.0/go.mod h1:Vr51f8rUOLYrfrWDFlV12GGQgM5AT8sVh+2fY4MPeu8= -github.com/karalabe/usb v0.0.0-20211005121534-4c5740d64559/go.mod h1:Od972xHfMJowv7NGVDiWVxk2zxnWgjLlJzE+F4F7AGU= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= -github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/kkdai/bstream v0.0.0-20161212061736-f391b8402d23/go.mod h1:J+Gs4SYgM6CZQHDETBtE9HaSEkGmuNXF86RwHhHUvq4= -github.com/klauspost/compress v1.4.0/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A= -github.com/klauspost/cpuid v0.0.0-20170728055534-ae7887de9fa5/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= -github.com/klauspost/crc32 v0.0.0-20161016154125-cb6bfca970f6/go.mod h1:+ZoRqAPRLkC4NPOvfYeR5KNOrY6TD+/sAC3HXPZgDYg= -github.com/klauspost/pgzip v1.0.2-0.20170402124221-0bf5dcad4ada/go.mod h1:Ch1tH69qFZu15pkjo5kYi6mth2Zzwzt50oCQKQE9RUs= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= +github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI= -github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= -github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= -github.com/labstack/echo/v4 v4.2.1/go.mod h1:AA49e0DZ8kk5jTOOCKNuPR6oTnBS0dYiM4FW1e6jwpg= -github.com/labstack/gommon v0.3.0/go.mod h1:MULnywXg0yavhxWKc+lOruYdAhDwPK9wf0OL7NoOu+k= -github.com/leanovate/gopter v0.2.9/go.mod h1:U2L/78B+KVFIx2VmW6onHJQzXtFb+p5y3y2Sh+Jxxv8= -github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= -github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/matryer/moq v0.0.0-20190312154309-6cfb0558e1bd/go.mod h1:9ELz6aaclSIGnZBoaSLZ3NAl1VTufbOrXBPvtcy6WiQ= -github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= -github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= -github.com/mattn/go-colorable v0.1.7/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.8 h1:c1ghPdyEDarC70ftn0y+A/Ee++9zz8ljHG1b13eJ0s8= github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= -github.com/mattn/go-ieproxy v0.0.0-20190610004146-91bb50d98149/go.mod h1:31jz6HNzdxOmlERGGEc4v/dMssOfmp2p5bT/okiKFFc= -github.com/mattn/go-ieproxy v0.0.0-20190702010315-6dee0af9227d/go.mod h1:31jz6HNzdxOmlERGGEc4v/dMssOfmp2p5bT/okiKFFc= -github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= -github.com/mattn/go-isatty v0.0.9/go.mod h1:YNRxwqDuOph6SZLI9vUUz6OYw3QyUt7WiY2yME+cCiQ= github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY= github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= -github.com/mattn/go-runewidth v0.0.3/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= -github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= -github.com/mattn/go-sqlite3 v1.11.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= -github.com/mattn/go-tty v0.0.0-20180907095812-13ff1204f104/go.mod h1:XPvLUNfbS4fJH25nqRHfWLMa1ONC8Amw+mIA639KxkE= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= -github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/mitchellh/pointerstructure v1.2.0/go.mod h1:BRAsLI5zgXmw97Lf6s25bs8ohIXc3tViBH44KcwB2g4= -github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/mschoch/smat v0.0.0-20160514031455-90eadee771ae/go.mod h1:qAyveg+e4CE+eKJXWVjKXM4ck2QobLqTDytGJbLLhJg= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/naoina/go-stringutil v0.1.0/go.mod h1:XJ2SJL9jCtBh+P9q5btrd/Ylo8XwT/h1USek5+NqSA0= -github.com/naoina/toml v0.1.2-0.20170918210437-9fafd6967416/go.mod h1:NBIhNtsFMo3G2szEBne+bO4gS192HuIYRqfvOWb4i1E= -github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= -github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= -github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= -github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= -github.com/onsi/gomega v1.4.1/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= -github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= -github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= -github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= -github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= -github.com/opentracing/opentracing-go v1.0.3-0.20180606204148-bd9c31933947/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= -github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= -github.com/paulbellamy/ratecounter v0.2.0/go.mod h1:Hfx1hDpSGoqxkVVpBi/IlYD7kChlfo5C6hzIHwPqfFE= github.com/pborman/uuid v1.2.1 h1:+ZZIw58t/ozdjRaXh/3awHfmWRbzYxJoAdNJxe/3pvw= github.com/pborman/uuid v1.2.1/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= -github.com/peterh/liner v1.0.1-0.20180619022028-8c1271fcf47f/go.mod h1:xIteQHvHuaLYG9IFj6mSxM0fCKrs34IrEQUhOYuGPHc= -github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7/go.mod h1:CRroGNssyjTd/qIG2FyxByd2S8JEAZXBl4qUrZf8GS0= -github.com/philhofer/fwd v1.0.0/go.mod h1:gk3iGcWd9+svBvR0sR+KPcfE+RNWozjowpeBVG3ZVNU= -github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/term v0.0.0-20180730021639-bffc007b7fd5/go.mod h1:eCbImbZ95eXtAUIbLAuAVnBnwf83mjf6QIVH8SHYwqQ= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= -github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/common v0.6.0/go.mod h1:eBmuwkDJBwy6iBfxCBob6t6dR6ENT/y+J+Zk0j9GMYc= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/retailnext/hllpp v1.0.1-0.20180308014038-101a6d2f8b52/go.mod h1:RDpi1RftBQPUCDRw6SmxeaREsAaRKnOclghuzp/WRzc= -github.com/rjeczalik/notify v0.9.1/go.mod h1:rKwnCoCGeuQnwBtTSPL9Dad03Vh2n40ePRrjvIXnJho= -github.com/rjeczalik/notify v0.9.2 h1:MiTWrPj55mNDHEiIX5YUSKefw/+lCQVoAFmD6oQm5w8= -github.com/rjeczalik/notify v0.9.2/go.mod h1:aErll2f0sUX9PXZnVNyeiObbmTlk5jnMoCa4QEjJeqM= +github.com/rjeczalik/notify v0.9.3 h1:6rJAzHTGKXGj76sbRgDiDcYj/HniypXmSJo1SWakZeY= +github.com/rjeczalik/notify v0.9.3/go.mod h1:gF3zSOrafR9DQEWSE8TjfI9NkooDxbyT4UgRGKZA0lc= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/rs/cors v1.7.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= -github.com/russross/blackfriday/v2 v2.0.1 h1:lPqVAte+HuHNfhJ/0LC98ESWRz8afy9tM/0RK8m9o+Q= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/segmentio/kafka-go v0.1.0/go.mod h1:X6itGqS9L4jDletMsxZ7Dz+JFWxM6JHfPOCvTvk+EJo= -github.com/segmentio/kafka-go v0.2.0/go.mod h1:X6itGqS9L4jDletMsxZ7Dz+JFWxM6JHfPOCvTvk+EJo= -github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= +github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= +github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/shengdoushi/base58 v1.0.0 h1:tGe4o6TmdXFJWoI31VoSWvuaKxf0Px3gqa3sUWhAxBs= github.com/shengdoushi/base58 v1.0.0/go.mod h1:m5uIILfzcKMw6238iWAhP4l3s5+uXyF3+bJKUNhAL9I= -github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA= -github.com/shurcooL/sanitized_anchor_name v1.0.0 h1:PdmoCO6wvbs+7yrJyMORt4/BmY5IYyJwS/kOiWx8mHo= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= -github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= -github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/cobra v1.0.0 h1:6m/oheQuQ13N9ks4hubMG6BnvwOeaJrqSPLahSnczz8= github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= github.com/spf13/pflag v1.0.3 h1:zPAT6CGy6wXeQ7NtTnaTerfKOsV6V6F8agHXFiazDkg= github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE= -github.com/status-im/keycard-go v0.0.0-20190316090335-8537d3370df4/go.mod h1:RZLeN1LMWmRsyYjvAu+I6Dm9QmlDaIIt+Y+4Kd7Tp+Q= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.2.0/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc= -github.com/tinylib/msgp v1.0.2/go.mod h1:+d+yLhGm8mzTaHzB+wgMYrodPfmZrzkirds8fDWklFE= -github.com/tklauser/go-sysconf v0.3.5/go.mod h1:MkWzOF4RMCshBAMXuhXJs64Rte09mITnppBXY/rYEFI= -github.com/tklauser/numcpus v0.2.2/go.mod h1:x3qojaO3uyYt0i56EW/VUYs7uBvdl2fkfZFu0T9wgjM= +github.com/stretchr/testify v1.7.2 h1:4jaiDzPyXQvSd7D0EjG45355tLlV3VOECpq10pLC+8s= +github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/tyler-smith/go-bip39 v1.0.1-0.20181017060643-dbb3b84ba2ef/go.mod h1:sJ5fKU0s6JVwZjjcUEX2zFOnvq0ASQ2K9Zr6cf67kNs= github.com/tyler-smith/go-bip39 v1.0.2 h1:+t3w+KwLXO6154GNJY+qUtIxLTmFjfUmpguQT1OlOT8= github.com/tyler-smith/go-bip39 v1.0.2/go.mod h1:sJ5fKU0s6JVwZjjcUEX2zFOnvq0ASQ2K9Zr6cf67kNs= github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= -github.com/urfave/cli/v2 v2.3.0/go.mod h1:LJmUH05zAU44vOAcrfzZQKsZbVcdbOG8rtL3/XcUArI= -github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= -github.com/valyala/fasttemplate v1.0.1/go.mod h1:UQGH1tvbgY+Nz5t2n7tXsz52dQxojPUpymEIMZ47gx8= -github.com/valyala/fasttemplate v1.2.1/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= -github.com/willf/bitset v1.1.3/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4= github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= -github.com/xlab/treeprint v0.0.0-20180616005107-d6fb6747feb6/go.mod h1:ce1O1j6UtZfjr22oyGxGLbauSBp2YVXpARAosm7dHBg= github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= -github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/zondax/hid v0.9.1 h1:gQe66rtmyZ8VeGFcOpbuH3r7erYtNEAezCAYu8LdkJo= +github.com/zondax/hid v0.9.1/go.mod h1:l5wttcP0jwtdLjqjMMWFVEE7d1zO0jvSPA9OPZxWpEM= go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= -go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= -go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= -go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.6.0 h1:Ezj3JGmsOnG1MoRWQkPBsKLe9DwWD9QeXzTRzzldNVk= go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= @@ -427,229 +182,80 @@ go.uber.org/multierr v1.5.0 h1:KCa4XfM8CWFCpxXRGok+Q0SS/0XBhMDbHHGABQLvD2A= go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU= go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee h1:0mgffUl7nfd+FpvXMVz4IDEaUSmT1ysygQC7qYo7sG4= go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= -go.uber.org/zap v1.9.1/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.15.0 h1:ZZCA22JRF2gQE5FoNmhmrf7jeJJ2uhqDUNRYKm8dvmM= go.uber.org/zap v1.15.0/go.mod h1:Mb2vm2krFEG5DV0W9qcHBYFtp/Wku1cvYaqPsS/WYfc= -golang.org/x/crypto v0.0.0-20170930174604-9419663f5a44/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190909091759-094676da4a83/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20200115085410-6d4e4cb37c7d/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= -golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= -golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 h1:7I4JAnoQBe7ZtJcBaYHi5UtiO8tQHbUSXxL+pnGRANg= -golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/crypto v0.7.0 h1:AvwMYaRytfdeVt3u6mLaxYtErKYjxA2OXjJ1HHq6t3A= +golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190125153040-c74c464bbbf2/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= -golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= -golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= -golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs= -golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= -golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= -golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190930215403-16217165b5de h1:5hukYrvBGR8/eNkX5mdUezrA6JiaEZDtJb9Ei+1LlBs= golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f h1:J5lckAjkw6qYlOZNj90mLYNTEKDvWeuc1yieZ8qUzUE= -golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= -golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= -golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= -golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= -golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.2 h1:Gz96sIWK3OalVv/I/qNygP42zyoKp3xptRVCWRFEBvo= -golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/net v0.0.0-20180719180050-a680a1efc54d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/mod v0.8.0 h1:LUYupSeNrTNCGzR/hVBk2NHZO4hXcVaW1k4Qx7rjPx8= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= -golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= -golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200813134508-3edf25e44fcc/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20210220033124-5f55cee0dc0d/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d h1:20cMwl2fHAzkJMEA+8J4JgqBQcQGzbisXo31MIeenXI= -golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.8.0 h1:Zrh2ngAOFYneWTAIAPethzeaQLuHwhuBkuV6ZiRnUaQ= +golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180926160741-c2ed4eda69e7/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200107162124-548cf772de50/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200814200057-3d37ad5750ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200826173525-f9321e4c35a6/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210316164454-77fc1eacc6aa/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210324051608-47abb6519492/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210420205809-ac73e9fd8988/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210816183151-1e6c022a8912 h1:uCLL3g5wH2xjxVREVuAbP9JM5PPKjRbXKRa6IBjkzmU= -golang.org/x/sys v0.0.0-20210816183151-1e6c022a8912/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= -golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 h1:v+OssWQX+hTHEmOBgwxdZxK4zHq3yOs8F9J7mk0PY8E= -golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/sys v0.6.0 h1:MVltZSvRTcU2ljQOhs94SXPftV6DCNnZViHeQps87pQ= +golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/term v0.6.0 h1:clScbb1cHjoCkyRbWwBEUZ5H/tIFu5TAXIqaZD0Gcjw= +golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.6 h1:aRYxNxv6iGQlyVaZmk6ZgYEDa+Jg18DxebPSrd6bg1M= -golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/text v0.8.0 h1:57P1ETyNKtuIjB4SRd15iJxuhj8Gc416Y78H3qgMh68= +golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20201208040808-7e3f01d25324/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190206041539-40960b6deb8e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200108203644-89082a384178/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.1.0 h1:po9/4sTYwZU9lPhi1tOrb4hCv3qrhiQ77LZfGa2OjwY= -golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= +golang.org/x/tools v0.6.0 h1:BOw41kyTf3PuCW1pVQf8+Cyg8pMlkYB1oo9iJ6D/lKM= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -gonum.org/v1/gonum v0.0.0-20180816165407-929014505bf4/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo= -gonum.org/v1/gonum v0.0.0-20181121035319-3f7ecaa7e8ca/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo= -gonum.org/v1/gonum v0.6.0/go.mod h1:9mxDZsDKxgMAuccQkewq682L+0eCu4dCN2yonUJTCLU= -gonum.org/v1/netlib v0.0.0-20181029234149-ec6d1f5cefe6/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= -gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= -gonum.org/v1/plot v0.0.0-20190515093506-e2840ee46a6b/go.mod h1:Wt8AAjI+ypCyYX3nZBvf6cAIx93T+c/OS2HFAYskSZc= -google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= -google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= -google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df h1:5Pf6pFKu98ODmgnpvkJ3kFUOQGGLIzLIkbzUHp47618= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= -google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190716160619-c506a9f90610/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= -google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200108215221-bd8f9a0ef82f/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= google.golang.org/genproto v0.0.0-20200825200019-8632dd797987 h1:PDIOdWxZ8eRizhKa1AAvY53xsvLB1cWorMjslvY3VA8= google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= -google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= -google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc v1.37.0 h1:uSZWeQJX5j11bIQ4AJoj+McDBo29cY1MCoC1wO3ts+c= google.golang.org/grpc v1.37.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= @@ -664,38 +270,23 @@ google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpAD google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= +google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w= google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= -gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= -gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce/go.mod h1:5AcXVHNjg+BDxry382+8OKon8SEWiKktQR07RKPsv1c= -gopkg.in/olebedev/go-duktape.v3 v3.0.0-20200619000410-60c24ae608a6/go.mod h1:uAJfkITjFhyEEuUfm7bsmCZRbW5WRq8s9EY8HZ6hCns= gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= -gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= -gopkg.in/urfave/cli.v1 v1.20.0/go.mod h1:vuBzUtMdQeixQj8LVd+/98pzhxNGQoyuPBlsXHOQNO0= gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.1-2019.2.3 h1:3JgtbtFHMiCmsznwGVTUWbgGov+pVqnlf1dEJTNAXeM= honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= -honnef.co/go/tools v0.1.3 h1:qTakTkI6ni6LFD5sBwwsdSO+AQqbSIxOauHTTQKZ/7o= -honnef.co/go/tools v0.1.3/go.mod h1:NgwopIslSNH47DimFoV78dnkksY2EFtX0ajyb3K/las= -rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= -rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= diff --git a/pkg/keystore/watch.go b/pkg/keystore/watch.go index bbcfb9925..76c711452 100644 --- a/pkg/keystore/watch.go +++ b/pkg/keystore/watch.go @@ -14,6 +14,7 @@ // You should have received a copy of the GNU Lesser General Public License // along with the go-ethereum library. If not, see . +//go:build (darwin && !ios) || freebsd || (linux && !arm64) || netbsd || solaris // +build darwin,!ios freebsd linux,!arm64 netbsd solaris package keystore diff --git a/pkg/keystore/watch_fallback.go b/pkg/keystore/watch_fallback.go index 7c5e9cb2e..584a991f4 100644 --- a/pkg/keystore/watch_fallback.go +++ b/pkg/keystore/watch_fallback.go @@ -14,6 +14,7 @@ // You should have received a copy of the GNU Lesser General Public License // along with the go-ethereum library. If not, see . +//go:build ios || (linux && arm64) || windows || (!darwin && !freebsd && !linux && !netbsd && !solaris) // +build ios linux,arm64 windows !darwin,!freebsd,!linux,!netbsd,!solaris // This is the fallback implementation of directory watching. diff --git a/pkg/ledger/nano_S_driver.go b/pkg/ledger/nano_S_driver.go index f21125713..2ba3a4d77 100644 --- a/pkg/ledger/nano_S_driver.go +++ b/pkg/ledger/nano_S_driver.go @@ -8,7 +8,7 @@ import ( "fmt" "io" - "github.com/karalabe/hid" + "github.com/zondax/hid" ) const ( From 864a9641f4cd7c7b3b4002096dfbafd5283a3fd0 Mon Sep 17 00:00:00 2001 From: Fernando Sobreira Date: Wed, 15 Mar 2023 05:47:47 -0400 Subject: [PATCH 18/53] validate tron address on base58 decodeCheck (#65) --- pkg/common/base58.go | 16 +++++++++++++++- pkg/common/base58_test.go | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 pkg/common/base58_test.go diff --git a/pkg/common/base58.go b/pkg/common/base58.go index 219730632..32796bc99 100644 --- a/pkg/common/base58.go +++ b/pkg/common/base58.go @@ -7,6 +7,9 @@ import ( "github.com/shengdoushi/base58" ) +const addressLength = 20 +const prefixMainnet = 0x41 + func Encode(input []byte) string { return base58.Encode(input, base58.BitcoinAlphabet) } @@ -32,7 +35,6 @@ func Decode(input string) ([]byte, error) { func DecodeCheck(input string) ([]byte, error) { decodeCheck, err := Decode(input) - if err != nil { return nil, err } @@ -41,6 +43,16 @@ func DecodeCheck(input string) ([]byte, error) { return nil, fmt.Errorf("b58 check error") } + // tron address should should have 20 bytes + 4 checksum + 1 Prefix + if len(decodeCheck) != addressLength+4+1 { + return nil, fmt.Errorf("invalid address length: %d", len(decodeCheck)) + } + + // check prefix + if decodeCheck[0] != prefixMainnet { + return nil, fmt.Errorf("invalid prefix") + } + decodeData := decodeCheck[:len(decodeCheck)-4] h256h0 := sha256.New() @@ -55,7 +67,9 @@ func DecodeCheck(input string) ([]byte, error) { h1[1] == decodeCheck[len(decodeData)+1] && h1[2] == decodeCheck[len(decodeData)+2] && h1[3] == decodeCheck[len(decodeData)+3] { + return decodeData, nil } + return nil, fmt.Errorf("b58 check error") } diff --git a/pkg/common/base58_test.go b/pkg/common/base58_test.go new file mode 100644 index 000000000..fa69c62c9 --- /dev/null +++ b/pkg/common/base58_test.go @@ -0,0 +1,34 @@ +package common_test + +import ( + "testing" + + "github.com/fbsobreira/gotron-sdk/pkg/common" + "github.com/stretchr/testify/assert" +) + +func Test_DecodeBase58(t *testing.T) { + + invalidAddresses := []string{ + "TronEnergyioE1Z3ukeRv38sYkv5Jn55bL", + "TronEnergyioNijNo8g3LF2ABKUAae6D2Z", + "TronEnergyio3ZMcXA5hSjrTxaioKGgqyr", + } + + validAddresses := []string{ + "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t", + "TVj7RNVHy6thbM7BWdSe9G6gXwKhjhdNZS", + "THPvaUhoh2Qn2y9THCZML3H815hhFhn5YC", + } + + for _, addr := range invalidAddresses { + _, err := common.DecodeCheck(addr) + assert.NotNil(t, err) + } + + for _, addr := range validAddresses { + _, err := common.DecodeCheck(addr) + assert.Nil(t, err) + } + +} From e8dde6b7b18c351d63214b08fdf21161fd83fee8 Mon Sep 17 00:00:00 2001 From: Fernando Sobreira Date: Wed, 15 Mar 2023 09:01:25 -0400 Subject: [PATCH 19/53] Add estimate energy (#66) --- cmd/subcommands/contract.go | 34 +++++++++++++++++++++ pkg/client/contracts.go | 59 ++++++++++++++++++++++++++++++++++++ pkg/client/contracts_test.go | 39 ++++++++++++++++++++++++ 3 files changed, 132 insertions(+) diff --git a/cmd/subcommands/contract.go b/cmd/subcommands/contract.go index 9c14f20c6..16e54d2d3 100644 --- a/cmd/subcommands/contract.go +++ b/cmd/subcommands/contract.go @@ -27,6 +27,7 @@ var ( tAmount float64 tTokenID string tTokenAmount float64 + estimate bool ) func contractSub() []*cobra.Command { @@ -202,6 +203,38 @@ func contractSub() []*cobra.Command { param = args[2] } + if estimate { + estimate, err := conn.EstimateEnergy( + signerAddress.String(), + addr.String(), + args[1], + param, + valueInt, + tTokenID, + tokenInt, + ) + + if err != nil { + return err + } + + if noPrettyOutput { + fmt.Println(estimate) + return nil + } + + result := make(map[string]interface{}) + result["EnergyRequired"] = estimate.EnergyRequired + result["result"] = map[string]interface{}{ + "code": estimate.Result.Code.String(), + "message": string(estimate.Result.Message), + "result": estimate.Result.Result, + } + + asJSON, _ := json.Marshal(result) + fmt.Println(common.JSONPrettyFormat(string(asJSON))) + } + tx, err := conn.TriggerContract( signerAddress.String(), addr.String(), @@ -265,6 +298,7 @@ func contractSub() []*cobra.Command { cmdTrigger.Flags().Float64Var(&tAmount, "value", 0, "trx amount") cmdTrigger.Flags().StringVar(&tTokenID, "token", "", "token id") cmdTrigger.Flags().Float64Var(&tTokenAmount, "tokenValue", 0, "token amount") + cmdTrigger.Flags().BoolVar(&estimate, "estiamte", false, "estimate energy required") return []*cobra.Command{cmdDeploy, cmdConstant, cmdTrigger} } diff --git a/pkg/client/contracts.go b/pkg/client/contracts.go index ab433a3bc..2aa983db9 100644 --- a/pkg/client/contracts.go +++ b/pkg/client/contracts.go @@ -118,6 +118,65 @@ func (g *GrpcClient) triggerContract(ct *core.TriggerSmartContract, feeLimit int return tx, err } +// EstimateEnergy returns enery required +func (g *GrpcClient) EstimateEnergy(from, contractAddress, method, jsonString string, + tAmount int64, tTokenID string, tTokenAmount int64) (*api.EstimateEnergyMessage, error) { + fromDesc, err := address.Base58ToAddress(from) + if err != nil { + return nil, err + } + + contractDesc, err := address.Base58ToAddress(contractAddress) + if err != nil { + return nil, err + } + + param, err := abi.LoadFromJSON(jsonString) + if err != nil { + return nil, err + } + + dataBytes, err := abi.Pack(method, param) + if err != nil { + return nil, err + } + + ct := &core.TriggerSmartContract{ + OwnerAddress: fromDesc.Bytes(), + ContractAddress: contractDesc.Bytes(), + Data: dataBytes, + } + if tAmount > 0 { + ct.CallValue = tAmount + } + if len(tTokenID) > 0 && tTokenAmount > 0 { + ct.CallTokenValue = tTokenAmount + ct.TokenId, err = strconv.ParseInt(tTokenID, 10, 64) + if err != nil { + return nil, err + } + } + + return g.estimateEnergy(ct) +} + +// triggerContract and return tx result +func (g *GrpcClient) estimateEnergy(ct *core.TriggerSmartContract) (*api.EstimateEnergyMessage, error) { + ctx, cancel := g.getContext() + defer cancel() + + tx, err := g.Client.EstimateEnergy(ctx, ct) + if err != nil { + return nil, err + } + + if tx.Result.Code > 0 { + return nil, fmt.Errorf("%s", string(tx.Result.Message)) + } + + return tx, err +} + // DeployContract and return tx result func (g *GrpcClient) DeployContract(from, contractName string, abi *core.SmartContract_ABI, codeStr string, diff --git a/pkg/client/contracts_test.go b/pkg/client/contracts_test.go index 4dcca074a..4131fe532 100755 --- a/pkg/client/contracts_test.go +++ b/pkg/client/contracts_test.go @@ -31,6 +31,45 @@ func TestProtoParse(t *testing.T) { assert.Equal(t, hex.EncodeToString(trig.Data), "97a5d5b50000000000000000000000009df085719e7e0bd5bf4fd1b2a6aed6afd2b8416d") } +func TestProtoParseR(t *testing.T) { + conn := client.NewGrpcClient("grpc.trongrid.io:50051") + err := conn.Start(grpc.WithInsecure()) + require.Nil(t, err) + block, err := conn.GetBlockByNum(48763870) + require.Nil(t, err) + + for _, tx := range block.Transactions { + for _, contract := range tx.GetTransaction().GetRawData().GetContract() { + switch contract.Type { + case core.Transaction_Contract_TriggerSmartContract: + tsc := core.TriggerSmartContract{} + err := contract.Parameter.UnmarshalTo(&tsc) + require.Nil(t, err) + fmt.Println("Its ok.... test contract data") + default: + fmt.Println("handle not SC case") + } + } + } +} + +func TestEstimateEnergy(t *testing.T) { + conn := client.NewGrpcClient("grpc.nile.trongrid.io:50051") + err := conn.Start(grpc.WithInsecure()) + require.Nil(t, err) + + estimate, err := conn.EstimateEnergy( + "TTGhREx2pDSxFX555NWz1YwGpiBVPvQA7e", + "TVSvjZdyDSNocHm7dP3jvCmMNsCnMTPa5W", + "transfer(address,uint256)", + `[{"address": "TE4c73WubeWPhSF1nAovQDmQytjcaLZyY9"},{"uint256": "100"}]`, + 0, "", 0, + ) + require.Nil(t, err) + assert.True(t, estimate.Result.Result) + assert.Equal(t, estimate.EnergyRequired, int64(14910)) +} + func TestGetAccount(t *testing.T) { conn := client.NewGrpcClient("grpc.trongrid.io:50051") err := conn.Start(grpc.WithInsecure()) From bd0176955ca2112c6706095f06f162719b74ca31 Mon Sep 17 00:00:00 2001 From: Fernando Sobreira Date: Wed, 15 Mar 2023 10:20:11 -0400 Subject: [PATCH 20/53] Add client UpdateSettings and UpdateEnergyLimit for contracts (#67) --- pkg/client/contracts.go | 66 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/pkg/client/contracts.go b/pkg/client/contracts.go index 2aa983db9..faa4cef1a 100644 --- a/pkg/client/contracts.go +++ b/pkg/client/contracts.go @@ -13,6 +13,72 @@ import ( "google.golang.org/protobuf/proto" ) +// UpdateEnergyLimitContract update contract enery limit +func (g *GrpcClient) UpdateEnergyLimitContract(from, contractAddress string, value int64) (*api.TransactionExtention, error) { + fromDesc, err := address.Base58ToAddress(from) + if err != nil { + return nil, err + } + + contractDesc, err := address.Base58ToAddress(contractAddress) + if err != nil { + return nil, err + } + + ct := &core.UpdateEnergyLimitContract{ + OwnerAddress: fromDesc.Bytes(), + ContractAddress: contractDesc.Bytes(), + OriginEnergyLimit: value, + } + + ctx, cancel := g.getContext() + defer cancel() + + tx, err := g.Client.UpdateEnergyLimit(ctx, ct) + if err != nil { + return nil, err + } + + if tx.Result.Code > 0 { + return nil, fmt.Errorf("%s", string(tx.Result.Message)) + } + + return tx, err +} + +// UpdateSettingContract change contract owner consumption ratio +func (g *GrpcClient) UpdateSettingContract(from, contractAddress string, value int64) (*api.TransactionExtention, error) { + fromDesc, err := address.Base58ToAddress(from) + if err != nil { + return nil, err + } + + contractDesc, err := address.Base58ToAddress(contractAddress) + if err != nil { + return nil, err + } + + ct := &core.UpdateSettingContract{ + OwnerAddress: fromDesc.Bytes(), + ContractAddress: contractDesc.Bytes(), + ConsumeUserResourcePercent: value, + } + + ctx, cancel := g.getContext() + defer cancel() + + tx, err := g.Client.UpdateSetting(ctx, ct) + if err != nil { + return nil, err + } + + if tx.Result.Code > 0 { + return nil, fmt.Errorf("%s", string(tx.Result.Message)) + } + + return tx, err +} + // TriggerConstantContract and return tx result func (g *GrpcClient) TriggerConstantContract(from, contractAddress, method, jsonString string) (*api.TransactionExtention, error) { var err error From df6bb68d208eee0f100de38a5dbe7695d0627b0c Mon Sep 17 00:00:00 2001 From: Sibelly Cavalcante Date: Tue, 21 Mar 2023 16:57:09 -0400 Subject: [PATCH 21/53] feat: adds max delegate bandwidth and energy fields (#69) --- pkg/account/model.go | 52 ++++++++++++++++---------------- pkg/client/account.go | 61 ++++++++++++++++++++++---------------- pkg/client/account_test.go | 3 ++ 3 files changed, 66 insertions(+), 50 deletions(-) diff --git a/pkg/account/model.go b/pkg/account/model.go index 62fccc5dd..c17b1160f 100644 --- a/pkg/account/model.go +++ b/pkg/account/model.go @@ -21,29 +21,31 @@ type UnfrozenResource struct { // Account detailed view type Account struct { - Address string `json:"address"` - Type string `json:"type"` - Name string `json:"name"` - ID string `json:"id"` - Balance int64 `json:"balance"` - Allowance int64 `json:"allowance"` - LastWithdraw int64 `json:"lastWithdraw"` - IsWitness bool `json:"isWitness"` - IsElected bool `json:"isElected"` - Assets map[string]int64 `json:"assetList"` - TronPower int64 `json:"tronPower"` - TronPowerUsed int64 `json:"tronPowerUsed"` - FrozenBalance int64 `json:"frozenBalance"` - FrozenResources []FrozenResource `json:"frozenList"` - FrozenBalanceV2 int64 `json:"frozenBalanceV2"` - FrozenResourcesV2 []FrozenResource `json:"frozenListV2"` - UnfrozenResource []UnfrozenResource `json:"unfrozenList"` - Votes map[string]int64 `json:"voteList"` - BWTotal int64 `json:"bandwidthTotal"` - BWUsed int64 `json:"bandwidthUsed"` - EnergyTotal int64 `json:"energyTotal"` - EnergyUsed int64 `json:"energyUsed"` - Rewards int64 `json:"rewards"` - WithdrawableBalance int64 `json:"withdrawableBalance"` - UnfreezeLeft int64 `json:"countUnfreezeLeft"` + Address string `json:"address"` + Type string `json:"type"` + Name string `json:"name"` + ID string `json:"id"` + Balance int64 `json:"balance"` + Allowance int64 `json:"allowance"` + LastWithdraw int64 `json:"lastWithdraw"` + IsWitness bool `json:"isWitness"` + IsElected bool `json:"isElected"` + Assets map[string]int64 `json:"assetList"` + TronPower int64 `json:"tronPower"` + TronPowerUsed int64 `json:"tronPowerUsed"` + FrozenBalance int64 `json:"frozenBalance"` + FrozenResources []FrozenResource `json:"frozenList"` + FrozenBalanceV2 int64 `json:"frozenBalanceV2"` + FrozenResourcesV2 []FrozenResource `json:"frozenListV2"` + UnfrozenResource []UnfrozenResource `json:"unfrozenList"` + Votes map[string]int64 `json:"voteList"` + BWTotal int64 `json:"bandwidthTotal"` + BWUsed int64 `json:"bandwidthUsed"` + EnergyTotal int64 `json:"energyTotal"` + EnergyUsed int64 `json:"energyUsed"` + Rewards int64 `json:"rewards"` + WithdrawableBalance int64 `json:"withdrawableBalance"` + UnfreezeLeft int64 `json:"countUnfreezeLeft"` + MaxCanDelegateBandwidth int64 `json:"maxCanDelegateBandwidth"` + MaxCanDelegateEnergy int64 `json:"maxCanDelegateEnergy"` } diff --git a/pkg/client/account.go b/pkg/client/account.go index 6c28486ed..6844a69f9 100644 --- a/pkg/client/account.go +++ b/pkg/client/account.go @@ -160,6 +160,15 @@ func (g *GrpcClient) GetAccountDetailed(addr string) (*account.Account, error) { return nil, err } + maxCanDelegateBandwidth, err := g.GetCanDelegatedMaxSize(addr, int32(core.ResourceCode_BANDWIDTH)) + if err != nil { + return nil, err + } + maxCanDelegateEnergy, err := g.GetCanDelegatedMaxSize(addr, int32(core.ResourceCode_ENERGY)) + if err != nil { + return nil, err + } + // SUM Total freeze V1 totalFrozen := int64(0) frozenList := make([]account.FrozenResource, 0) @@ -267,31 +276,33 @@ func (g *GrpcClient) GetAccountDetailed(addr string) (*account.Account, error) { } accDet := &account.Account{ - Address: address.Address(acc.GetAddress()).String(), - Type: acc.Type.String(), - Name: string(acc.GetAccountName()), - ID: string(acc.GetAccountId()), - Balance: acc.GetBalance(), - Allowance: acc.GetAllowance(), - LastWithdraw: acc.LatestWithdrawTime, - IsWitness: acc.IsWitness, - IsElected: acc.IsCommittee, - Assets: acc.GetAssetV2(), - TronPower: totalFrozen / 1000000, - TronPowerUsed: totalVotes, - FrozenBalance: totalFrozen, - FrozenBalanceV2: totalFrozenV2, - FrozenResourcesV2: frozenListV2, - FrozenResources: frozenList, - Votes: voteList, - BWTotal: accR.GetFreeNetLimit() + accR.GetNetLimit(), - BWUsed: accR.GetFreeNetUsed() + accR.GetNetUsed(), - EnergyTotal: accR.GetEnergyLimit(), - EnergyUsed: accR.GetEnergyUsed(), - Rewards: rewards, - WithdrawableBalance: withdrawableAmount.GetAmount(), - UnfrozenResource: unfrozenListV2, - UnfreezeLeft: accUnfreezeLeft.GetCount(), + Address: address.Address(acc.GetAddress()).String(), + Type: acc.Type.String(), + Name: string(acc.GetAccountName()), + ID: string(acc.GetAccountId()), + Balance: acc.GetBalance(), + Allowance: acc.GetAllowance(), + LastWithdraw: acc.LatestWithdrawTime, + IsWitness: acc.IsWitness, + IsElected: acc.IsCommittee, + Assets: acc.GetAssetV2(), + TronPower: totalFrozen / 1000000, + TronPowerUsed: totalVotes, + FrozenBalance: totalFrozen, + FrozenBalanceV2: totalFrozenV2, + FrozenResourcesV2: frozenListV2, + FrozenResources: frozenList, + Votes: voteList, + BWTotal: accR.GetFreeNetLimit() + accR.GetNetLimit(), + BWUsed: accR.GetFreeNetUsed() + accR.GetNetUsed(), + EnergyTotal: accR.GetEnergyLimit(), + EnergyUsed: accR.GetEnergyUsed(), + Rewards: rewards, + WithdrawableBalance: withdrawableAmount.GetAmount(), + UnfrozenResource: unfrozenListV2, + UnfreezeLeft: accUnfreezeLeft.GetCount(), + MaxCanDelegateBandwidth: maxCanDelegateBandwidth.GetMaxSize(), + MaxCanDelegateEnergy: maxCanDelegateEnergy.GetMaxSize(), } return accDet, nil diff --git a/pkg/client/account_test.go b/pkg/client/account_test.go index cbe132d7d..603c7b672 100644 --- a/pkg/client/account_test.go +++ b/pkg/client/account_test.go @@ -57,6 +57,9 @@ func TestGetAccountDetailedV2(t *testing.T) { require.NotNil(t, acc.Allowance) require.NotNil(t, acc.Rewards) + require.NotNil(t, acc.MaxCanDelegateBandwidth) + require.NotNil(t, acc.MaxCanDelegateEnergy) + } func TestFreezeV2(t *testing.T) { From 8890ea81a560928dfe8044819acf2031f3957917 Mon Sep 17 00:00:00 2001 From: Fernando Sobreira Date: Wed, 22 Mar 2023 09:17:42 -0400 Subject: [PATCH 22/53] return empty if address len = 0 (#70) --- pkg/address/address.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/address/address.go b/pkg/address/address.go index b0c676956..5cd56633e 100644 --- a/pkg/address/address.go +++ b/pkg/address/address.go @@ -72,6 +72,10 @@ func Base64ToAddress(s string) (Address, error) { // String implements fmt.Stringer. func (a Address) String() string { + if len(a) == 0 { + return "" + } + if a[0] == 0 { return new(big.Int).SetBytes(a.Bytes()).String() } From 7843d2a7548ea0697c2909ed1b53aee15c29c6bb Mon Sep 17 00:00:00 2001 From: Gustavo Britto Date: Thu, 23 Mar 2023 16:30:02 -0300 Subject: [PATCH 23/53] fix TotalFrozenBalanceV2 (#71) --- pkg/client/account.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkg/client/account.go b/pkg/client/account.go index 6844a69f9..9da071003 100644 --- a/pkg/client/account.go +++ b/pkg/client/account.go @@ -220,9 +220,9 @@ func (g *GrpcClient) GetAccountDetailed(addr string) (*account.Account, error) { frozenListV2 := make([]account.FrozenResource, 0) // Energy Delegated - totalFrozen += acc.GetAccountResource().GetDelegatedFrozenV2BalanceForEnergy() + totalFrozenV2 += acc.GetAccountResource().GetDelegatedFrozenV2BalanceForEnergy() // Bandwidth Delegated - totalFrozen += acc.GetDelegatedFrozenV2BalanceForBandwidth() + totalFrozenV2 += acc.GetDelegatedFrozenV2BalanceForBandwidth() // Frozen not delegated for _, f := range acc.FrozenV2 { @@ -231,7 +231,7 @@ func (g *GrpcClient) GetAccountDetailed(addr string) (*account.Account, error) { Amount: f.GetAmount(), DelegateTo: "", }) - totalFrozen += f.GetAmount() + totalFrozenV2 += f.GetAmount() } // Fill Delegated V2 @@ -244,7 +244,6 @@ func (g *GrpcClient) GetAccountDetailed(addr string) (*account.Account, error) { Expire: d.GetExpireTimeForBandwidth(), DelegateTo: address.Address(d.GetTo()).String(), }) - totalFrozenV2 += d.GetFrozenBalanceForBandwidth() } if d.GetFrozenBalanceForEnergy() > 0 { frozenListV2 = append(frozenListV2, account.FrozenResource{ @@ -253,7 +252,6 @@ func (g *GrpcClient) GetAccountDetailed(addr string) (*account.Account, error) { Expire: d.GetExpireTimeForEnergy(), DelegateTo: address.Address(d.GetTo()).String(), }) - totalFrozenV2 += d.GetFrozenBalanceForEnergy() } } } From 64b45a6a22e0e0a612c5e47b55184130e289b0c3 Mon Sep 17 00:00:00 2001 From: gribanoid <82345280+gribanoid@users.noreply.github.com> Date: Tue, 28 Mar 2023 21:28:08 +0300 Subject: [PATCH 24/53] ability to use smart contracts with arrays of addresses (#72) Co-authored-by: gribanoid --- pkg/abi/abi.go | 5 ++++- pkg/abi/abi_test.go | 8 +++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/pkg/abi/abi.go b/pkg/abi/abi.go index 54fcad9a9..0a6a29ee0 100644 --- a/pkg/abi/abi.go +++ b/pkg/abi/abi.go @@ -115,7 +115,10 @@ func GetPaddedParam(param []Param) ([]byte, error) { if ty.T == eABI.SliceTy || ty.T == eABI.ArrayTy { if ty.Elem.T == eABI.AddressTy { - tmp := v.([]string) + tmp, ok := v.([]interface{}) + if !ok { + return nil, fmt.Errorf("unable to convert array of addresses %+v", p) + } v = make([]eCommon.Address, 0) for i := range tmp { addr, err := convetToAddress(tmp[i]) diff --git a/pkg/abi/abi_test.go b/pkg/abi/abi_test.go index f971b5fe2..8e0431d53 100644 --- a/pkg/abi/abi_test.go +++ b/pkg/abi/abi_test.go @@ -32,9 +32,15 @@ func TestABIParam(t *testing.T) { } func TestABIParamArray(t *testing.T) { - b, err := GetPaddedParam([]Param{{"address[2]": []string{"TEvHMZWyfjCAdDJEKYxYVL8rRpigddLC1R", "TEvHMZWyfjCAdDJEKYxYVL8rRpigddLC1R"}}}) + param, err := LoadFromJSON(fmt.Sprintf(` + [ + {"address[2]":["TEvHMZWyfjCAdDJEKYxYVL8rRpigddLC1R", "TEvHMZWyfjCAdDJEKYxYVL8rRpigddLC1R"]} + ] + `)) + b, err := GetPaddedParam(param) require.Nil(t, err) assert.Len(t, b, 64, fmt.Sprintf("Wrong length %d/%d", len(b), 64)) + assert.Equal(t, "000000000000000000000000364b03e0815687edaf90b81ff58e496dea7383d7000000000000000000000000364b03e0815687edaf90b81ff58e496dea7383d7", hex.EncodeToString(b)) } func TestABIParamArrayUint256(t *testing.T) { From 8ce6eac59a1dce4d76750d1b3743495837e49386 Mon Sep 17 00:00:00 2001 From: Gustavo Britto Date: Wed, 29 Mar 2023 14:08:10 -0300 Subject: [PATCH 25/53] update bad transaction when user has no unfreeze count available (#74) --- pkg/client/bank.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/client/bank.go b/pkg/client/bank.go index 61507b99c..643b368c6 100644 --- a/pkg/client/bank.go +++ b/pkg/client/bank.go @@ -152,9 +152,7 @@ func (g *GrpcClient) GetAvailableUnfreezeCount(from string) (*api.GetAvailableUn if err != nil { return nil, err } - if proto.Size(tx) == 0 { - return nil, fmt.Errorf("bad transaction") - } + return tx, nil } From 6cd109bf54f8c27e375d7e8e8c6a1b1c76f7dd39 Mon Sep 17 00:00:00 2001 From: Tiago Pires Date: Sun, 9 Apr 2023 08:36:50 -0300 Subject: [PATCH 26/53] feat: add GetTransactionSignWeight to client package (#76) --- pkg/client/transaction.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 pkg/client/transaction.go diff --git a/pkg/client/transaction.go b/pkg/client/transaction.go new file mode 100644 index 000000000..24cb88c01 --- /dev/null +++ b/pkg/client/transaction.go @@ -0,0 +1,18 @@ +package client + +import ( + "github.com/fbsobreira/gotron-sdk/pkg/proto/api" + "github.com/fbsobreira/gotron-sdk/pkg/proto/core" +) + +// GetTransactionSignWeight queries transaction sign weight +func (g *GrpcClient) GetTransactionSignWeight(tx *core.Transaction) (*api.TransactionSignWeight, error) { + ctx, cancel := g.getContext() + defer cancel() + + result, err := g.Client.GetTransactionSignWeight(ctx, tx) + if err != nil { + return nil, err + } + return result, nil +} From b7bfbf1c0ade7a7ce8c78f5ecaf9242dd42202d7 Mon Sep 17 00:00:00 2001 From: Igor Fernandes Date: Tue, 18 Apr 2023 16:59:51 -0300 Subject: [PATCH 27/53] add totalFrozenV2 to tronPower (#79) --- pkg/client/account.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/client/account.go b/pkg/client/account.go index 9da071003..889fa47c0 100644 --- a/pkg/client/account.go +++ b/pkg/client/account.go @@ -284,7 +284,7 @@ func (g *GrpcClient) GetAccountDetailed(addr string) (*account.Account, error) { IsWitness: acc.IsWitness, IsElected: acc.IsCommittee, Assets: acc.GetAssetV2(), - TronPower: totalFrozen / 1000000, + TronPower: (totalFrozen + totalFrozenV2) / 1000000, TronPowerUsed: totalVotes, FrozenBalance: totalFrozen, FrozenBalanceV2: totalFrozenV2, From 9eed2a7669ead383daccdaa9ecad325e51656d76 Mon Sep 17 00:00:00 2001 From: Bohdan <33161857+kbgod@users.noreply.github.com> Date: Sat, 27 May 2023 23:42:51 +0300 Subject: [PATCH 28/53] Implemented database/sql valuer in Address type (#75) --- pkg/address/address.go | 20 +++++++++++++++++ pkg/address/address_test.go | 45 +++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 pkg/address/address_test.go diff --git a/pkg/address/address.go b/pkg/address/address.go index 5cd56633e..e54353bc5 100644 --- a/pkg/address/address.go +++ b/pkg/address/address.go @@ -3,7 +3,9 @@ package address import ( "bytes" "crypto/ecdsa" + "database/sql/driver" "encoding/base64" + "fmt" "math/big" "github.com/ethereum/go-ethereum/crypto" @@ -91,3 +93,21 @@ func PubkeyToAddress(p ecdsa.PublicKey) Address { addressTron = append(addressTron, address.Bytes()...) return addressTron } + +// Scan implements Scanner for database/sql. +func (a *Address) Scan(src interface{}) error { + srcB, ok := src.([]byte) + if !ok { + return fmt.Errorf("can't scan %T into Address", src) + } + if len(srcB) != AddressLength { + return fmt.Errorf("can't scan []byte of len %d into Address, want %d", len(srcB), AddressLength) + } + *a = Address(srcB) + return nil +} + +// Value implements valuer for database/sql. +func (a Address) Value() (driver.Value, error) { + return []byte(a), nil +} diff --git a/pkg/address/address_test.go b/pkg/address/address_test.go new file mode 100644 index 000000000..0f595131a --- /dev/null +++ b/pkg/address/address_test.go @@ -0,0 +1,45 @@ +package address + +import ( + "bytes" + "testing" +) + +func TestAddress_Scan(t *testing.T) { + validAddress, err := Base58ToAddress("TSvT6Bg3siokv3dbdtt9o4oM1CTXmymGn1") + if err != nil { + t.Errorf("unexpected error: %v", err) + } + + // correct case + want := validAddress + a := &Address{} + src := validAddress.Bytes() + err = a.Scan(src) + if err != nil { + t.Errorf("unexpected error: %v", err) + } + if !bytes.Equal(a.Bytes(), want.Bytes()) { + t.Errorf("got %v, want %v", *a, want) + } + + // invalid type of src + a = &Address{} + err = a.Scan("not a byte slice") + if err == nil { + t.Errorf("expected an error, but got none") + } + + // invalid length of src + a = &Address{} + src = make([]byte, 4) + err = a.Scan(src) + if err == nil { + t.Errorf("expected an error, but got none") + } + src = make([]byte, 22) // Створюємо байтовий масив з неправильною довжиною + err = a.Scan(src) + if err == nil { + t.Errorf("expected an error, but got none") + } +} From e4d32e103720f952ec25e119337f8744db1390ef Mon Sep 17 00:00:00 2001 From: syr2bill <78464515+syr2bill@users.noreply.github.com> Date: Fri, 14 Jul 2023 18:12:02 +0800 Subject: [PATCH 29/53] Upgrade btcec to v2 (#85) * upgrade import btcec to v2 * change package name to test * upgrade btcec to v2 * Revert "change package name to test" This reverts commit 46b73df52ae21af34ca090710469e8763db053c5. * Go mod tidy --- go.mod | 3 +-- go.sum | 2 -- pkg/account/import.go | 4 ++-- pkg/client/client_test.go | 4 ++-- pkg/keys/encoding.go | 4 ++-- pkg/keys/hd/hdwallet.go | 11 ++++++----- pkg/keys/mnemonic.go | 7 +++---- 7 files changed, 16 insertions(+), 19 deletions(-) diff --git a/go.mod b/go.mod index 63a7b74ad..3e4534c4d 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.19 require ( github.com/araddon/dateparse v0.0.0-20200409225146-d820a6159ab1 - github.com/btcsuite/btcd v0.22.1 + github.com/btcsuite/btcd/btcec/v2 v2.2.0 github.com/deckarep/golang-set v1.8.0 github.com/ethereum/go-ethereum v1.10.26 github.com/fatih/color v1.9.0 @@ -27,7 +27,6 @@ require ( ) require ( - github.com/btcsuite/btcd/btcec/v2 v2.2.0 // indirect github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect diff --git a/go.sum b/go.sum index 5e44e10ce..c82279fed 100644 --- a/go.sum +++ b/go.sum @@ -9,8 +9,6 @@ github.com/araddon/dateparse v0.0.0-20200409225146-d820a6159ab1/go.mod h1:SLqhdZ github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= -github.com/btcsuite/btcd v0.22.1 h1:CnwP9LM/M9xuRrGSCGeMVs9iv09uMqwsVX7EeIpgV2c= -github.com/btcsuite/btcd v0.22.1/go.mod h1:wqgTSL29+50LRkmOVknEdmt8ZojIzhuWvgu/iptuN7Y= github.com/btcsuite/btcd/btcec/v2 v2.2.0 h1:fzn1qaOt32TuLjFlkzYSsBC35Q3KUjT1SwPxiMSCF5k= github.com/btcsuite/btcd/btcec/v2 v2.2.0/go.mod h1:U7MHm051Al6XmscBQ0BoNydpOTsFAn707034b5nY8zU= github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 h1:q0rUy8C/TYNBQS1+CGKw68tLOFYSNEs0TFnxxnS9+4U= diff --git a/pkg/account/import.go b/pkg/account/import.go index 39168f659..46ad81d5e 100644 --- a/pkg/account/import.go +++ b/pkg/account/import.go @@ -11,7 +11,7 @@ import ( "github.com/mitchellh/go-homedir" - "github.com/btcsuite/btcd/btcec" + "github.com/btcsuite/btcd/btcec/v2" mapset "github.com/deckarep/golang-set" "github.com/fbsobreira/gotron-sdk/pkg/common" "github.com/fbsobreira/gotron-sdk/pkg/keystore" @@ -41,7 +41,7 @@ func ImportFromPrivateKey(privateKey, name, passphrase string) (string, error) { } // btcec.PrivKeyFromBytes only returns a secret key and public key - sk, _ := btcec.PrivKeyFromBytes(btcec.S256(), privateKeyBytes) + sk, _ := btcec.PrivKeyFromBytes(privateKeyBytes) ks := store.FromAccountName(name) _, err = ks.ImportECDSA(sk.ToECDSA(), passphrase) return name, err diff --git a/pkg/client/client_test.go b/pkg/client/client_test.go index a3c3fa3be..c58268710 100755 --- a/pkg/client/client_test.go +++ b/pkg/client/client_test.go @@ -5,7 +5,7 @@ import ( "encoding/hex" "testing" - "github.com/btcsuite/btcd/btcec" + "github.com/btcsuite/btcd/btcec/v2" "github.com/ethereum/go-ethereum/crypto" "github.com/fbsobreira/gotron-sdk/pkg/client" "github.com/stretchr/testify/require" @@ -47,7 +47,7 @@ func TestSend(t *testing.T) { hash := h256h.Sum(nil) // btcec.PrivKeyFromBytes only returns a secret key and public key - sk, _ := btcec.PrivKeyFromBytes(btcec.S256(), privateKeyBytes) + sk, _ := btcec.PrivKeyFromBytes(privateKeyBytes) signature, err := crypto.Sign(hash, sk.ToECDSA()) require.Nil(t, err) diff --git a/pkg/keys/encoding.go b/pkg/keys/encoding.go index c078c6c19..3dc50b706 100644 --- a/pkg/keys/encoding.go +++ b/pkg/keys/encoding.go @@ -1,7 +1,7 @@ package keys import ( - secp256k1 "github.com/btcsuite/btcd/btcec" + "github.com/btcsuite/btcd/btcec/v2" "github.com/ethereum/go-ethereum/common/hexutil" ) @@ -9,7 +9,7 @@ type Dump struct { PrivateKey, PublicKeyCompressed, PublicKey string } -func EncodeHex(sk *secp256k1.PrivateKey, pk *secp256k1.PublicKey) *Dump { +func EncodeHex(sk *btcec.PrivateKey, pk *btcec.PublicKey) *Dump { p0 := sk.Serialize() p1 := pk.SerializeCompressed() p2 := pk.SerializeUncompressed() diff --git a/pkg/keys/hd/hdwallet.go b/pkg/keys/hd/hdwallet.go index 97b4a9751..931d522a3 100644 --- a/pkg/keys/hd/hdwallet.go +++ b/pkg/keys/hd/hdwallet.go @@ -1,8 +1,9 @@ // Package hd provides basic functionality Hierarchical Deterministic Wallets. // // The user must understand the overall concept of the BIP 32 and the BIP 44 specs: -// https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki -// https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki +// +// https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki +// https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki // // In combination with the bip39 package in go-crypto this package provides the functionality for deriving keys using a // BIP 44 HD path, or, more general, by passing a BIP 32 path. @@ -23,7 +24,7 @@ import ( "strconv" "strings" - "github.com/btcsuite/btcd/btcec" + "github.com/btcsuite/btcd/btcec/v2" ) // BIP44Params wraps BIP 44 params (5 level BIP 32 path). @@ -201,7 +202,7 @@ func DerivePrivateKeyForPath(curve elliptic.Curve, privKeyBytes [32]byte, chainC // If harden is true, the derivation is 'hardened'. // It returns the new private key and new chain code. // For more information on hardened keys see: -// - https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki +// - https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki func derivePrivateKey(curve elliptic.Curve, privKeyBytes [32]byte, chainCode [32]byte, index uint32, harden bool) ([32]byte, [32]byte) { var data []byte if harden { @@ -209,7 +210,7 @@ func derivePrivateKey(curve elliptic.Curve, privKeyBytes [32]byte, chainCode [32 data = append([]byte{byte(0)}, privKeyBytes[:]...) } else { // this can't return an error: - _, ecPub := btcec.PrivKeyFromBytes(curve, privKeyBytes[:]) + _, ecPub := btcec.PrivKeyFromBytes(privKeyBytes[:]) pubkeyBytes := ecPub.SerializeCompressed() data = pubkeyBytes diff --git a/pkg/keys/mnemonic.go b/pkg/keys/mnemonic.go index 8a0900fbf..dc358fee9 100644 --- a/pkg/keys/mnemonic.go +++ b/pkg/keys/mnemonic.go @@ -3,14 +3,13 @@ package keys import ( "fmt" - "github.com/btcsuite/btcd/btcec" - secp256k1 "github.com/btcsuite/btcd/btcec" + "github.com/btcsuite/btcd/btcec/v2" "github.com/fbsobreira/gotron-sdk/pkg/keys/hd" "github.com/tyler-smith/go-bip39" ) // FromMnemonicSeedAndPassphrase derive form mnemonic and passphrase at index -func FromMnemonicSeedAndPassphrase(mnemonic, passphrase string, index int) (*secp256k1.PrivateKey, *secp256k1.PublicKey) { +func FromMnemonicSeedAndPassphrase(mnemonic, passphrase string, index int) (*btcec.PrivateKey, *btcec.PublicKey) { seed := bip39.NewSeed(mnemonic, passphrase) master, ch := hd.ComputeMastersFromSeed(seed, []byte("Bitcoin seed")) private, _ := hd.DerivePrivateKeyForPath( @@ -20,5 +19,5 @@ func FromMnemonicSeedAndPassphrase(mnemonic, passphrase string, index int) (*sec fmt.Sprintf("44'/195'/0'/0/%d", index), ) - return secp256k1.PrivKeyFromBytes(secp256k1.S256(), private[:]) + return btcec.PrivKeyFromBytes(private[:]) } From faa109b1a60605179209c10b773c39442c397a54 Mon Sep 17 00:00:00 2001 From: Kirill Novak Date: Fri, 14 Jul 2023 13:23:14 +0300 Subject: [PATCH 30/53] feat: add GetInputsParser method (#78) Signed-off-by: ciricc --- pkg/abi/abi.go | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/pkg/abi/abi.go b/pkg/abi/abi.go index 0a6a29ee0..95146971f 100644 --- a/pkg/abi/abi.go +++ b/pkg/abi/abi.go @@ -233,7 +233,29 @@ func GetParser(ABI *core.SmartContract_ABI, method string) (eABI.Arguments, erro for _, out := range entry.Outputs { ty, err := eABI.NewType(out.Type, "", nil) if err != nil { - return nil, fmt.Errorf("invalid parem %s: %+v", out.Type, err) + return nil, fmt.Errorf("invalid param %s: %+v", out.Type, err) + } + arguments = append(arguments, eABI.Argument{ + Name: out.Name, + Type: ty, + Indexed: out.Indexed, + }) + } + return arguments, nil + } + } + return nil, fmt.Errorf("not found") +} + +// GetInputsParser returns input method parser arguments from ABI +func GetInputsParser(ABI *core.SmartContract_ABI, method string) (eABI.Arguments, error) { + arguments := eABI.Arguments{} + for _, entry := range ABI.Entrys { + if entry.Name == method { + for _, out := range entry.Inputs { + ty, err := eABI.NewType(out.Type, "", nil) + if err != nil { + return nil, fmt.Errorf("invalid param %s: %+v", out.Type, err) } arguments = append(arguments, eABI.Argument{ Name: out.Name, From 0a25b9274ed23f31574926cfee5abcf47b7c51ac Mon Sep 17 00:00:00 2001 From: Artem <78271512+beIov@users.noreply.github.com> Date: Fri, 14 Jul 2023 13:25:58 +0300 Subject: [PATCH 31/53] Fix reflecting issue for TransferContract after json unmarshaling (#81) * Fix reflecting issue for TransferContract after json unmarshaling * Change type conversion from []interface{} to []string --- pkg/abi/abi.go | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/pkg/abi/abi.go b/pkg/abi/abi.go index 95146971f..cbf3fd385 100644 --- a/pkg/abi/abi.go +++ b/pkg/abi/abi.go @@ -130,16 +130,19 @@ func GetPaddedParam(param []Param) ([]byte, error) { } if (ty.Elem.T == eABI.IntTy || ty.Elem.T == eABI.UintTy) && - ty.Elem.Size > 64 && - reflect.TypeOf(v).Elem().Kind() == reflect.String { + ty.Elem.Size > 64 { tmp := make([]*big.Int, 0) - for _, s := range v.([]string) { + tmpSlice, ok := v.([]string) + if !ok { + return nil, fmt.Errorf("unable to convert array of unints %+v", p) + } + for i := range tmpSlice { var value *big.Int // check for hex char - if strings.HasPrefix(s, "0x") { - value, _ = new(big.Int).SetString(s[2:], 16) + if strings.HasPrefix(tmpSlice[i], "0x") { + value, _ = new(big.Int).SetString(tmpSlice[i][2:], 16) } else { - value, _ = new(big.Int).SetString(s, 10) + value, _ = new(big.Int).SetString(tmpSlice[i], 10) } tmp = append(tmp, value) } From d3204bd08259cbd494c07f9c963af7fcbd1c4359 Mon Sep 17 00:00:00 2001 From: Fernando Sobreira Date: Fri, 14 Jul 2023 07:27:40 -0300 Subject: [PATCH 32/53] update tron proto (#88) --- pkg/proto/api/api.pb.go | 8248 ++++++++++----------- pkg/proto/api/api_grpc.pb.go | 418 +- pkg/proto/api/zksnark.pb.go | 10 +- pkg/proto/core/Discover.pb.go | 11 +- pkg/proto/core/Tron.pb.go | 3546 ++++----- pkg/proto/core/TronInventoryItems.pb.go | 11 +- pkg/proto/core/account_contract.pb.go | 164 +- pkg/proto/core/asset_issue_contract.pb.go | 278 +- pkg/proto/core/balance_contract.pb.go | 587 +- pkg/proto/core/common.pb.go | 74 +- pkg/proto/core/exchange_contract.pb.go | 170 +- pkg/proto/core/market_contract.pb.go | 116 +- pkg/proto/core/proposal_contract.pb.go | 134 +- pkg/proto/core/shield_contract.pb.go | 368 +- pkg/proto/core/smart_contract.pb.go | 454 +- pkg/proto/core/storage_contract.pb.go | 136 +- pkg/proto/core/vote_asset_contract.pb.go | 88 +- pkg/proto/core/witness_contract.pb.go | 144 +- proto/tron | 2 +- 19 files changed, 7044 insertions(+), 7915 deletions(-) diff --git a/pkg/proto/api/api.pb.go b/pkg/proto/api/api.pb.go index 3deb26ab2..3ae13dc98 100644 --- a/pkg/proto/api/api.pb.go +++ b/pkg/proto/api/api.pb.go @@ -156,7 +156,7 @@ func (x TransactionSignWeight_ResultResponseCode) Number() protoreflect.EnumNumb // Deprecated: Use TransactionSignWeight_ResultResponseCode.Descriptor instead. func (TransactionSignWeight_ResultResponseCode) EnumDescriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{44, 0, 0} + return file_api_api_proto_rawDescGZIP(), []int{38, 0, 0} } type TransactionApprovedList_ResultResponseCode int32 @@ -208,7 +208,7 @@ func (x TransactionApprovedList_ResultResponseCode) Number() protoreflect.EnumNu // Deprecated: Use TransactionApprovedList_ResultResponseCode.Descriptor instead. func (TransactionApprovedList_ResultResponseCode) EnumDescriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{45, 0, 0} + return file_api_api_proto_rawDescGZIP(), []int{39, 0, 0} } type Return struct { @@ -854,7 +854,6 @@ func (x *GetAvailableUnfreezeCountResponseMessage) GetCount() int64 { return 0 } -//GetCanDelegatedMaxSize type CanDelegatedMaxSizeRequestMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -957,7 +956,6 @@ func (x *CanDelegatedMaxSizeResponseMessage) GetMaxSize() int64 { return 0 } -//GetCanWithdrawUnfreezeAmount type CanWithdrawUnfreezeAmountRequestMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2024,18 +2022,23 @@ func (x *PaginatedMessage) GetLimit() int64 { return 0 } -type EasyTransferMessage struct { +type TransactionExtention struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - PassPhrase []byte `protobuf:"bytes,1,opt,name=passPhrase,proto3" json:"passPhrase,omitempty"` - ToAddress []byte `protobuf:"bytes,2,opt,name=toAddress,proto3" json:"toAddress,omitempty"` - Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` + Transaction *core.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` + Txid []byte `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"` //transaction id = sha256(transaction.rowdata) + ConstantResult [][]byte `protobuf:"bytes,3,rep,name=constant_result,json=constantResult,proto3" json:"constant_result,omitempty"` + Result *Return `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` + EnergyUsed int64 `protobuf:"varint,5,opt,name=energy_used,json=energyUsed,proto3" json:"energy_used,omitempty"` + Logs []*core.TransactionInfo_Log `protobuf:"bytes,6,rep,name=logs,proto3" json:"logs,omitempty"` + InternalTransactions []*core.InternalTransaction `protobuf:"bytes,7,rep,name=internal_transactions,json=internalTransactions,proto3" json:"internal_transactions,omitempty"` + EnergyPenalty int64 `protobuf:"varint,8,opt,name=energy_penalty,json=energyPenalty,proto3" json:"energy_penalty,omitempty"` } -func (x *EasyTransferMessage) Reset() { - *x = EasyTransferMessage{} +func (x *TransactionExtention) Reset() { + *x = TransactionExtention{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2043,13 +2046,13 @@ func (x *EasyTransferMessage) Reset() { } } -func (x *EasyTransferMessage) String() string { +func (x *TransactionExtention) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EasyTransferMessage) ProtoMessage() {} +func (*TransactionExtention) ProtoMessage() {} -func (x *EasyTransferMessage) ProtoReflect() protoreflect.Message { +func (x *TransactionExtention) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2061,45 +2064,78 @@ func (x *EasyTransferMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use EasyTransferMessage.ProtoReflect.Descriptor instead. -func (*EasyTransferMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use TransactionExtention.ProtoReflect.Descriptor instead. +func (*TransactionExtention) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{32} } -func (x *EasyTransferMessage) GetPassPhrase() []byte { +func (x *TransactionExtention) GetTransaction() *core.Transaction { if x != nil { - return x.PassPhrase + return x.Transaction } return nil } -func (x *EasyTransferMessage) GetToAddress() []byte { +func (x *TransactionExtention) GetTxid() []byte { if x != nil { - return x.ToAddress + return x.Txid } return nil } -func (x *EasyTransferMessage) GetAmount() int64 { +func (x *TransactionExtention) GetConstantResult() [][]byte { if x != nil { - return x.Amount + return x.ConstantResult + } + return nil +} + +func (x *TransactionExtention) GetResult() *Return { + if x != nil { + return x.Result + } + return nil +} + +func (x *TransactionExtention) GetEnergyUsed() int64 { + if x != nil { + return x.EnergyUsed + } + return 0 +} + +func (x *TransactionExtention) GetLogs() []*core.TransactionInfo_Log { + if x != nil { + return x.Logs + } + return nil +} + +func (x *TransactionExtention) GetInternalTransactions() []*core.InternalTransaction { + if x != nil { + return x.InternalTransactions + } + return nil +} + +func (x *TransactionExtention) GetEnergyPenalty() int64 { + if x != nil { + return x.EnergyPenalty } return 0 } -type EasyTransferAssetMessage struct { +type EstimateEnergyMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - PassPhrase []byte `protobuf:"bytes,1,opt,name=passPhrase,proto3" json:"passPhrase,omitempty"` - ToAddress []byte `protobuf:"bytes,2,opt,name=toAddress,proto3" json:"toAddress,omitempty"` - AssetId string `protobuf:"bytes,3,opt,name=assetId,proto3" json:"assetId,omitempty"` - Amount int64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` + Result *Return `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` + EnergyRequired int64 `protobuf:"varint,2,opt,name=energy_required,json=energyRequired,proto3" json:"energy_required,omitempty"` } -func (x *EasyTransferAssetMessage) Reset() { - *x = EasyTransferAssetMessage{} +func (x *EstimateEnergyMessage) Reset() { + *x = EstimateEnergyMessage{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2107,13 +2143,13 @@ func (x *EasyTransferAssetMessage) Reset() { } } -func (x *EasyTransferAssetMessage) String() string { +func (x *EstimateEnergyMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EasyTransferAssetMessage) ProtoMessage() {} +func (*EstimateEnergyMessage) ProtoMessage() {} -func (x *EasyTransferAssetMessage) ProtoReflect() protoreflect.Message { +func (x *EstimateEnergyMessage) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2125,51 +2161,37 @@ func (x *EasyTransferAssetMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use EasyTransferAssetMessage.ProtoReflect.Descriptor instead. -func (*EasyTransferAssetMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use EstimateEnergyMessage.ProtoReflect.Descriptor instead. +func (*EstimateEnergyMessage) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{33} } -func (x *EasyTransferAssetMessage) GetPassPhrase() []byte { - if x != nil { - return x.PassPhrase - } - return nil -} - -func (x *EasyTransferAssetMessage) GetToAddress() []byte { +func (x *EstimateEnergyMessage) GetResult() *Return { if x != nil { - return x.ToAddress + return x.Result } return nil } -func (x *EasyTransferAssetMessage) GetAssetId() string { - if x != nil { - return x.AssetId - } - return "" -} - -func (x *EasyTransferAssetMessage) GetAmount() int64 { +func (x *EstimateEnergyMessage) GetEnergyRequired() int64 { if x != nil { - return x.Amount + return x.EnergyRequired } return 0 } -type EasyTransferByPrivateMessage struct { +type BlockExtention struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - PrivateKey []byte `protobuf:"bytes,1,opt,name=privateKey,proto3" json:"privateKey,omitempty"` - ToAddress []byte `protobuf:"bytes,2,opt,name=toAddress,proto3" json:"toAddress,omitempty"` - Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` + Transactions []*TransactionExtention `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` + BlockHeader *core.BlockHeader `protobuf:"bytes,2,opt,name=block_header,json=blockHeader,proto3" json:"block_header,omitempty"` + Blockid []byte `protobuf:"bytes,3,opt,name=blockid,proto3" json:"blockid,omitempty"` } -func (x *EasyTransferByPrivateMessage) Reset() { - *x = EasyTransferByPrivateMessage{} +func (x *BlockExtention) Reset() { + *x = BlockExtention{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2177,13 +2199,13 @@ func (x *EasyTransferByPrivateMessage) Reset() { } } -func (x *EasyTransferByPrivateMessage) String() string { +func (x *BlockExtention) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EasyTransferByPrivateMessage) ProtoMessage() {} +func (*BlockExtention) ProtoMessage() {} -func (x *EasyTransferByPrivateMessage) ProtoReflect() protoreflect.Message { +func (x *BlockExtention) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2195,45 +2217,42 @@ func (x *EasyTransferByPrivateMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use EasyTransferByPrivateMessage.ProtoReflect.Descriptor instead. -func (*EasyTransferByPrivateMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use BlockExtention.ProtoReflect.Descriptor instead. +func (*BlockExtention) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{34} } -func (x *EasyTransferByPrivateMessage) GetPrivateKey() []byte { +func (x *BlockExtention) GetTransactions() []*TransactionExtention { if x != nil { - return x.PrivateKey + return x.Transactions } return nil } -func (x *EasyTransferByPrivateMessage) GetToAddress() []byte { +func (x *BlockExtention) GetBlockHeader() *core.BlockHeader { if x != nil { - return x.ToAddress + return x.BlockHeader } return nil } -func (x *EasyTransferByPrivateMessage) GetAmount() int64 { +func (x *BlockExtention) GetBlockid() []byte { if x != nil { - return x.Amount + return x.Blockid } - return 0 + return nil } -type EasyTransferAssetByPrivateMessage struct { +type BlockListExtention struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - PrivateKey []byte `protobuf:"bytes,1,opt,name=privateKey,proto3" json:"privateKey,omitempty"` - ToAddress []byte `protobuf:"bytes,2,opt,name=toAddress,proto3" json:"toAddress,omitempty"` - AssetId string `protobuf:"bytes,3,opt,name=assetId,proto3" json:"assetId,omitempty"` - Amount int64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` + Block []*BlockExtention `protobuf:"bytes,1,rep,name=block,proto3" json:"block,omitempty"` } -func (x *EasyTransferAssetByPrivateMessage) Reset() { - *x = EasyTransferAssetByPrivateMessage{} +func (x *BlockListExtention) Reset() { + *x = BlockListExtention{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2241,13 +2260,13 @@ func (x *EasyTransferAssetByPrivateMessage) Reset() { } } -func (x *EasyTransferAssetByPrivateMessage) String() string { +func (x *BlockListExtention) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EasyTransferAssetByPrivateMessage) ProtoMessage() {} +func (*BlockListExtention) ProtoMessage() {} -func (x *EasyTransferAssetByPrivateMessage) ProtoReflect() protoreflect.Message { +func (x *BlockListExtention) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2259,51 +2278,28 @@ func (x *EasyTransferAssetByPrivateMessage) ProtoReflect() protoreflect.Message return mi.MessageOf(x) } -// Deprecated: Use EasyTransferAssetByPrivateMessage.ProtoReflect.Descriptor instead. -func (*EasyTransferAssetByPrivateMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use BlockListExtention.ProtoReflect.Descriptor instead. +func (*BlockListExtention) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{35} } -func (x *EasyTransferAssetByPrivateMessage) GetPrivateKey() []byte { - if x != nil { - return x.PrivateKey - } - return nil -} - -func (x *EasyTransferAssetByPrivateMessage) GetToAddress() []byte { +func (x *BlockListExtention) GetBlock() []*BlockExtention { if x != nil { - return x.ToAddress + return x.Block } return nil } -func (x *EasyTransferAssetByPrivateMessage) GetAssetId() string { - if x != nil { - return x.AssetId - } - return "" -} - -func (x *EasyTransferAssetByPrivateMessage) GetAmount() int64 { - if x != nil { - return x.Amount - } - return 0 -} - -type EasyTransferResponse struct { +type TransactionListExtention struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Transaction *core.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` - Result *Return `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` - Txid []byte `protobuf:"bytes,3,opt,name=txid,proto3" json:"txid,omitempty"` //transaction id = sha256(transaction.rowdata) + Transaction []*TransactionExtention `protobuf:"bytes,1,rep,name=transaction,proto3" json:"transaction,omitempty"` } -func (x *EasyTransferResponse) Reset() { - *x = EasyTransferResponse{} +func (x *TransactionListExtention) Reset() { + *x = TransactionListExtention{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2311,13 +2307,13 @@ func (x *EasyTransferResponse) Reset() { } } -func (x *EasyTransferResponse) String() string { +func (x *TransactionListExtention) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EasyTransferResponse) ProtoMessage() {} +func (*TransactionListExtention) ProtoMessage() {} -func (x *EasyTransferResponse) ProtoReflect() protoreflect.Message { +func (x *TransactionListExtention) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2329,43 +2325,29 @@ func (x *EasyTransferResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use EasyTransferResponse.ProtoReflect.Descriptor instead. -func (*EasyTransferResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use TransactionListExtention.ProtoReflect.Descriptor instead. +func (*TransactionListExtention) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{36} } -func (x *EasyTransferResponse) GetTransaction() *core.Transaction { +func (x *TransactionListExtention) GetTransaction() []*TransactionExtention { if x != nil { return x.Transaction } return nil } -func (x *EasyTransferResponse) GetResult() *Return { - if x != nil { - return x.Result - } - return nil -} - -func (x *EasyTransferResponse) GetTxid() []byte { - if x != nil { - return x.Txid - } - return nil -} - -type AddressPrKeyPairMessage struct { +type BlockIncrementalMerkleTree struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - PrivateKey string `protobuf:"bytes,2,opt,name=privateKey,proto3" json:"privateKey,omitempty"` + Number int64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` + MerkleTree *core.IncrementalMerkleTree `protobuf:"bytes,2,opt,name=merkleTree,proto3" json:"merkleTree,omitempty"` } -func (x *AddressPrKeyPairMessage) Reset() { - *x = AddressPrKeyPairMessage{} +func (x *BlockIncrementalMerkleTree) Reset() { + *x = BlockIncrementalMerkleTree{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2373,13 +2355,13 @@ func (x *AddressPrKeyPairMessage) Reset() { } } -func (x *AddressPrKeyPairMessage) String() string { +func (x *BlockIncrementalMerkleTree) String() string { return protoimpl.X.MessageStringOf(x) } -func (*AddressPrKeyPairMessage) ProtoMessage() {} +func (*BlockIncrementalMerkleTree) ProtoMessage() {} -func (x *AddressPrKeyPairMessage) ProtoReflect() protoreflect.Message { +func (x *BlockIncrementalMerkleTree) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2391,42 +2373,39 @@ func (x *AddressPrKeyPairMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use AddressPrKeyPairMessage.ProtoReflect.Descriptor instead. -func (*AddressPrKeyPairMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use BlockIncrementalMerkleTree.ProtoReflect.Descriptor instead. +func (*BlockIncrementalMerkleTree) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{37} } -func (x *AddressPrKeyPairMessage) GetAddress() string { +func (x *BlockIncrementalMerkleTree) GetNumber() int64 { if x != nil { - return x.Address + return x.Number } - return "" + return 0 } -func (x *AddressPrKeyPairMessage) GetPrivateKey() string { +func (x *BlockIncrementalMerkleTree) GetMerkleTree() *core.IncrementalMerkleTree { if x != nil { - return x.PrivateKey + return x.MerkleTree } - return "" + return nil } -type TransactionExtention struct { +type TransactionSignWeight struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Transaction *core.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` - Txid []byte `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"` //transaction id = sha256(transaction.rowdata) - ConstantResult [][]byte `protobuf:"bytes,3,rep,name=constant_result,json=constantResult,proto3" json:"constant_result,omitempty"` - Result *Return `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` - EnergyUsed int64 `protobuf:"varint,5,opt,name=energy_used,json=energyUsed,proto3" json:"energy_used,omitempty"` - Logs []*core.TransactionInfo_Log `protobuf:"bytes,6,rep,name=logs,proto3" json:"logs,omitempty"` - InternalTransactions []*core.InternalTransaction `protobuf:"bytes,7,rep,name=internal_transactions,json=internalTransactions,proto3" json:"internal_transactions,omitempty"` - EnergyPenalty int64 `protobuf:"varint,8,opt,name=energy_penalty,json=energyPenalty,proto3" json:"energy_penalty,omitempty"` + Permission *core.Permission `protobuf:"bytes,1,opt,name=permission,proto3" json:"permission,omitempty"` + ApprovedList [][]byte `protobuf:"bytes,2,rep,name=approved_list,json=approvedList,proto3" json:"approved_list,omitempty"` + CurrentWeight int64 `protobuf:"varint,3,opt,name=current_weight,json=currentWeight,proto3" json:"current_weight,omitempty"` + Result *TransactionSignWeight_Result `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` + Transaction *TransactionExtention `protobuf:"bytes,5,opt,name=transaction,proto3" json:"transaction,omitempty"` } -func (x *TransactionExtention) Reset() { - *x = TransactionExtention{} +func (x *TransactionSignWeight) Reset() { + *x = TransactionSignWeight{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2434,13 +2413,13 @@ func (x *TransactionExtention) Reset() { } } -func (x *TransactionExtention) String() string { +func (x *TransactionSignWeight) String() string { return protoimpl.X.MessageStringOf(x) } -func (*TransactionExtention) ProtoMessage() {} +func (*TransactionSignWeight) ProtoMessage() {} -func (x *TransactionExtention) ProtoReflect() protoreflect.Message { +func (x *TransactionSignWeight) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[38] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2452,78 +2431,58 @@ func (x *TransactionExtention) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use TransactionExtention.ProtoReflect.Descriptor instead. -func (*TransactionExtention) Descriptor() ([]byte, []int) { +// Deprecated: Use TransactionSignWeight.ProtoReflect.Descriptor instead. +func (*TransactionSignWeight) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{38} } -func (x *TransactionExtention) GetTransaction() *core.Transaction { - if x != nil { - return x.Transaction - } - return nil -} - -func (x *TransactionExtention) GetTxid() []byte { - if x != nil { - return x.Txid - } - return nil -} - -func (x *TransactionExtention) GetConstantResult() [][]byte { +func (x *TransactionSignWeight) GetPermission() *core.Permission { if x != nil { - return x.ConstantResult + return x.Permission } return nil } -func (x *TransactionExtention) GetResult() *Return { +func (x *TransactionSignWeight) GetApprovedList() [][]byte { if x != nil { - return x.Result + return x.ApprovedList } return nil } -func (x *TransactionExtention) GetEnergyUsed() int64 { +func (x *TransactionSignWeight) GetCurrentWeight() int64 { if x != nil { - return x.EnergyUsed + return x.CurrentWeight } return 0 } -func (x *TransactionExtention) GetLogs() []*core.TransactionInfo_Log { +func (x *TransactionSignWeight) GetResult() *TransactionSignWeight_Result { if x != nil { - return x.Logs + return x.Result } return nil } -func (x *TransactionExtention) GetInternalTransactions() []*core.InternalTransaction { +func (x *TransactionSignWeight) GetTransaction() *TransactionExtention { if x != nil { - return x.InternalTransactions + return x.Transaction } return nil } -func (x *TransactionExtention) GetEnergyPenalty() int64 { - if x != nil { - return x.EnergyPenalty - } - return 0 -} - -type EstimateEnergyMessage struct { +type TransactionApprovedList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Result *Return `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` - EnergyRequired int64 `protobuf:"varint,2,opt,name=energy_required,json=energyRequired,proto3" json:"energy_required,omitempty"` + ApprovedList [][]byte `protobuf:"bytes,2,rep,name=approved_list,json=approvedList,proto3" json:"approved_list,omitempty"` + Result *TransactionApprovedList_Result `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` + Transaction *TransactionExtention `protobuf:"bytes,5,opt,name=transaction,proto3" json:"transaction,omitempty"` } -func (x *EstimateEnergyMessage) Reset() { - *x = EstimateEnergyMessage{} +func (x *TransactionApprovedList) Reset() { + *x = TransactionApprovedList{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2531,13 +2490,13 @@ func (x *EstimateEnergyMessage) Reset() { } } -func (x *EstimateEnergyMessage) String() string { +func (x *TransactionApprovedList) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EstimateEnergyMessage) ProtoMessage() {} +func (*TransactionApprovedList) ProtoMessage() {} -func (x *EstimateEnergyMessage) ProtoReflect() protoreflect.Message { +func (x *TransactionApprovedList) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2549,37 +2508,44 @@ func (x *EstimateEnergyMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use EstimateEnergyMessage.ProtoReflect.Descriptor instead. -func (*EstimateEnergyMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use TransactionApprovedList.ProtoReflect.Descriptor instead. +func (*TransactionApprovedList) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{39} } -func (x *EstimateEnergyMessage) GetResult() *Return { +func (x *TransactionApprovedList) GetApprovedList() [][]byte { + if x != nil { + return x.ApprovedList + } + return nil +} + +func (x *TransactionApprovedList) GetResult() *TransactionApprovedList_Result { if x != nil { return x.Result } return nil } -func (x *EstimateEnergyMessage) GetEnergyRequired() int64 { +func (x *TransactionApprovedList) GetTransaction() *TransactionExtention { if x != nil { - return x.EnergyRequired + return x.Transaction } - return 0 + return nil } -type BlockExtention struct { +type IvkDecryptParameters struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Transactions []*TransactionExtention `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` - BlockHeader *core.BlockHeader `protobuf:"bytes,2,opt,name=block_header,json=blockHeader,proto3" json:"block_header,omitempty"` - Blockid []byte `protobuf:"bytes,3,opt,name=blockid,proto3" json:"blockid,omitempty"` + StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` + EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` + Ivk []byte `protobuf:"bytes,3,opt,name=ivk,proto3" json:"ivk,omitempty"` } -func (x *BlockExtention) Reset() { - *x = BlockExtention{} +func (x *IvkDecryptParameters) Reset() { + *x = IvkDecryptParameters{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2587,13 +2553,13 @@ func (x *BlockExtention) Reset() { } } -func (x *BlockExtention) String() string { +func (x *IvkDecryptParameters) String() string { return protoimpl.X.MessageStringOf(x) } -func (*BlockExtention) ProtoMessage() {} +func (*IvkDecryptParameters) ProtoMessage() {} -func (x *BlockExtention) ProtoReflect() protoreflect.Message { +func (x *IvkDecryptParameters) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[40] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2605,42 +2571,46 @@ func (x *BlockExtention) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use BlockExtention.ProtoReflect.Descriptor instead. -func (*BlockExtention) Descriptor() ([]byte, []int) { +// Deprecated: Use IvkDecryptParameters.ProtoReflect.Descriptor instead. +func (*IvkDecryptParameters) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{40} } -func (x *BlockExtention) GetTransactions() []*TransactionExtention { +func (x *IvkDecryptParameters) GetStartBlockIndex() int64 { if x != nil { - return x.Transactions + return x.StartBlockIndex } - return nil + return 0 } -func (x *BlockExtention) GetBlockHeader() *core.BlockHeader { +func (x *IvkDecryptParameters) GetEndBlockIndex() int64 { if x != nil { - return x.BlockHeader + return x.EndBlockIndex } - return nil + return 0 } -func (x *BlockExtention) GetBlockid() []byte { +func (x *IvkDecryptParameters) GetIvk() []byte { if x != nil { - return x.Blockid + return x.Ivk } return nil } -type BlockListExtention struct { +type IvkDecryptAndMarkParameters struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Block []*BlockExtention `protobuf:"bytes,1,rep,name=block,proto3" json:"block,omitempty"` + StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` + EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` + Ivk []byte `protobuf:"bytes,5,opt,name=ivk,proto3" json:"ivk,omitempty"` + Ak []byte `protobuf:"bytes,3,opt,name=ak,proto3" json:"ak,omitempty"` + Nk []byte `protobuf:"bytes,4,opt,name=nk,proto3" json:"nk,omitempty"` } -func (x *BlockListExtention) Reset() { - *x = BlockListExtention{} +func (x *IvkDecryptAndMarkParameters) Reset() { + *x = IvkDecryptAndMarkParameters{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2648,13 +2618,13 @@ func (x *BlockListExtention) Reset() { } } -func (x *BlockListExtention) String() string { +func (x *IvkDecryptAndMarkParameters) String() string { return protoimpl.X.MessageStringOf(x) } -func (*BlockListExtention) ProtoMessage() {} +func (*IvkDecryptAndMarkParameters) ProtoMessage() {} -func (x *BlockListExtention) ProtoReflect() protoreflect.Message { +func (x *IvkDecryptAndMarkParameters) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2666,28 +2636,58 @@ func (x *BlockListExtention) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use BlockListExtention.ProtoReflect.Descriptor instead. -func (*BlockListExtention) Descriptor() ([]byte, []int) { +// Deprecated: Use IvkDecryptAndMarkParameters.ProtoReflect.Descriptor instead. +func (*IvkDecryptAndMarkParameters) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{41} } -func (x *BlockListExtention) GetBlock() []*BlockExtention { +func (x *IvkDecryptAndMarkParameters) GetStartBlockIndex() int64 { if x != nil { - return x.Block + return x.StartBlockIndex + } + return 0 +} + +func (x *IvkDecryptAndMarkParameters) GetEndBlockIndex() int64 { + if x != nil { + return x.EndBlockIndex + } + return 0 +} + +func (x *IvkDecryptAndMarkParameters) GetIvk() []byte { + if x != nil { + return x.Ivk } return nil } -type TransactionListExtention struct { +func (x *IvkDecryptAndMarkParameters) GetAk() []byte { + if x != nil { + return x.Ak + } + return nil +} + +func (x *IvkDecryptAndMarkParameters) GetNk() []byte { + if x != nil { + return x.Nk + } + return nil +} + +type OvkDecryptParameters struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Transaction []*TransactionExtention `protobuf:"bytes,1,rep,name=transaction,proto3" json:"transaction,omitempty"` + StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` + EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` + Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"` } -func (x *TransactionListExtention) Reset() { - *x = TransactionListExtention{} +func (x *OvkDecryptParameters) Reset() { + *x = OvkDecryptParameters{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2695,13 +2695,13 @@ func (x *TransactionListExtention) Reset() { } } -func (x *TransactionListExtention) String() string { +func (x *OvkDecryptParameters) String() string { return protoimpl.X.MessageStringOf(x) } -func (*TransactionListExtention) ProtoMessage() {} +func (*OvkDecryptParameters) ProtoMessage() {} -func (x *TransactionListExtention) ProtoReflect() protoreflect.Message { +func (x *OvkDecryptParameters) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[42] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2713,29 +2713,42 @@ func (x *TransactionListExtention) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use TransactionListExtention.ProtoReflect.Descriptor instead. -func (*TransactionListExtention) Descriptor() ([]byte, []int) { +// Deprecated: Use OvkDecryptParameters.ProtoReflect.Descriptor instead. +func (*OvkDecryptParameters) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{42} } -func (x *TransactionListExtention) GetTransaction() []*TransactionExtention { +func (x *OvkDecryptParameters) GetStartBlockIndex() int64 { if x != nil { - return x.Transaction + return x.StartBlockIndex + } + return 0 +} + +func (x *OvkDecryptParameters) GetEndBlockIndex() int64 { + if x != nil { + return x.EndBlockIndex + } + return 0 +} + +func (x *OvkDecryptParameters) GetOvk() []byte { + if x != nil { + return x.Ovk } return nil } -type BlockIncrementalMerkleTree struct { +type DecryptNotes struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Number int64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` - MerkleTree *core.IncrementalMerkleTree `protobuf:"bytes,2,opt,name=merkleTree,proto3" json:"merkleTree,omitempty"` + NoteTxs []*DecryptNotes_NoteTx `protobuf:"bytes,1,rep,name=noteTxs,proto3" json:"noteTxs,omitempty"` } -func (x *BlockIncrementalMerkleTree) Reset() { - *x = BlockIncrementalMerkleTree{} +func (x *DecryptNotes) Reset() { + *x = DecryptNotes{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2743,13 +2756,13 @@ func (x *BlockIncrementalMerkleTree) Reset() { } } -func (x *BlockIncrementalMerkleTree) String() string { +func (x *DecryptNotes) String() string { return protoimpl.X.MessageStringOf(x) } -func (*BlockIncrementalMerkleTree) ProtoMessage() {} +func (*DecryptNotes) ProtoMessage() {} -func (x *BlockIncrementalMerkleTree) ProtoReflect() protoreflect.Message { +func (x *DecryptNotes) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[43] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2761,39 +2774,28 @@ func (x *BlockIncrementalMerkleTree) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use BlockIncrementalMerkleTree.ProtoReflect.Descriptor instead. -func (*BlockIncrementalMerkleTree) Descriptor() ([]byte, []int) { +// Deprecated: Use DecryptNotes.ProtoReflect.Descriptor instead. +func (*DecryptNotes) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{43} } -func (x *BlockIncrementalMerkleTree) GetNumber() int64 { - if x != nil { - return x.Number - } - return 0 -} - -func (x *BlockIncrementalMerkleTree) GetMerkleTree() *core.IncrementalMerkleTree { +func (x *DecryptNotes) GetNoteTxs() []*DecryptNotes_NoteTx { if x != nil { - return x.MerkleTree + return x.NoteTxs } return nil } -type TransactionSignWeight struct { +type DecryptNotesMarked struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Permission *core.Permission `protobuf:"bytes,1,opt,name=permission,proto3" json:"permission,omitempty"` - ApprovedList [][]byte `protobuf:"bytes,2,rep,name=approved_list,json=approvedList,proto3" json:"approved_list,omitempty"` - CurrentWeight int64 `protobuf:"varint,3,opt,name=current_weight,json=currentWeight,proto3" json:"current_weight,omitempty"` - Result *TransactionSignWeight_Result `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` - Transaction *TransactionExtention `protobuf:"bytes,5,opt,name=transaction,proto3" json:"transaction,omitempty"` + NoteTxs []*DecryptNotesMarked_NoteTx `protobuf:"bytes,1,rep,name=noteTxs,proto3" json:"noteTxs,omitempty"` } -func (x *TransactionSignWeight) Reset() { - *x = TransactionSignWeight{} +func (x *DecryptNotesMarked) Reset() { + *x = DecryptNotesMarked{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2801,13 +2803,13 @@ func (x *TransactionSignWeight) Reset() { } } -func (x *TransactionSignWeight) String() string { +func (x *DecryptNotesMarked) String() string { return protoimpl.X.MessageStringOf(x) } -func (*TransactionSignWeight) ProtoMessage() {} +func (*DecryptNotesMarked) ProtoMessage() {} -func (x *TransactionSignWeight) ProtoReflect() protoreflect.Message { +func (x *DecryptNotesMarked) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[44] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2819,58 +2821,31 @@ func (x *TransactionSignWeight) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use TransactionSignWeight.ProtoReflect.Descriptor instead. -func (*TransactionSignWeight) Descriptor() ([]byte, []int) { +// Deprecated: Use DecryptNotesMarked.ProtoReflect.Descriptor instead. +func (*DecryptNotesMarked) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{44} } -func (x *TransactionSignWeight) GetPermission() *core.Permission { - if x != nil { - return x.Permission - } - return nil -} - -func (x *TransactionSignWeight) GetApprovedList() [][]byte { - if x != nil { - return x.ApprovedList - } - return nil -} - -func (x *TransactionSignWeight) GetCurrentWeight() int64 { - if x != nil { - return x.CurrentWeight - } - return 0 -} - -func (x *TransactionSignWeight) GetResult() *TransactionSignWeight_Result { - if x != nil { - return x.Result - } - return nil -} - -func (x *TransactionSignWeight) GetTransaction() *TransactionExtention { +func (x *DecryptNotesMarked) GetNoteTxs() []*DecryptNotesMarked_NoteTx { if x != nil { - return x.Transaction + return x.NoteTxs } return nil } -type TransactionApprovedList struct { +type Note struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ApprovedList [][]byte `protobuf:"bytes,2,rep,name=approved_list,json=approvedList,proto3" json:"approved_list,omitempty"` - Result *TransactionApprovedList_Result `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` - Transaction *TransactionExtention `protobuf:"bytes,5,opt,name=transaction,proto3" json:"transaction,omitempty"` + Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` + PaymentAddress string `protobuf:"bytes,2,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"` + Rcm []byte `protobuf:"bytes,3,opt,name=rcm,proto3" json:"rcm,omitempty"` // random 32 + Memo []byte `protobuf:"bytes,4,opt,name=memo,proto3" json:"memo,omitempty"` } -func (x *TransactionApprovedList) Reset() { - *x = TransactionApprovedList{} +func (x *Note) Reset() { + *x = Note{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2878,13 +2853,13 @@ func (x *TransactionApprovedList) Reset() { } } -func (x *TransactionApprovedList) String() string { +func (x *Note) String() string { return protoimpl.X.MessageStringOf(x) } -func (*TransactionApprovedList) ProtoMessage() {} +func (*Note) ProtoMessage() {} -func (x *TransactionApprovedList) ProtoReflect() protoreflect.Message { +func (x *Note) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[45] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2896,44 +2871,52 @@ func (x *TransactionApprovedList) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use TransactionApprovedList.ProtoReflect.Descriptor instead. -func (*TransactionApprovedList) Descriptor() ([]byte, []int) { +// Deprecated: Use Note.ProtoReflect.Descriptor instead. +func (*Note) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{45} } -func (x *TransactionApprovedList) GetApprovedList() [][]byte { +func (x *Note) GetValue() int64 { if x != nil { - return x.ApprovedList + return x.Value } - return nil + return 0 } -func (x *TransactionApprovedList) GetResult() *TransactionApprovedList_Result { +func (x *Note) GetPaymentAddress() string { if x != nil { - return x.Result + return x.PaymentAddress + } + return "" +} + +func (x *Note) GetRcm() []byte { + if x != nil { + return x.Rcm } return nil } -func (x *TransactionApprovedList) GetTransaction() *TransactionExtention { +func (x *Note) GetMemo() []byte { if x != nil { - return x.Transaction + return x.Memo } return nil } -type IvkDecryptParameters struct { +type SpendNote struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` - EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` - Ivk []byte `protobuf:"bytes,3,opt,name=ivk,proto3" json:"ivk,omitempty"` + Note *Note `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"` + Alpha []byte `protobuf:"bytes,4,opt,name=alpha,proto3" json:"alpha,omitempty"` // random number for spend authority signature + Voucher *core.IncrementalMerkleVoucher `protobuf:"bytes,5,opt,name=voucher,proto3" json:"voucher,omitempty"` + Path []byte `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"` // path for cm from leaf to root in merkle tree } -func (x *IvkDecryptParameters) Reset() { - *x = IvkDecryptParameters{} +func (x *SpendNote) Reset() { + *x = SpendNote{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2941,13 +2924,13 @@ func (x *IvkDecryptParameters) Reset() { } } -func (x *IvkDecryptParameters) String() string { +func (x *SpendNote) String() string { return protoimpl.X.MessageStringOf(x) } -func (*IvkDecryptParameters) ProtoMessage() {} +func (*SpendNote) ProtoMessage() {} -func (x *IvkDecryptParameters) ProtoReflect() protoreflect.Message { +func (x *SpendNote) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[46] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2959,46 +2942,49 @@ func (x *IvkDecryptParameters) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use IvkDecryptParameters.ProtoReflect.Descriptor instead. -func (*IvkDecryptParameters) Descriptor() ([]byte, []int) { +// Deprecated: Use SpendNote.ProtoReflect.Descriptor instead. +func (*SpendNote) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{46} } -func (x *IvkDecryptParameters) GetStartBlockIndex() int64 { +func (x *SpendNote) GetNote() *Note { if x != nil { - return x.StartBlockIndex + return x.Note } - return 0 + return nil } -func (x *IvkDecryptParameters) GetEndBlockIndex() int64 { +func (x *SpendNote) GetAlpha() []byte { if x != nil { - return x.EndBlockIndex + return x.Alpha } - return 0 + return nil } -func (x *IvkDecryptParameters) GetIvk() []byte { +func (x *SpendNote) GetVoucher() *core.IncrementalMerkleVoucher { if x != nil { - return x.Ivk + return x.Voucher } return nil } -type IvkDecryptAndMarkParameters struct { +func (x *SpendNote) GetPath() []byte { + if x != nil { + return x.Path + } + return nil +} + +type ReceiveNote struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` - EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` - Ivk []byte `protobuf:"bytes,5,opt,name=ivk,proto3" json:"ivk,omitempty"` - Ak []byte `protobuf:"bytes,3,opt,name=ak,proto3" json:"ak,omitempty"` - Nk []byte `protobuf:"bytes,4,opt,name=nk,proto3" json:"nk,omitempty"` + Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` } -func (x *IvkDecryptAndMarkParameters) Reset() { - *x = IvkDecryptAndMarkParameters{} +func (x *ReceiveNote) Reset() { + *x = ReceiveNote{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3006,13 +2992,13 @@ func (x *IvkDecryptAndMarkParameters) Reset() { } } -func (x *IvkDecryptAndMarkParameters) String() string { +func (x *ReceiveNote) String() string { return protoimpl.X.MessageStringOf(x) } -func (*IvkDecryptAndMarkParameters) ProtoMessage() {} +func (*ReceiveNote) ProtoMessage() {} -func (x *IvkDecryptAndMarkParameters) ProtoReflect() protoreflect.Message { +func (x *ReceiveNote) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[47] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3024,58 +3010,37 @@ func (x *IvkDecryptAndMarkParameters) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use IvkDecryptAndMarkParameters.ProtoReflect.Descriptor instead. -func (*IvkDecryptAndMarkParameters) Descriptor() ([]byte, []int) { +// Deprecated: Use ReceiveNote.ProtoReflect.Descriptor instead. +func (*ReceiveNote) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{47} } -func (x *IvkDecryptAndMarkParameters) GetStartBlockIndex() int64 { - if x != nil { - return x.StartBlockIndex - } - return 0 -} - -func (x *IvkDecryptAndMarkParameters) GetEndBlockIndex() int64 { - if x != nil { - return x.EndBlockIndex - } - return 0 -} - -func (x *IvkDecryptAndMarkParameters) GetIvk() []byte { - if x != nil { - return x.Ivk - } - return nil -} - -func (x *IvkDecryptAndMarkParameters) GetAk() []byte { - if x != nil { - return x.Ak - } - return nil -} - -func (x *IvkDecryptAndMarkParameters) GetNk() []byte { +func (x *ReceiveNote) GetNote() *Note { if x != nil { - return x.Nk + return x.Note } return nil } -type OvkDecryptParameters struct { +type PrivateParameters struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` - EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` - Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"` + TransparentFromAddress []byte `protobuf:"bytes,1,opt,name=transparent_from_address,json=transparentFromAddress,proto3" json:"transparent_from_address,omitempty"` + Ask []byte `protobuf:"bytes,2,opt,name=ask,proto3" json:"ask,omitempty"` + Nsk []byte `protobuf:"bytes,3,opt,name=nsk,proto3" json:"nsk,omitempty"` + Ovk []byte `protobuf:"bytes,4,opt,name=ovk,proto3" json:"ovk,omitempty"` + FromAmount int64 `protobuf:"varint,5,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"` + ShieldedSpends []*SpendNote `protobuf:"bytes,6,rep,name=shielded_spends,json=shieldedSpends,proto3" json:"shielded_spends,omitempty"` + ShieldedReceives []*ReceiveNote `protobuf:"bytes,7,rep,name=shielded_receives,json=shieldedReceives,proto3" json:"shielded_receives,omitempty"` + TransparentToAddress []byte `protobuf:"bytes,8,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` + ToAmount int64 `protobuf:"varint,9,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` + Timeout int64 `protobuf:"varint,10,opt,name=timeout,proto3" json:"timeout,omitempty"` // timeout in seconds, it works only when it bigger than 0 } -func (x *OvkDecryptParameters) Reset() { - *x = OvkDecryptParameters{} +func (x *PrivateParameters) Reset() { + *x = PrivateParameters{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3083,13 +3048,13 @@ func (x *OvkDecryptParameters) Reset() { } } -func (x *OvkDecryptParameters) String() string { +func (x *PrivateParameters) String() string { return protoimpl.X.MessageStringOf(x) } -func (*OvkDecryptParameters) ProtoMessage() {} +func (*PrivateParameters) ProtoMessage() {} -func (x *OvkDecryptParameters) ProtoReflect() protoreflect.Message { +func (x *PrivateParameters) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[48] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3101,42 +3066,100 @@ func (x *OvkDecryptParameters) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use OvkDecryptParameters.ProtoReflect.Descriptor instead. -func (*OvkDecryptParameters) Descriptor() ([]byte, []int) { +// Deprecated: Use PrivateParameters.ProtoReflect.Descriptor instead. +func (*PrivateParameters) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{48} } -func (x *OvkDecryptParameters) GetStartBlockIndex() int64 { +func (x *PrivateParameters) GetTransparentFromAddress() []byte { if x != nil { - return x.StartBlockIndex + return x.TransparentFromAddress } - return 0 + return nil } -func (x *OvkDecryptParameters) GetEndBlockIndex() int64 { +func (x *PrivateParameters) GetAsk() []byte { if x != nil { - return x.EndBlockIndex + return x.Ask } - return 0 + return nil } -func (x *OvkDecryptParameters) GetOvk() []byte { +func (x *PrivateParameters) GetNsk() []byte { + if x != nil { + return x.Nsk + } + return nil +} + +func (x *PrivateParameters) GetOvk() []byte { if x != nil { return x.Ovk } return nil } -type DecryptNotes struct { +func (x *PrivateParameters) GetFromAmount() int64 { + if x != nil { + return x.FromAmount + } + return 0 +} + +func (x *PrivateParameters) GetShieldedSpends() []*SpendNote { + if x != nil { + return x.ShieldedSpends + } + return nil +} + +func (x *PrivateParameters) GetShieldedReceives() []*ReceiveNote { + if x != nil { + return x.ShieldedReceives + } + return nil +} + +func (x *PrivateParameters) GetTransparentToAddress() []byte { + if x != nil { + return x.TransparentToAddress + } + return nil +} + +func (x *PrivateParameters) GetToAmount() int64 { + if x != nil { + return x.ToAmount + } + return 0 +} + +func (x *PrivateParameters) GetTimeout() int64 { + if x != nil { + return x.Timeout + } + return 0 +} + +type PrivateParametersWithoutAsk struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - NoteTxs []*DecryptNotes_NoteTx `protobuf:"bytes,1,rep,name=noteTxs,proto3" json:"noteTxs,omitempty"` + TransparentFromAddress []byte `protobuf:"bytes,1,opt,name=transparent_from_address,json=transparentFromAddress,proto3" json:"transparent_from_address,omitempty"` + Ak []byte `protobuf:"bytes,2,opt,name=ak,proto3" json:"ak,omitempty"` + Nsk []byte `protobuf:"bytes,3,opt,name=nsk,proto3" json:"nsk,omitempty"` + Ovk []byte `protobuf:"bytes,4,opt,name=ovk,proto3" json:"ovk,omitempty"` + FromAmount int64 `protobuf:"varint,5,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"` + ShieldedSpends []*SpendNote `protobuf:"bytes,6,rep,name=shielded_spends,json=shieldedSpends,proto3" json:"shielded_spends,omitempty"` + ShieldedReceives []*ReceiveNote `protobuf:"bytes,7,rep,name=shielded_receives,json=shieldedReceives,proto3" json:"shielded_receives,omitempty"` + TransparentToAddress []byte `protobuf:"bytes,8,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` + ToAmount int64 `protobuf:"varint,9,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` + Timeout int64 `protobuf:"varint,10,opt,name=timeout,proto3" json:"timeout,omitempty"` // timeout in seconds, it works only when it bigger than 0 } -func (x *DecryptNotes) Reset() { - *x = DecryptNotes{} +func (x *PrivateParametersWithoutAsk) Reset() { + *x = PrivateParametersWithoutAsk{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3144,13 +3167,13 @@ func (x *DecryptNotes) Reset() { } } -func (x *DecryptNotes) String() string { +func (x *PrivateParametersWithoutAsk) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DecryptNotes) ProtoMessage() {} +func (*PrivateParametersWithoutAsk) ProtoMessage() {} -func (x *DecryptNotes) ProtoReflect() protoreflect.Message { +func (x *PrivateParametersWithoutAsk) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[49] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3162,28 +3185,93 @@ func (x *DecryptNotes) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DecryptNotes.ProtoReflect.Descriptor instead. -func (*DecryptNotes) Descriptor() ([]byte, []int) { +// Deprecated: Use PrivateParametersWithoutAsk.ProtoReflect.Descriptor instead. +func (*PrivateParametersWithoutAsk) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{49} } -func (x *DecryptNotes) GetNoteTxs() []*DecryptNotes_NoteTx { +func (x *PrivateParametersWithoutAsk) GetTransparentFromAddress() []byte { if x != nil { - return x.NoteTxs + return x.TransparentFromAddress } return nil } -type DecryptNotesMarked struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - NoteTxs []*DecryptNotesMarked_NoteTx `protobuf:"bytes,1,rep,name=noteTxs,proto3" json:"noteTxs,omitempty"` +func (x *PrivateParametersWithoutAsk) GetAk() []byte { + if x != nil { + return x.Ak + } + return nil } -func (x *DecryptNotesMarked) Reset() { - *x = DecryptNotesMarked{} +func (x *PrivateParametersWithoutAsk) GetNsk() []byte { + if x != nil { + return x.Nsk + } + return nil +} + +func (x *PrivateParametersWithoutAsk) GetOvk() []byte { + if x != nil { + return x.Ovk + } + return nil +} + +func (x *PrivateParametersWithoutAsk) GetFromAmount() int64 { + if x != nil { + return x.FromAmount + } + return 0 +} + +func (x *PrivateParametersWithoutAsk) GetShieldedSpends() []*SpendNote { + if x != nil { + return x.ShieldedSpends + } + return nil +} + +func (x *PrivateParametersWithoutAsk) GetShieldedReceives() []*ReceiveNote { + if x != nil { + return x.ShieldedReceives + } + return nil +} + +func (x *PrivateParametersWithoutAsk) GetTransparentToAddress() []byte { + if x != nil { + return x.TransparentToAddress + } + return nil +} + +func (x *PrivateParametersWithoutAsk) GetToAmount() int64 { + if x != nil { + return x.ToAmount + } + return 0 +} + +func (x *PrivateParametersWithoutAsk) GetTimeout() int64 { + if x != nil { + return x.Timeout + } + return 0 +} + +type SpendAuthSigParameters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ask []byte `protobuf:"bytes,1,opt,name=ask,proto3" json:"ask,omitempty"` + TxHash []byte `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` + Alpha []byte `protobuf:"bytes,3,opt,name=alpha,proto3" json:"alpha,omitempty"` +} + +func (x *SpendAuthSigParameters) Reset() { + *x = SpendAuthSigParameters{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3191,13 +3279,13 @@ func (x *DecryptNotesMarked) Reset() { } } -func (x *DecryptNotesMarked) String() string { +func (x *SpendAuthSigParameters) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DecryptNotesMarked) ProtoMessage() {} +func (*SpendAuthSigParameters) ProtoMessage() {} -func (x *DecryptNotesMarked) ProtoReflect() protoreflect.Message { +func (x *SpendAuthSigParameters) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[50] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3209,31 +3297,45 @@ func (x *DecryptNotesMarked) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DecryptNotesMarked.ProtoReflect.Descriptor instead. -func (*DecryptNotesMarked) Descriptor() ([]byte, []int) { +// Deprecated: Use SpendAuthSigParameters.ProtoReflect.Descriptor instead. +func (*SpendAuthSigParameters) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{50} } -func (x *DecryptNotesMarked) GetNoteTxs() []*DecryptNotesMarked_NoteTx { +func (x *SpendAuthSigParameters) GetAsk() []byte { if x != nil { - return x.NoteTxs + return x.Ask } return nil } -type Note struct { +func (x *SpendAuthSigParameters) GetTxHash() []byte { + if x != nil { + return x.TxHash + } + return nil +} + +func (x *SpendAuthSigParameters) GetAlpha() []byte { + if x != nil { + return x.Alpha + } + return nil +} + +type NfParameters struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` - PaymentAddress string `protobuf:"bytes,2,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"` - Rcm []byte `protobuf:"bytes,3,opt,name=rcm,proto3" json:"rcm,omitempty"` // random 32 - Memo []byte `protobuf:"bytes,4,opt,name=memo,proto3" json:"memo,omitempty"` + Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` + Voucher *core.IncrementalMerkleVoucher `protobuf:"bytes,2,opt,name=voucher,proto3" json:"voucher,omitempty"` + Ak []byte `protobuf:"bytes,3,opt,name=ak,proto3" json:"ak,omitempty"` + Nk []byte `protobuf:"bytes,4,opt,name=nk,proto3" json:"nk,omitempty"` } -func (x *Note) Reset() { - *x = Note{} +func (x *NfParameters) Reset() { + *x = NfParameters{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3241,13 +3343,13 @@ func (x *Note) Reset() { } } -func (x *Note) String() string { +func (x *NfParameters) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Note) ProtoMessage() {} +func (*NfParameters) ProtoMessage() {} -func (x *Note) ProtoReflect() protoreflect.Message { +func (x *NfParameters) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[51] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3259,52 +3361,51 @@ func (x *Note) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Note.ProtoReflect.Descriptor instead. -func (*Note) Descriptor() ([]byte, []int) { +// Deprecated: Use NfParameters.ProtoReflect.Descriptor instead. +func (*NfParameters) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{51} } -func (x *Note) GetValue() int64 { +func (x *NfParameters) GetNote() *Note { if x != nil { - return x.Value + return x.Note } - return 0 + return nil } -func (x *Note) GetPaymentAddress() string { +func (x *NfParameters) GetVoucher() *core.IncrementalMerkleVoucher { if x != nil { - return x.PaymentAddress + return x.Voucher } - return "" + return nil } -func (x *Note) GetRcm() []byte { +func (x *NfParameters) GetAk() []byte { if x != nil { - return x.Rcm + return x.Ak } return nil } -func (x *Note) GetMemo() []byte { +func (x *NfParameters) GetNk() []byte { if x != nil { - return x.Memo + return x.Nk } return nil } -type SpendNote struct { +type ExpandedSpendingKeyMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Note *Note `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"` - Alpha []byte `protobuf:"bytes,4,opt,name=alpha,proto3" json:"alpha,omitempty"` // random number for spend authority signature - Voucher *core.IncrementalMerkleVoucher `protobuf:"bytes,5,opt,name=voucher,proto3" json:"voucher,omitempty"` - Path []byte `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"` // path for cm from leaf to root in merkle tree + Ask []byte `protobuf:"bytes,1,opt,name=ask,proto3" json:"ask,omitempty"` + Nsk []byte `protobuf:"bytes,2,opt,name=nsk,proto3" json:"nsk,omitempty"` + Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"` } -func (x *SpendNote) Reset() { - *x = SpendNote{} +func (x *ExpandedSpendingKeyMessage) Reset() { + *x = ExpandedSpendingKeyMessage{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3312,13 +3413,13 @@ func (x *SpendNote) Reset() { } } -func (x *SpendNote) String() string { +func (x *ExpandedSpendingKeyMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*SpendNote) ProtoMessage() {} +func (*ExpandedSpendingKeyMessage) ProtoMessage() {} -func (x *SpendNote) ProtoReflect() protoreflect.Message { +func (x *ExpandedSpendingKeyMessage) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[52] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3330,49 +3431,43 @@ func (x *SpendNote) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use SpendNote.ProtoReflect.Descriptor instead. -func (*SpendNote) Descriptor() ([]byte, []int) { +// Deprecated: Use ExpandedSpendingKeyMessage.ProtoReflect.Descriptor instead. +func (*ExpandedSpendingKeyMessage) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{52} } -func (x *SpendNote) GetNote() *Note { - if x != nil { - return x.Note - } - return nil -} - -func (x *SpendNote) GetAlpha() []byte { +func (x *ExpandedSpendingKeyMessage) GetAsk() []byte { if x != nil { - return x.Alpha + return x.Ask } return nil } -func (x *SpendNote) GetVoucher() *core.IncrementalMerkleVoucher { +func (x *ExpandedSpendingKeyMessage) GetNsk() []byte { if x != nil { - return x.Voucher + return x.Nsk } return nil } -func (x *SpendNote) GetPath() []byte { +func (x *ExpandedSpendingKeyMessage) GetOvk() []byte { if x != nil { - return x.Path + return x.Ovk } return nil } -type ReceiveNote struct { +type ViewingKeyMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` + Ak []byte `protobuf:"bytes,1,opt,name=ak,proto3" json:"ak,omitempty"` + Nk []byte `protobuf:"bytes,2,opt,name=nk,proto3" json:"nk,omitempty"` } -func (x *ReceiveNote) Reset() { - *x = ReceiveNote{} +func (x *ViewingKeyMessage) Reset() { + *x = ViewingKeyMessage{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3380,13 +3475,13 @@ func (x *ReceiveNote) Reset() { } } -func (x *ReceiveNote) String() string { +func (x *ViewingKeyMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ReceiveNote) ProtoMessage() {} +func (*ViewingKeyMessage) ProtoMessage() {} -func (x *ReceiveNote) ProtoReflect() protoreflect.Message { +func (x *ViewingKeyMessage) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[53] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3398,37 +3493,35 @@ func (x *ReceiveNote) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ReceiveNote.ProtoReflect.Descriptor instead. -func (*ReceiveNote) Descriptor() ([]byte, []int) { +// Deprecated: Use ViewingKeyMessage.ProtoReflect.Descriptor instead. +func (*ViewingKeyMessage) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{53} } -func (x *ReceiveNote) GetNote() *Note { +func (x *ViewingKeyMessage) GetAk() []byte { if x != nil { - return x.Note + return x.Ak } return nil } -type PrivateParameters struct { +func (x *ViewingKeyMessage) GetNk() []byte { + if x != nil { + return x.Nk + } + return nil +} + +type IncomingViewingKeyMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TransparentFromAddress []byte `protobuf:"bytes,1,opt,name=transparent_from_address,json=transparentFromAddress,proto3" json:"transparent_from_address,omitempty"` - Ask []byte `protobuf:"bytes,2,opt,name=ask,proto3" json:"ask,omitempty"` - Nsk []byte `protobuf:"bytes,3,opt,name=nsk,proto3" json:"nsk,omitempty"` - Ovk []byte `protobuf:"bytes,4,opt,name=ovk,proto3" json:"ovk,omitempty"` - FromAmount int64 `protobuf:"varint,5,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"` - ShieldedSpends []*SpendNote `protobuf:"bytes,6,rep,name=shielded_spends,json=shieldedSpends,proto3" json:"shielded_spends,omitempty"` - ShieldedReceives []*ReceiveNote `protobuf:"bytes,7,rep,name=shielded_receives,json=shieldedReceives,proto3" json:"shielded_receives,omitempty"` - TransparentToAddress []byte `protobuf:"bytes,8,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` - ToAmount int64 `protobuf:"varint,9,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` - Timeout int64 `protobuf:"varint,10,opt,name=timeout,proto3" json:"timeout,omitempty"` // timeout in seconds, it works only when it bigger than 0 + Ivk []byte `protobuf:"bytes,1,opt,name=ivk,proto3" json:"ivk,omitempty"` } -func (x *PrivateParameters) Reset() { - *x = PrivateParameters{} +func (x *IncomingViewingKeyMessage) Reset() { + *x = IncomingViewingKeyMessage{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3436,13 +3529,13 @@ func (x *PrivateParameters) Reset() { } } -func (x *PrivateParameters) String() string { +func (x *IncomingViewingKeyMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PrivateParameters) ProtoMessage() {} +func (*IncomingViewingKeyMessage) ProtoMessage() {} -func (x *PrivateParameters) ProtoReflect() protoreflect.Message { +func (x *IncomingViewingKeyMessage) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[54] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3454,100 +3547,28 @@ func (x *PrivateParameters) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PrivateParameters.ProtoReflect.Descriptor instead. -func (*PrivateParameters) Descriptor() ([]byte, []int) { +// Deprecated: Use IncomingViewingKeyMessage.ProtoReflect.Descriptor instead. +func (*IncomingViewingKeyMessage) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{54} } -func (x *PrivateParameters) GetTransparentFromAddress() []byte { +func (x *IncomingViewingKeyMessage) GetIvk() []byte { if x != nil { - return x.TransparentFromAddress + return x.Ivk } return nil } -func (x *PrivateParameters) GetAsk() []byte { - if x != nil { - return x.Ask - } - return nil -} - -func (x *PrivateParameters) GetNsk() []byte { - if x != nil { - return x.Nsk - } - return nil -} - -func (x *PrivateParameters) GetOvk() []byte { - if x != nil { - return x.Ovk - } - return nil -} - -func (x *PrivateParameters) GetFromAmount() int64 { - if x != nil { - return x.FromAmount - } - return 0 -} - -func (x *PrivateParameters) GetShieldedSpends() []*SpendNote { - if x != nil { - return x.ShieldedSpends - } - return nil -} - -func (x *PrivateParameters) GetShieldedReceives() []*ReceiveNote { - if x != nil { - return x.ShieldedReceives - } - return nil -} - -func (x *PrivateParameters) GetTransparentToAddress() []byte { - if x != nil { - return x.TransparentToAddress - } - return nil -} - -func (x *PrivateParameters) GetToAmount() int64 { - if x != nil { - return x.ToAmount - } - return 0 -} - -func (x *PrivateParameters) GetTimeout() int64 { - if x != nil { - return x.Timeout - } - return 0 -} - -type PrivateParametersWithoutAsk struct { +type DiversifierMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TransparentFromAddress []byte `protobuf:"bytes,1,opt,name=transparent_from_address,json=transparentFromAddress,proto3" json:"transparent_from_address,omitempty"` - Ak []byte `protobuf:"bytes,2,opt,name=ak,proto3" json:"ak,omitempty"` - Nsk []byte `protobuf:"bytes,3,opt,name=nsk,proto3" json:"nsk,omitempty"` - Ovk []byte `protobuf:"bytes,4,opt,name=ovk,proto3" json:"ovk,omitempty"` - FromAmount int64 `protobuf:"varint,5,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"` - ShieldedSpends []*SpendNote `protobuf:"bytes,6,rep,name=shielded_spends,json=shieldedSpends,proto3" json:"shielded_spends,omitempty"` - ShieldedReceives []*ReceiveNote `protobuf:"bytes,7,rep,name=shielded_receives,json=shieldedReceives,proto3" json:"shielded_receives,omitempty"` - TransparentToAddress []byte `protobuf:"bytes,8,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` - ToAmount int64 `protobuf:"varint,9,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` - Timeout int64 `protobuf:"varint,10,opt,name=timeout,proto3" json:"timeout,omitempty"` // timeout in seconds, it works only when it bigger than 0 + D []byte `protobuf:"bytes,1,opt,name=d,proto3" json:"d,omitempty"` } -func (x *PrivateParametersWithoutAsk) Reset() { - *x = PrivateParametersWithoutAsk{} +func (x *DiversifierMessage) Reset() { + *x = DiversifierMessage{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3555,13 +3576,13 @@ func (x *PrivateParametersWithoutAsk) Reset() { } } -func (x *PrivateParametersWithoutAsk) String() string { +func (x *DiversifierMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PrivateParametersWithoutAsk) ProtoMessage() {} +func (*DiversifierMessage) ProtoMessage() {} -func (x *PrivateParametersWithoutAsk) ProtoReflect() protoreflect.Message { +func (x *DiversifierMessage) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[55] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3573,93 +3594,29 @@ func (x *PrivateParametersWithoutAsk) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PrivateParametersWithoutAsk.ProtoReflect.Descriptor instead. -func (*PrivateParametersWithoutAsk) Descriptor() ([]byte, []int) { +// Deprecated: Use DiversifierMessage.ProtoReflect.Descriptor instead. +func (*DiversifierMessage) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{55} } -func (x *PrivateParametersWithoutAsk) GetTransparentFromAddress() []byte { - if x != nil { - return x.TransparentFromAddress - } - return nil -} - -func (x *PrivateParametersWithoutAsk) GetAk() []byte { - if x != nil { - return x.Ak - } - return nil -} - -func (x *PrivateParametersWithoutAsk) GetNsk() []byte { - if x != nil { - return x.Nsk - } - return nil -} - -func (x *PrivateParametersWithoutAsk) GetOvk() []byte { - if x != nil { - return x.Ovk - } - return nil -} - -func (x *PrivateParametersWithoutAsk) GetFromAmount() int64 { - if x != nil { - return x.FromAmount - } - return 0 -} - -func (x *PrivateParametersWithoutAsk) GetShieldedSpends() []*SpendNote { - if x != nil { - return x.ShieldedSpends - } - return nil -} - -func (x *PrivateParametersWithoutAsk) GetShieldedReceives() []*ReceiveNote { - if x != nil { - return x.ShieldedReceives - } - return nil -} - -func (x *PrivateParametersWithoutAsk) GetTransparentToAddress() []byte { +func (x *DiversifierMessage) GetD() []byte { if x != nil { - return x.TransparentToAddress + return x.D } return nil } -func (x *PrivateParametersWithoutAsk) GetToAmount() int64 { - if x != nil { - return x.ToAmount - } - return 0 -} - -func (x *PrivateParametersWithoutAsk) GetTimeout() int64 { - if x != nil { - return x.Timeout - } - return 0 -} - -type SpendAuthSigParameters struct { +type IncomingViewingKeyDiversifierMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Ask []byte `protobuf:"bytes,1,opt,name=ask,proto3" json:"ask,omitempty"` - TxHash []byte `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` - Alpha []byte `protobuf:"bytes,3,opt,name=alpha,proto3" json:"alpha,omitempty"` + Ivk *IncomingViewingKeyMessage `protobuf:"bytes,1,opt,name=ivk,proto3" json:"ivk,omitempty"` + D *DiversifierMessage `protobuf:"bytes,2,opt,name=d,proto3" json:"d,omitempty"` } -func (x *SpendAuthSigParameters) Reset() { - *x = SpendAuthSigParameters{} +func (x *IncomingViewingKeyDiversifierMessage) Reset() { + *x = IncomingViewingKeyDiversifierMessage{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3667,13 +3624,13 @@ func (x *SpendAuthSigParameters) Reset() { } } -func (x *SpendAuthSigParameters) String() string { +func (x *IncomingViewingKeyDiversifierMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*SpendAuthSigParameters) ProtoMessage() {} +func (*IncomingViewingKeyDiversifierMessage) ProtoMessage() {} -func (x *SpendAuthSigParameters) ProtoReflect() protoreflect.Message { +func (x *IncomingViewingKeyDiversifierMessage) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[56] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3685,45 +3642,37 @@ func (x *SpendAuthSigParameters) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use SpendAuthSigParameters.ProtoReflect.Descriptor instead. -func (*SpendAuthSigParameters) Descriptor() ([]byte, []int) { +// Deprecated: Use IncomingViewingKeyDiversifierMessage.ProtoReflect.Descriptor instead. +func (*IncomingViewingKeyDiversifierMessage) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{56} } -func (x *SpendAuthSigParameters) GetAsk() []byte { - if x != nil { - return x.Ask - } - return nil -} - -func (x *SpendAuthSigParameters) GetTxHash() []byte { +func (x *IncomingViewingKeyDiversifierMessage) GetIvk() *IncomingViewingKeyMessage { if x != nil { - return x.TxHash + return x.Ivk } return nil } -func (x *SpendAuthSigParameters) GetAlpha() []byte { +func (x *IncomingViewingKeyDiversifierMessage) GetD() *DiversifierMessage { if x != nil { - return x.Alpha + return x.D } return nil } -type NfParameters struct { +type PaymentAddressMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` - Voucher *core.IncrementalMerkleVoucher `protobuf:"bytes,2,opt,name=voucher,proto3" json:"voucher,omitempty"` - Ak []byte `protobuf:"bytes,3,opt,name=ak,proto3" json:"ak,omitempty"` - Nk []byte `protobuf:"bytes,4,opt,name=nk,proto3" json:"nk,omitempty"` + D *DiversifierMessage `protobuf:"bytes,1,opt,name=d,proto3" json:"d,omitempty"` + PkD []byte `protobuf:"bytes,2,opt,name=pkD,proto3" json:"pkD,omitempty"` + PaymentAddress string `protobuf:"bytes,3,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"` } -func (x *NfParameters) Reset() { - *x = NfParameters{} +func (x *PaymentAddressMessage) Reset() { + *x = PaymentAddressMessage{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3731,13 +3680,13 @@ func (x *NfParameters) Reset() { } } -func (x *NfParameters) String() string { +func (x *PaymentAddressMessage) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NfParameters) ProtoMessage() {} +func (*PaymentAddressMessage) ProtoMessage() {} -func (x *NfParameters) ProtoReflect() protoreflect.Message { +func (x *PaymentAddressMessage) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[57] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3749,51 +3698,51 @@ func (x *NfParameters) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use NfParameters.ProtoReflect.Descriptor instead. -func (*NfParameters) Descriptor() ([]byte, []int) { +// Deprecated: Use PaymentAddressMessage.ProtoReflect.Descriptor instead. +func (*PaymentAddressMessage) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{57} } -func (x *NfParameters) GetNote() *Note { - if x != nil { - return x.Note - } - return nil -} - -func (x *NfParameters) GetVoucher() *core.IncrementalMerkleVoucher { +func (x *PaymentAddressMessage) GetD() *DiversifierMessage { if x != nil { - return x.Voucher + return x.D } return nil } -func (x *NfParameters) GetAk() []byte { +func (x *PaymentAddressMessage) GetPkD() []byte { if x != nil { - return x.Ak + return x.PkD } return nil } -func (x *NfParameters) GetNk() []byte { +func (x *PaymentAddressMessage) GetPaymentAddress() string { if x != nil { - return x.Nk + return x.PaymentAddress } - return nil + return "" } -type ExpandedSpendingKeyMessage struct { +type ShieldedAddressInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Ask []byte `protobuf:"bytes,1,opt,name=ask,proto3" json:"ask,omitempty"` - Nsk []byte `protobuf:"bytes,2,opt,name=nsk,proto3" json:"nsk,omitempty"` - Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"` + Sk []byte `protobuf:"bytes,1,opt,name=sk,proto3" json:"sk,omitempty"` + Ask []byte `protobuf:"bytes,2,opt,name=ask,proto3" json:"ask,omitempty"` + Nsk []byte `protobuf:"bytes,3,opt,name=nsk,proto3" json:"nsk,omitempty"` + Ovk []byte `protobuf:"bytes,4,opt,name=ovk,proto3" json:"ovk,omitempty"` + Ak []byte `protobuf:"bytes,5,opt,name=ak,proto3" json:"ak,omitempty"` + Nk []byte `protobuf:"bytes,6,opt,name=nk,proto3" json:"nk,omitempty"` + Ivk []byte `protobuf:"bytes,7,opt,name=ivk,proto3" json:"ivk,omitempty"` + D []byte `protobuf:"bytes,8,opt,name=d,proto3" json:"d,omitempty"` + PkD []byte `protobuf:"bytes,9,opt,name=pkD,proto3" json:"pkD,omitempty"` + PaymentAddress string `protobuf:"bytes,10,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"` } -func (x *ExpandedSpendingKeyMessage) Reset() { - *x = ExpandedSpendingKeyMessage{} +func (x *ShieldedAddressInfo) Reset() { + *x = ShieldedAddressInfo{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[58] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3801,13 +3750,13 @@ func (x *ExpandedSpendingKeyMessage) Reset() { } } -func (x *ExpandedSpendingKeyMessage) String() string { +func (x *ShieldedAddressInfo) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ExpandedSpendingKeyMessage) ProtoMessage() {} +func (*ShieldedAddressInfo) ProtoMessage() {} -func (x *ExpandedSpendingKeyMessage) ProtoReflect() protoreflect.Message { +func (x *ShieldedAddressInfo) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[58] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3819,43 +3768,95 @@ func (x *ExpandedSpendingKeyMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ExpandedSpendingKeyMessage.ProtoReflect.Descriptor instead. -func (*ExpandedSpendingKeyMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use ShieldedAddressInfo.ProtoReflect.Descriptor instead. +func (*ShieldedAddressInfo) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{58} } -func (x *ExpandedSpendingKeyMessage) GetAsk() []byte { +func (x *ShieldedAddressInfo) GetSk() []byte { + if x != nil { + return x.Sk + } + return nil +} + +func (x *ShieldedAddressInfo) GetAsk() []byte { if x != nil { return x.Ask } return nil } -func (x *ExpandedSpendingKeyMessage) GetNsk() []byte { +func (x *ShieldedAddressInfo) GetNsk() []byte { if x != nil { return x.Nsk } return nil } -func (x *ExpandedSpendingKeyMessage) GetOvk() []byte { +func (x *ShieldedAddressInfo) GetOvk() []byte { if x != nil { return x.Ovk } return nil } -type ViewingKeyMessage struct { +func (x *ShieldedAddressInfo) GetAk() []byte { + if x != nil { + return x.Ak + } + return nil +} + +func (x *ShieldedAddressInfo) GetNk() []byte { + if x != nil { + return x.Nk + } + return nil +} + +func (x *ShieldedAddressInfo) GetIvk() []byte { + if x != nil { + return x.Ivk + } + return nil +} + +func (x *ShieldedAddressInfo) GetD() []byte { + if x != nil { + return x.D + } + return nil +} + +func (x *ShieldedAddressInfo) GetPkD() []byte { + if x != nil { + return x.PkD + } + return nil +} + +func (x *ShieldedAddressInfo) GetPaymentAddress() string { + if x != nil { + return x.PaymentAddress + } + return "" +} + +type NoteParameters struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Ak []byte `protobuf:"bytes,1,opt,name=ak,proto3" json:"ak,omitempty"` - Nk []byte `protobuf:"bytes,2,opt,name=nk,proto3" json:"nk,omitempty"` + Ak []byte `protobuf:"bytes,1,opt,name=ak,proto3" json:"ak,omitempty"` + Nk []byte `protobuf:"bytes,2,opt,name=nk,proto3" json:"nk,omitempty"` + Note *Note `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"` + Txid []byte `protobuf:"bytes,4,opt,name=txid,proto3" json:"txid,omitempty"` + Index int32 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"` } -func (x *ViewingKeyMessage) Reset() { - *x = ViewingKeyMessage{} +func (x *NoteParameters) Reset() { + *x = NoteParameters{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[59] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3863,13 +3864,13 @@ func (x *ViewingKeyMessage) Reset() { } } -func (x *ViewingKeyMessage) String() string { +func (x *NoteParameters) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ViewingKeyMessage) ProtoMessage() {} +func (*NoteParameters) ProtoMessage() {} -func (x *ViewingKeyMessage) ProtoReflect() protoreflect.Message { +func (x *NoteParameters) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[59] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3881,35 +3882,57 @@ func (x *ViewingKeyMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ViewingKeyMessage.ProtoReflect.Descriptor instead. -func (*ViewingKeyMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use NoteParameters.ProtoReflect.Descriptor instead. +func (*NoteParameters) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{59} } -func (x *ViewingKeyMessage) GetAk() []byte { +func (x *NoteParameters) GetAk() []byte { if x != nil { return x.Ak } return nil } -func (x *ViewingKeyMessage) GetNk() []byte { +func (x *NoteParameters) GetNk() []byte { if x != nil { return x.Nk } return nil } -type IncomingViewingKeyMessage struct { +func (x *NoteParameters) GetNote() *Note { + if x != nil { + return x.Note + } + return nil +} + +func (x *NoteParameters) GetTxid() []byte { + if x != nil { + return x.Txid + } + return nil +} + +func (x *NoteParameters) GetIndex() int32 { + if x != nil { + return x.Index + } + return 0 +} + +type SpendResult struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Ivk []byte `protobuf:"bytes,1,opt,name=ivk,proto3" json:"ivk,omitempty"` + Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` } -func (x *IncomingViewingKeyMessage) Reset() { - *x = IncomingViewingKeyMessage{} +func (x *SpendResult) Reset() { + *x = SpendResult{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[60] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3917,13 +3940,13 @@ func (x *IncomingViewingKeyMessage) Reset() { } } -func (x *IncomingViewingKeyMessage) String() string { +func (x *SpendResult) String() string { return protoimpl.X.MessageStringOf(x) } -func (*IncomingViewingKeyMessage) ProtoMessage() {} +func (*SpendResult) ProtoMessage() {} -func (x *IncomingViewingKeyMessage) ProtoReflect() protoreflect.Message { +func (x *SpendResult) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[60] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3935,28 +3958,35 @@ func (x *IncomingViewingKeyMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use IncomingViewingKeyMessage.ProtoReflect.Descriptor instead. -func (*IncomingViewingKeyMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use SpendResult.ProtoReflect.Descriptor instead. +func (*SpendResult) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{60} } -func (x *IncomingViewingKeyMessage) GetIvk() []byte { +func (x *SpendResult) GetResult() bool { if x != nil { - return x.Ivk + return x.Result } - return nil + return false } -type DiversifierMessage struct { +func (x *SpendResult) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +type TransactionInfoList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - D []byte `protobuf:"bytes,1,opt,name=d,proto3" json:"d,omitempty"` + TransactionInfo []*core.TransactionInfo `protobuf:"bytes,1,rep,name=transactionInfo,proto3" json:"transactionInfo,omitempty"` } -func (x *DiversifierMessage) Reset() { - *x = DiversifierMessage{} +func (x *TransactionInfoList) Reset() { + *x = TransactionInfoList{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[61] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3964,13 +3994,13 @@ func (x *DiversifierMessage) Reset() { } } -func (x *DiversifierMessage) String() string { +func (x *TransactionInfoList) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DiversifierMessage) ProtoMessage() {} +func (*TransactionInfoList) ProtoMessage() {} -func (x *DiversifierMessage) ProtoReflect() protoreflect.Message { +func (x *TransactionInfoList) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[61] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3982,29 +4012,32 @@ func (x *DiversifierMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DiversifierMessage.ProtoReflect.Descriptor instead. -func (*DiversifierMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use TransactionInfoList.ProtoReflect.Descriptor instead. +func (*TransactionInfoList) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{61} } -func (x *DiversifierMessage) GetD() []byte { +func (x *TransactionInfoList) GetTransactionInfo() []*core.TransactionInfo { if x != nil { - return x.D + return x.TransactionInfo } return nil } -type IncomingViewingKeyDiversifierMessage struct { +type SpendNoteTRC20 struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Ivk *IncomingViewingKeyMessage `protobuf:"bytes,1,opt,name=ivk,proto3" json:"ivk,omitempty"` - D *DiversifierMessage `protobuf:"bytes,2,opt,name=d,proto3" json:"d,omitempty"` + Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` + Alpha []byte `protobuf:"bytes,2,opt,name=alpha,proto3" json:"alpha,omitempty"` + Root []byte `protobuf:"bytes,3,opt,name=root,proto3" json:"root,omitempty"` + Path []byte `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` + Pos int64 `protobuf:"varint,5,opt,name=pos,proto3" json:"pos,omitempty"` } -func (x *IncomingViewingKeyDiversifierMessage) Reset() { - *x = IncomingViewingKeyDiversifierMessage{} +func (x *SpendNoteTRC20) Reset() { + *x = SpendNoteTRC20{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[62] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4012,13 +4045,13 @@ func (x *IncomingViewingKeyDiversifierMessage) Reset() { } } -func (x *IncomingViewingKeyDiversifierMessage) String() string { +func (x *SpendNoteTRC20) String() string { return protoimpl.X.MessageStringOf(x) } -func (*IncomingViewingKeyDiversifierMessage) ProtoMessage() {} +func (*SpendNoteTRC20) ProtoMessage() {} -func (x *IncomingViewingKeyDiversifierMessage) ProtoReflect() protoreflect.Message { +func (x *SpendNoteTRC20) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[62] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4030,37 +4063,64 @@ func (x *IncomingViewingKeyDiversifierMessage) ProtoReflect() protoreflect.Messa return mi.MessageOf(x) } -// Deprecated: Use IncomingViewingKeyDiversifierMessage.ProtoReflect.Descriptor instead. -func (*IncomingViewingKeyDiversifierMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use SpendNoteTRC20.ProtoReflect.Descriptor instead. +func (*SpendNoteTRC20) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{62} } -func (x *IncomingViewingKeyDiversifierMessage) GetIvk() *IncomingViewingKeyMessage { +func (x *SpendNoteTRC20) GetNote() *Note { if x != nil { - return x.Ivk + return x.Note } return nil } -func (x *IncomingViewingKeyDiversifierMessage) GetD() *DiversifierMessage { +func (x *SpendNoteTRC20) GetAlpha() []byte { if x != nil { - return x.D + return x.Alpha } return nil } -type PaymentAddressMessage struct { +func (x *SpendNoteTRC20) GetRoot() []byte { + if x != nil { + return x.Root + } + return nil +} + +func (x *SpendNoteTRC20) GetPath() []byte { + if x != nil { + return x.Path + } + return nil +} + +func (x *SpendNoteTRC20) GetPos() int64 { + if x != nil { + return x.Pos + } + return 0 +} + +type PrivateShieldedTRC20Parameters struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - D *DiversifierMessage `protobuf:"bytes,1,opt,name=d,proto3" json:"d,omitempty"` - PkD []byte `protobuf:"bytes,2,opt,name=pkD,proto3" json:"pkD,omitempty"` - PaymentAddress string `protobuf:"bytes,3,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"` + Ask []byte `protobuf:"bytes,1,opt,name=ask,proto3" json:"ask,omitempty"` + Nsk []byte `protobuf:"bytes,2,opt,name=nsk,proto3" json:"nsk,omitempty"` + Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"` + FromAmount string `protobuf:"bytes,4,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"` + ShieldedSpends []*SpendNoteTRC20 `protobuf:"bytes,5,rep,name=shielded_spends,json=shieldedSpends,proto3" json:"shielded_spends,omitempty"` + ShieldedReceives []*ReceiveNote `protobuf:"bytes,6,rep,name=shielded_receives,json=shieldedReceives,proto3" json:"shielded_receives,omitempty"` + TransparentToAddress []byte `protobuf:"bytes,7,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` + ToAmount string `protobuf:"bytes,8,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` + Shielded_TRC20ContractAddress []byte `protobuf:"bytes,9,opt,name=shielded_TRC20_contract_address,json=shieldedTRC20ContractAddress,proto3" json:"shielded_TRC20_contract_address,omitempty"` } -func (x *PaymentAddressMessage) Reset() { - *x = PaymentAddressMessage{} +func (x *PrivateShieldedTRC20Parameters) Reset() { + *x = PrivateShieldedTRC20Parameters{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[63] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4068,13 +4128,13 @@ func (x *PaymentAddressMessage) Reset() { } } -func (x *PaymentAddressMessage) String() string { +func (x *PrivateShieldedTRC20Parameters) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PaymentAddressMessage) ProtoMessage() {} +func (*PrivateShieldedTRC20Parameters) ProtoMessage() {} -func (x *PaymentAddressMessage) ProtoReflect() protoreflect.Message { +func (x *PrivateShieldedTRC20Parameters) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[63] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4086,51 +4146,92 @@ func (x *PaymentAddressMessage) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PaymentAddressMessage.ProtoReflect.Descriptor instead. -func (*PaymentAddressMessage) Descriptor() ([]byte, []int) { +// Deprecated: Use PrivateShieldedTRC20Parameters.ProtoReflect.Descriptor instead. +func (*PrivateShieldedTRC20Parameters) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{63} } -func (x *PaymentAddressMessage) GetD() *DiversifierMessage { +func (x *PrivateShieldedTRC20Parameters) GetAsk() []byte { if x != nil { - return x.D + return x.Ask } return nil } -func (x *PaymentAddressMessage) GetPkD() []byte { +func (x *PrivateShieldedTRC20Parameters) GetNsk() []byte { if x != nil { - return x.PkD + return x.Nsk } return nil } -func (x *PaymentAddressMessage) GetPaymentAddress() string { +func (x *PrivateShieldedTRC20Parameters) GetOvk() []byte { if x != nil { - return x.PaymentAddress + return x.Ovk } - return "" + return nil } -type ShieldedAddressInfo struct { +func (x *PrivateShieldedTRC20Parameters) GetFromAmount() string { + if x != nil { + return x.FromAmount + } + return "" +} + +func (x *PrivateShieldedTRC20Parameters) GetShieldedSpends() []*SpendNoteTRC20 { + if x != nil { + return x.ShieldedSpends + } + return nil +} + +func (x *PrivateShieldedTRC20Parameters) GetShieldedReceives() []*ReceiveNote { + if x != nil { + return x.ShieldedReceives + } + return nil +} + +func (x *PrivateShieldedTRC20Parameters) GetTransparentToAddress() []byte { + if x != nil { + return x.TransparentToAddress + } + return nil +} + +func (x *PrivateShieldedTRC20Parameters) GetToAmount() string { + if x != nil { + return x.ToAmount + } + return "" +} + +func (x *PrivateShieldedTRC20Parameters) GetShielded_TRC20ContractAddress() []byte { + if x != nil { + return x.Shielded_TRC20ContractAddress + } + return nil +} + +type PrivateShieldedTRC20ParametersWithoutAsk struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Sk []byte `protobuf:"bytes,1,opt,name=sk,proto3" json:"sk,omitempty"` - Ask []byte `protobuf:"bytes,2,opt,name=ask,proto3" json:"ask,omitempty"` - Nsk []byte `protobuf:"bytes,3,opt,name=nsk,proto3" json:"nsk,omitempty"` - Ovk []byte `protobuf:"bytes,4,opt,name=ovk,proto3" json:"ovk,omitempty"` - Ak []byte `protobuf:"bytes,5,opt,name=ak,proto3" json:"ak,omitempty"` - Nk []byte `protobuf:"bytes,6,opt,name=nk,proto3" json:"nk,omitempty"` - Ivk []byte `protobuf:"bytes,7,opt,name=ivk,proto3" json:"ivk,omitempty"` - D []byte `protobuf:"bytes,8,opt,name=d,proto3" json:"d,omitempty"` - PkD []byte `protobuf:"bytes,9,opt,name=pkD,proto3" json:"pkD,omitempty"` - PaymentAddress string `protobuf:"bytes,10,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"` + Ak []byte `protobuf:"bytes,1,opt,name=ak,proto3" json:"ak,omitempty"` + Nsk []byte `protobuf:"bytes,2,opt,name=nsk,proto3" json:"nsk,omitempty"` + Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"` + FromAmount string `protobuf:"bytes,4,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"` + ShieldedSpends []*SpendNoteTRC20 `protobuf:"bytes,5,rep,name=shielded_spends,json=shieldedSpends,proto3" json:"shielded_spends,omitempty"` + ShieldedReceives []*ReceiveNote `protobuf:"bytes,6,rep,name=shielded_receives,json=shieldedReceives,proto3" json:"shielded_receives,omitempty"` + TransparentToAddress []byte `protobuf:"bytes,7,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` + ToAmount string `protobuf:"bytes,8,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` + Shielded_TRC20ContractAddress []byte `protobuf:"bytes,9,opt,name=shielded_TRC20_contract_address,json=shieldedTRC20ContractAddress,proto3" json:"shielded_TRC20_contract_address,omitempty"` } -func (x *ShieldedAddressInfo) Reset() { - *x = ShieldedAddressInfo{} +func (x *PrivateShieldedTRC20ParametersWithoutAsk) Reset() { + *x = PrivateShieldedTRC20ParametersWithoutAsk{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[64] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4138,13 +4239,13 @@ func (x *ShieldedAddressInfo) Reset() { } } -func (x *ShieldedAddressInfo) String() string { +func (x *PrivateShieldedTRC20ParametersWithoutAsk) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ShieldedAddressInfo) ProtoMessage() {} +func (*PrivateShieldedTRC20ParametersWithoutAsk) ProtoMessage() {} -func (x *ShieldedAddressInfo) ProtoReflect() protoreflect.Message { +func (x *PrivateShieldedTRC20ParametersWithoutAsk) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[64] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4156,95 +4257,89 @@ func (x *ShieldedAddressInfo) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ShieldedAddressInfo.ProtoReflect.Descriptor instead. -func (*ShieldedAddressInfo) Descriptor() ([]byte, []int) { +// Deprecated: Use PrivateShieldedTRC20ParametersWithoutAsk.ProtoReflect.Descriptor instead. +func (*PrivateShieldedTRC20ParametersWithoutAsk) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{64} } -func (x *ShieldedAddressInfo) GetSk() []byte { - if x != nil { - return x.Sk - } - return nil -} - -func (x *ShieldedAddressInfo) GetAsk() []byte { +func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetAk() []byte { if x != nil { - return x.Ask + return x.Ak } return nil } -func (x *ShieldedAddressInfo) GetNsk() []byte { +func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetNsk() []byte { if x != nil { return x.Nsk } return nil } -func (x *ShieldedAddressInfo) GetOvk() []byte { +func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetOvk() []byte { if x != nil { return x.Ovk } return nil } -func (x *ShieldedAddressInfo) GetAk() []byte { +func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetFromAmount() string { if x != nil { - return x.Ak + return x.FromAmount } - return nil + return "" } -func (x *ShieldedAddressInfo) GetNk() []byte { +func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetShieldedSpends() []*SpendNoteTRC20 { if x != nil { - return x.Nk + return x.ShieldedSpends } return nil } -func (x *ShieldedAddressInfo) GetIvk() []byte { +func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetShieldedReceives() []*ReceiveNote { if x != nil { - return x.Ivk + return x.ShieldedReceives } return nil } -func (x *ShieldedAddressInfo) GetD() []byte { +func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetTransparentToAddress() []byte { if x != nil { - return x.D + return x.TransparentToAddress } return nil } -func (x *ShieldedAddressInfo) GetPkD() []byte { +func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetToAmount() string { if x != nil { - return x.PkD + return x.ToAmount } - return nil + return "" } -func (x *ShieldedAddressInfo) GetPaymentAddress() string { +func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetShielded_TRC20ContractAddress() []byte { if x != nil { - return x.PaymentAddress + return x.Shielded_TRC20ContractAddress } - return "" + return nil } -type NoteParameters struct { +type ShieldedTRC20Parameters struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Ak []byte `protobuf:"bytes,1,opt,name=ak,proto3" json:"ak,omitempty"` - Nk []byte `protobuf:"bytes,2,opt,name=nk,proto3" json:"nk,omitempty"` - Note *Note `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"` - Txid []byte `protobuf:"bytes,4,opt,name=txid,proto3" json:"txid,omitempty"` - Index int32 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"` + SpendDescription []*core.SpendDescription `protobuf:"bytes,1,rep,name=spend_description,json=spendDescription,proto3" json:"spend_description,omitempty"` + ReceiveDescription []*core.ReceiveDescription `protobuf:"bytes,2,rep,name=receive_description,json=receiveDescription,proto3" json:"receive_description,omitempty"` + BindingSignature []byte `protobuf:"bytes,3,opt,name=binding_signature,json=bindingSignature,proto3" json:"binding_signature,omitempty"` + MessageHash []byte `protobuf:"bytes,4,opt,name=message_hash,json=messageHash,proto3" json:"message_hash,omitempty"` + TriggerContractInput string `protobuf:"bytes,5,opt,name=trigger_contract_input,json=triggerContractInput,proto3" json:"trigger_contract_input,omitempty"` + ParameterType string `protobuf:"bytes,6,opt,name=parameter_type,json=parameterType,proto3" json:"parameter_type,omitempty"` } -func (x *NoteParameters) Reset() { - *x = NoteParameters{} +func (x *ShieldedTRC20Parameters) Reset() { + *x = ShieldedTRC20Parameters{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[65] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4252,13 +4347,13 @@ func (x *NoteParameters) Reset() { } } -func (x *NoteParameters) String() string { +func (x *ShieldedTRC20Parameters) String() string { return protoimpl.X.MessageStringOf(x) } -func (*NoteParameters) ProtoMessage() {} +func (*ShieldedTRC20Parameters) ProtoMessage() {} -func (x *NoteParameters) ProtoReflect() protoreflect.Message { +func (x *ShieldedTRC20Parameters) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[65] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4270,57 +4365,69 @@ func (x *NoteParameters) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use NoteParameters.ProtoReflect.Descriptor instead. -func (*NoteParameters) Descriptor() ([]byte, []int) { +// Deprecated: Use ShieldedTRC20Parameters.ProtoReflect.Descriptor instead. +func (*ShieldedTRC20Parameters) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{65} } -func (x *NoteParameters) GetAk() []byte { +func (x *ShieldedTRC20Parameters) GetSpendDescription() []*core.SpendDescription { if x != nil { - return x.Ak + return x.SpendDescription } return nil } -func (x *NoteParameters) GetNk() []byte { +func (x *ShieldedTRC20Parameters) GetReceiveDescription() []*core.ReceiveDescription { if x != nil { - return x.Nk + return x.ReceiveDescription } return nil } -func (x *NoteParameters) GetNote() *Note { +func (x *ShieldedTRC20Parameters) GetBindingSignature() []byte { if x != nil { - return x.Note + return x.BindingSignature } return nil } -func (x *NoteParameters) GetTxid() []byte { +func (x *ShieldedTRC20Parameters) GetMessageHash() []byte { if x != nil { - return x.Txid + return x.MessageHash } return nil } -func (x *NoteParameters) GetIndex() int32 { +func (x *ShieldedTRC20Parameters) GetTriggerContractInput() string { if x != nil { - return x.Index + return x.TriggerContractInput } - return 0 + return "" } -type SpendResult struct { +func (x *ShieldedTRC20Parameters) GetParameterType() string { + if x != nil { + return x.ParameterType + } + return "" +} + +type IvkDecryptTRC20Parameters struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` + EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` + Shielded_TRC20ContractAddress []byte `protobuf:"bytes,3,opt,name=shielded_TRC20_contract_address,json=shieldedTRC20ContractAddress,proto3" json:"shielded_TRC20_contract_address,omitempty"` + Ivk []byte `protobuf:"bytes,4,opt,name=ivk,proto3" json:"ivk,omitempty"` + Ak []byte `protobuf:"bytes,5,opt,name=ak,proto3" json:"ak,omitempty"` + Nk []byte `protobuf:"bytes,6,opt,name=nk,proto3" json:"nk,omitempty"` + Events []string `protobuf:"bytes,7,rep,name=events,proto3" json:"events,omitempty"` } -func (x *SpendResult) Reset() { - *x = SpendResult{} +func (x *IvkDecryptTRC20Parameters) Reset() { + *x = IvkDecryptTRC20Parameters{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[66] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4328,13 +4435,13 @@ func (x *SpendResult) Reset() { } } -func (x *SpendResult) String() string { +func (x *IvkDecryptTRC20Parameters) String() string { return protoimpl.X.MessageStringOf(x) } -func (*SpendResult) ProtoMessage() {} +func (*IvkDecryptTRC20Parameters) ProtoMessage() {} -func (x *SpendResult) ProtoReflect() protoreflect.Message { +func (x *IvkDecryptTRC20Parameters) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[66] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4346,101 +4453,89 @@ func (x *SpendResult) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use SpendResult.ProtoReflect.Descriptor instead. -func (*SpendResult) Descriptor() ([]byte, []int) { +// Deprecated: Use IvkDecryptTRC20Parameters.ProtoReflect.Descriptor instead. +func (*IvkDecryptTRC20Parameters) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{66} } -func (x *SpendResult) GetResult() bool { +func (x *IvkDecryptTRC20Parameters) GetStartBlockIndex() int64 { if x != nil { - return x.Result + return x.StartBlockIndex } - return false + return 0 } -func (x *SpendResult) GetMessage() string { +func (x *IvkDecryptTRC20Parameters) GetEndBlockIndex() int64 { if x != nil { - return x.Message + return x.EndBlockIndex } - return "" + return 0 } -type TransactionInfoList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (x *IvkDecryptTRC20Parameters) GetShielded_TRC20ContractAddress() []byte { + if x != nil { + return x.Shielded_TRC20ContractAddress + } + return nil +} - TransactionInfo []*core.TransactionInfo `protobuf:"bytes,1,rep,name=transactionInfo,proto3" json:"transactionInfo,omitempty"` +func (x *IvkDecryptTRC20Parameters) GetIvk() []byte { + if x != nil { + return x.Ivk + } + return nil } -func (x *TransactionInfoList) Reset() { - *x = TransactionInfoList{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[67] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *IvkDecryptTRC20Parameters) GetAk() []byte { + if x != nil { + return x.Ak } + return nil } -func (x *TransactionInfoList) String() string { - return protoimpl.X.MessageStringOf(x) +func (x *IvkDecryptTRC20Parameters) GetNk() []byte { + if x != nil { + return x.Nk + } + return nil } -func (*TransactionInfoList) ProtoMessage() {} +func (x *IvkDecryptTRC20Parameters) GetEvents() []string { + if x != nil { + return x.Events + } + return nil +} -func (x *TransactionInfoList) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[67] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TransactionInfoList.ProtoReflect.Descriptor instead. -func (*TransactionInfoList) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{67} -} - -func (x *TransactionInfoList) GetTransactionInfo() []*core.TransactionInfo { - if x != nil { - return x.TransactionInfo - } - return nil -} - -type SpendNoteTRC20 struct { +type OvkDecryptTRC20Parameters struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` - Alpha []byte `protobuf:"bytes,2,opt,name=alpha,proto3" json:"alpha,omitempty"` - Root []byte `protobuf:"bytes,3,opt,name=root,proto3" json:"root,omitempty"` - Path []byte `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` - Pos int64 `protobuf:"varint,5,opt,name=pos,proto3" json:"pos,omitempty"` + StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` + EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` + Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"` + Shielded_TRC20ContractAddress []byte `protobuf:"bytes,4,opt,name=shielded_TRC20_contract_address,json=shieldedTRC20ContractAddress,proto3" json:"shielded_TRC20_contract_address,omitempty"` + Events []string `protobuf:"bytes,5,rep,name=events,proto3" json:"events,omitempty"` } -func (x *SpendNoteTRC20) Reset() { - *x = SpendNoteTRC20{} +func (x *OvkDecryptTRC20Parameters) Reset() { + *x = OvkDecryptTRC20Parameters{} if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[68] + mi := &file_api_api_proto_msgTypes[67] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *SpendNoteTRC20) String() string { +func (x *OvkDecryptTRC20Parameters) String() string { return protoimpl.X.MessageStringOf(x) } -func (*SpendNoteTRC20) ProtoMessage() {} +func (*OvkDecryptTRC20Parameters) ProtoMessage() {} -func (x *SpendNoteTRC20) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[68] +func (x *OvkDecryptTRC20Parameters) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[67] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4451,79 +4546,71 @@ func (x *SpendNoteTRC20) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use SpendNoteTRC20.ProtoReflect.Descriptor instead. -func (*SpendNoteTRC20) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{68} +// Deprecated: Use OvkDecryptTRC20Parameters.ProtoReflect.Descriptor instead. +func (*OvkDecryptTRC20Parameters) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{67} } -func (x *SpendNoteTRC20) GetNote() *Note { +func (x *OvkDecryptTRC20Parameters) GetStartBlockIndex() int64 { if x != nil { - return x.Note + return x.StartBlockIndex } - return nil + return 0 } -func (x *SpendNoteTRC20) GetAlpha() []byte { +func (x *OvkDecryptTRC20Parameters) GetEndBlockIndex() int64 { if x != nil { - return x.Alpha + return x.EndBlockIndex } - return nil + return 0 } -func (x *SpendNoteTRC20) GetRoot() []byte { +func (x *OvkDecryptTRC20Parameters) GetOvk() []byte { if x != nil { - return x.Root + return x.Ovk } return nil } -func (x *SpendNoteTRC20) GetPath() []byte { +func (x *OvkDecryptTRC20Parameters) GetShielded_TRC20ContractAddress() []byte { if x != nil { - return x.Path + return x.Shielded_TRC20ContractAddress } return nil } -func (x *SpendNoteTRC20) GetPos() int64 { +func (x *OvkDecryptTRC20Parameters) GetEvents() []string { if x != nil { - return x.Pos + return x.Events } - return 0 + return nil } -type PrivateShieldedTRC20Parameters struct { +type DecryptNotesTRC20 struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Ask []byte `protobuf:"bytes,1,opt,name=ask,proto3" json:"ask,omitempty"` - Nsk []byte `protobuf:"bytes,2,opt,name=nsk,proto3" json:"nsk,omitempty"` - Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"` - FromAmount string `protobuf:"bytes,4,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"` - ShieldedSpends []*SpendNoteTRC20 `protobuf:"bytes,5,rep,name=shielded_spends,json=shieldedSpends,proto3" json:"shielded_spends,omitempty"` - ShieldedReceives []*ReceiveNote `protobuf:"bytes,6,rep,name=shielded_receives,json=shieldedReceives,proto3" json:"shielded_receives,omitempty"` - TransparentToAddress []byte `protobuf:"bytes,7,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` - ToAmount string `protobuf:"bytes,8,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` - Shielded_TRC20ContractAddress []byte `protobuf:"bytes,9,opt,name=shielded_TRC20_contract_address,json=shieldedTRC20ContractAddress,proto3" json:"shielded_TRC20_contract_address,omitempty"` + NoteTxs []*DecryptNotesTRC20_NoteTx `protobuf:"bytes,1,rep,name=noteTxs,proto3" json:"noteTxs,omitempty"` } -func (x *PrivateShieldedTRC20Parameters) Reset() { - *x = PrivateShieldedTRC20Parameters{} +func (x *DecryptNotesTRC20) Reset() { + *x = DecryptNotesTRC20{} if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[69] + mi := &file_api_api_proto_msgTypes[68] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *PrivateShieldedTRC20Parameters) String() string { +func (x *DecryptNotesTRC20) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PrivateShieldedTRC20Parameters) ProtoMessage() {} +func (*DecryptNotesTRC20) ProtoMessage() {} -func (x *PrivateShieldedTRC20Parameters) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[69] +func (x *DecryptNotesTRC20) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[68] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4534,92 +4621,107 @@ func (x *PrivateShieldedTRC20Parameters) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PrivateShieldedTRC20Parameters.ProtoReflect.Descriptor instead. -func (*PrivateShieldedTRC20Parameters) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{69} +// Deprecated: Use DecryptNotesTRC20.ProtoReflect.Descriptor instead. +func (*DecryptNotesTRC20) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{68} } -func (x *PrivateShieldedTRC20Parameters) GetAsk() []byte { +func (x *DecryptNotesTRC20) GetNoteTxs() []*DecryptNotesTRC20_NoteTx { if x != nil { - return x.Ask + return x.NoteTxs } return nil } -func (x *PrivateShieldedTRC20Parameters) GetNsk() []byte { - if x != nil { - return x.Nsk - } - return nil +type NfTRC20Parameters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` + Ak []byte `protobuf:"bytes,2,opt,name=ak,proto3" json:"ak,omitempty"` + Nk []byte `protobuf:"bytes,3,opt,name=nk,proto3" json:"nk,omitempty"` + Position int64 `protobuf:"varint,4,opt,name=position,proto3" json:"position,omitempty"` + Shielded_TRC20ContractAddress []byte `protobuf:"bytes,5,opt,name=shielded_TRC20_contract_address,json=shieldedTRC20ContractAddress,proto3" json:"shielded_TRC20_contract_address,omitempty"` } -func (x *PrivateShieldedTRC20Parameters) GetOvk() []byte { - if x != nil { - return x.Ovk +func (x *NfTRC20Parameters) Reset() { + *x = NfTRC20Parameters{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[69] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (x *PrivateShieldedTRC20Parameters) GetFromAmount() string { - if x != nil { - return x.FromAmount +func (x *NfTRC20Parameters) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NfTRC20Parameters) ProtoMessage() {} + +func (x *NfTRC20Parameters) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[69] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return "" + return mi.MessageOf(x) } -func (x *PrivateShieldedTRC20Parameters) GetShieldedSpends() []*SpendNoteTRC20 { +// Deprecated: Use NfTRC20Parameters.ProtoReflect.Descriptor instead. +func (*NfTRC20Parameters) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{69} +} + +func (x *NfTRC20Parameters) GetNote() *Note { if x != nil { - return x.ShieldedSpends + return x.Note } return nil } -func (x *PrivateShieldedTRC20Parameters) GetShieldedReceives() []*ReceiveNote { +func (x *NfTRC20Parameters) GetAk() []byte { if x != nil { - return x.ShieldedReceives + return x.Ak } return nil } -func (x *PrivateShieldedTRC20Parameters) GetTransparentToAddress() []byte { +func (x *NfTRC20Parameters) GetNk() []byte { if x != nil { - return x.TransparentToAddress + return x.Nk } return nil } -func (x *PrivateShieldedTRC20Parameters) GetToAmount() string { +func (x *NfTRC20Parameters) GetPosition() int64 { if x != nil { - return x.ToAmount + return x.Position } - return "" + return 0 } -func (x *PrivateShieldedTRC20Parameters) GetShielded_TRC20ContractAddress() []byte { +func (x *NfTRC20Parameters) GetShielded_TRC20ContractAddress() []byte { if x != nil { return x.Shielded_TRC20ContractAddress } return nil } -type PrivateShieldedTRC20ParametersWithoutAsk struct { +type NullifierResult struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Ak []byte `protobuf:"bytes,1,opt,name=ak,proto3" json:"ak,omitempty"` - Nsk []byte `protobuf:"bytes,2,opt,name=nsk,proto3" json:"nsk,omitempty"` - Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"` - FromAmount string `protobuf:"bytes,4,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"` - ShieldedSpends []*SpendNoteTRC20 `protobuf:"bytes,5,rep,name=shielded_spends,json=shieldedSpends,proto3" json:"shielded_spends,omitempty"` - ShieldedReceives []*ReceiveNote `protobuf:"bytes,6,rep,name=shielded_receives,json=shieldedReceives,proto3" json:"shielded_receives,omitempty"` - TransparentToAddress []byte `protobuf:"bytes,7,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` - ToAmount string `protobuf:"bytes,8,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` - Shielded_TRC20ContractAddress []byte `protobuf:"bytes,9,opt,name=shielded_TRC20_contract_address,json=shieldedTRC20ContractAddress,proto3" json:"shielded_TRC20_contract_address,omitempty"` + IsSpent bool `protobuf:"varint,1,opt,name=is_spent,json=isSpent,proto3" json:"is_spent,omitempty"` } -func (x *PrivateShieldedTRC20ParametersWithoutAsk) Reset() { - *x = PrivateShieldedTRC20ParametersWithoutAsk{} +func (x *NullifierResult) Reset() { + *x = NullifierResult{} if protoimpl.UnsafeEnabled { mi := &file_api_api_proto_msgTypes[70] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4627,13 +4729,13 @@ func (x *PrivateShieldedTRC20ParametersWithoutAsk) Reset() { } } -func (x *PrivateShieldedTRC20ParametersWithoutAsk) String() string { +func (x *NullifierResult) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PrivateShieldedTRC20ParametersWithoutAsk) ProtoMessage() {} +func (*NullifierResult) ProtoMessage() {} -func (x *PrivateShieldedTRC20ParametersWithoutAsk) ProtoReflect() protoreflect.Message { +func (x *NullifierResult) ProtoReflect() protoreflect.Message { mi := &file_api_api_proto_msgTypes[70] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4645,104 +4747,115 @@ func (x *PrivateShieldedTRC20ParametersWithoutAsk) ProtoReflect() protoreflect.M return mi.MessageOf(x) } -// Deprecated: Use PrivateShieldedTRC20ParametersWithoutAsk.ProtoReflect.Descriptor instead. -func (*PrivateShieldedTRC20ParametersWithoutAsk) Descriptor() ([]byte, []int) { +// Deprecated: Use NullifierResult.ProtoReflect.Descriptor instead. +func (*NullifierResult) Descriptor() ([]byte, []int) { return file_api_api_proto_rawDescGZIP(), []int{70} } -func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetAk() []byte { +func (x *NullifierResult) GetIsSpent() bool { if x != nil { - return x.Ak + return x.IsSpent } - return nil + return false } -func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetNsk() []byte { - if x != nil { - return x.Nsk - } - return nil -} +type ShieldedTRC20TriggerContractParameters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetOvk() []byte { - if x != nil { - return x.Ovk - } - return nil + Shielded_TRC20_Parameters *ShieldedTRC20Parameters `protobuf:"bytes,1,opt,name=shielded_TRC20_Parameters,json=shieldedTRC20Parameters,proto3" json:"shielded_TRC20_Parameters,omitempty"` + SpendAuthoritySignature []*BytesMessage `protobuf:"bytes,2,rep,name=spend_authority_signature,json=spendAuthoritySignature,proto3" json:"spend_authority_signature,omitempty"` + Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` + TransparentToAddress []byte `protobuf:"bytes,4,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` } -func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetFromAmount() string { - if x != nil { - return x.FromAmount +func (x *ShieldedTRC20TriggerContractParameters) Reset() { + *x = ShieldedTRC20TriggerContractParameters{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[71] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return "" } -func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetShieldedSpends() []*SpendNoteTRC20 { - if x != nil { - return x.ShieldedSpends - } - return nil +func (x *ShieldedTRC20TriggerContractParameters) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetShieldedReceives() []*ReceiveNote { - if x != nil { - return x.ShieldedReceives +func (*ShieldedTRC20TriggerContractParameters) ProtoMessage() {} + +func (x *ShieldedTRC20TriggerContractParameters) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[71] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShieldedTRC20TriggerContractParameters.ProtoReflect.Descriptor instead. +func (*ShieldedTRC20TriggerContractParameters) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{71} +} + +func (x *ShieldedTRC20TriggerContractParameters) GetShielded_TRC20_Parameters() *ShieldedTRC20Parameters { + if x != nil { + return x.Shielded_TRC20_Parameters } return nil } -func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetTransparentToAddress() []byte { +func (x *ShieldedTRC20TriggerContractParameters) GetSpendAuthoritySignature() []*BytesMessage { if x != nil { - return x.TransparentToAddress + return x.SpendAuthoritySignature } return nil } -func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetToAmount() string { +func (x *ShieldedTRC20TriggerContractParameters) GetAmount() string { if x != nil { - return x.ToAmount + return x.Amount } return "" } -func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetShielded_TRC20ContractAddress() []byte { +func (x *ShieldedTRC20TriggerContractParameters) GetTransparentToAddress() []byte { if x != nil { - return x.Shielded_TRC20ContractAddress + return x.TransparentToAddress } return nil } -type ShieldedTRC20Parameters struct { +type TransactionSignWeight_Result struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - SpendDescription []*core.SpendDescription `protobuf:"bytes,1,rep,name=spend_description,json=spendDescription,proto3" json:"spend_description,omitempty"` - ReceiveDescription []*core.ReceiveDescription `protobuf:"bytes,2,rep,name=receive_description,json=receiveDescription,proto3" json:"receive_description,omitempty"` - BindingSignature []byte `protobuf:"bytes,3,opt,name=binding_signature,json=bindingSignature,proto3" json:"binding_signature,omitempty"` - MessageHash []byte `protobuf:"bytes,4,opt,name=message_hash,json=messageHash,proto3" json:"message_hash,omitempty"` - TriggerContractInput string `protobuf:"bytes,5,opt,name=trigger_contract_input,json=triggerContractInput,proto3" json:"trigger_contract_input,omitempty"` - ParameterType string `protobuf:"bytes,6,opt,name=parameter_type,json=parameterType,proto3" json:"parameter_type,omitempty"` + Code TransactionSignWeight_ResultResponseCode `protobuf:"varint,1,opt,name=code,proto3,enum=protocol.TransactionSignWeight_ResultResponseCode" json:"code,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` } -func (x *ShieldedTRC20Parameters) Reset() { - *x = ShieldedTRC20Parameters{} +func (x *TransactionSignWeight_Result) Reset() { + *x = TransactionSignWeight_Result{} if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[71] + mi := &file_api_api_proto_msgTypes[76] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ShieldedTRC20Parameters) String() string { +func (x *TransactionSignWeight_Result) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ShieldedTRC20Parameters) ProtoMessage() {} +func (*TransactionSignWeight_Result) ProtoMessage() {} -func (x *ShieldedTRC20Parameters) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[71] +func (x *TransactionSignWeight_Result) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[76] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4753,84 +4866,51 @@ func (x *ShieldedTRC20Parameters) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ShieldedTRC20Parameters.ProtoReflect.Descriptor instead. -func (*ShieldedTRC20Parameters) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{71} -} - -func (x *ShieldedTRC20Parameters) GetSpendDescription() []*core.SpendDescription { - if x != nil { - return x.SpendDescription - } - return nil -} - -func (x *ShieldedTRC20Parameters) GetReceiveDescription() []*core.ReceiveDescription { - if x != nil { - return x.ReceiveDescription - } - return nil -} - -func (x *ShieldedTRC20Parameters) GetBindingSignature() []byte { - if x != nil { - return x.BindingSignature - } - return nil -} - -func (x *ShieldedTRC20Parameters) GetMessageHash() []byte { - if x != nil { - return x.MessageHash - } - return nil +// Deprecated: Use TransactionSignWeight_Result.ProtoReflect.Descriptor instead. +func (*TransactionSignWeight_Result) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{38, 0} } -func (x *ShieldedTRC20Parameters) GetTriggerContractInput() string { +func (x *TransactionSignWeight_Result) GetCode() TransactionSignWeight_ResultResponseCode { if x != nil { - return x.TriggerContractInput + return x.Code } - return "" + return TransactionSignWeight_Result_ENOUGH_PERMISSION } -func (x *ShieldedTRC20Parameters) GetParameterType() string { +func (x *TransactionSignWeight_Result) GetMessage() string { if x != nil { - return x.ParameterType + return x.Message } return "" } -type IvkDecryptTRC20Parameters struct { +type TransactionApprovedList_Result struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` - EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` - Shielded_TRC20ContractAddress []byte `protobuf:"bytes,3,opt,name=shielded_TRC20_contract_address,json=shieldedTRC20ContractAddress,proto3" json:"shielded_TRC20_contract_address,omitempty"` - Ivk []byte `protobuf:"bytes,4,opt,name=ivk,proto3" json:"ivk,omitempty"` - Ak []byte `protobuf:"bytes,5,opt,name=ak,proto3" json:"ak,omitempty"` - Nk []byte `protobuf:"bytes,6,opt,name=nk,proto3" json:"nk,omitempty"` - Events []string `protobuf:"bytes,7,rep,name=events,proto3" json:"events,omitempty"` + Code TransactionApprovedList_ResultResponseCode `protobuf:"varint,1,opt,name=code,proto3,enum=protocol.TransactionApprovedList_ResultResponseCode" json:"code,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` } -func (x *IvkDecryptTRC20Parameters) Reset() { - *x = IvkDecryptTRC20Parameters{} +func (x *TransactionApprovedList_Result) Reset() { + *x = TransactionApprovedList_Result{} if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[72] + mi := &file_api_api_proto_msgTypes[77] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *IvkDecryptTRC20Parameters) String() string { +func (x *TransactionApprovedList_Result) String() string { return protoimpl.X.MessageStringOf(x) } -func (*IvkDecryptTRC20Parameters) ProtoMessage() {} +func (*TransactionApprovedList_Result) ProtoMessage() {} -func (x *IvkDecryptTRC20Parameters) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[72] +func (x *TransactionApprovedList_Result) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[77] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4841,89 +4921,52 @@ func (x *IvkDecryptTRC20Parameters) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use IvkDecryptTRC20Parameters.ProtoReflect.Descriptor instead. -func (*IvkDecryptTRC20Parameters) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{72} -} - -func (x *IvkDecryptTRC20Parameters) GetStartBlockIndex() int64 { - if x != nil { - return x.StartBlockIndex - } - return 0 -} - -func (x *IvkDecryptTRC20Parameters) GetEndBlockIndex() int64 { - if x != nil { - return x.EndBlockIndex - } - return 0 -} - -func (x *IvkDecryptTRC20Parameters) GetShielded_TRC20ContractAddress() []byte { - if x != nil { - return x.Shielded_TRC20ContractAddress - } - return nil -} - -func (x *IvkDecryptTRC20Parameters) GetIvk() []byte { - if x != nil { - return x.Ivk - } - return nil -} - -func (x *IvkDecryptTRC20Parameters) GetAk() []byte { - if x != nil { - return x.Ak - } - return nil +// Deprecated: Use TransactionApprovedList_Result.ProtoReflect.Descriptor instead. +func (*TransactionApprovedList_Result) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{39, 0} } -func (x *IvkDecryptTRC20Parameters) GetNk() []byte { +func (x *TransactionApprovedList_Result) GetCode() TransactionApprovedList_ResultResponseCode { if x != nil { - return x.Nk + return x.Code } - return nil + return TransactionApprovedList_Result_SUCCESS } -func (x *IvkDecryptTRC20Parameters) GetEvents() []string { +func (x *TransactionApprovedList_Result) GetMessage() string { if x != nil { - return x.Events + return x.Message } - return nil + return "" } -type OvkDecryptTRC20Parameters struct { +type DecryptNotes_NoteTx struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` - EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` - Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"` - Shielded_TRC20ContractAddress []byte `protobuf:"bytes,4,opt,name=shielded_TRC20_contract_address,json=shieldedTRC20ContractAddress,proto3" json:"shielded_TRC20_contract_address,omitempty"` - Events []string `protobuf:"bytes,5,rep,name=events,proto3" json:"events,omitempty"` + Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` + Txid []byte `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"` //transaction id = sha256(transaction.rowdata) + Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` //the index of note in receive } -func (x *OvkDecryptTRC20Parameters) Reset() { - *x = OvkDecryptTRC20Parameters{} +func (x *DecryptNotes_NoteTx) Reset() { + *x = DecryptNotes_NoteTx{} if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[73] + mi := &file_api_api_proto_msgTypes[78] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *OvkDecryptTRC20Parameters) String() string { +func (x *DecryptNotes_NoteTx) String() string { return protoimpl.X.MessageStringOf(x) } -func (*OvkDecryptTRC20Parameters) ProtoMessage() {} +func (*DecryptNotes_NoteTx) ProtoMessage() {} -func (x *OvkDecryptTRC20Parameters) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[73] +func (x *DecryptNotes_NoteTx) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[78] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4934,71 +4977,60 @@ func (x *OvkDecryptTRC20Parameters) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use OvkDecryptTRC20Parameters.ProtoReflect.Descriptor instead. -func (*OvkDecryptTRC20Parameters) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{73} -} - -func (x *OvkDecryptTRC20Parameters) GetStartBlockIndex() int64 { - if x != nil { - return x.StartBlockIndex - } - return 0 -} - -func (x *OvkDecryptTRC20Parameters) GetEndBlockIndex() int64 { - if x != nil { - return x.EndBlockIndex - } - return 0 +// Deprecated: Use DecryptNotes_NoteTx.ProtoReflect.Descriptor instead. +func (*DecryptNotes_NoteTx) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{43, 0} } -func (x *OvkDecryptTRC20Parameters) GetOvk() []byte { +func (x *DecryptNotes_NoteTx) GetNote() *Note { if x != nil { - return x.Ovk + return x.Note } return nil } -func (x *OvkDecryptTRC20Parameters) GetShielded_TRC20ContractAddress() []byte { +func (x *DecryptNotes_NoteTx) GetTxid() []byte { if x != nil { - return x.Shielded_TRC20ContractAddress + return x.Txid } return nil } -func (x *OvkDecryptTRC20Parameters) GetEvents() []string { +func (x *DecryptNotes_NoteTx) GetIndex() int32 { if x != nil { - return x.Events + return x.Index } - return nil + return 0 } -type DecryptNotesTRC20 struct { +type DecryptNotesMarked_NoteTx struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - NoteTxs []*DecryptNotesTRC20_NoteTx `protobuf:"bytes,1,rep,name=noteTxs,proto3" json:"noteTxs,omitempty"` + Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` + Txid []byte `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"` //transaction id = sha256(transaction.rowdata) + Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` //the index of note in receive + IsSpend bool `protobuf:"varint,4,opt,name=is_spend,json=isSpend,proto3" json:"is_spend,omitempty"` } -func (x *DecryptNotesTRC20) Reset() { - *x = DecryptNotesTRC20{} +func (x *DecryptNotesMarked_NoteTx) Reset() { + *x = DecryptNotesMarked_NoteTx{} if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[74] + mi := &file_api_api_proto_msgTypes[79] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *DecryptNotesTRC20) String() string { +func (x *DecryptNotesMarked_NoteTx) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DecryptNotesTRC20) ProtoMessage() {} +func (*DecryptNotesMarked_NoteTx) ProtoMessage() {} -func (x *DecryptNotesTRC20) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[74] +func (x *DecryptNotesMarked_NoteTx) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[79] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5009,172 +5041,70 @@ func (x *DecryptNotesTRC20) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DecryptNotesTRC20.ProtoReflect.Descriptor instead. -func (*DecryptNotesTRC20) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{74} +// Deprecated: Use DecryptNotesMarked_NoteTx.ProtoReflect.Descriptor instead. +func (*DecryptNotesMarked_NoteTx) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{44, 0} } -func (x *DecryptNotesTRC20) GetNoteTxs() []*DecryptNotesTRC20_NoteTx { +func (x *DecryptNotesMarked_NoteTx) GetNote() *Note { if x != nil { - return x.NoteTxs + return x.Note } return nil } -type NfTRC20Parameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` - Ak []byte `protobuf:"bytes,2,opt,name=ak,proto3" json:"ak,omitempty"` - Nk []byte `protobuf:"bytes,3,opt,name=nk,proto3" json:"nk,omitempty"` - Position int64 `protobuf:"varint,4,opt,name=position,proto3" json:"position,omitempty"` - Shielded_TRC20ContractAddress []byte `protobuf:"bytes,5,opt,name=shielded_TRC20_contract_address,json=shieldedTRC20ContractAddress,proto3" json:"shielded_TRC20_contract_address,omitempty"` -} - -func (x *NfTRC20Parameters) Reset() { - *x = NfTRC20Parameters{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[75] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *NfTRC20Parameters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NfTRC20Parameters) ProtoMessage() {} - -func (x *NfTRC20Parameters) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[75] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NfTRC20Parameters.ProtoReflect.Descriptor instead. -func (*NfTRC20Parameters) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{75} -} - -func (x *NfTRC20Parameters) GetNote() *Note { - if x != nil { - return x.Note - } - return nil -} - -func (x *NfTRC20Parameters) GetAk() []byte { - if x != nil { - return x.Ak - } - return nil -} - -func (x *NfTRC20Parameters) GetNk() []byte { +func (x *DecryptNotesMarked_NoteTx) GetTxid() []byte { if x != nil { - return x.Nk + return x.Txid } return nil } -func (x *NfTRC20Parameters) GetPosition() int64 { +func (x *DecryptNotesMarked_NoteTx) GetIndex() int32 { if x != nil { - return x.Position + return x.Index } return 0 } -func (x *NfTRC20Parameters) GetShielded_TRC20ContractAddress() []byte { - if x != nil { - return x.Shielded_TRC20ContractAddress - } - return nil -} - -type NullifierResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IsSpent bool `protobuf:"varint,1,opt,name=is_spent,json=isSpent,proto3" json:"is_spent,omitempty"` -} - -func (x *NullifierResult) Reset() { - *x = NullifierResult{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[76] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *NullifierResult) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NullifierResult) ProtoMessage() {} - -func (x *NullifierResult) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[76] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NullifierResult.ProtoReflect.Descriptor instead. -func (*NullifierResult) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{76} -} - -func (x *NullifierResult) GetIsSpent() bool { +func (x *DecryptNotesMarked_NoteTx) GetIsSpend() bool { if x != nil { - return x.IsSpent + return x.IsSpend } return false } -type ShieldedTRC20TriggerContractParameters struct { +type DecryptNotesTRC20_NoteTx struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Shielded_TRC20_Parameters *ShieldedTRC20Parameters `protobuf:"bytes,1,opt,name=shielded_TRC20_Parameters,json=shieldedTRC20Parameters,proto3" json:"shielded_TRC20_Parameters,omitempty"` - SpendAuthoritySignature []*BytesMessage `protobuf:"bytes,2,rep,name=spend_authority_signature,json=spendAuthoritySignature,proto3" json:"spend_authority_signature,omitempty"` - Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` - TransparentToAddress []byte `protobuf:"bytes,4,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` + Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` + Position int64 `protobuf:"varint,2,opt,name=position,proto3" json:"position,omitempty"` + IsSpent bool `protobuf:"varint,3,opt,name=is_spent,json=isSpent,proto3" json:"is_spent,omitempty"` + Txid []byte `protobuf:"bytes,4,opt,name=txid,proto3" json:"txid,omitempty"` + Index int32 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"` //the index of note in txid + ToAmount string `protobuf:"bytes,6,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` + TransparentToAddress []byte `protobuf:"bytes,7,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` } -func (x *ShieldedTRC20TriggerContractParameters) Reset() { - *x = ShieldedTRC20TriggerContractParameters{} +func (x *DecryptNotesTRC20_NoteTx) Reset() { + *x = DecryptNotesTRC20_NoteTx{} if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[77] + mi := &file_api_api_proto_msgTypes[80] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *ShieldedTRC20TriggerContractParameters) String() string { +func (x *DecryptNotesTRC20_NoteTx) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ShieldedTRC20TriggerContractParameters) ProtoMessage() {} +func (*DecryptNotesTRC20_NoteTx) ProtoMessage() {} -func (x *ShieldedTRC20TriggerContractParameters) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[77] +func (x *DecryptNotesTRC20_NoteTx) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[80] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5185,376 +5115,58 @@ func (x *ShieldedTRC20TriggerContractParameters) ProtoReflect() protoreflect.Mes return mi.MessageOf(x) } -// Deprecated: Use ShieldedTRC20TriggerContractParameters.ProtoReflect.Descriptor instead. -func (*ShieldedTRC20TriggerContractParameters) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{77} +// Deprecated: Use DecryptNotesTRC20_NoteTx.ProtoReflect.Descriptor instead. +func (*DecryptNotesTRC20_NoteTx) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{68, 0} } -func (x *ShieldedTRC20TriggerContractParameters) GetShielded_TRC20_Parameters() *ShieldedTRC20Parameters { +func (x *DecryptNotesTRC20_NoteTx) GetNote() *Note { if x != nil { - return x.Shielded_TRC20_Parameters + return x.Note } return nil } -func (x *ShieldedTRC20TriggerContractParameters) GetSpendAuthoritySignature() []*BytesMessage { +func (x *DecryptNotesTRC20_NoteTx) GetPosition() int64 { if x != nil { - return x.SpendAuthoritySignature + return x.Position } - return nil + return 0 } -func (x *ShieldedTRC20TriggerContractParameters) GetAmount() string { +func (x *DecryptNotesTRC20_NoteTx) GetIsSpent() bool { if x != nil { - return x.Amount + return x.IsSpent } - return "" + return false } -func (x *ShieldedTRC20TriggerContractParameters) GetTransparentToAddress() []byte { +func (x *DecryptNotesTRC20_NoteTx) GetTxid() []byte { if x != nil { - return x.TransparentToAddress + return x.Txid } return nil } -type TransactionSignWeight_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Code TransactionSignWeight_ResultResponseCode `protobuf:"varint,1,opt,name=code,proto3,enum=protocol.TransactionSignWeight_ResultResponseCode" json:"code,omitempty"` - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` -} - -func (x *TransactionSignWeight_Result) Reset() { - *x = TransactionSignWeight_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[82] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TransactionSignWeight_Result) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TransactionSignWeight_Result) ProtoMessage() {} - -func (x *TransactionSignWeight_Result) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[82] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TransactionSignWeight_Result.ProtoReflect.Descriptor instead. -func (*TransactionSignWeight_Result) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{44, 0} -} - -func (x *TransactionSignWeight_Result) GetCode() TransactionSignWeight_ResultResponseCode { +func (x *DecryptNotesTRC20_NoteTx) GetIndex() int32 { if x != nil { - return x.Code + return x.Index } - return TransactionSignWeight_Result_ENOUGH_PERMISSION + return 0 } -func (x *TransactionSignWeight_Result) GetMessage() string { +func (x *DecryptNotesTRC20_NoteTx) GetToAmount() string { if x != nil { - return x.Message + return x.ToAmount } return "" } -type TransactionApprovedList_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Code TransactionApprovedList_ResultResponseCode `protobuf:"varint,1,opt,name=code,proto3,enum=protocol.TransactionApprovedList_ResultResponseCode" json:"code,omitempty"` - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` -} - -func (x *TransactionApprovedList_Result) Reset() { - *x = TransactionApprovedList_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[83] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TransactionApprovedList_Result) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TransactionApprovedList_Result) ProtoMessage() {} - -func (x *TransactionApprovedList_Result) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[83] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TransactionApprovedList_Result.ProtoReflect.Descriptor instead. -func (*TransactionApprovedList_Result) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{45, 0} -} - -func (x *TransactionApprovedList_Result) GetCode() TransactionApprovedList_ResultResponseCode { +func (x *DecryptNotesTRC20_NoteTx) GetTransparentToAddress() []byte { if x != nil { - return x.Code + return x.TransparentToAddress } - return TransactionApprovedList_Result_SUCCESS -} - -func (x *TransactionApprovedList_Result) GetMessage() string { - if x != nil { - return x.Message - } - return "" -} - -type DecryptNotes_NoteTx struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` - Txid []byte `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"` //transaction id = sha256(transaction.rowdata) - Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` //the index of note in receive -} - -func (x *DecryptNotes_NoteTx) Reset() { - *x = DecryptNotes_NoteTx{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[84] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DecryptNotes_NoteTx) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DecryptNotes_NoteTx) ProtoMessage() {} - -func (x *DecryptNotes_NoteTx) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[84] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DecryptNotes_NoteTx.ProtoReflect.Descriptor instead. -func (*DecryptNotes_NoteTx) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{49, 0} -} - -func (x *DecryptNotes_NoteTx) GetNote() *Note { - if x != nil { - return x.Note - } - return nil -} - -func (x *DecryptNotes_NoteTx) GetTxid() []byte { - if x != nil { - return x.Txid - } - return nil -} - -func (x *DecryptNotes_NoteTx) GetIndex() int32 { - if x != nil { - return x.Index - } - return 0 -} - -type DecryptNotesMarked_NoteTx struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` - Txid []byte `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"` //transaction id = sha256(transaction.rowdata) - Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` //the index of note in receive - IsSpend bool `protobuf:"varint,4,opt,name=is_spend,json=isSpend,proto3" json:"is_spend,omitempty"` -} - -func (x *DecryptNotesMarked_NoteTx) Reset() { - *x = DecryptNotesMarked_NoteTx{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[85] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DecryptNotesMarked_NoteTx) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DecryptNotesMarked_NoteTx) ProtoMessage() {} - -func (x *DecryptNotesMarked_NoteTx) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[85] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DecryptNotesMarked_NoteTx.ProtoReflect.Descriptor instead. -func (*DecryptNotesMarked_NoteTx) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{50, 0} -} - -func (x *DecryptNotesMarked_NoteTx) GetNote() *Note { - if x != nil { - return x.Note - } - return nil -} - -func (x *DecryptNotesMarked_NoteTx) GetTxid() []byte { - if x != nil { - return x.Txid - } - return nil -} - -func (x *DecryptNotesMarked_NoteTx) GetIndex() int32 { - if x != nil { - return x.Index - } - return 0 -} - -func (x *DecryptNotesMarked_NoteTx) GetIsSpend() bool { - if x != nil { - return x.IsSpend - } - return false -} - -type DecryptNotesTRC20_NoteTx struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` - Position int64 `protobuf:"varint,2,opt,name=position,proto3" json:"position,omitempty"` - IsSpent bool `protobuf:"varint,3,opt,name=is_spent,json=isSpent,proto3" json:"is_spent,omitempty"` - Txid []byte `protobuf:"bytes,4,opt,name=txid,proto3" json:"txid,omitempty"` - Index int32 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"` //the index of note in txid - ToAmount string `protobuf:"bytes,6,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` - TransparentToAddress []byte `protobuf:"bytes,7,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` -} - -func (x *DecryptNotesTRC20_NoteTx) Reset() { - *x = DecryptNotesTRC20_NoteTx{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[86] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DecryptNotesTRC20_NoteTx) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DecryptNotesTRC20_NoteTx) ProtoMessage() {} - -func (x *DecryptNotesTRC20_NoteTx) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[86] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DecryptNotesTRC20_NoteTx.ProtoReflect.Descriptor instead. -func (*DecryptNotesTRC20_NoteTx) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{74, 0} -} - -func (x *DecryptNotesTRC20_NoteTx) GetNote() *Note { - if x != nil { - return x.Note - } - return nil -} - -func (x *DecryptNotesTRC20_NoteTx) GetPosition() int64 { - if x != nil { - return x.Position - } - return 0 -} - -func (x *DecryptNotesTRC20_NoteTx) GetIsSpent() bool { - if x != nil { - return x.IsSpent - } - return false -} - -func (x *DecryptNotesTRC20_NoteTx) GetTxid() []byte { - if x != nil { - return x.Txid - } - return nil -} - -func (x *DecryptNotesTRC20_NoteTx) GetIndex() int32 { - if x != nil { - return x.Index - } - return 0 -} - -func (x *DecryptNotesTRC20_NoteTx) GetToAmount() string { - if x != nil { - return x.ToAmount - } - return "" -} - -func (x *DecryptNotesTRC20_NoteTx) GetTransparentToAddress() []byte { - if x != nil { - return x.TransparentToAddress - } - return nil + return nil } var File_api_api_proto protoreflect.FileDescriptor @@ -5564,2125 +5176,2013 @@ var file_api_api_proto_rawDesc = []byte{ 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x1a, 0x0f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x54, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x61, - 0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x63, 0x6f, 0x72, 0x65, 0x2f, - 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x77, 0x69, 0x74, - 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, - 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x1c, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, - 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, - 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x63, 0x6f, 0x72, - 0x65, 0x2f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x63, 0x6f, 0x72, 0x65, 0x2f, - 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x73, 0x6d, 0x61, 0x72, - 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x1a, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x63, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xab, 0x03, 0x0a, - 0x06, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, - 0x32, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x2e, - 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, - 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xba, 0x02, - 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x12, - 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, - 0x53, 0x49, 0x47, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x43, 0x4f, - 0x4e, 0x54, 0x52, 0x41, 0x43, 0x54, 0x5f, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x41, 0x54, 0x45, 0x5f, - 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x4f, 0x4e, 0x54, 0x52, - 0x41, 0x43, 0x54, 0x5f, 0x45, 0x58, 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x12, - 0x12, 0x0a, 0x0e, 0x42, 0x41, 0x4e, 0x44, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x45, 0x52, 0x52, 0x4f, - 0x52, 0x10, 0x04, 0x12, 0x19, 0x0a, 0x15, 0x44, 0x55, 0x50, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, - 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x05, 0x12, 0x0f, - 0x0a, 0x0b, 0x54, 0x41, 0x50, 0x4f, 0x53, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x06, 0x12, - 0x1d, 0x0a, 0x19, 0x54, 0x4f, 0x4f, 0x5f, 0x42, 0x49, 0x47, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, - 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x07, 0x12, 0x20, - 0x0a, 0x1c, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x58, - 0x50, 0x49, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x08, - 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, 0x42, 0x55, 0x53, 0x59, 0x10, - 0x09, 0x12, 0x11, 0x0a, 0x0d, 0x4e, 0x4f, 0x5f, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x49, - 0x4f, 0x4e, 0x10, 0x0a, 0x12, 0x23, 0x0a, 0x1f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, - 0x47, 0x48, 0x5f, 0x45, 0x46, 0x46, 0x45, 0x43, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x43, 0x4f, 0x4e, - 0x4e, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x0b, 0x12, 0x0f, 0x0a, 0x0b, 0x4f, 0x54, 0x48, - 0x45, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x14, 0x22, 0x4c, 0x0a, 0x0e, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09, - 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x08, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x62, - 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x22, 0x3e, 0x0a, 0x0b, 0x57, 0x69, 0x74, 0x6e, - 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x09, 0x77, 0x69, 0x74, 0x6e, 0x65, - 0x73, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x52, 0x09, 0x77, - 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x22, 0x40, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, - 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x22, 0x40, 0x0a, 0x0c, 0x45, 0x78, - 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x09, 0x65, 0x78, - 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, - 0x65, 0x52, 0x09, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, 0x4e, 0x0a, 0x0e, - 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3c, - 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, - 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x52, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x22, 0x32, 0x0a, 0x09, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x05, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, - 0x22, 0x4a, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, - 0x69, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x27, 0x0a, 0x11, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x4c, 0x69, 0x73, - 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x49, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x04, 0x74, 0x78, 0x49, 0x64, 0x22, 0x5a, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, - 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x22, 0x62, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x49, 0x0a, 0x11, 0x64, 0x65, - 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x52, 0x11, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x4e, 0x0a, 0x27, 0x47, 0x65, 0x74, 0x41, 0x76, 0x61, 0x69, - 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x40, 0x0a, 0x28, 0x47, 0x65, 0x74, 0x41, 0x76, 0x61, 0x69, - 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x5c, 0x0a, 0x21, 0x43, 0x61, 0x6e, 0x44, 0x65, - 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, - 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x3f, 0x0a, 0x22, 0x43, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, - 0x67, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6d, - 0x61, 0x78, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, - 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x6c, 0x0a, 0x27, 0x43, 0x61, 0x6e, 0x57, 0x69, 0x74, - 0x68, 0x64, 0x72, 0x61, 0x77, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, - 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, - 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 0x22, 0x42, 0x0a, 0x28, 0x43, 0x61, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x64, - 0x72, 0x61, 0x77, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x30, 0x0a, 0x08, 0x4e, 0x6f, 0x64, 0x65, - 0x4c, 0x69, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, - 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x33, 0x0a, 0x04, 0x4e, 0x6f, - 0x64, 0x65, 0x12, 0x2b, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, - 0x31, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, - 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x12, - 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, - 0x72, 0x74, 0x22, 0x0e, 0x0a, 0x0c, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x22, 0x21, 0x0a, 0x0d, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x22, 0x24, 0x0a, 0x0c, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x6d, 0x0a, 0x0b, 0x54, - 0x69, 0x6d, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x62, 0x65, - 0x67, 0x69, 0x6e, 0x49, 0x6e, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x49, 0x6e, - 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x2c, 0x0a, 0x11, - 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, - 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x4d, 0x69, - 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x22, 0x3e, 0x0a, 0x08, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x09, 0x69, 0x64, 0x5f, 0x6f, 0x72, 0x5f, - 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x69, 0x64, 0x4f, 0x72, 0x4e, - 0x75, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0x40, 0x0a, 0x0a, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x72, - 0x74, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x74, 0x61, 0x72, - 0x74, 0x4e, 0x75, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x64, 0x4e, 0x75, 0x6d, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x65, 0x6e, 0x64, 0x4e, 0x75, 0x6d, 0x22, 0x54, 0x0a, 0x10, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x6d, 0x69, 0x74, - 0x12, 0x24, 0x0a, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x4e, - 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x4e, - 0x75, 0x6d, 0x22, 0x6d, 0x0a, 0x10, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x67, - 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x12, 0x2b, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, - 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, - 0x74, 0x22, 0x7d, 0x0a, 0x14, 0x54, 0x69, 0x6d, 0x65, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, - 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x74, 0x69, 0x6d, - 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, - 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, - 0x22, 0x89, 0x04, 0x0a, 0x11, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x65, 0x74, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, - 0x74, 0x55, 0x73, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x66, 0x72, 0x65, - 0x65, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x66, 0x72, 0x65, 0x65, - 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, - 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x18, 0x0a, 0x07, - 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x4e, - 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, - 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, - 0x69, 0x74, 0x12, 0x51, 0x0a, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, - 0x65, 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x65, 0x74, 0x4d, 0x65, + 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x73, + 0x73, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x24, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x5f, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, + 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, 0x62, 0x61, + 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x25, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x63, 0x6f, 0x72, + 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x25, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x2f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x63, + 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, 0x73, 0x6d, 0x61, + 0x72, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x23, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x2f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xab, 0x03, 0x0a, 0x06, 0x52, 0x65, 0x74, 0x75, 0x72, + 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x32, 0x0a, 0x04, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, + 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xba, 0x02, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x43, + 0x43, 0x45, 0x53, 0x53, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x49, 0x47, 0x45, 0x52, 0x52, + 0x4f, 0x52, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x41, 0x43, 0x54, + 0x5f, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, + 0x02, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x41, 0x43, 0x54, 0x5f, 0x45, 0x58, + 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x42, 0x41, 0x4e, + 0x44, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, 0x12, 0x19, 0x0a, + 0x15, 0x44, 0x55, 0x50, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, + 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x05, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x41, 0x50, 0x4f, + 0x53, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x06, 0x12, 0x1d, 0x0a, 0x19, 0x54, 0x4f, 0x4f, + 0x5f, 0x42, 0x49, 0x47, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, + 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x07, 0x12, 0x20, 0x0a, 0x1c, 0x54, 0x52, 0x41, 0x4e, + 0x53, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x41, 0x54, 0x49, + 0x4f, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x08, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x45, + 0x52, 0x56, 0x45, 0x52, 0x5f, 0x42, 0x55, 0x53, 0x59, 0x10, 0x09, 0x12, 0x11, 0x0a, 0x0d, 0x4e, + 0x4f, 0x5f, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x0a, 0x12, 0x23, + 0x0a, 0x1f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x5f, 0x45, 0x46, 0x46, + 0x45, 0x43, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x49, 0x4f, + 0x4e, 0x10, 0x0b, 0x12, 0x0f, 0x0a, 0x0b, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x5f, 0x45, 0x52, 0x52, + 0x4f, 0x52, 0x10, 0x14, 0x22, 0x4c, 0x0a, 0x0e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x66, + 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, + 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x4e, 0x75, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73, + 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, + 0x73, 0x68, 0x22, 0x3e, 0x0a, 0x0b, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x2f, 0x0a, 0x09, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x52, 0x09, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, + 0x65, 0x73, 0x22, 0x40, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x30, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, + 0x73, 0x61, 0x6c, 0x73, 0x22, 0x40, 0x0a, 0x0c, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x09, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x09, 0x65, 0x78, 0x63, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, 0x4e, 0x0a, 0x0e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, + 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x65, + 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, + 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x0a, 0x61, 0x73, 0x73, 0x65, + 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x22, 0x32, 0x0a, 0x09, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x4a, 0x0a, 0x0f, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x37, 0x0a, + 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x27, 0x0a, 0x11, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, + 0x78, 0x49, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x78, 0x49, 0x64, 0x22, + 0x5a, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x66, + 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1c, 0x0a, + 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x62, 0x0a, 0x15, 0x44, + 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x49, 0x0a, 0x11, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, + 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, + 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x11, 0x64, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, + 0x4e, 0x0a, 0x27, 0x47, 0x65, 0x74, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x55, + 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, + 0x40, 0x0a, 0x28, 0x47, 0x65, 0x74, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x55, + 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x22, 0x5c, 0x0a, 0x21, 0x43, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, + 0x64, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, + 0x3f, 0x0a, 0x22, 0x43, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x4d, + 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x69, 0x7a, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, + 0x22, 0x6c, 0x0a, 0x27, 0x43, 0x61, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x55, + 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x42, + 0x0a, 0x28, 0x43, 0x61, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x55, 0x6e, 0x66, + 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, + 0x6e, 0x74, 0x22, 0x30, 0x0a, 0x08, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x24, + 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, + 0x6f, 0x64, 0x65, 0x73, 0x22, 0x33, 0x0a, 0x04, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x2b, 0x0a, 0x07, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x31, 0x0a, 0x07, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x0e, 0x0a, 0x0c, + 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x21, 0x0a, 0x0d, + 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, + 0x03, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x22, + 0x24, 0x0a, 0x0c, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x6d, 0x0a, 0x0b, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x49, 0x6e, 0x4d, + 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x13, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x49, 0x6e, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x73, + 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x4d, + 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x11, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, + 0x6f, 0x6e, 0x64, 0x73, 0x22, 0x3e, 0x0a, 0x08, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, + 0x12, 0x1a, 0x0a, 0x09, 0x69, 0x64, 0x5f, 0x6f, 0x72, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x69, 0x64, 0x4f, 0x72, 0x4e, 0x75, 0x6d, 0x12, 0x16, 0x0a, 0x06, + 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x22, 0x40, 0x0a, 0x0a, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x6d, + 0x69, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x75, 0x6d, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x75, 0x6d, 0x12, 0x16, + 0x0a, 0x06, 0x65, 0x6e, 0x64, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, + 0x65, 0x6e, 0x64, 0x4e, 0x75, 0x6d, 0x22, 0x54, 0x0a, 0x10, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, + 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x08, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x4e, 0x75, 0x6d, 0x22, 0x6d, 0x0a, 0x10, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, + 0x12, 0x2b, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, + 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, + 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x7d, 0x0a, 0x14, 0x54, + 0x69, 0x6d, 0x65, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, + 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, + 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, + 0x66, 0x73, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x89, 0x04, 0x0a, 0x11, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x65, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x55, 0x73, + 0x65, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, + 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, + 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, + 0x12, 0x1a, 0x0a, 0x08, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x08, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x51, 0x0a, 0x0c, + 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x18, 0x05, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x65, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, + 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x12, + 0x54, 0x0a, 0x0d, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, + 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x65, 0x74, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, + 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, + 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, + 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x54, 0x6f, + 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x54, + 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0e, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x57, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x1a, 0x3f, 0x0a, 0x11, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, + 0x73, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x40, 0x0a, 0x12, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, + 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xfc, 0x06, 0x0a, 0x16, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x55, + 0x73, 0x65, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x4c, 0x69, + 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x66, 0x72, 0x65, 0x65, 0x4e, + 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x4e, 0x65, 0x74, 0x55, 0x73, + 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, + 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x08, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x56, 0x0a, + 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x18, 0x05, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, - 0x74, 0x55, 0x73, 0x65, 0x64, 0x12, 0x54, 0x0a, 0x0d, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, - 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, - 0x65, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, - 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x61, 0x73, - 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x54, - 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x0d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, - 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x57, 0x65, 0x69, - 0x67, 0x68, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x54, 0x6f, 0x74, 0x61, 0x6c, - 0x4e, 0x65, 0x74, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x1a, 0x3f, 0x0a, 0x11, 0x41, 0x73, 0x73, - 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, - 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, - 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x40, 0x0a, 0x12, 0x41, 0x73, - 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, - 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xfc, 0x06, 0x0a, - 0x16, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x72, 0x65, 0x65, 0x4e, - 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x66, 0x72, - 0x65, 0x65, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x66, 0x72, 0x65, - 0x65, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0c, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x18, 0x0a, - 0x07, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, - 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x4e, 0x65, 0x74, 0x4c, 0x69, - 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x4e, 0x65, 0x74, 0x4c, 0x69, - 0x6d, 0x69, 0x74, 0x12, 0x56, 0x0a, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, - 0x73, 0x65, 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x73, 0x73, 0x65, - 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x61, - 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x12, 0x59, 0x0a, 0x0d, 0x61, - 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, - 0x69, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, - 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, - 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x54, - 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x26, 0x0a, 0x0e, - 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x08, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x57, 0x65, - 0x69, 0x67, 0x68, 0x74, 0x12, 0x32, 0x0a, 0x14, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x72, 0x6f, - 0x6e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x09, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x14, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x72, 0x6f, 0x6e, 0x50, 0x6f, 0x77, - 0x65, 0x72, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x74, 0x72, 0x6f, 0x6e, - 0x50, 0x6f, 0x77, 0x65, 0x72, 0x55, 0x73, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0d, 0x74, 0x72, 0x6f, 0x6e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x55, 0x73, 0x65, 0x64, 0x12, 0x26, - 0x0a, 0x0e, 0x74, 0x72, 0x6f, 0x6e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x6d, 0x69, 0x74, - 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x74, 0x72, 0x6f, 0x6e, 0x50, 0x6f, 0x77, 0x65, - 0x72, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, - 0x55, 0x73, 0x65, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x45, 0x6e, 0x65, 0x72, - 0x67, 0x79, 0x55, 0x73, 0x65, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, - 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x45, 0x6e, 0x65, - 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x54, 0x6f, 0x74, 0x61, - 0x6c, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x0f, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x10, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, - 0x69, 0x6d, 0x69, 0x74, 0x12, 0x2c, 0x0a, 0x11, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x6e, 0x65, - 0x72, 0x67, 0x79, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x11, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x57, 0x65, 0x69, 0x67, - 0x68, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x55, 0x73, 0x65, - 0x64, 0x18, 0x15, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, - 0x55, 0x73, 0x65, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4c, - 0x69, 0x6d, 0x69, 0x74, 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x1a, 0x3f, 0x0a, 0x11, 0x41, 0x73, 0x73, 0x65, - 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, - 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, - 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x40, 0x0a, 0x12, 0x41, 0x73, 0x73, - 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, - 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, - 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x40, 0x0a, 0x10, 0x50, - 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, - 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x6b, 0x0a, - 0x13, 0x45, 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x61, 0x73, 0x73, 0x50, 0x68, 0x72, 0x61, - 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x61, 0x73, 0x73, 0x50, 0x68, - 0x72, 0x61, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 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, 0x8a, 0x01, 0x0a, 0x18, 0x45, - 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x61, 0x73, 0x73, 0x50, - 0x68, 0x72, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x61, 0x73, - 0x73, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x6f, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x64, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, - 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x74, 0x0a, 0x1c, 0x45, 0x61, 0x73, 0x79, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x42, 0x79, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x61, - 0x74, 0x65, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x72, 0x69, - 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x6f, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 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, 0x93, 0x01, - 0x0a, 0x21, 0x45, 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, - 0x73, 0x65, 0x74, 0x42, 0x79, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, - 0x4b, 0x65, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x61, - 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x61, 0x6d, 0x6f, - 0x75, 0x6e, 0x74, 0x22, 0x8d, 0x01, 0x0a, 0x14, 0x45, 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x0b, - 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, - 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, - 0x78, 0x69, 0x64, 0x22, 0x53, 0x0a, 0x17, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x50, 0x72, - 0x4b, 0x65, 0x79, 0x50, 0x61, 0x69, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x18, - 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x69, 0x76, - 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, - 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x22, 0x85, 0x03, 0x0a, 0x14, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x37, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, - 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x12, 0x27, - 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, - 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x28, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x75, 0x73, 0x65, 0x64, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, - 0x65, 0x64, 0x12, 0x31, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4c, 0x6f, 0x67, 0x52, - 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x52, 0x0a, 0x15, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, - 0x6c, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x6e, 0x65, - 0x72, 0x67, 0x79, 0x5f, 0x70, 0x65, 0x6e, 0x61, 0x6c, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0d, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x50, 0x65, 0x6e, 0x61, 0x6c, 0x74, 0x79, - 0x22, 0x6a, 0x0a, 0x15, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, - 0x67, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x28, 0x0a, 0x06, 0x72, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x72, 0x65, - 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x65, 0x6e, - 0x65, 0x72, 0x67, 0x79, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x22, 0xa8, 0x01, 0x0a, - 0x0e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x42, 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, - 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x12, 0x38, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x61, - 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, - 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, - 0x07, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, - 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x69, 0x64, 0x22, 0x44, 0x0a, 0x12, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x0a, - 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, - 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x5c, 0x0a, - 0x18, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, - 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x0b, 0x74, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, - 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x75, 0x0a, 0x1a, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, - 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, 0x65, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, - 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, - 0x72, 0x12, 0x3f, 0x0a, 0x0a, 0x6d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, 0x65, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, - 0x6c, 0x65, 0x54, 0x72, 0x65, 0x65, 0x52, 0x0a, 0x6d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, - 0x65, 0x65, 0x22, 0xac, 0x04, 0x0a, 0x15, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x34, 0x0a, 0x0a, - 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, - 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x6c, - 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0c, 0x61, 0x70, 0x70, 0x72, 0x6f, - 0x76, 0x65, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x75, 0x72, 0x72, 0x65, - 0x6e, 0x74, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0d, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x3e, - 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, + 0x74, 0x55, 0x73, 0x65, 0x64, 0x12, 0x59, 0x0a, 0x0d, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, + 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x41, + 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x0d, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, + 0x12, 0x24, 0x0a, 0x0d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, + 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, + 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, + 0x65, 0x74, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, + 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x32, + 0x0a, 0x14, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x72, 0x6f, 0x6e, 0x50, 0x6f, 0x77, 0x65, 0x72, + 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, 0x54, 0x6f, + 0x74, 0x61, 0x6c, 0x54, 0x72, 0x6f, 0x6e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x57, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x74, 0x72, 0x6f, 0x6e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x55, + 0x73, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x6f, 0x6e, 0x50, + 0x6f, 0x77, 0x65, 0x72, 0x55, 0x73, 0x65, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x74, 0x72, 0x6f, 0x6e, + 0x50, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0e, 0x74, 0x72, 0x6f, 0x6e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x6d, 0x69, 0x74, + 0x12, 0x1e, 0x0a, 0x0a, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, 0x65, 0x64, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, 0x65, 0x64, + 0x12, 0x20, 0x0a, 0x0b, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, + 0x69, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x6e, 0x65, 0x72, 0x67, + 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x54, 0x6f, + 0x74, 0x61, 0x6c, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x2c, + 0x0a, 0x11, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x57, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x54, 0x6f, 0x74, 0x61, 0x6c, + 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x20, 0x0a, 0x0b, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x55, 0x73, 0x65, 0x64, 0x18, 0x15, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x55, 0x73, 0x65, 0x64, 0x12, 0x22, + 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x16, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x6d, + 0x69, 0x74, 0x1a, 0x3f, 0x0a, 0x11, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, + 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x1a, 0x40, 0x0a, 0x12, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, + 0x69, 0x6d, 0x69, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x40, 0x0a, 0x10, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, + 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, + 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, + 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x85, 0x03, 0x0a, 0x14, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x37, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x12, 0x27, 0x0a, + 0x0f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x28, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, 0x65, + 0x64, 0x12, 0x31, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x04, + 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x52, 0x0a, 0x15, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, + 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, + 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x14, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x6e, 0x65, 0x72, + 0x67, 0x79, 0x5f, 0x70, 0x65, 0x6e, 0x61, 0x6c, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0d, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x50, 0x65, 0x6e, 0x61, 0x6c, 0x74, 0x79, 0x22, + 0x6a, 0x0a, 0x15, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, + 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x28, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x72, 0x65, 0x71, + 0x75, 0x69, 0x72, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x65, 0x6e, 0x65, + 0x72, 0x67, 0x79, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x22, 0xa8, 0x01, 0x0a, 0x0e, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x42, + 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x38, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x61, 0x64, + 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, + 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x69, 0x64, 0x22, 0x44, 0x0a, 0x12, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, + 0x69, 0x73, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x0a, 0x05, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, + 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x5c, 0x0a, 0x18, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x45, + 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x75, 0x0a, 0x1a, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, + 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, 0x65, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, + 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, + 0x12, 0x3f, 0x0a, 0x0a, 0x6d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, 0x65, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, + 0x65, 0x54, 0x72, 0x65, 0x65, 0x52, 0x0a, 0x6d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, 0x65, + 0x65, 0x22, 0xac, 0x04, 0x0a, 0x15, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x34, 0x0a, 0x0a, 0x70, + 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0c, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, + 0x65, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, + 0x74, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, + 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x3e, 0x0a, + 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x2e, 0x52, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x40, 0x0a, + 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, + 0x8e, 0x02, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x48, 0x0a, 0x04, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, + 0x69, 0x67, 0x6e, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x52, 0x04, + 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x9f, + 0x01, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, + 0x12, 0x15, 0x0a, 0x11, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x5f, 0x50, 0x45, 0x52, 0x4d, 0x49, + 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x4e, 0x4f, 0x54, 0x5f, 0x45, + 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x5f, 0x50, 0x45, 0x52, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, + 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x49, 0x47, 0x4e, 0x41, 0x54, 0x55, 0x52, 0x45, 0x5f, + 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x19, + 0x0a, 0x15, 0x43, 0x4f, 0x4d, 0x50, 0x55, 0x54, 0x45, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, 0x53, + 0x53, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x45, 0x52, + 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, 0x12, + 0x0f, 0x0a, 0x0b, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x14, + 0x22, 0x99, 0x03, 0x0a, 0x17, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, + 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0c, 0x52, 0x0c, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x40, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, + 0x4c, 0x69, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x12, 0x40, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, + 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xd4, 0x01, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x12, 0x4a, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x2e, - 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x40, - 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x1a, 0x8e, 0x02, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x48, 0x0a, 0x04, 0x63, - 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x53, 0x69, 0x67, 0x6e, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x52, - 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, - 0x9f, 0x01, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, - 0x65, 0x12, 0x15, 0x0a, 0x11, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x5f, 0x50, 0x45, 0x52, 0x4d, - 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x4e, 0x4f, 0x54, 0x5f, - 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x5f, 0x50, 0x45, 0x52, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, - 0x4e, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x49, 0x47, 0x4e, 0x41, 0x54, 0x55, 0x52, 0x45, - 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, - 0x19, 0x0a, 0x15, 0x43, 0x4f, 0x4d, 0x50, 0x55, 0x54, 0x45, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, - 0x53, 0x53, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x45, - 0x52, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, - 0x12, 0x0f, 0x0a, 0x0b, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, - 0x14, 0x22, 0x99, 0x03, 0x0a, 0x17, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x23, 0x0a, - 0x0d, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0c, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x4c, 0x69, - 0x73, 0x74, 0x12, 0x40, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, - 0x64, 0x4c, 0x69, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x12, 0x40, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xd4, 0x01, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x12, 0x4a, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x36, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x4c, 0x69, - 0x73, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, - 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x64, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x43, 0x43, - 0x45, 0x53, 0x53, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x49, 0x47, 0x4e, 0x41, 0x54, 0x55, - 0x52, 0x45, 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, - 0x01, 0x12, 0x19, 0x0a, 0x15, 0x43, 0x4f, 0x4d, 0x50, 0x55, 0x54, 0x45, 0x5f, 0x41, 0x44, 0x44, - 0x52, 0x45, 0x53, 0x53, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, - 0x4f, 0x54, 0x48, 0x45, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x14, 0x22, 0x7c, 0x0a, - 0x14, 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x62, - 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, - 0x78, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, - 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x65, 0x6e, 0x64, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x76, 0x6b, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x69, 0x76, 0x6b, 0x22, 0xa3, 0x01, 0x0a, 0x1b, - 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x41, 0x6e, 0x64, 0x4d, 0x61, 0x72, - 0x6b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x73, - 0x74, 0x61, 0x72, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x5f, 0x62, - 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0d, 0x65, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, - 0x10, 0x0a, 0x03, 0x69, 0x76, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x69, 0x76, - 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x61, - 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x6e, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x6e, - 0x6b, 0x22, 0x7c, 0x0a, 0x14, 0x4f, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x74, 0x61, - 0x72, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x5f, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, - 0x65, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x10, 0x0a, - 0x03, 0x6f, 0x76, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, 0x22, - 0x9f, 0x01, 0x0a, 0x0c, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, - 0x12, 0x37, 0x0a, 0x07, 0x6e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, - 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x54, 0x78, - 0x52, 0x07, 0x6e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x73, 0x1a, 0x56, 0x0a, 0x06, 0x4e, 0x6f, 0x74, - 0x65, 0x54, 0x78, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, - 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, - 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, - 0x78, 0x22, 0xc6, 0x01, 0x0a, 0x12, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, - 0x65, 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x64, 0x12, 0x3d, 0x0a, 0x07, 0x6e, 0x6f, 0x74, 0x65, - 0x54, 0x78, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, - 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x64, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x52, 0x07, - 0x6e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x73, 0x1a, 0x71, 0x0a, 0x06, 0x4e, 0x6f, 0x74, 0x65, 0x54, - 0x78, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, - 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, - 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, - 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x07, 0x69, 0x73, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x22, 0x6b, 0x0a, 0x04, 0x4e, 0x6f, - 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x79, 0x6d, - 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0e, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x63, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, - 0x72, 0x63, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x22, 0x97, 0x01, 0x0a, 0x09, 0x53, 0x70, 0x65, 0x6e, - 0x64, 0x4e, 0x6f, 0x74, 0x65, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, - 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x12, - 0x3c, 0x0a, 0x07, 0x76, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x72, - 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, - 0x63, 0x68, 0x65, 0x72, 0x52, 0x07, 0x76, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x12, 0x12, 0x0a, - 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, - 0x68, 0x22, 0x31, 0x0a, 0x0b, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x65, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x4c, 0x69, 0x73, + 0x74, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x64, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x43, 0x43, 0x45, + 0x53, 0x53, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x49, 0x47, 0x4e, 0x41, 0x54, 0x55, 0x52, + 0x45, 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, + 0x12, 0x19, 0x0a, 0x15, 0x43, 0x4f, 0x4d, 0x50, 0x55, 0x54, 0x45, 0x5f, 0x41, 0x44, 0x44, 0x52, + 0x45, 0x53, 0x53, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x4f, + 0x54, 0x48, 0x45, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x14, 0x22, 0x7c, 0x0a, 0x14, + 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, + 0x74, 0x65, 0x72, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, + 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x65, 0x6e, 0x64, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x76, 0x6b, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x69, 0x76, 0x6b, 0x22, 0xa3, 0x01, 0x0a, 0x1b, 0x49, + 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x41, 0x6e, 0x64, 0x4d, 0x61, 0x72, 0x6b, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x5f, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0d, 0x65, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x10, + 0x0a, 0x03, 0x69, 0x76, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x69, 0x76, 0x6b, + 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x61, 0x6b, + 0x12, 0x0e, 0x0a, 0x02, 0x6e, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x6e, 0x6b, + 0x22, 0x7c, 0x0a, 0x14, 0x4f, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, + 0x6e, 0x64, 0x65, 0x78, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x65, + 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x10, 0x0a, 0x03, + 0x6f, 0x76, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, 0x22, 0x9f, + 0x01, 0x0a, 0x0c, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x12, + 0x37, 0x0a, 0x07, 0x6e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, + 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x52, + 0x07, 0x6e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x73, 0x1a, 0x56, 0x0a, 0x06, 0x4e, 0x6f, 0x74, 0x65, + 0x54, 0x78, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, + 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x22, 0xc6, 0x01, 0x0a, 0x12, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, + 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x64, 0x12, 0x3d, 0x0a, 0x07, 0x6e, 0x6f, 0x74, 0x65, 0x54, + 0x78, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, + 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x64, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x52, 0x07, 0x6e, + 0x6f, 0x74, 0x65, 0x54, 0x78, 0x73, 0x1a, 0x71, 0x0a, 0x06, 0x4e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, - 0x6e, 0x6f, 0x74, 0x65, 0x22, 0x93, 0x03, 0x0a, 0x11, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x38, 0x0a, 0x18, 0x74, 0x72, - 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x16, 0x74, 0x72, - 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x03, 0x61, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6e, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, - 0x6f, 0x6d, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3c, 0x0a, 0x0f, 0x73, - 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x06, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x53, 0x70, 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x0e, 0x73, 0x68, 0x69, 0x65, 0x6c, - 0x64, 0x65, 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x12, 0x42, 0x0a, 0x11, 0x73, 0x68, 0x69, - 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x18, 0x07, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x10, 0x73, 0x68, 0x69, - 0x65, 0x6c, 0x64, 0x65, 0x64, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x12, 0x34, 0x0a, - 0x16, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x5f, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x74, - 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, - 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, - 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x9b, 0x03, 0x0a, 0x1b, 0x50, - 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, - 0x57, 0x69, 0x74, 0x68, 0x6f, 0x75, 0x74, 0x41, 0x73, 0x6b, 0x12, 0x38, 0x0a, 0x18, 0x74, 0x72, - 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x16, 0x74, 0x72, - 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x02, 0x61, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x03, 0x6e, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, - 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x66, - 0x72, 0x6f, 0x6d, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3c, 0x0a, 0x0f, 0x73, 0x68, 0x69, - 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, - 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x0e, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, - 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x12, 0x42, 0x0a, 0x11, 0x73, 0x68, 0x69, 0x65, 0x6c, - 0x64, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, - 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x10, 0x73, 0x68, 0x69, 0x65, 0x6c, - 0x64, 0x65, 0x64, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x74, - 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x74, 0x72, 0x61, - 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x18, - 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x59, 0x0a, 0x16, 0x53, 0x70, 0x65, 0x6e, - 0x64, 0x41, 0x75, 0x74, 0x68, 0x53, 0x69, 0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, - 0x72, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x03, 0x61, 0x73, 0x6b, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x74, 0x78, 0x48, 0x61, 0x73, 0x68, 0x12, 0x14, 0x0a, - 0x05, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x22, 0x90, 0x01, 0x0a, 0x0c, 0x4e, 0x66, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, - 0x74, 0x65, 0x72, 0x73, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x19, + 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x07, 0x69, 0x73, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x22, 0x6b, 0x0a, 0x04, 0x4e, 0x6f, 0x74, + 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x79, 0x6d, 0x65, + 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0e, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x12, 0x10, 0x0a, 0x03, 0x72, 0x63, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x72, + 0x63, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x22, 0x97, 0x01, 0x0a, 0x09, 0x53, 0x70, 0x65, 0x6e, 0x64, + 0x4e, 0x6f, 0x74, 0x65, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, - 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x3c, 0x0a, 0x07, 0x76, 0x6f, 0x75, 0x63, - 0x68, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, - 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x52, 0x07, 0x76, - 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x02, 0x61, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x6e, 0x6b, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x02, 0x6e, 0x6b, 0x22, 0x52, 0x0a, 0x1a, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x64, - 0x65, 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x03, 0x61, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6e, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, 0x22, 0x33, 0x0a, 0x11, 0x56, 0x69, - 0x65, 0x77, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, - 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x61, 0x6b, 0x12, - 0x0e, 0x0a, 0x02, 0x6e, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x6e, 0x6b, 0x22, - 0x2d, 0x0a, 0x19, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x56, 0x69, 0x65, 0x77, 0x69, - 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, - 0x69, 0x76, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x69, 0x76, 0x6b, 0x22, 0x22, - 0x0a, 0x12, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x12, 0x0c, 0x0a, 0x01, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x01, 0x64, 0x22, 0x89, 0x01, 0x0a, 0x24, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x56, - 0x69, 0x65, 0x77, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, - 0x66, 0x69, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x35, 0x0a, 0x03, 0x69, - 0x76, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x56, 0x69, 0x65, 0x77, - 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x03, 0x69, - 0x76, 0x6b, 0x12, 0x2a, 0x0a, 0x01, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, - 0x66, 0x69, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x01, 0x64, 0x22, 0x7e, - 0x0a, 0x15, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2a, 0x0a, 0x01, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x69, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x52, 0x01, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x6b, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x03, 0x70, 0x6b, 0x44, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, - 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, - 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xd6, - 0x01, 0x0a, 0x13, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x02, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x03, 0x61, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6e, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, - 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, 0x12, 0x0e, 0x0a, 0x02, - 0x61, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x61, 0x6b, 0x12, 0x0e, 0x0a, 0x02, - 0x6e, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x6e, 0x6b, 0x12, 0x10, 0x0a, 0x03, - 0x69, 0x76, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x69, 0x76, 0x6b, 0x12, 0x0c, - 0x0a, 0x01, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x64, 0x12, 0x10, 0x0a, 0x03, - 0x70, 0x6b, 0x44, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x70, 0x6b, 0x44, 0x12, 0x27, - 0x0a, 0x0f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x7e, 0x0a, 0x0e, 0x4e, 0x6f, 0x74, 0x65, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x61, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x6e, 0x6b, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x6e, 0x6b, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x12, 0x0a, - 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, - 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x3f, 0x0a, 0x0b, 0x53, 0x70, 0x65, 0x6e, 0x64, - 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x18, - 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x5a, 0x0a, 0x13, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, - 0x43, 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, - 0x66, 0x6f, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x84, 0x01, 0x0a, 0x0e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x4e, 0x6f, - 0x74, 0x65, 0x54, 0x52, 0x43, 0x32, 0x30, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x6f, 0x73, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x22, 0x98, 0x03, 0x0a, 0x1e, - 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, - 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x10, - 0x0a, 0x03, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x61, 0x73, 0x6b, - 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6e, - 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x03, 0x6f, 0x76, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, 0x6d, 0x6f, - 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x41, - 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x41, 0x0a, 0x0f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, - 0x64, 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x4e, - 0x6f, 0x74, 0x65, 0x54, 0x52, 0x43, 0x32, 0x30, 0x52, 0x0e, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, + 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x12, 0x3c, + 0x0a, 0x07, 0x76, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x72, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, 0x63, + 0x68, 0x65, 0x72, 0x52, 0x07, 0x76, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, + 0x70, 0x61, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, + 0x22, 0x31, 0x0a, 0x0b, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x12, + 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, + 0x6f, 0x74, 0x65, 0x22, 0x93, 0x03, 0x0a, 0x11, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x38, 0x0a, 0x18, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x16, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x03, 0x61, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x03, 0x6e, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, + 0x6d, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, + 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3c, 0x0a, 0x0f, 0x73, 0x68, + 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x06, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, + 0x70, 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x0e, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x12, 0x42, 0x0a, 0x11, 0x73, 0x68, 0x69, 0x65, - 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x18, 0x06, 0x20, + 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x10, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x74, 0x72, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, - 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, - 0x45, 0x0a, 0x1f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x54, 0x52, 0x43, 0x32, - 0x30, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x1c, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, - 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xa0, 0x03, 0x0a, 0x28, 0x50, 0x72, 0x69, 0x76, 0x61, - 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x6f, 0x75, 0x74, - 0x41, 0x73, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x02, 0x61, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x03, 0x6e, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, 0x03, 0x20, 0x01, + 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x9b, 0x03, 0x0a, 0x1b, 0x50, 0x72, + 0x69, 0x76, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x57, + 0x69, 0x74, 0x68, 0x6f, 0x75, 0x74, 0x41, 0x73, 0x6b, 0x12, 0x38, 0x0a, 0x18, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x16, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x02, 0x61, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x03, 0x6e, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x5f, - 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x72, - 0x6f, 0x6d, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x41, 0x0a, 0x0f, 0x73, 0x68, 0x69, 0x65, - 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, - 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x65, 0x54, 0x52, 0x43, 0x32, 0x30, 0x52, 0x0e, 0x73, 0x68, 0x69, - 0x65, 0x6c, 0x64, 0x65, 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x12, 0x42, 0x0a, 0x11, 0x73, - 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, - 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x10, 0x73, - 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x12, - 0x34, 0x0a, 0x16, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, - 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x61, 0x6d, 0x6f, 0x75, - 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, - 0x6e, 0x74, 0x12, 0x45, 0x0a, 0x1f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x54, - 0x52, 0x43, 0x32, 0x30, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x1c, 0x73, 0x68, 0x69, - 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xde, 0x02, 0x0a, 0x17, 0x53, 0x68, - 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x47, 0x0a, 0x11, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x64, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, - 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x73, 0x70, - 0x65, 0x6e, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4d, - 0x0a, 0x13, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x44, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x72, 0x65, 0x63, 0x65, 0x69, - 0x76, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, - 0x11, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, - 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, - 0x67, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x61, 0x73, 0x68, 0x12, 0x34, 0x0a, - 0x16, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x74, - 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x49, 0x6e, - 0x70, 0x75, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x61, 0x72, - 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x22, 0x80, 0x02, 0x0a, 0x19, 0x49, - 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x72, - 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, - 0x6e, 0x64, 0x65, 0x78, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, - 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x65, - 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x45, 0x0a, 0x1f, + 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x66, 0x72, + 0x6f, 0x6d, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3c, 0x0a, 0x0f, 0x73, 0x68, 0x69, 0x65, + 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, + 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x0e, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, + 0x53, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x12, 0x42, 0x0a, 0x11, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, + 0x65, 0x64, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x63, + 0x65, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x10, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, + 0x65, 0x64, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x18, 0x0a, + 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, + 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x59, 0x0a, 0x16, 0x53, 0x70, 0x65, 0x6e, 0x64, + 0x41, 0x75, 0x74, 0x68, 0x53, 0x69, 0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, + 0x73, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, + 0x61, 0x73, 0x6b, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x74, 0x78, 0x48, 0x61, 0x73, 0x68, 0x12, 0x14, 0x0a, 0x05, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x22, 0x90, 0x01, 0x0a, 0x0c, 0x4e, 0x66, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, + 0x65, 0x72, 0x73, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, + 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x3c, 0x0a, 0x07, 0x76, 0x6f, 0x75, 0x63, 0x68, + 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, + 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x52, 0x07, 0x76, 0x6f, + 0x75, 0x63, 0x68, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x02, 0x61, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x6e, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x02, 0x6e, 0x6b, 0x22, 0x52, 0x0a, 0x1a, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x65, + 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x03, 0x61, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x03, 0x6e, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, 0x22, 0x33, 0x0a, 0x11, 0x56, 0x69, 0x65, + 0x77, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x0e, + 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x61, 0x6b, 0x12, 0x0e, + 0x0a, 0x02, 0x6e, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x6e, 0x6b, 0x22, 0x2d, + 0x0a, 0x19, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x56, 0x69, 0x65, 0x77, 0x69, 0x6e, + 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x69, + 0x76, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x69, 0x76, 0x6b, 0x22, 0x22, 0x0a, + 0x12, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x12, 0x0c, 0x0a, 0x01, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, + 0x64, 0x22, 0x89, 0x01, 0x0a, 0x24, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x56, 0x69, + 0x65, 0x77, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, + 0x69, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x35, 0x0a, 0x03, 0x69, 0x76, + 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x56, 0x69, 0x65, 0x77, 0x69, + 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x03, 0x69, 0x76, + 0x6b, 0x12, 0x2a, 0x0a, 0x01, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, + 0x69, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x01, 0x64, 0x22, 0x7e, 0x0a, + 0x15, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2a, 0x0a, 0x01, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x69, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, + 0x01, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x6b, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x03, 0x70, 0x6b, 0x44, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, + 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xd6, 0x01, + 0x0a, 0x13, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x02, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x03, 0x61, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6e, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x61, + 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x61, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x6e, + 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x6e, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x69, + 0x76, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x69, 0x76, 0x6b, 0x12, 0x0c, 0x0a, + 0x01, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x70, + 0x6b, 0x44, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x70, 0x6b, 0x44, 0x12, 0x27, 0x0a, + 0x0f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x7e, 0x0a, 0x0e, 0x4e, 0x6f, 0x74, 0x65, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x61, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x6e, 0x6b, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x6e, 0x6b, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x74, 0x78, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, + 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x3f, 0x0a, 0x0b, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x52, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x18, 0x0a, + 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x5a, 0x0a, 0x13, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x43, + 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, + 0x6f, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x6e, 0x66, 0x6f, 0x22, 0x84, 0x01, 0x0a, 0x0e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x74, + 0x65, 0x54, 0x52, 0x43, 0x32, 0x30, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, + 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x22, 0x98, 0x03, 0x0a, 0x1e, 0x50, + 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, + 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x10, 0x0a, + 0x03, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x61, 0x73, 0x6b, 0x12, + 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6e, 0x73, + 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, + 0x6f, 0x76, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, 0x6d, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x6d, + 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x41, 0x0a, 0x0f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, + 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x4e, 0x6f, + 0x74, 0x65, 0x54, 0x52, 0x43, 0x32, 0x30, 0x52, 0x0e, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, + 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x12, 0x42, 0x0a, 0x11, 0x73, 0x68, 0x69, 0x65, 0x6c, + 0x64, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, + 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x10, 0x73, 0x68, 0x69, 0x65, 0x6c, + 0x64, 0x65, 0x64, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x45, + 0x0a, 0x1f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x54, 0x52, 0x43, 0x32, 0x30, + 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x1c, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, + 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xa0, 0x03, 0x0a, 0x28, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, + 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x6f, 0x75, 0x74, 0x41, + 0x73, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, + 0x61, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x03, 0x6e, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, + 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x72, 0x6f, + 0x6d, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x41, 0x0a, 0x0f, 0x73, 0x68, 0x69, 0x65, 0x6c, + 0x64, 0x65, 0x64, 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, + 0x64, 0x4e, 0x6f, 0x74, 0x65, 0x54, 0x52, 0x43, 0x32, 0x30, 0x52, 0x0e, 0x73, 0x68, 0x69, 0x65, + 0x6c, 0x64, 0x65, 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x12, 0x42, 0x0a, 0x11, 0x73, 0x68, + 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x18, + 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x10, 0x73, 0x68, + 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x12, 0x34, + 0x0a, 0x16, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, + 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, + 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, 0x6e, + 0x74, 0x12, 0x45, 0x0a, 0x1f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x54, 0x52, + 0x43, 0x32, 0x30, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x1c, 0x73, 0x68, 0x69, 0x65, + 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xde, 0x02, 0x0a, 0x17, 0x53, 0x68, 0x69, + 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, + 0x74, 0x65, 0x72, 0x73, 0x12, 0x47, 0x0a, 0x11, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x64, 0x65, + 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, + 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x73, 0x70, 0x65, + 0x6e, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4d, 0x0a, + 0x13, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x44, 0x65, 0x73, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, + 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x11, + 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, + 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x61, 0x73, 0x68, 0x12, 0x34, 0x0a, 0x16, + 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x74, 0x72, + 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x49, 0x6e, 0x70, + 0x75, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x61, + 0x6d, 0x65, 0x74, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x22, 0x80, 0x02, 0x0a, 0x19, 0x49, 0x76, + 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, + 0x64, 0x65, 0x78, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x65, 0x6e, + 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x45, 0x0a, 0x1f, 0x73, + 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x54, 0x52, 0x43, 0x32, 0x30, 0x5f, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x1c, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, + 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x76, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x03, 0x69, 0x76, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x02, 0x61, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x6e, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x02, 0x6e, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x07, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xe0, 0x01, 0x0a, + 0x19, 0x4f, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x54, 0x52, 0x43, 0x32, 0x30, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x5f, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0d, 0x65, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x10, + 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, + 0x12, 0x45, 0x0a, 0x1f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x54, 0x52, 0x43, + 0x32, 0x30, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x1c, 0x73, 0x68, 0x69, 0x65, 0x6c, + 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, + 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, + 0xb4, 0x02, 0x0a, 0x11, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, + 0x54, 0x52, 0x43, 0x32, 0x30, 0x12, 0x3c, 0x0a, 0x07, 0x6e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x54, 0x52, + 0x43, 0x32, 0x30, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x52, 0x07, 0x6e, 0x6f, 0x74, 0x65, + 0x54, 0x78, 0x73, 0x1a, 0xe0, 0x01, 0x0a, 0x06, 0x4e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x12, 0x22, + 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, + 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19, + 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x07, 0x69, 0x73, 0x53, 0x70, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x12, 0x14, 0x0a, + 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x12, 0x34, 0x0a, 0x16, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, + 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xba, 0x01, 0x0a, 0x11, 0x4e, 0x66, 0x54, 0x52, 0x43, + 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x22, 0x0a, 0x04, + 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, + 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x61, 0x6b, + 0x12, 0x0e, 0x0a, 0x02, 0x6e, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x6e, 0x6b, + 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, 0x1f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x54, 0x52, 0x43, 0x32, 0x30, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x1c, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, + 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x1c, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x76, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x03, 0x69, 0x76, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x02, 0x61, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x6e, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x02, 0x6e, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, - 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xe0, 0x01, - 0x0a, 0x19, 0x4f, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x54, 0x52, 0x43, 0x32, - 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x73, - 0x74, 0x61, 0x72, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x5f, 0x62, - 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0d, 0x65, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, - 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, - 0x6b, 0x12, 0x45, 0x0a, 0x1f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x54, 0x52, - 0x43, 0x32, 0x30, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x1c, 0x73, 0x68, 0x69, 0x65, - 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, - 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, - 0x22, 0xb4, 0x02, 0x0a, 0x11, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, - 0x73, 0x54, 0x52, 0x43, 0x32, 0x30, 0x12, 0x3c, 0x0a, 0x07, 0x6e, 0x6f, 0x74, 0x65, 0x54, 0x78, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x54, - 0x52, 0x43, 0x32, 0x30, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x52, 0x07, 0x6e, 0x6f, 0x74, - 0x65, 0x54, 0x78, 0x73, 0x1a, 0xe0, 0x01, 0x0a, 0x06, 0x4e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x12, - 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, - 0x6f, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x07, 0x69, 0x73, 0x53, 0x70, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, - 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x12, 0x14, - 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, - 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, - 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, 0x6e, - 0x74, 0x12, 0x34, 0x0a, 0x16, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, - 0x5f, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xba, 0x01, 0x0a, 0x11, 0x4e, 0x66, 0x54, 0x52, - 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x22, 0x0a, - 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, - 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x61, - 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x6e, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x6e, - 0x6b, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, - 0x1f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x54, 0x52, 0x43, 0x32, 0x30, 0x5f, - 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x1c, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, - 0x54, 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x22, 0x2c, 0x0a, 0x0f, 0x4e, 0x75, 0x6c, 0x6c, 0x69, 0x66, 0x69, 0x65, - 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x73, 0x70, - 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x53, 0x70, 0x65, - 0x6e, 0x74, 0x22, 0xa9, 0x02, 0x0a, 0x26, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, - 0x52, 0x43, 0x32, 0x30, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x5d, 0x0a, - 0x19, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x54, 0x52, 0x43, 0x32, 0x30, 0x5f, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x68, 0x69, 0x65, - 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, - 0x65, 0x72, 0x73, 0x52, 0x17, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, - 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x52, 0x0a, 0x19, - 0x73, 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x5f, - 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x17, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x41, 0x75, - 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, - 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x16, 0x74, 0x72, 0x61, 0x6e, - 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, - 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x32, 0x90, - 0x7a, 0x0a, 0x06, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x12, 0x67, 0x0a, 0x0a, 0x47, 0x65, 0x74, - 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x33, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x22, 0x12, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, - 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x14, 0x12, 0x12, + 0x65, 0x73, 0x73, 0x22, 0x2c, 0x0a, 0x0f, 0x4e, 0x75, 0x6c, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x72, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x73, 0x70, 0x65, + 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x53, 0x70, 0x65, 0x6e, + 0x74, 0x22, 0xa9, 0x02, 0x0a, 0x26, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, + 0x43, 0x32, 0x30, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x5d, 0x0a, 0x19, + 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x54, 0x52, 0x43, 0x32, 0x30, 0x5f, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x68, 0x69, 0x65, 0x6c, + 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, + 0x72, 0x73, 0x52, 0x17, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, + 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x52, 0x0a, 0x19, 0x73, + 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x73, + 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x17, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x41, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, + 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x16, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, + 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x32, 0xbe, 0x72, + 0x0a, 0x06, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x12, 0x67, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x33, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x2d, 0x22, 0x12, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, + 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x14, 0x12, 0x12, 0x2f, + 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x12, 0x73, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, + 0x79, 0x49, 0x64, 0x12, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x3b, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x35, 0x22, 0x16, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x62, 0x79, 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x18, 0x12, 0x16, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x12, 0x73, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x42, 0x79, 0x49, 0x64, 0x12, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x3b, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x35, 0x22, 0x16, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x62, 0x79, 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x18, 0x12, - 0x16, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x62, 0x79, 0x69, 0x64, 0x12, 0x99, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1f, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x41, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x22, 0x19, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x62, 0x61, 0x6c, 0x61, - 0x6e, 0x63, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x1b, 0x12, 0x19, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x62, 0x61, 0x6c, 0x61, - 0x6e, 0x63, 0x65, 0x12, 0xa9, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x12, 0x2b, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x61, 0x6c, - 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x1a, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, - 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x22, 0x47, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x41, 0x22, 0x1c, - 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, - 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x74, 0x72, 0x61, 0x63, 0x65, 0x3a, 0x01, 0x2a, 0x5a, - 0x1e, 0x12, 0x1c, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x74, 0x72, 0x61, 0x63, 0x65, 0x12, - 0x89, 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x41, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, - 0x22, 0x19, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x01, 0x2a, 0x5a, 0x1b, - 0x12, 0x19, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x52, 0x0a, 0x12, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x32, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x66, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, - 0x88, 0x01, 0x0a, 0x14, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, - 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, - 0x6e, 0x22, 0x47, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x41, 0x22, 0x1c, 0x2f, 0x77, 0x61, 0x6c, 0x6c, - 0x65, 0x74, 0x2f, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x74, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x01, 0x2a, 0x5a, 0x1e, 0x12, 0x1c, 0x2f, 0x77, - 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x74, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x82, 0x01, 0x0a, 0x0d, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, - 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x61, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, - 0x7e, 0x0a, 0x0c, 0x53, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, - 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, - 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x37, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x22, 0x14, - 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x73, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x16, 0x12, 0x14, 0x2f, 0x77, 0x61, 0x6c, 0x6c, - 0x65, 0x74, 0x2f, 0x73, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x64, 0x12, - 0x53, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x32, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, - 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x8f, 0x01, 0x0a, 0x12, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, - 0x6e, 0x65, 0x73, 0x73, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, - 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x22, 0x1a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, - 0x65, 0x74, 0x2f, 0x76, 0x6f, 0x74, 0x65, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x61, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x1c, 0x12, 0x1a, 0x2f, 0x77, 0x61, 0x6c, - 0x6c, 0x65, 0x74, 0x2f, 0x76, 0x6f, 0x74, 0x65, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x61, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, - 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x11, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, - 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, - 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x13, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, - 0x74, 0x6e, 0x65, 0x73, 0x73, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0x12, 0x1d, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, - 0x6e, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x88, - 0x01, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, - 0x73, 0x75, 0x65, 0x12, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, - 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, - 0x22, 0x18, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x1a, 0x12, - 0x18, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x61, - 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x12, 0x53, 0x0a, 0x11, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x32, 0x12, 0x1c, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, - 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x82, - 0x01, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, - 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x6e, - 0x65, 0x73, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, - 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, - 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x77, 0x69, 0x74, 0x6e, - 0x65, 0x73, 0x73, 0x12, 0x53, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x69, 0x74, - 0x6e, 0x65, 0x73, 0x73, 0x32, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, - 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, - 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x53, 0x0a, - 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0x12, - 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, - 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x57, 0x69, 0x74, - 0x6e, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x17, - 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x53, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x32, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, - 0x0d, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x1f, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, - 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, - 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, - 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, - 0x61, 0x73, 0x73, 0x65, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, - 0x6c, 0x65, 0x74, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x61, 0x73, 0x73, 0x65, - 0x74, 0x12, 0x53, 0x0a, 0x0e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, - 0x65, 0x74, 0x32, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, - 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0xa2, 0x01, 0x0a, 0x15, 0x50, 0x61, 0x72, 0x74, 0x69, - 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, - 0x12, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x61, 0x72, 0x74, - 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, - 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x22, 0x49, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x43, 0x22, 0x1d, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, 0x61, 0x73, 0x73, - 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x1f, 0x12, 0x1d, 0x2f, 0x77, - 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, - 0x65, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x12, 0x63, 0x0a, 0x16, 0x50, - 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, - 0x73, 0x73, 0x75, 0x65, 0x32, 0x12, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, - 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, - 0x12, 0x82, 0x01, 0x0a, 0x0d, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, - 0x63, 0x65, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x46, 0x72, - 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x66, 0x72, 0x65, 0x65, - 0x7a, 0x65, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, - 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x62, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x53, 0x0a, 0x0e, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, - 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x32, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, - 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x0f, 0x46, 0x72, - 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x12, 0x21, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, - 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, - 0x22, 0x00, 0x12, 0x8a, 0x01, 0x0a, 0x0f, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, - 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, - 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x22, 0x3d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x22, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x2f, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, - 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x19, 0x12, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, - 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, - 0x57, 0x0a, 0x10, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, - 0x63, 0x65, 0x32, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, - 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, - 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x11, 0x55, 0x6e, 0x66, 0x72, - 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x12, 0x23, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, - 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, - 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x0d, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, - 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, - 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x61, 0x73, 0x73, 0x65, 0x74, 0x3a, 0x01, 0x2a, - 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x6e, 0x66, 0x72, - 0x65, 0x65, 0x7a, 0x65, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x53, 0x0a, 0x0e, 0x55, 0x6e, 0x66, - 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x32, 0x12, 0x1f, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, - 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x8a, - 0x01, 0x0a, 0x0f, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, - 0x63, 0x65, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, - 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3d, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x37, 0x22, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x77, 0x69, - 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x01, 0x2a, - 0x5a, 0x19, 0x12, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x77, 0x69, 0x74, 0x68, - 0x64, 0x72, 0x61, 0x77, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x57, 0x0a, 0x10, 0x57, - 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x32, 0x12, - 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x68, 0x64, - 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, - 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x16, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, - 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x12, 0x28, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, - 0x61, 0x77, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, - 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x10, 0x44, 0x65, - 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x22, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, - 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, - 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5c, 0x0a, 0x12, 0x55, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, - 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x24, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, - 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, - 0x22, 0x00, 0x12, 0x7a, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, - 0x74, 0x12, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x6e, 0x74, 0x62, 0x79, 0x69, 0x64, 0x12, 0x99, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, + 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x41, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x22, 0x19, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, + 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x62, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x1b, 0x12, 0x19, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, + 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x62, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x12, 0xa9, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, + 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x12, 0x2b, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x61, 0x6c, 0x61, + 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x1a, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, + 0x54, 0x72, 0x61, 0x63, 0x65, 0x22, 0x47, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x41, 0x22, 0x1c, 0x2f, + 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, + 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x74, 0x72, 0x61, 0x63, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x1e, + 0x12, 0x1c, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x74, 0x72, 0x61, 0x63, 0x65, 0x12, 0x89, + 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x35, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x22, - 0x13, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x61, - 0x73, 0x73, 0x65, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x15, 0x12, 0x13, 0x2f, 0x77, 0x61, 0x6c, 0x6c, - 0x65, 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x4f, - 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x32, 0x12, 0x1d, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x41, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x22, + 0x19, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x01, 0x2a, 0x5a, 0x1b, 0x12, + 0x19, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x52, 0x0a, 0x12, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x32, + 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x66, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x88, + 0x01, 0x0a, 0x14, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x10, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, + 0x22, 0x47, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x41, 0x22, 0x1c, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, + 0x74, 0x2f, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x01, 0x2a, 0x5a, 0x1e, 0x12, 0x1c, 0x2f, 0x77, 0x61, + 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x82, 0x01, 0x0a, 0x0d, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, + 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x61, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, + 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x7e, + 0x0a, 0x0c, 0x53, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x37, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x22, 0x14, 0x2f, + 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x73, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x16, 0x12, 0x14, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, + 0x74, 0x2f, 0x73, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x64, 0x12, 0x53, + 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x32, + 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0x00, 0x12, 0x8f, 0x01, 0x0a, 0x12, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, + 0x65, 0x73, 0x73, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, + 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x22, 0x1a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, + 0x74, 0x2f, 0x76, 0x6f, 0x74, 0x65, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x61, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x1c, 0x12, 0x1a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x2f, 0x76, 0x6f, 0x74, 0x65, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x61, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, + 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, + 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x11, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, - 0x54, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x12, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, - 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, - 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, - 0x6c, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x41, 0x70, 0x70, 0x72, - 0x6f, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, + 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x13, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, + 0x6e, 0x65, 0x73, 0x73, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0x12, 0x1d, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, + 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x54, 0x0a, - 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, - 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, - 0x73, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, - 0x6e, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x0a, 0x42, 0x75, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x12, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x75, 0x79, - 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, + 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x88, 0x01, + 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, + 0x75, 0x65, 0x12, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, + 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x22, + 0x18, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x61, + 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x1a, 0x12, 0x18, + 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x61, 0x73, + 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x12, 0x53, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x32, 0x12, 0x1c, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, + 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x82, 0x01, + 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, + 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, + 0x73, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, + 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x77, + 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, + 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x77, 0x69, 0x74, 0x6e, 0x65, + 0x73, 0x73, 0x12, 0x53, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, + 0x65, 0x73, 0x73, 0x32, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, + 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x53, 0x0a, 0x0e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0x12, 0x1f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, - 0x00, 0x12, 0x56, 0x0a, 0x0f, 0x42, 0x75, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x42, - 0x79, 0x74, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x42, 0x75, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, - 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x0b, 0x53, 0x65, 0x6c, - 0x6c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x65, 0x6c, 0x6c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, - 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x54, 0x0a, 0x0e, 0x45, 0x78, 0x63, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x20, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, - 0x54, 0x0a, 0x0e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x6a, 0x65, 0x63, - 0x74, 0x12, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x00, 0x12, 0x82, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, + 0x65, 0x73, 0x73, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, + 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, + 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x77, + 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x53, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x32, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x0d, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x1f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, + 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, + 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x61, + 0x73, 0x73, 0x65, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x61, 0x73, 0x73, 0x65, 0x74, + 0x12, 0x53, 0x0a, 0x0e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, + 0x74, 0x32, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, - 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x10, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, - 0x65, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x12, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x57, 0x69, 0x74, - 0x68, 0x64, 0x72, 0x61, 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, - 0x5e, 0x0a, 0x13, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, + 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0xa2, 0x01, 0x0a, 0x15, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, + 0x69, 0x70, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x12, + 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, + 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, + 0x49, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x43, 0x22, 0x1d, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, + 0x2f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, 0x61, 0x73, 0x73, 0x65, + 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x1f, 0x12, 0x1d, 0x2f, 0x77, 0x61, + 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, + 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x12, 0x63, 0x0a, 0x16, 0x50, 0x61, + 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, + 0x73, 0x75, 0x65, 0x32, 0x12, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, + 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, - 0x56, 0x0a, 0x0f, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x6c, 0x41, 0x73, 0x73, - 0x65, 0x74, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, - 0x72, 0x6b, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x6c, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, + 0x82, 0x01, 0x0a, 0x0d, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x46, 0x72, 0x65, + 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x66, 0x72, 0x65, 0x65, 0x7a, + 0x65, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, + 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x62, 0x61, 0x6c, + 0x61, 0x6e, 0x63, 0x65, 0x12, 0x53, 0x0a, 0x0e, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, + 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x32, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, + 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x0f, 0x46, 0x72, 0x65, + 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x12, 0x21, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, + 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, + 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, + 0x00, 0x12, 0x8a, 0x01, 0x0a, 0x0f, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, + 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, + 0x3d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x22, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, + 0x2f, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, + 0x3a, 0x01, 0x2a, 0x5a, 0x19, 0x12, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, + 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x57, + 0x0a, 0x10, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x32, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x6e, + 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, - 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x11, 0x4d, 0x61, 0x72, 0x6b, 0x65, - 0x74, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x23, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x43, 0x61, - 0x6e, 0x63, 0x65, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x11, 0x55, 0x6e, 0x66, 0x72, 0x65, + 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x12, 0x23, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, + 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, - 0x6e, 0x22, 0x00, 0x12, 0x45, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, - 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, - 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x17, 0x47, 0x65, - 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x41, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x19, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, - 0x72, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x14, 0x47, 0x65, - 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x42, 0x79, 0x50, 0x61, - 0x69, 0x72, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, - 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x1a, 0x19, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, - 0x72, 0x69, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x18, 0x47, 0x65, - 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, - 0x42, 0x79, 0x50, 0x61, 0x69, 0x72, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, - 0x72, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, - 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x4c, - 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x61, 0x69, 0x72, 0x4c, - 0x69, 0x73, 0x74, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, - 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1d, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, - 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x09, - 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x1a, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, - 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x22, 0x11, 0x2f, - 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x6e, 0x6f, 0x64, 0x65, 0x73, - 0x3a, 0x01, 0x2a, 0x5a, 0x13, 0x12, 0x11, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, - 0x69, 0x73, 0x74, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x92, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, - 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x42, 0x79, 0x41, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x12, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, - 0x22, 0x4b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x22, 0x1e, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x62, - 0x79, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x20, 0x12, 0x1e, 0x2f, - 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, - 0x73, 0x73, 0x75, 0x65, 0x62, 0x79, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x7a, 0x0a, - 0x0d, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x65, 0x74, 0x12, 0x11, + 0x6e, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x0d, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, + 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, + 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x61, 0x73, 0x73, 0x65, 0x74, 0x3a, 0x01, 0x2a, 0x5a, + 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x6e, 0x66, 0x72, 0x65, + 0x65, 0x7a, 0x65, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x53, 0x0a, 0x0e, 0x55, 0x6e, 0x66, 0x72, + 0x65, 0x65, 0x7a, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x32, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x73, + 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x8a, 0x01, + 0x0a, 0x0f, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, + 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3d, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x37, 0x22, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x77, 0x69, 0x74, + 0x68, 0x64, 0x72, 0x61, 0x77, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x01, 0x2a, 0x5a, + 0x19, 0x12, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x77, 0x69, 0x74, 0x68, 0x64, + 0x72, 0x61, 0x77, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x57, 0x0a, 0x10, 0x57, 0x69, + 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x32, 0x12, 0x21, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, + 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x16, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x45, + 0x78, 0x70, 0x69, 0x72, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x12, 0x28, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, + 0x77, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, + 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x10, 0x44, 0x65, 0x6c, + 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x22, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0x00, 0x12, 0x5c, 0x0a, 0x12, 0x55, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, + 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, + 0x00, 0x12, 0x5e, 0x0a, 0x13, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x6c, 0x6c, 0x55, 0x6e, + 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x12, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x6c, 0x6c, 0x55, 0x6e, 0x66, + 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, + 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, + 0x00, 0x12, 0x7a, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, + 0x12, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, + 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x35, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x22, 0x13, + 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x61, 0x73, + 0x73, 0x65, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x15, 0x12, 0x13, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, + 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x4f, 0x0a, + 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x32, 0x12, 0x1d, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, + 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x54, + 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x12, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, + 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x41, 0x70, 0x70, 0x72, 0x6f, + 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x54, 0x0a, 0x0e, + 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x20, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x0a, 0x42, 0x75, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x12, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x75, 0x79, 0x53, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, + 0x12, 0x56, 0x0a, 0x0f, 0x42, 0x75, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x42, 0x79, + 0x74, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, + 0x75, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, + 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x0b, 0x53, 0x65, 0x6c, 0x6c, + 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x53, 0x65, 0x6c, 0x6c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, + 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x54, 0x0a, 0x0e, 0x45, 0x78, 0x63, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x20, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x54, + 0x0a, 0x0e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, + 0x12, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, + 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x10, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x12, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x57, 0x69, 0x74, 0x68, + 0x64, 0x72, 0x61, 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5e, + 0x0a, 0x13, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x56, + 0x0a, 0x0f, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x6c, 0x41, 0x73, 0x73, 0x65, + 0x74, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, + 0x6b, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x6c, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x11, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, + 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x23, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x43, 0x61, 0x6e, + 0x63, 0x65, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x00, 0x12, 0x45, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, + 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, + 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x17, 0x47, 0x65, 0x74, + 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x19, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, + 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x14, 0x47, 0x65, 0x74, + 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x42, 0x79, 0x50, 0x61, 0x69, + 0x72, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, + 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x1a, 0x19, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, + 0x69, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x18, 0x47, 0x65, 0x74, + 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x42, + 0x79, 0x50, 0x61, 0x69, 0x72, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, + 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, + 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x4c, 0x0a, + 0x11, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x61, 0x69, 0x72, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, + 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1d, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, + 0x72, 0x50, 0x61, 0x69, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x09, 0x4c, + 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x1a, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, + 0x4c, 0x69, 0x73, 0x74, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x22, 0x11, 0x2f, 0x77, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x3a, + 0x01, 0x2a, 0x5a, 0x13, 0x12, 0x11, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, 0x69, + 0x73, 0x74, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x92, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x41, + 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x42, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x12, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, + 0x4b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x22, 0x1e, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, + 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x62, 0x79, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x20, 0x12, 0x1e, 0x2f, 0x77, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, + 0x73, 0x75, 0x65, 0x62, 0x79, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x7a, 0x0a, 0x0d, + 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x65, 0x74, 0x12, 0x11, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x1a, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x4e, 0x65, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x39, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, + 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x6e, 0x65, 0x74, 0x3a, 0x01, 0x2a, 0x5a, + 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x6e, 0x65, 0x74, 0x12, 0x4b, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x1a, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x65, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x39, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, - 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x6e, 0x65, 0x74, 0x3a, 0x01, 0x2a, - 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x6e, 0x65, 0x74, 0x12, 0x4b, 0x0a, 0x12, 0x47, 0x65, 0x74, - 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, - 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x1a, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x92, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x73, - 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, + 0x74, 0x1a, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x92, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, + 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x22, 0x45, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x22, 0x1b, 0x2f, 0x77, 0x61, + 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, + 0x75, 0x65, 0x62, 0x79, 0x6e, 0x61, 0x6d, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x1d, 0x12, 0x1b, 0x2f, + 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, + 0x73, 0x73, 0x75, 0x65, 0x62, 0x79, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4d, 0x0a, 0x17, 0x47, 0x65, + 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x42, + 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, + 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x11, 0x47, 0x65, 0x74, + 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x22, 0x45, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x22, 0x1b, 0x2f, 0x77, - 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, - 0x73, 0x75, 0x65, 0x62, 0x79, 0x6e, 0x61, 0x6d, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x1d, 0x12, 0x1b, - 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, - 0x69, 0x73, 0x73, 0x75, 0x65, 0x62, 0x79, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4d, 0x0a, 0x17, 0x47, - 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, - 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, - 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x11, 0x47, 0x65, - 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x42, 0x79, 0x49, 0x64, 0x12, - 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4e, 0x6f, - 0x77, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x0f, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, - 0x35, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x22, 0x13, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, - 0x2f, 0x67, 0x65, 0x74, 0x6e, 0x6f, 0x77, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x3a, 0x01, 0x2a, 0x5a, - 0x15, 0x12, 0x13, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x6e, 0x6f, - 0x77, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x42, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x77, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x32, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, - 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x74, 0x0a, 0x0d, 0x47, 0x65, - 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, - 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, - 0x79, 0x6e, 0x75, 0x6d, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, - 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6e, 0x75, 0x6d, - 0x12, 0x45, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4e, 0x75, - 0x6d, 0x32, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, - 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, - 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, - 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x0c, - 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x37, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x22, 0x14, 0x2f, - 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, - 0x79, 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x16, 0x12, 0x14, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x69, 0x64, 0x12, 0x87, - 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4c, 0x69, 0x6d, - 0x69, 0x74, 0x4e, 0x65, 0x78, 0x74, 0x12, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x1a, 0x13, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x73, - 0x74, 0x22, 0x45, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x22, 0x1b, 0x2f, 0x77, 0x61, 0x6c, 0x6c, - 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6c, 0x69, 0x6d, - 0x69, 0x74, 0x6e, 0x65, 0x78, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x1d, 0x12, 0x1b, 0x2f, 0x77, 0x61, - 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6c, - 0x69, 0x6d, 0x69, 0x74, 0x6e, 0x65, 0x78, 0x74, 0x12, 0x4c, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4e, 0x65, 0x78, 0x74, 0x32, - 0x12, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, - 0x6b, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, - 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x8a, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x4e, 0x75, 0x6d, 0x12, 0x17, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x45, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x3f, 0x22, 0x1b, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, - 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x6e, 0x75, - 0x6d, 0x3a, 0x01, 0x2a, 0x5a, 0x1d, 0x12, 0x1b, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, - 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, - 0x6e, 0x75, 0x6d, 0x12, 0x4f, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, - 0x79, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x4e, 0x75, 0x6d, 0x32, 0x12, 0x17, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, - 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x88, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, + 0x72, 0x61, 0x63, 0x74, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x77, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x35, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x22, 0x13, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, + 0x67, 0x65, 0x74, 0x6e, 0x6f, 0x77, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x3a, 0x01, 0x2a, 0x5a, 0x15, + 0x12, 0x13, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x6e, 0x6f, 0x77, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x42, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x77, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x32, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, + 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x74, 0x0a, 0x0d, 0x47, 0x65, 0x74, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, + 0x6e, 0x75, 0x6d, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, + 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6e, 0x75, 0x6d, 0x12, + 0x45, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4e, 0x75, 0x6d, + 0x32, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, + 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, 0x6e, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, + 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x0c, 0x47, + 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x3d, 0x22, 0x1a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x74, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x79, 0x69, 0x64, 0x3a, 0x01, - 0x2a, 0x5a, 0x1c, 0x12, 0x1a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, - 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x79, 0x69, 0x64, 0x12, - 0x51, 0x0a, 0x0e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x12, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, - 0x22, 0x00, 0x12, 0x40, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, - 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, - 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x57, 0x72, 0x61, 0x70, - 0x70, 0x65, 0x72, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x0f, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x37, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x22, 0x14, 0x2f, 0x77, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, + 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x16, 0x12, 0x14, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, + 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x69, 0x64, 0x12, 0x87, 0x01, + 0x0a, 0x13, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4c, 0x69, 0x6d, 0x69, + 0x74, 0x4e, 0x65, 0x78, 0x74, 0x12, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x1a, 0x13, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, + 0x22, 0x45, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x22, 0x1b, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, + 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6c, 0x69, 0x6d, 0x69, + 0x74, 0x6e, 0x65, 0x78, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x1d, 0x12, 0x1b, 0x2f, 0x77, 0x61, 0x6c, + 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6c, 0x69, + 0x6d, 0x69, 0x74, 0x6e, 0x65, 0x78, 0x74, 0x12, 0x4c, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4e, 0x65, 0x78, 0x74, 0x32, 0x12, + 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, + 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x8a, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x42, 0x79, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x45, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x3f, 0x22, 0x1b, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x6e, 0x75, 0x6d, + 0x3a, 0x01, 0x2a, 0x5a, 0x1d, 0x12, 0x1b, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, + 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x6e, + 0x75, 0x6d, 0x12, 0x4f, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, + 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x4e, 0x75, 0x6d, 0x32, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0x00, 0x12, 0x88, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x3d, 0x22, 0x1a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x79, 0x69, 0x64, 0x3a, 0x01, 0x2a, + 0x5a, 0x1c, 0x12, 0x1a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x79, 0x69, 0x64, 0x12, 0x51, + 0x0a, 0x0e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x12, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, + 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, + 0x00, 0x12, 0x40, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, + 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x22, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x57, 0x72, 0x61, 0x70, 0x70, + 0x65, 0x72, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x0f, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, + 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x17, 0x54, 0x72, 0x69, + 0x67, 0x67, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x0e, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, + 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, 0x74, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, - 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x17, 0x54, 0x72, - 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, - 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x0e, 0x45, 0x73, 0x74, 0x69, 0x6d, - 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, - 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, - 0x72, 0x67, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x10, - 0x43, 0x6c, 0x65, 0x61, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x42, 0x49, - 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x6c, 0x65, 0x61, - 0x72, 0x41, 0x42, 0x49, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x79, - 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, - 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x39, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, - 0x6c, 0x69, 0x73, 0x74, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x3a, 0x01, 0x2a, - 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, 0x69, 0x73, 0x74, - 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x5d, 0x0a, 0x14, 0x47, 0x65, 0x74, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, + 0x67, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x10, 0x43, + 0x6c, 0x65, 0x61, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x42, 0x49, 0x12, + 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x72, + 0x41, 0x42, 0x49, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x79, 0x0a, + 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x16, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x39, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, + 0x69, 0x73, 0x74, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x3a, 0x01, 0x2a, 0x5a, + 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x77, + 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x5d, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x44, + 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x12, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, + 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x12, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x5f, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x44, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, + 0x32, 0x12, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x5f, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x44, + 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x65, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x56, 0x32, 0x12, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, - 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x65, 0x0a, 0x20, 0x47, 0x65, 0x74, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x16, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x1a, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x16, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x00, - 0x12, 0x67, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, - 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, - 0x6e, 0x64, 0x65, 0x78, 0x56, 0x32, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x27, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, - 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x00, 0x12, 0x75, 0x0a, 0x16, 0x47, 0x65, 0x74, - 0x43, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x61, 0x78, 0x53, - 0x69, 0x7a, 0x65, 0x12, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, + 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x00, 0x12, + 0x67, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, + 0x64, 0x65, 0x78, 0x56, 0x32, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x27, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, + 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x00, 0x12, 0x75, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x61, 0x78, 0x53, 0x69, - 0x7a, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x1a, 0x2c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x61, 0x6e, 0x44, - 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x52, + 0x7a, 0x65, 0x12, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x61, + 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, + 0x2c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x61, 0x6e, 0x44, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, + 0x84, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, + 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x31, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x76, 0x61, 0x69, + 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x1a, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x41, + 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x87, 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x43, 0x61, + 0x6e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, + 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x43, 0x61, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x55, 0x6e, + 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x32, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x61, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, + 0x77, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, - 0x12, 0x84, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, - 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x31, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x76, 0x61, - 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, - 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x1a, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, - 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, - 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x87, 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x43, - 0x61, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, - 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x61, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x55, - 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x32, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x61, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, - 0x61, 0x77, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, - 0x00, 0x12, 0x7a, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, - 0x6c, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, - 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x4c, 0x69, - 0x73, 0x74, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, - 0x6c, 0x65, 0x74, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, - 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, - 0x6c, 0x69, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x9f, 0x01, - 0x0a, 0x18, 0x47, 0x65, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x50, 0x72, - 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x4f, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x49, 0x22, 0x20, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, - 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x70, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x6c, 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x22, 0x12, 0x20, 0x2f, - 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, - 0x74, 0x65, 0x64, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x6c, 0x69, 0x73, 0x74, 0x12, - 0x7c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x42, 0x79, - 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, - 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x12, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x22, 0x3d, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x22, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, - 0x67, 0x65, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x62, 0x79, 0x69, 0x64, 0x3a, - 0x01, 0x2a, 0x5a, 0x19, 0x12, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, - 0x74, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x62, 0x79, 0x69, 0x64, 0x12, 0x7a, 0x0a, - 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x16, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x39, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, - 0x6c, 0x69, 0x73, 0x74, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x3a, 0x01, 0x2a, - 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, 0x69, 0x73, 0x74, - 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x9f, 0x01, 0x0a, 0x18, 0x47, 0x65, - 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, - 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, - 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x4f, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x49, 0x22, 0x20, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x70, - 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x6c, 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x22, 0x12, 0x20, 0x2f, 0x77, 0x61, 0x6c, 0x6c, - 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x65, - 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x7c, 0x0a, 0x0f, 0x47, - 0x65, 0x74, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x22, 0x3d, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x37, 0x22, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x65, - 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x62, 0x79, 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x19, - 0x12, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x65, 0x78, 0x63, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x62, 0x79, 0x69, 0x64, 0x12, 0x8c, 0x01, 0x0a, 0x12, 0x47, 0x65, - 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, - 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, - 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, - 0x65, 0x72, 0x73, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x22, 0x1a, 0x2f, 0x77, 0x61, - 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x70, 0x61, 0x72, - 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x1c, 0x12, 0x1a, 0x2f, 0x77, - 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x70, 0x61, - 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x88, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, - 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, - 0x22, 0x41, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x22, 0x19, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, - 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x1b, 0x12, 0x19, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, - 0x69, 0x73, 0x74, 0x12, 0xa7, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, - 0x61, 0x74, 0x65, 0x64, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, - 0x73, 0x74, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x61, - 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, - 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x53, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4d, - 0x22, 0x22, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, - 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, - 0x6c, 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x24, 0x12, 0x22, 0x2f, 0x77, 0x61, 0x6c, 0x6c, - 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x61, - 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x84, 0x01, - 0x0a, 0x10, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, - 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x22, 0x18, 0x2f, 0x77, 0x61, - 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x01, 0x2a, 0x5a, 0x1a, 0x12, 0x18, 0x2f, 0x77, 0x61, 0x6c, - 0x6c, 0x65, 0x74, 0x2f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x96, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x78, 0x74, - 0x4d, 0x61, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x12, 0x7a, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, + 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x4c, 0x69, 0x73, + 0x74, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, + 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, + 0x69, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x9f, 0x01, 0x0a, + 0x18, 0x47, 0x65, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x50, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x4f, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x49, 0x22, 0x20, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, + 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x70, 0x72, 0x6f, 0x70, 0x6f, + 0x73, 0x61, 0x6c, 0x6c, 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x22, 0x12, 0x20, 0x2f, 0x77, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, + 0x65, 0x64, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x7c, + 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x42, 0x79, 0x49, + 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, + 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x22, 0x3d, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x22, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, + 0x65, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x62, 0x79, 0x69, 0x64, 0x3a, 0x01, + 0x2a, 0x5a, 0x19, 0x12, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, + 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x62, 0x79, 0x69, 0x64, 0x12, 0x7a, 0x0a, 0x0d, + 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x16, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x39, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, + 0x69, 0x73, 0x74, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x3a, 0x01, 0x2a, 0x5a, + 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x65, + 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x9f, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, + 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x4f, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x49, 0x22, 0x20, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, + 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, + 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x22, 0x12, 0x20, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, + 0x74, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x65, 0x78, + 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x7c, 0x0a, 0x0f, 0x47, 0x65, + 0x74, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x22, 0x3d, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x37, 0x22, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x65, 0x78, + 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x62, 0x79, 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x19, 0x12, + 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x65, 0x78, 0x63, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x62, 0x79, 0x69, 0x64, 0x12, 0x8c, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, + 0x43, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x22, 0x4b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x22, 0x1e, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x2f, 0x67, 0x65, 0x74, 0x6e, 0x65, 0x78, 0x74, 0x6d, 0x61, 0x69, 0x6e, 0x74, 0x65, 0x6e, - 0x61, 0x6e, 0x63, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x20, 0x12, 0x1e, 0x2f, - 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x6e, 0x65, 0x78, 0x74, 0x6d, 0x61, - 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x8b, 0x01, - 0x0a, 0x12, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x53, 0x69, 0x67, 0x6e, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x1a, - 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x22, 0x1a, - 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x69, 0x67, 0x6e, 0x3a, 0x01, 0x2a, 0x5a, 0x1c, 0x12, - 0x1a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x69, 0x67, 0x6e, 0x12, 0x52, 0x0a, 0x13, 0x47, - 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, - 0x6e, 0x32, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x1a, 0x1e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, - 0x7a, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, - 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x3a, - 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x59, 0x0a, 0x11, 0x45, - 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, - 0x12, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x61, 0x73, 0x79, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x45, 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6b, 0x0a, 0x1a, 0x45, 0x61, 0x73, 0x79, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x42, 0x79, 0x50, 0x72, 0x69, - 0x76, 0x61, 0x74, 0x65, 0x12, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x45, 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, - 0x74, 0x42, 0x79, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x61, 0x73, - 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x86, 0x01, 0x0a, 0x0c, 0x45, 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x66, 0x65, 0x72, 0x12, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x45, 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, - 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x37, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x22, 0x14, 0x2f, 0x77, 0x61, - 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x65, 0x61, 0x73, 0x79, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, - 0x72, 0x3a, 0x01, 0x2a, 0x5a, 0x16, 0x12, 0x14, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, - 0x65, 0x61, 0x73, 0x79, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0xaa, 0x01, 0x0a, - 0x15, 0x45, 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x42, 0x79, 0x50, - 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x26, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x45, 0x61, 0x73, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x42, 0x79, - 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x61, 0x73, 0x79, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x49, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x43, 0x22, 0x1d, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, - 0x65, 0x61, 0x73, 0x79, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x62, 0x79, 0x70, 0x72, - 0x69, 0x76, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x1f, 0x12, 0x1d, 0x2f, 0x77, 0x61, 0x6c, - 0x6c, 0x65, 0x74, 0x2f, 0x65, 0x61, 0x73, 0x79, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, - 0x62, 0x79, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x8b, 0x01, 0x0a, 0x0f, 0x47, 0x65, - 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x2e, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, + 0x72, 0x73, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x22, 0x1a, 0x2f, 0x77, 0x61, 0x6c, + 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x70, 0x61, 0x72, 0x61, + 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x1c, 0x12, 0x1a, 0x2f, 0x77, 0x61, + 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x88, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, + 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x50, 0x72, 0x4b, 0x65, 0x79, 0x50, 0x61, 0x69, - 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x3d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, - 0x22, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, - 0x74, 0x65, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x19, 0x12, 0x17, - 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x98, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x79, - 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, - 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x4b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x22, 0x1e, 0x2f, - 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x66, 0x6f, 0x62, 0x79, 0x69, 0x64, 0x3a, 0x01, 0x2a, - 0x5a, 0x20, 0x12, 0x1e, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x74, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, + 0x41, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x22, 0x19, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, + 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, 0x69, + 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x1b, 0x12, 0x19, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, + 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, 0x69, + 0x73, 0x74, 0x12, 0xa7, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, + 0x74, 0x65, 0x64, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x61, 0x67, + 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, + 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x53, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4d, 0x22, + 0x22, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, + 0x6e, 0x61, 0x74, 0x65, 0x64, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, + 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x24, 0x12, 0x22, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, + 0x74, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x61, 0x73, + 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x84, 0x01, 0x0a, + 0x10, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, + 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x22, 0x18, 0x2f, 0x77, 0x61, 0x6c, + 0x6c, 0x65, 0x74, 0x2f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x01, 0x2a, 0x5a, 0x1a, 0x12, 0x18, 0x2f, 0x77, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x2f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x96, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x78, 0x74, 0x4d, + 0x61, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, + 0x4b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x22, 0x1e, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, + 0x2f, 0x67, 0x65, 0x74, 0x6e, 0x65, 0x78, 0x74, 0x6d, 0x61, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x61, + 0x6e, 0x63, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x20, 0x12, 0x1e, 0x2f, 0x77, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x6e, 0x65, 0x78, 0x74, 0x6d, 0x61, 0x69, + 0x6e, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x98, 0x01, 0x0a, + 0x16, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x6e, 0x66, 0x6f, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, + 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x4b, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x45, 0x22, 0x1e, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x66, 0x6f, 0x62, 0x79, - 0x69, 0x64, 0x12, 0xb3, 0x01, 0x0a, 0x17, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x65, - 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x29, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x4d, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x47, 0x22, 0x1f, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x21, 0x12, 0x1f, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, - 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x46, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x53, - 0x69, 0x67, 0x6e, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x1a, 0x1e, + 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x20, 0x12, 0x1e, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, + 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x69, + 0x6e, 0x66, 0x6f, 0x62, 0x79, 0x69, 0x64, 0x12, 0xb3, 0x01, 0x0a, 0x17, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x12, 0x29, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, - 0x12, 0x54, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x15, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x57, 0x65, - 0x69, 0x67, 0x68, 0x74, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, - 0x4c, 0x69, 0x73, 0x74, 0x12, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x21, 0x2e, 0x70, 0x72, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x4d, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x47, 0x22, 0x1f, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x21, 0x12, 0x1f, 0x2f, 0x77, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x70, 0x65, 0x72, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x54, 0x0a, + 0x18, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, + 0x69, 0x67, 0x6e, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x57, 0x65, 0x69, 0x67, 0x68, + 0x74, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, + 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x3b, 0x0a, + 0x0b, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x1a, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x00, 0x12, 0x42, 0x0a, 0x0d, 0x47, 0x65, + 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, + 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x45, + 0x0a, 0x10, 0x47, 0x65, 0x74, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x61, 0x67, 0x65, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, + 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, + 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x61, 0x67, 0x65, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, + 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, - 0x12, 0x3b, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5a, 0x0a, + 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, + 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5f, 0x0a, 0x18, 0x47, 0x65, 0x74, + 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, 0x65, 0x65, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, + 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x1a, 0x26, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x72, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, + 0x63, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0d, 0x53, 0x63, + 0x61, 0x6e, 0x4e, 0x6f, 0x74, 0x65, 0x42, 0x79, 0x49, 0x76, 0x6b, 0x12, 0x1e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, + 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x16, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, + 0x74, 0x65, 0x73, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x14, 0x53, 0x63, 0x61, 0x6e, 0x41, 0x6e, 0x64, + 0x4d, 0x61, 0x72, 0x6b, 0x4e, 0x6f, 0x74, 0x65, 0x42, 0x79, 0x49, 0x76, 0x6b, 0x12, 0x25, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, + 0x79, 0x70, 0x74, 0x41, 0x6e, 0x64, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, + 0x74, 0x65, 0x72, 0x73, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x4d, 0x61, 0x72, 0x6b, + 0x65, 0x64, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0d, 0x53, 0x63, 0x61, 0x6e, 0x4e, 0x6f, 0x74, 0x65, + 0x42, 0x79, 0x4f, 0x76, 0x6b, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x4f, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x22, 0x00, 0x12, + 0x42, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, + 0x79, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, + 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x64, + 0x65, 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x12, 0x16, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x65, 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, + 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x40, 0x0a, + 0x0c, 0x47, 0x65, 0x74, 0x41, 0x6b, 0x46, 0x72, 0x6f, 0x6d, 0x41, 0x73, 0x6b, 0x12, 0x16, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, + 0x40, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x4e, 0x6b, 0x46, 0x72, 0x6f, 0x6d, 0x4e, 0x73, 0x6b, 0x12, + 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, + 0x00, 0x12, 0x5b, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, + 0x56, 0x69, 0x65, 0x77, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x12, 0x1b, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x56, 0x69, 0x65, 0x77, 0x69, + 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x48, + 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, + 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, + 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x4e, + 0x65, 0x77, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, + 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x00, 0x12, 0x69, 0x0a, 0x14, 0x47, 0x65, + 0x74, 0x5a, 0x65, 0x6e, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x2e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, + 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x56, 0x69, 0x65, 0x77, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, + 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x61, + 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x06, 0x47, 0x65, 0x74, 0x52, 0x63, 0x6d, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x00, 0x12, 0x42, 0x0a, - 0x0d, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, - 0x00, 0x12, 0x45, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x61, 0x67, - 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x61, 0x67, 0x65, 0x12, 0x21, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x72, 0x6f, - 0x6b, 0x65, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, - 0x12, 0x5a, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, - 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5f, 0x0a, 0x18, - 0x47, 0x65, 0x74, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, 0x65, 0x65, 0x56, 0x6f, 0x75, - 0x63, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, - 0x6e, 0x66, 0x6f, 0x1a, 0x26, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, - 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, - 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x00, 0x12, 0x49, 0x0a, - 0x0d, 0x53, 0x63, 0x61, 0x6e, 0x4e, 0x6f, 0x74, 0x65, 0x42, 0x79, 0x49, 0x76, 0x6b, 0x12, 0x1e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, - 0x72, 0x79, 0x70, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x16, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, - 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x14, 0x53, 0x63, 0x61, 0x6e, - 0x41, 0x6e, 0x64, 0x4d, 0x61, 0x72, 0x6b, 0x4e, 0x6f, 0x74, 0x65, 0x42, 0x79, 0x49, 0x76, 0x6b, - 0x12, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, - 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x41, 0x6e, 0x64, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x4d, - 0x61, 0x72, 0x6b, 0x65, 0x64, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0d, 0x53, 0x63, 0x61, 0x6e, 0x4e, - 0x6f, 0x74, 0x65, 0x42, 0x79, 0x4f, 0x76, 0x6b, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x50, 0x61, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, + 0x00, 0x12, 0x3c, 0x0a, 0x07, 0x49, 0x73, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x12, 0x18, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, + 0x77, 0x0a, 0x2c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, + 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x74, 0x68, + 0x6f, 0x75, 0x74, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x41, 0x75, 0x74, 0x68, 0x53, 0x69, 0x67, 0x12, + 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x61, + 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, + 0x6f, 0x75, 0x74, 0x41, 0x73, 0x6b, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, + 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x53, + 0x68, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x48, 0x61, 0x73, 0x68, 0x12, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x16, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, + 0x70, 0x65, 0x6e, 0x64, 0x41, 0x75, 0x74, 0x68, 0x53, 0x69, 0x67, 0x12, 0x20, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x41, 0x75, 0x74, 0x68, + 0x53, 0x69, 0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x16, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x4e, 0x75, 0x6c, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x72, + 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x66, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, - 0x22, 0x00, 0x12, 0x42, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, - 0x67, 0x4b, 0x65, 0x79, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x45, 0x78, 0x70, - 0x61, 0x6e, 0x64, 0x65, 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, - 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, - 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x65, 0x64, 0x53, 0x70, 0x65, 0x6e, - 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, - 0x12, 0x40, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x41, 0x6b, 0x46, 0x72, 0x6f, 0x6d, 0x41, 0x73, 0x6b, - 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, - 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x22, 0x00, 0x12, 0x40, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x4e, 0x6b, 0x46, 0x72, 0x6f, 0x6d, 0x4e, - 0x73, 0x6b, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, - 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x63, 0x6f, 0x6d, - 0x69, 0x6e, 0x67, 0x56, 0x69, 0x65, 0x77, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x12, 0x1b, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x69, 0x6e, 0x67, - 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x23, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x56, 0x69, - 0x65, 0x77, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, - 0x00, 0x12, 0x48, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, - 0x69, 0x65, 0x72, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, - 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, 0x69, - 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x15, 0x47, - 0x65, 0x74, 0x4e, 0x65, 0x77, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1d, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x00, 0x12, 0x69, 0x0a, - 0x14, 0x47, 0x65, 0x74, 0x5a, 0x65, 0x6e, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x56, 0x69, 0x65, 0x77, 0x69, 0x6e, 0x67, - 0x4b, 0x65, 0x79, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x06, 0x47, 0x65, 0x74, 0x52, - 0x63, 0x6d, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, - 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x22, 0x00, 0x12, 0x3c, 0x0a, 0x07, 0x49, 0x73, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x12, - 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x22, 0x00, 0x12, 0x77, 0x0a, 0x2c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, - 0x6c, 0x64, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x57, - 0x69, 0x74, 0x68, 0x6f, 0x75, 0x74, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x41, 0x75, 0x74, 0x68, 0x53, - 0x69, 0x67, 0x12, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, - 0x69, 0x76, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x57, - 0x69, 0x74, 0x68, 0x6f, 0x75, 0x74, 0x41, 0x73, 0x6b, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x18, 0x47, - 0x65, 0x74, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x12, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x16, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x41, 0x75, 0x74, 0x68, 0x53, 0x69, 0x67, 0x12, 0x20, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x41, - 0x75, 0x74, 0x68, 0x53, 0x69, 0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, - 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, - 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x15, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x4e, 0x75, 0x6c, 0x6c, 0x69, 0x66, - 0x69, 0x65, 0x72, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, - 0x66, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x16, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x71, 0x0a, 0x20, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, - 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x28, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, + 0x22, 0x00, 0x12, 0x71, 0x0a, 0x20, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, + 0x6c, 0x64, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x28, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, + 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, + 0x1a, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, - 0x65, 0x72, 0x73, 0x1a, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, - 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x22, 0x00, 0x12, 0x85, 0x01, 0x0a, 0x2a, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, - 0x68, 0x6f, 0x75, 0x74, 0x41, 0x73, 0x6b, 0x12, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, - 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, - 0x73, 0x57, 0x69, 0x74, 0x68, 0x6f, 0x75, 0x74, 0x41, 0x73, 0x6b, 0x1a, 0x21, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, - 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x22, 0x00, + 0x65, 0x72, 0x73, 0x22, 0x00, 0x12, 0x85, 0x01, 0x0a, 0x2a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x6f, 0x75, + 0x74, 0x41, 0x73, 0x6b, 0x12, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, + 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, + 0x74, 0x68, 0x6f, 0x75, 0x74, 0x41, 0x73, 0x6b, 0x1a, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, + 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x22, 0x00, 0x12, 0x61, 0x0a, + 0x1b, 0x53, 0x63, 0x61, 0x6e, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, + 0x32, 0x30, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x42, 0x79, 0x49, 0x76, 0x6b, 0x12, 0x23, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, + 0x70, 0x74, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, + 0x73, 0x1a, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, + 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x54, 0x52, 0x43, 0x32, 0x30, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x1b, 0x53, 0x63, 0x61, 0x6e, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, - 0x54, 0x52, 0x43, 0x32, 0x30, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x42, 0x79, 0x49, 0x76, 0x6b, 0x12, - 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, 0x65, + 0x54, 0x52, 0x43, 0x32, 0x30, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x42, 0x79, 0x4f, 0x76, 0x6b, 0x12, + 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x54, 0x52, 0x43, 0x32, - 0x30, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x1b, 0x53, 0x63, 0x61, 0x6e, 0x53, 0x68, 0x69, 0x65, 0x6c, - 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x42, 0x79, 0x4f, - 0x76, 0x6b, 0x12, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x76, - 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x54, - 0x52, 0x43, 0x32, 0x30, 0x22, 0x00, 0x12, 0x5c, 0x0a, 0x20, 0x49, 0x73, 0x53, 0x68, 0x69, 0x65, - 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x53, 0x70, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x66, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x22, 0x00, 0x12, 0x75, 0x0a, 0x27, 0x47, 0x65, 0x74, 0x54, 0x72, 0x69, 0x67, 0x67, - 0x65, 0x72, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x46, 0x6f, 0x72, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, - 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, - 0x30, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x68, 0x69, 0x65, 0x6c, - 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, - 0x73, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, - 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x17, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, - 0x58, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, - 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, - 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x0a, 0x47, 0x65, 0x74, - 0x42, 0x75, 0x72, 0x6e, 0x54, 0x72, 0x78, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, - 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, - 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x19, 0x47, 0x65, - 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x72, 0x6f, 0x6d, - 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, - 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, - 0x6f, 0x6d, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x1a, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, - 0x12, 0x43, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x69, - 0x7a, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, - 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, - 0x6b, 0x12, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, - 0x00, 0x32, 0x96, 0x23, 0x0a, 0x0e, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x53, 0x6f, 0x6c, 0x69, - 0x64, 0x69, 0x74, 0x79, 0x12, 0x77, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x12, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, - 0x22, 0x1a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, - 0x79, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x01, 0x2a, 0x5a, - 0x1c, 0x12, 0x1a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, - 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x83, 0x01, - 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x49, 0x64, - 0x12, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x4b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x22, 0x1e, + 0x30, 0x22, 0x00, 0x12, 0x5c, 0x0a, 0x20, 0x49, 0x73, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, + 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x4e, 0x6f, + 0x74, 0x65, 0x53, 0x70, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x4e, 0x66, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, + 0x74, 0x65, 0x72, 0x73, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x4e, 0x75, 0x6c, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, + 0x00, 0x12, 0x75, 0x0a, 0x27, 0x47, 0x65, 0x74, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x49, + 0x6e, 0x70, 0x75, 0x74, 0x46, 0x6f, 0x72, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, + 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x30, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, + 0x54, 0x52, 0x43, 0x32, 0x30, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x16, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x1c, + 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, + 0x66, 0x6f, 0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, + 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x42, 0x75, 0x72, + 0x6e, 0x54, 0x72, 0x78, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x72, 0x6f, 0x6d, 0x50, 0x65, 0x6e, + 0x64, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x15, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x50, + 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1b, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x43, 0x0a, + 0x0e, 0x47, 0x65, 0x74, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x7a, 0x65, 0x12, + 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x12, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, + 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x32, 0xf8, + 0x21, 0x0a, 0x0e, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, + 0x79, 0x12, 0x77, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x22, 0x1a, 0x2f, + 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, + 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x1c, 0x12, 0x1a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, - 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x62, 0x79, 0x69, 0x64, 0x3a, 0x01, - 0x2a, 0x5a, 0x20, 0x12, 0x1e, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, - 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x62, - 0x79, 0x69, 0x64, 0x12, 0x89, 0x01, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x69, 0x74, 0x6e, - 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x15, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, - 0x4c, 0x69, 0x73, 0x74, 0x22, 0x49, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x43, 0x22, 0x1d, 0x2f, 0x77, - 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x6c, 0x69, - 0x73, 0x74, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x1f, - 0x12, 0x1d, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, - 0x79, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, - 0x98, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, - 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, - 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x51, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4b, 0x22, - 0x21, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, - 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, 0x69, - 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x23, 0x12, 0x21, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, - 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, - 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0xb7, 0x01, 0x0a, 0x1a, 0x47, - 0x65, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x41, 0x73, 0x73, 0x65, 0x74, - 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, - 0x63, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x5d, 0x22, 0x2a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, - 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, - 0x6e, 0x61, 0x74, 0x65, 0x64, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, - 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x2c, 0x12, 0x2a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, - 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, - 0x6c, 0x69, 0x73, 0x74, 0x12, 0x4d, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, - 0x49, 0x73, 0x73, 0x75, 0x65, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x72, + 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x83, 0x01, 0x0a, 0x0e, 0x47, + 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x49, 0x64, 0x12, 0x11, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x22, 0x4b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x22, 0x1e, 0x2f, 0x77, 0x61, + 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x62, 0x79, 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x20, + 0x12, 0x1e, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, + 0x79, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x62, 0x79, 0x69, 0x64, + 0x12, 0x89, 0x01, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, + 0x65, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, + 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, + 0x74, 0x22, 0x49, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x43, 0x22, 0x1d, 0x2f, 0x77, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x77, + 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x1f, 0x12, 0x1d, 0x2f, + 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x6c, + 0x69, 0x73, 0x74, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x98, 0x01, 0x0a, + 0x11, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, + 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, + 0x4c, 0x69, 0x73, 0x74, 0x22, 0x51, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4b, 0x22, 0x21, 0x2f, 0x77, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, + 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x3a, + 0x01, 0x2a, 0x5a, 0x23, 0x12, 0x21, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, + 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, + 0x73, 0x75, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0xb7, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x50, + 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, + 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, + 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x63, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x5d, 0x22, 0x2a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, + 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, + 0x65, 0x64, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, 0x69, 0x73, 0x74, + 0x3a, 0x01, 0x2a, 0x5a, 0x2c, 0x12, 0x2a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, + 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, + 0x74, 0x65, 0x64, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, 0x69, 0x73, + 0x74, 0x12, 0x4d, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, + 0x75, 0x65, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, + 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x22, 0x00, + 0x12, 0x4d, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, + 0x65, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, - 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, - 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, - 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, - 0x73, 0x75, 0x65, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, - 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, - 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x22, 0x00, 0x12, - 0x7d, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x77, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x16, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x45, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x22, - 0x1b, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, - 0x2f, 0x67, 0x65, 0x74, 0x6e, 0x6f, 0x77, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x3a, 0x01, 0x2a, 0x5a, - 0x1d, 0x12, 0x1b, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, - 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x6e, 0x6f, 0x77, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x42, - 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x77, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x32, 0x12, 0x16, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, - 0x22, 0x00, 0x12, 0x84, 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, - 0x79, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x49, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x43, 0x22, 0x1d, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, - 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, - 0x62, 0x79, 0x6e, 0x75, 0x6d, 0x3a, 0x01, 0x2a, 0x5a, 0x1f, 0x12, 0x1d, 0x2f, 0x77, 0x61, 0x6c, - 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x62, - 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6e, 0x75, 0x6d, 0x12, 0x45, 0x0a, 0x0e, 0x47, 0x65, 0x74, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x32, 0x12, 0x17, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, - 0x12, 0x53, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, + 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, + 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, + 0x4b, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, + 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, + 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x22, 0x00, 0x12, 0x7d, 0x0a, 0x0b, + 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x77, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x16, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x45, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x22, 0x1b, 0x2f, 0x77, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, + 0x74, 0x6e, 0x6f, 0x77, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x3a, 0x01, 0x2a, 0x5a, 0x1d, 0x12, 0x1b, + 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, + 0x67, 0x65, 0x74, 0x6e, 0x6f, 0x77, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x42, 0x0a, 0x0c, 0x47, + 0x65, 0x74, 0x4e, 0x6f, 0x77, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x32, 0x12, 0x16, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, + 0x84, 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, - 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, - 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x22, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, - 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, - 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x69, - 0x73, 0x74, 0x22, 0x00, 0x12, 0x5f, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, - 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x32, 0x12, 0x22, + 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x49, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x43, 0x22, 0x1d, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, + 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6e, + 0x75, 0x6d, 0x3a, 0x01, 0x2a, 0x5a, 0x1f, 0x12, 0x1d, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, + 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x62, 0x79, 0x6e, 0x75, 0x6d, 0x12, 0x45, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x32, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x53, 0x0a, + 0x1d, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, + 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x17, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, + 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x22, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, - 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, - 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, - 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x65, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, - 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x1a, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, - 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x22, - 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, + 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, + 0x00, 0x12, 0x5f, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, + 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x32, 0x12, 0x22, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, + 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, + 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, + 0x22, 0x00, 0x12, 0x65, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, + 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x27, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, + 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x22, 0x47, 0x65, 0x74, + 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x56, 0x32, 0x12, + 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, - 0x56, 0x32, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, - 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x27, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, - 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, - 0x64, 0x65, 0x78, 0x22, 0x00, 0x12, 0x75, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, 0x61, 0x6e, 0x44, - 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x12, - 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x61, 0x6e, 0x44, 0x65, - 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x2c, 0x2e, 0x70, + 0x22, 0x00, 0x12, 0x75, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, + 0x67, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, - 0x61, 0x74, 0x65, 0x64, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x84, 0x01, 0x0a, - 0x19, 0x47, 0x65, 0x74, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x55, 0x6e, 0x66, - 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x31, 0x2e, 0x70, 0x72, 0x6f, + 0x61, 0x74, 0x65, 0x64, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x2c, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, + 0x64, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x84, 0x01, 0x0a, 0x19, 0x47, 0x65, + 0x74, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, + 0x7a, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x55, + 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x32, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x76, 0x61, 0x69, - 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x22, 0x00, 0x12, 0x87, 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x43, 0x61, 0x6e, 0x57, 0x69, - 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, - 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, + 0x12, 0x87, 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x43, 0x61, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x64, + 0x72, 0x61, 0x77, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, + 0x74, 0x12, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x61, 0x6e, + 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, + 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x1a, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x61, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x55, 0x6e, 0x66, 0x72, 0x65, - 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x43, 0x61, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x55, 0x6e, - 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x3f, 0x0a, - 0x0f, 0x47, 0x65, 0x74, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x42, 0x79, 0x49, 0x64, - 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, - 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x22, 0x00, 0x12, 0x41, - 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, - 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, - 0x00, 0x12, 0x98, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x53, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4d, 0x22, - 0x22, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, - 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, - 0x79, 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x24, 0x12, 0x22, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x79, 0x69, 0x64, 0x12, 0xa8, 0x01, 0x0a, - 0x16, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x6e, 0x66, 0x6f, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, - 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x5b, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x55, 0x22, 0x26, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, - 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x69, 0x6e, 0x66, 0x6f, 0x62, 0x79, 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x28, 0x12, + 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x0f, 0x47, 0x65, + 0x74, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x22, 0x00, 0x12, 0x41, 0x0a, 0x0d, 0x4c, + 0x69, 0x73, 0x74, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x16, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x98, + 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x15, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x53, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4d, 0x22, 0x22, 0x2f, 0x77, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, + 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x79, 0x69, 0x64, + 0x3a, 0x01, 0x2a, 0x5a, 0x24, 0x12, 0x22, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, + 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x79, 0x69, 0x64, 0x12, 0xa8, 0x01, 0x0a, 0x16, 0x47, 0x65, + 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, + 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x19, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x5b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x55, 0x22, 0x26, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x69, - 0x6e, 0x66, 0x6f, 0x62, 0x79, 0x69, 0x64, 0x12, 0x9b, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x6e, 0x65, - 0x72, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x1a, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x50, 0x72, 0x4b, 0x65, 0x79, 0x50, 0x61, 0x69, 0x72, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x4d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x47, 0x22, 0x1f, - 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, - 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x3a, - 0x01, 0x2a, 0x5a, 0x21, 0x12, 0x1f, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, - 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x5f, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x72, 0x6b, - 0x6c, 0x65, 0x54, 0x72, 0x65, 0x65, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, - 0x6f, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x75, 0x74, - 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x26, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, - 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, - 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0d, 0x53, 0x63, 0x61, 0x6e, 0x4e, 0x6f, - 0x74, 0x65, 0x42, 0x79, 0x49, 0x76, 0x6b, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x22, - 0x00, 0x12, 0x5d, 0x0a, 0x14, 0x53, 0x63, 0x61, 0x6e, 0x41, 0x6e, 0x64, 0x4d, 0x61, 0x72, 0x6b, - 0x4e, 0x6f, 0x74, 0x65, 0x42, 0x79, 0x49, 0x76, 0x6b, 0x12, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x41, - 0x6e, 0x64, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, - 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, - 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x64, 0x22, 0x00, - 0x12, 0x49, 0x0a, 0x0d, 0x53, 0x63, 0x61, 0x6e, 0x4e, 0x6f, 0x74, 0x65, 0x42, 0x79, 0x4f, 0x76, - 0x6b, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x76, 0x6b, - 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, - 0x73, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, - 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x22, 0x00, 0x12, 0x3c, 0x0a, 0x07, 0x49, - 0x73, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x12, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, - 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, - 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x1b, 0x53, 0x63, 0x61, - 0x6e, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x4e, 0x6f, - 0x74, 0x65, 0x73, 0x42, 0x79, 0x49, 0x76, 0x6b, 0x12, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x54, 0x52, - 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x1b, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, - 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x54, 0x52, 0x43, 0x32, 0x30, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x1b, - 0x53, 0x63, 0x61, 0x6e, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, - 0x30, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x42, 0x79, 0x4f, 0x76, 0x6b, 0x12, 0x23, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, - 0x74, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, - 0x1a, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, - 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x54, 0x52, 0x43, 0x32, 0x30, 0x22, 0x00, 0x12, - 0x5c, 0x0a, 0x20, 0x49, 0x73, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, - 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x53, 0x70, - 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, - 0x66, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, - 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, - 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, 0x42, 0x0a, - 0x0d, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, - 0x00, 0x12, 0x45, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x61, 0x67, - 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x17, 0x54, 0x72, 0x69, 0x67, - 0x67, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, - 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, - 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x0e, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, - 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, - 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x1c, 0x47, 0x65, - 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, - 0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x1a, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, - 0x73, 0x74, 0x22, 0x00, 0x12, 0x45, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, - 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, - 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x17, 0x47, - 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x41, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x19, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, - 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x14, 0x47, - 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x42, 0x79, 0x50, - 0x61, 0x69, 0x72, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, - 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x1a, 0x19, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, - 0x50, 0x72, 0x69, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x18, 0x47, - 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, - 0x74, 0x42, 0x79, 0x50, 0x61, 0x69, 0x72, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, - 0x69, 0x72, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, - 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, - 0x4c, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x61, 0x69, 0x72, - 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1d, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, - 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x3f, 0x0a, - 0x0a, 0x47, 0x65, 0x74, 0x42, 0x75, 0x72, 0x6e, 0x54, 0x72, 0x78, 0x12, 0x16, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, - 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x3a, - 0x0a, 0x08, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x12, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x1a, 0x18, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, - 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x32, 0xad, 0x04, 0x0a, 0x0f, 0x57, - 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0xb1, - 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x68, 0x69, 0x73, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x67, - 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, - 0x74, 0x22, 0x5f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x59, 0x22, 0x28, 0x2f, 0x77, 0x61, 0x6c, 0x6c, - 0x65, 0x74, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x65, 0x74, 0x74, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x66, 0x72, 0x6f, 0x6d, 0x74, - 0x68, 0x69, 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x2a, 0x12, 0x28, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, + 0x6e, 0x66, 0x6f, 0x62, 0x79, 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x28, 0x12, 0x26, 0x2f, 0x77, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, + 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x66, 0x6f, + 0x62, 0x79, 0x69, 0x64, 0x12, 0x5f, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x72, 0x6b, 0x6c, + 0x65, 0x54, 0x72, 0x65, 0x65, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x75, 0x74, 0x70, + 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x26, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, + 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x49, + 0x6e, 0x66, 0x6f, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0d, 0x53, 0x63, 0x61, 0x6e, 0x4e, 0x6f, 0x74, + 0x65, 0x42, 0x79, 0x49, 0x76, 0x6b, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x22, 0x00, + 0x12, 0x5d, 0x0a, 0x14, 0x53, 0x63, 0x61, 0x6e, 0x41, 0x6e, 0x64, 0x4d, 0x61, 0x72, 0x6b, 0x4e, + 0x6f, 0x74, 0x65, 0x42, 0x79, 0x49, 0x76, 0x6b, 0x12, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x41, 0x6e, + 0x64, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, + 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, + 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x64, 0x22, 0x00, 0x12, + 0x49, 0x0a, 0x0d, 0x53, 0x63, 0x61, 0x6e, 0x4e, 0x6f, 0x74, 0x65, 0x42, 0x79, 0x4f, 0x76, 0x6b, + 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x76, 0x6b, 0x44, + 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, + 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, + 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x22, 0x00, 0x12, 0x3c, 0x0a, 0x07, 0x49, 0x73, + 0x53, 0x70, 0x65, 0x6e, 0x64, 0x12, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, + 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x1b, 0x53, 0x63, 0x61, 0x6e, + 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x4e, 0x6f, 0x74, + 0x65, 0x73, 0x42, 0x79, 0x49, 0x76, 0x6b, 0x12, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x54, 0x52, 0x43, + 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x1b, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, + 0x6f, 0x74, 0x65, 0x73, 0x54, 0x52, 0x43, 0x32, 0x30, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x1b, 0x53, + 0x63, 0x61, 0x6e, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, + 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x42, 0x79, 0x4f, 0x76, 0x6b, 0x12, 0x23, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, + 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, + 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, + 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x54, 0x52, 0x43, 0x32, 0x30, 0x22, 0x00, 0x12, 0x5c, + 0x0a, 0x20, 0x49, 0x73, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, + 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x53, 0x70, 0x65, + 0x6e, 0x74, 0x12, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x66, + 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, + 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x69, + 0x66, 0x69, 0x65, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, 0x42, 0x0a, 0x0d, + 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, + 0x12, 0x45, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x61, 0x67, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x17, 0x54, 0x72, 0x69, 0x67, 0x67, + 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, + 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, + 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x0e, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, + 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x1c, 0x47, 0x65, 0x74, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x42, + 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x1a, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, + 0x74, 0x22, 0x00, 0x12, 0x45, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, + 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, + 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x17, 0x47, 0x65, + 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x19, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, + 0x72, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x14, 0x47, 0x65, + 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x42, 0x79, 0x50, 0x61, + 0x69, 0x72, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, + 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x1a, 0x19, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, + 0x72, 0x69, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x18, 0x47, 0x65, + 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, + 0x42, 0x79, 0x50, 0x61, 0x69, 0x72, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, + 0x72, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, + 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x4c, + 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x61, 0x69, 0x72, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, + 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1d, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, + 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x0a, + 0x47, 0x65, 0x74, 0x42, 0x75, 0x72, 0x6e, 0x54, 0x72, 0x78, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, + 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x3a, 0x0a, + 0x08, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, + 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x32, 0xad, 0x04, 0x0a, 0x0f, 0x57, 0x61, + 0x6c, 0x6c, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0xb1, 0x01, + 0x0a, 0x17, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x68, 0x69, 0x73, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x67, 0x69, + 0x6e, 0x61, 0x74, 0x65, 0x64, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, + 0x22, 0x5f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x59, 0x22, 0x28, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x66, 0x72, 0x6f, 0x6d, 0x74, 0x68, - 0x69, 0x73, 0x12, 0x5c, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x68, 0x69, 0x73, 0x32, 0x12, 0x1a, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x1a, 0x22, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, - 0x12, 0xab, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x54, 0x6f, 0x54, 0x68, 0x69, 0x73, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x67, - 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, - 0x74, 0x22, 0x5b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x55, 0x22, 0x26, 0x2f, 0x77, 0x61, 0x6c, 0x6c, - 0x65, 0x74, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x65, 0x74, 0x74, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x74, 0x6f, 0x74, 0x68, 0x69, - 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x28, 0x12, 0x26, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x65, - 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x74, 0x6f, 0x74, 0x68, 0x69, 0x73, 0x12, 0x5a, - 0x0a, 0x16, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x54, 0x6f, 0x54, 0x68, 0x69, 0x73, 0x32, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, - 0x61, 0x74, 0x65, 0x64, 0x1a, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x45, - 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x32, 0x99, 0x02, 0x0a, 0x08, 0x44, - 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x11, 0x67, 0x65, 0x74, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x16, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x00, - 0x12, 0x4d, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x50, 0x72, - 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x1a, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x79, 0x6e, 0x61, - 0x6d, 0x69, 0x63, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x22, 0x00, 0x12, - 0x38, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x77, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x16, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x00, 0x12, 0x3b, 0x0a, 0x0d, 0x47, 0x65, 0x74, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x00, 0x32, 0x83, 0x01, 0x0a, 0x07, 0x4d, 0x6f, 0x6e, 0x69, 0x74, - 0x6f, 0x72, 0x12, 0x78, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x49, 0x6e, - 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, - 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, - 0x6f, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, - 0x74, 0x6f, 0x72, 0x2f, 0x67, 0x65, 0x74, 0x73, 0x74, 0x61, 0x74, 0x73, 0x69, 0x6e, 0x66, 0x6f, - 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x2f, - 0x67, 0x65, 0x74, 0x73, 0x74, 0x61, 0x74, 0x73, 0x69, 0x6e, 0x66, 0x6f, 0x32, 0x09, 0x0a, 0x07, - 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x42, 0x47, 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x2e, 0x74, - 0x72, 0x6f, 0x6e, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x07, 0x47, 0x72, 0x70, 0x63, 0x41, 0x50, 0x49, - 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, - 0x6f, 0x62, 0x72, 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, - 0x64, 0x6b, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x70, 0x69, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x69, 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x2a, 0x12, 0x28, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, + 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x66, 0x72, 0x6f, 0x6d, 0x74, 0x68, 0x69, + 0x73, 0x12, 0x5c, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x68, 0x69, 0x73, 0x32, 0x12, 0x1a, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x1a, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, + 0xab, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x54, 0x6f, 0x54, 0x68, 0x69, 0x73, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x67, 0x69, + 0x6e, 0x61, 0x74, 0x65, 0x64, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, + 0x22, 0x5b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x55, 0x22, 0x26, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, + 0x74, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x74, 0x6f, 0x74, 0x68, 0x69, 0x73, + 0x3a, 0x01, 0x2a, 0x5a, 0x28, 0x12, 0x26, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x65, 0x78, + 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x74, 0x6f, 0x74, 0x68, 0x69, 0x73, 0x12, 0x5a, 0x0a, + 0x16, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x54, 0x6f, 0x54, 0x68, 0x69, 0x73, 0x32, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, + 0x74, 0x65, 0x64, 0x1a, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, + 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x32, 0x99, 0x02, 0x0a, 0x08, 0x44, 0x61, + 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x11, 0x67, 0x65, 0x74, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x00, 0x12, + 0x4d, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x50, 0x72, 0x6f, + 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, + 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, + 0x69, 0x63, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x22, 0x00, 0x12, 0x38, + 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x77, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x16, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x00, 0x12, 0x3b, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x22, 0x00, 0x32, 0x83, 0x01, 0x0a, 0x07, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, + 0x72, 0x12, 0x78, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, + 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, + 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, + 0x6f, 0x72, 0x2f, 0x67, 0x65, 0x74, 0x73, 0x74, 0x61, 0x74, 0x73, 0x69, 0x6e, 0x66, 0x6f, 0x3a, + 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x2f, 0x67, + 0x65, 0x74, 0x73, 0x74, 0x61, 0x74, 0x73, 0x69, 0x6e, 0x66, 0x6f, 0x32, 0x09, 0x0a, 0x07, 0x4e, + 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x42, 0x41, 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, + 0x6f, 0x6e, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x07, 0x47, 0x72, 0x70, 0x63, 0x41, 0x50, 0x49, 0x5a, + 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, + 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } var ( @@ -7698,7 +7198,7 @@ func file_api_api_proto_rawDescGZIP() []byte { } var file_api_api_proto_enumTypes = make([]protoimpl.EnumInfo, 3) -var file_api_api_proto_msgTypes = make([]protoimpl.MessageInfo, 87) +var file_api_api_proto_msgTypes = make([]protoimpl.MessageInfo, 81) var file_api_api_proto_goTypes = []interface{}{ (ReturnResponseCode)(0), // 0: protocol.Return.response_code (TransactionSignWeight_ResultResponseCode)(0), // 1: protocol.TransactionSignWeight.Result.response_code @@ -7735,617 +7235,591 @@ var file_api_api_proto_goTypes = []interface{}{ (*AccountNetMessage)(nil), // 32: protocol.AccountNetMessage (*AccountResourceMessage)(nil), // 33: protocol.AccountResourceMessage (*PaginatedMessage)(nil), // 34: protocol.PaginatedMessage - (*EasyTransferMessage)(nil), // 35: protocol.EasyTransferMessage - (*EasyTransferAssetMessage)(nil), // 36: protocol.EasyTransferAssetMessage - (*EasyTransferByPrivateMessage)(nil), // 37: protocol.EasyTransferByPrivateMessage - (*EasyTransferAssetByPrivateMessage)(nil), // 38: protocol.EasyTransferAssetByPrivateMessage - (*EasyTransferResponse)(nil), // 39: protocol.EasyTransferResponse - (*AddressPrKeyPairMessage)(nil), // 40: protocol.AddressPrKeyPairMessage - (*TransactionExtention)(nil), // 41: protocol.TransactionExtention - (*EstimateEnergyMessage)(nil), // 42: protocol.EstimateEnergyMessage - (*BlockExtention)(nil), // 43: protocol.BlockExtention - (*BlockListExtention)(nil), // 44: protocol.BlockListExtention - (*TransactionListExtention)(nil), // 45: protocol.TransactionListExtention - (*BlockIncrementalMerkleTree)(nil), // 46: protocol.BlockIncrementalMerkleTree - (*TransactionSignWeight)(nil), // 47: protocol.TransactionSignWeight - (*TransactionApprovedList)(nil), // 48: protocol.TransactionApprovedList - (*IvkDecryptParameters)(nil), // 49: protocol.IvkDecryptParameters - (*IvkDecryptAndMarkParameters)(nil), // 50: protocol.IvkDecryptAndMarkParameters - (*OvkDecryptParameters)(nil), // 51: protocol.OvkDecryptParameters - (*DecryptNotes)(nil), // 52: protocol.DecryptNotes - (*DecryptNotesMarked)(nil), // 53: protocol.DecryptNotesMarked - (*Note)(nil), // 54: protocol.Note - (*SpendNote)(nil), // 55: protocol.SpendNote - (*ReceiveNote)(nil), // 56: protocol.ReceiveNote - (*PrivateParameters)(nil), // 57: protocol.PrivateParameters - (*PrivateParametersWithoutAsk)(nil), // 58: protocol.PrivateParametersWithoutAsk - (*SpendAuthSigParameters)(nil), // 59: protocol.SpendAuthSigParameters - (*NfParameters)(nil), // 60: protocol.NfParameters - (*ExpandedSpendingKeyMessage)(nil), // 61: protocol.ExpandedSpendingKeyMessage - (*ViewingKeyMessage)(nil), // 62: protocol.ViewingKeyMessage - (*IncomingViewingKeyMessage)(nil), // 63: protocol.IncomingViewingKeyMessage - (*DiversifierMessage)(nil), // 64: protocol.DiversifierMessage - (*IncomingViewingKeyDiversifierMessage)(nil), // 65: protocol.IncomingViewingKeyDiversifierMessage - (*PaymentAddressMessage)(nil), // 66: protocol.PaymentAddressMessage - (*ShieldedAddressInfo)(nil), // 67: protocol.ShieldedAddressInfo - (*NoteParameters)(nil), // 68: protocol.NoteParameters - (*SpendResult)(nil), // 69: protocol.SpendResult - (*TransactionInfoList)(nil), // 70: protocol.TransactionInfoList - (*SpendNoteTRC20)(nil), // 71: protocol.SpendNoteTRC20 - (*PrivateShieldedTRC20Parameters)(nil), // 72: protocol.PrivateShieldedTRC20Parameters - (*PrivateShieldedTRC20ParametersWithoutAsk)(nil), // 73: protocol.PrivateShieldedTRC20ParametersWithoutAsk - (*ShieldedTRC20Parameters)(nil), // 74: protocol.ShieldedTRC20Parameters - (*IvkDecryptTRC20Parameters)(nil), // 75: protocol.IvkDecryptTRC20Parameters - (*OvkDecryptTRC20Parameters)(nil), // 76: protocol.OvkDecryptTRC20Parameters - (*DecryptNotesTRC20)(nil), // 77: protocol.DecryptNotesTRC20 - (*NfTRC20Parameters)(nil), // 78: protocol.NfTRC20Parameters - (*NullifierResult)(nil), // 79: protocol.NullifierResult - (*ShieldedTRC20TriggerContractParameters)(nil), // 80: protocol.ShieldedTRC20TriggerContractParameters - nil, // 81: protocol.AccountNetMessage.AssetNetUsedEntry - nil, // 82: protocol.AccountNetMessage.AssetNetLimitEntry - nil, // 83: protocol.AccountResourceMessage.AssetNetUsedEntry - nil, // 84: protocol.AccountResourceMessage.AssetNetLimitEntry - (*TransactionSignWeight_Result)(nil), // 85: protocol.TransactionSignWeight.Result - (*TransactionApprovedList_Result)(nil), // 86: protocol.TransactionApprovedList.Result - (*DecryptNotes_NoteTx)(nil), // 87: protocol.DecryptNotes.NoteTx - (*DecryptNotesMarked_NoteTx)(nil), // 88: protocol.DecryptNotesMarked.NoteTx - (*DecryptNotesTRC20_NoteTx)(nil), // 89: protocol.DecryptNotesTRC20.NoteTx - (*core.Witness)(nil), // 90: protocol.Witness - (*core.Proposal)(nil), // 91: protocol.Proposal - (*core.Exchange)(nil), // 92: protocol.Exchange - (*core.AssetIssueContract)(nil), // 93: protocol.AssetIssueContract - (*core.Block)(nil), // 94: protocol.Block - (*core.Transaction)(nil), // 95: protocol.Transaction - (*core.DelegatedResource)(nil), // 96: protocol.DelegatedResource - (*core.Account)(nil), // 97: protocol.Account - (*core.TransactionInfo_Log)(nil), // 98: protocol.TransactionInfo.Log - (*core.InternalTransaction)(nil), // 99: protocol.InternalTransaction - (*core.BlockHeader)(nil), // 100: protocol.BlockHeader - (*core.IncrementalMerkleTree)(nil), // 101: protocol.IncrementalMerkleTree - (*core.Permission)(nil), // 102: protocol.Permission - (*core.IncrementalMerkleVoucher)(nil), // 103: protocol.IncrementalMerkleVoucher - (*core.TransactionInfo)(nil), // 104: protocol.TransactionInfo - (*core.SpendDescription)(nil), // 105: protocol.SpendDescription - (*core.ReceiveDescription)(nil), // 106: protocol.ReceiveDescription - (*core.AccountBalanceRequest)(nil), // 107: protocol.AccountBalanceRequest - (*core.BlockBalanceTrace_BlockIdentifier)(nil), // 108: protocol.BlockBalanceTrace.BlockIdentifier - (*core.TransferContract)(nil), // 109: protocol.TransferContract - (*core.AccountUpdateContract)(nil), // 110: protocol.AccountUpdateContract - (*core.SetAccountIdContract)(nil), // 111: protocol.SetAccountIdContract - (*core.VoteWitnessContract)(nil), // 112: protocol.VoteWitnessContract - (*core.UpdateSettingContract)(nil), // 113: protocol.UpdateSettingContract - (*core.UpdateEnergyLimitContract)(nil), // 114: protocol.UpdateEnergyLimitContract - (*core.WitnessUpdateContract)(nil), // 115: protocol.WitnessUpdateContract - (*core.AccountCreateContract)(nil), // 116: protocol.AccountCreateContract - (*core.WitnessCreateContract)(nil), // 117: protocol.WitnessCreateContract - (*core.TransferAssetContract)(nil), // 118: protocol.TransferAssetContract - (*core.ParticipateAssetIssueContract)(nil), // 119: protocol.ParticipateAssetIssueContract - (*core.FreezeBalanceContract)(nil), // 120: protocol.FreezeBalanceContract - (*core.FreezeBalanceV2Contract)(nil), // 121: protocol.FreezeBalanceV2Contract - (*core.UnfreezeBalanceContract)(nil), // 122: protocol.UnfreezeBalanceContract - (*core.UnfreezeBalanceV2Contract)(nil), // 123: protocol.UnfreezeBalanceV2Contract - (*core.UnfreezeAssetContract)(nil), // 124: protocol.UnfreezeAssetContract - (*core.WithdrawBalanceContract)(nil), // 125: protocol.WithdrawBalanceContract - (*core.WithdrawExpireUnfreezeContract)(nil), // 126: protocol.WithdrawExpireUnfreezeContract - (*core.DelegateResourceContract)(nil), // 127: protocol.DelegateResourceContract - (*core.UnDelegateResourceContract)(nil), // 128: protocol.UnDelegateResourceContract - (*core.UpdateAssetContract)(nil), // 129: protocol.UpdateAssetContract - (*core.ProposalCreateContract)(nil), // 130: protocol.ProposalCreateContract - (*core.ProposalApproveContract)(nil), // 131: protocol.ProposalApproveContract - (*core.ProposalDeleteContract)(nil), // 132: protocol.ProposalDeleteContract - (*core.BuyStorageContract)(nil), // 133: protocol.BuyStorageContract - (*core.BuyStorageBytesContract)(nil), // 134: protocol.BuyStorageBytesContract - (*core.SellStorageContract)(nil), // 135: protocol.SellStorageContract - (*core.ExchangeCreateContract)(nil), // 136: protocol.ExchangeCreateContract - (*core.ExchangeInjectContract)(nil), // 137: protocol.ExchangeInjectContract - (*core.ExchangeWithdrawContract)(nil), // 138: protocol.ExchangeWithdrawContract - (*core.ExchangeTransactionContract)(nil), // 139: protocol.ExchangeTransactionContract - (*core.MarketSellAssetContract)(nil), // 140: protocol.MarketSellAssetContract - (*core.MarketCancelOrderContract)(nil), // 141: protocol.MarketCancelOrderContract - (*core.MarketOrderPair)(nil), // 142: protocol.MarketOrderPair - (*core.CreateSmartContract)(nil), // 143: protocol.CreateSmartContract - (*core.TriggerSmartContract)(nil), // 144: protocol.TriggerSmartContract - (*core.ClearABIContract)(nil), // 145: protocol.ClearABIContract - (*core.TransactionSign)(nil), // 146: protocol.TransactionSign - (*core.AccountPermissionUpdateContract)(nil), // 147: protocol.AccountPermissionUpdateContract - (*core.UpdateBrokerageContract)(nil), // 148: protocol.UpdateBrokerageContract - (*core.OutputPointInfo)(nil), // 149: protocol.OutputPointInfo - (*core.AccountBalanceResponse)(nil), // 150: protocol.AccountBalanceResponse - (*core.BlockBalanceTrace)(nil), // 151: protocol.BlockBalanceTrace - (*core.MarketOrder)(nil), // 152: protocol.MarketOrder - (*core.MarketOrderList)(nil), // 153: protocol.MarketOrderList - (*core.MarketPriceList)(nil), // 154: protocol.MarketPriceList - (*core.MarketOrderPairList)(nil), // 155: protocol.MarketOrderPairList - (*core.SmartContract)(nil), // 156: protocol.SmartContract - (*core.SmartContractDataWrapper)(nil), // 157: protocol.SmartContractDataWrapper - (*core.DelegatedResourceAccountIndex)(nil), // 158: protocol.DelegatedResourceAccountIndex - (*core.ChainParameters)(nil), // 159: protocol.ChainParameters - (*core.NodeInfo)(nil), // 160: protocol.NodeInfo - (*core.IncrementalMerkleVoucherInfo)(nil), // 161: protocol.IncrementalMerkleVoucherInfo - (*core.DynamicProperties)(nil), // 162: protocol.DynamicProperties - (*core.MetricsInfo)(nil), // 163: protocol.MetricsInfo + (*TransactionExtention)(nil), // 35: protocol.TransactionExtention + (*EstimateEnergyMessage)(nil), // 36: protocol.EstimateEnergyMessage + (*BlockExtention)(nil), // 37: protocol.BlockExtention + (*BlockListExtention)(nil), // 38: protocol.BlockListExtention + (*TransactionListExtention)(nil), // 39: protocol.TransactionListExtention + (*BlockIncrementalMerkleTree)(nil), // 40: protocol.BlockIncrementalMerkleTree + (*TransactionSignWeight)(nil), // 41: protocol.TransactionSignWeight + (*TransactionApprovedList)(nil), // 42: protocol.TransactionApprovedList + (*IvkDecryptParameters)(nil), // 43: protocol.IvkDecryptParameters + (*IvkDecryptAndMarkParameters)(nil), // 44: protocol.IvkDecryptAndMarkParameters + (*OvkDecryptParameters)(nil), // 45: protocol.OvkDecryptParameters + (*DecryptNotes)(nil), // 46: protocol.DecryptNotes + (*DecryptNotesMarked)(nil), // 47: protocol.DecryptNotesMarked + (*Note)(nil), // 48: protocol.Note + (*SpendNote)(nil), // 49: protocol.SpendNote + (*ReceiveNote)(nil), // 50: protocol.ReceiveNote + (*PrivateParameters)(nil), // 51: protocol.PrivateParameters + (*PrivateParametersWithoutAsk)(nil), // 52: protocol.PrivateParametersWithoutAsk + (*SpendAuthSigParameters)(nil), // 53: protocol.SpendAuthSigParameters + (*NfParameters)(nil), // 54: protocol.NfParameters + (*ExpandedSpendingKeyMessage)(nil), // 55: protocol.ExpandedSpendingKeyMessage + (*ViewingKeyMessage)(nil), // 56: protocol.ViewingKeyMessage + (*IncomingViewingKeyMessage)(nil), // 57: protocol.IncomingViewingKeyMessage + (*DiversifierMessage)(nil), // 58: protocol.DiversifierMessage + (*IncomingViewingKeyDiversifierMessage)(nil), // 59: protocol.IncomingViewingKeyDiversifierMessage + (*PaymentAddressMessage)(nil), // 60: protocol.PaymentAddressMessage + (*ShieldedAddressInfo)(nil), // 61: protocol.ShieldedAddressInfo + (*NoteParameters)(nil), // 62: protocol.NoteParameters + (*SpendResult)(nil), // 63: protocol.SpendResult + (*TransactionInfoList)(nil), // 64: protocol.TransactionInfoList + (*SpendNoteTRC20)(nil), // 65: protocol.SpendNoteTRC20 + (*PrivateShieldedTRC20Parameters)(nil), // 66: protocol.PrivateShieldedTRC20Parameters + (*PrivateShieldedTRC20ParametersWithoutAsk)(nil), // 67: protocol.PrivateShieldedTRC20ParametersWithoutAsk + (*ShieldedTRC20Parameters)(nil), // 68: protocol.ShieldedTRC20Parameters + (*IvkDecryptTRC20Parameters)(nil), // 69: protocol.IvkDecryptTRC20Parameters + (*OvkDecryptTRC20Parameters)(nil), // 70: protocol.OvkDecryptTRC20Parameters + (*DecryptNotesTRC20)(nil), // 71: protocol.DecryptNotesTRC20 + (*NfTRC20Parameters)(nil), // 72: protocol.NfTRC20Parameters + (*NullifierResult)(nil), // 73: protocol.NullifierResult + (*ShieldedTRC20TriggerContractParameters)(nil), // 74: protocol.ShieldedTRC20TriggerContractParameters + nil, // 75: protocol.AccountNetMessage.AssetNetUsedEntry + nil, // 76: protocol.AccountNetMessage.AssetNetLimitEntry + nil, // 77: protocol.AccountResourceMessage.AssetNetUsedEntry + nil, // 78: protocol.AccountResourceMessage.AssetNetLimitEntry + (*TransactionSignWeight_Result)(nil), // 79: protocol.TransactionSignWeight.Result + (*TransactionApprovedList_Result)(nil), // 80: protocol.TransactionApprovedList.Result + (*DecryptNotes_NoteTx)(nil), // 81: protocol.DecryptNotes.NoteTx + (*DecryptNotesMarked_NoteTx)(nil), // 82: protocol.DecryptNotesMarked.NoteTx + (*DecryptNotesTRC20_NoteTx)(nil), // 83: protocol.DecryptNotesTRC20.NoteTx + (*core.Witness)(nil), // 84: protocol.Witness + (*core.Proposal)(nil), // 85: protocol.Proposal + (*core.Exchange)(nil), // 86: protocol.Exchange + (*core.AssetIssueContract)(nil), // 87: protocol.AssetIssueContract + (*core.Block)(nil), // 88: protocol.Block + (*core.Transaction)(nil), // 89: protocol.Transaction + (*core.DelegatedResource)(nil), // 90: protocol.DelegatedResource + (*core.Account)(nil), // 91: protocol.Account + (*core.TransactionInfo_Log)(nil), // 92: protocol.TransactionInfo.Log + (*core.InternalTransaction)(nil), // 93: protocol.InternalTransaction + (*core.BlockHeader)(nil), // 94: protocol.BlockHeader + (*core.IncrementalMerkleTree)(nil), // 95: protocol.IncrementalMerkleTree + (*core.Permission)(nil), // 96: protocol.Permission + (*core.IncrementalMerkleVoucher)(nil), // 97: protocol.IncrementalMerkleVoucher + (*core.TransactionInfo)(nil), // 98: protocol.TransactionInfo + (*core.SpendDescription)(nil), // 99: protocol.SpendDescription + (*core.ReceiveDescription)(nil), // 100: protocol.ReceiveDescription + (*core.AccountBalanceRequest)(nil), // 101: protocol.AccountBalanceRequest + (*core.BlockBalanceTrace_BlockIdentifier)(nil), // 102: protocol.BlockBalanceTrace.BlockIdentifier + (*core.TransferContract)(nil), // 103: protocol.TransferContract + (*core.AccountUpdateContract)(nil), // 104: protocol.AccountUpdateContract + (*core.SetAccountIdContract)(nil), // 105: protocol.SetAccountIdContract + (*core.VoteWitnessContract)(nil), // 106: protocol.VoteWitnessContract + (*core.UpdateSettingContract)(nil), // 107: protocol.UpdateSettingContract + (*core.UpdateEnergyLimitContract)(nil), // 108: protocol.UpdateEnergyLimitContract + (*core.WitnessUpdateContract)(nil), // 109: protocol.WitnessUpdateContract + (*core.AccountCreateContract)(nil), // 110: protocol.AccountCreateContract + (*core.WitnessCreateContract)(nil), // 111: protocol.WitnessCreateContract + (*core.TransferAssetContract)(nil), // 112: protocol.TransferAssetContract + (*core.ParticipateAssetIssueContract)(nil), // 113: protocol.ParticipateAssetIssueContract + (*core.FreezeBalanceContract)(nil), // 114: protocol.FreezeBalanceContract + (*core.FreezeBalanceV2Contract)(nil), // 115: protocol.FreezeBalanceV2Contract + (*core.UnfreezeBalanceContract)(nil), // 116: protocol.UnfreezeBalanceContract + (*core.UnfreezeBalanceV2Contract)(nil), // 117: protocol.UnfreezeBalanceV2Contract + (*core.UnfreezeAssetContract)(nil), // 118: protocol.UnfreezeAssetContract + (*core.WithdrawBalanceContract)(nil), // 119: protocol.WithdrawBalanceContract + (*core.WithdrawExpireUnfreezeContract)(nil), // 120: protocol.WithdrawExpireUnfreezeContract + (*core.DelegateResourceContract)(nil), // 121: protocol.DelegateResourceContract + (*core.UnDelegateResourceContract)(nil), // 122: protocol.UnDelegateResourceContract + (*core.CancelAllUnfreezeV2Contract)(nil), // 123: protocol.CancelAllUnfreezeV2Contract + (*core.UpdateAssetContract)(nil), // 124: protocol.UpdateAssetContract + (*core.ProposalCreateContract)(nil), // 125: protocol.ProposalCreateContract + (*core.ProposalApproveContract)(nil), // 126: protocol.ProposalApproveContract + (*core.ProposalDeleteContract)(nil), // 127: protocol.ProposalDeleteContract + (*core.BuyStorageContract)(nil), // 128: protocol.BuyStorageContract + (*core.BuyStorageBytesContract)(nil), // 129: protocol.BuyStorageBytesContract + (*core.SellStorageContract)(nil), // 130: protocol.SellStorageContract + (*core.ExchangeCreateContract)(nil), // 131: protocol.ExchangeCreateContract + (*core.ExchangeInjectContract)(nil), // 132: protocol.ExchangeInjectContract + (*core.ExchangeWithdrawContract)(nil), // 133: protocol.ExchangeWithdrawContract + (*core.ExchangeTransactionContract)(nil), // 134: protocol.ExchangeTransactionContract + (*core.MarketSellAssetContract)(nil), // 135: protocol.MarketSellAssetContract + (*core.MarketCancelOrderContract)(nil), // 136: protocol.MarketCancelOrderContract + (*core.MarketOrderPair)(nil), // 137: protocol.MarketOrderPair + (*core.CreateSmartContract)(nil), // 138: protocol.CreateSmartContract + (*core.TriggerSmartContract)(nil), // 139: protocol.TriggerSmartContract + (*core.ClearABIContract)(nil), // 140: protocol.ClearABIContract + (*core.AccountPermissionUpdateContract)(nil), // 141: protocol.AccountPermissionUpdateContract + (*core.UpdateBrokerageContract)(nil), // 142: protocol.UpdateBrokerageContract + (*core.OutputPointInfo)(nil), // 143: protocol.OutputPointInfo + (*core.AccountBalanceResponse)(nil), // 144: protocol.AccountBalanceResponse + (*core.BlockBalanceTrace)(nil), // 145: protocol.BlockBalanceTrace + (*core.MarketOrder)(nil), // 146: protocol.MarketOrder + (*core.MarketOrderList)(nil), // 147: protocol.MarketOrderList + (*core.MarketPriceList)(nil), // 148: protocol.MarketPriceList + (*core.MarketOrderPairList)(nil), // 149: protocol.MarketOrderPairList + (*core.SmartContract)(nil), // 150: protocol.SmartContract + (*core.SmartContractDataWrapper)(nil), // 151: protocol.SmartContractDataWrapper + (*core.DelegatedResourceAccountIndex)(nil), // 152: protocol.DelegatedResourceAccountIndex + (*core.ChainParameters)(nil), // 153: protocol.ChainParameters + (*core.NodeInfo)(nil), // 154: protocol.NodeInfo + (*core.IncrementalMerkleVoucherInfo)(nil), // 155: protocol.IncrementalMerkleVoucherInfo + (*core.DynamicProperties)(nil), // 156: protocol.DynamicProperties + (*core.MetricsInfo)(nil), // 157: protocol.MetricsInfo } var file_api_api_proto_depIdxs = []int32{ 0, // 0: protocol.Return.code:type_name -> protocol.Return.response_code - 90, // 1: protocol.WitnessList.witnesses:type_name -> protocol.Witness - 91, // 2: protocol.ProposalList.proposals:type_name -> protocol.Proposal - 92, // 3: protocol.ExchangeList.exchanges:type_name -> protocol.Exchange - 93, // 4: protocol.AssetIssueList.assetIssue:type_name -> protocol.AssetIssueContract - 94, // 5: protocol.BlockList.block:type_name -> protocol.Block - 95, // 6: protocol.TransactionList.transaction:type_name -> protocol.Transaction - 96, // 7: protocol.DelegatedResourceList.delegatedResource:type_name -> protocol.DelegatedResource + 84, // 1: protocol.WitnessList.witnesses:type_name -> protocol.Witness + 85, // 2: protocol.ProposalList.proposals:type_name -> protocol.Proposal + 86, // 3: protocol.ExchangeList.exchanges:type_name -> protocol.Exchange + 87, // 4: protocol.AssetIssueList.assetIssue:type_name -> protocol.AssetIssueContract + 88, // 5: protocol.BlockList.block:type_name -> protocol.Block + 89, // 6: protocol.TransactionList.transaction:type_name -> protocol.Transaction + 90, // 7: protocol.DelegatedResourceList.delegatedResource:type_name -> protocol.DelegatedResource 21, // 8: protocol.NodeList.nodes:type_name -> protocol.Node 22, // 9: protocol.Node.address:type_name -> protocol.Address - 97, // 10: protocol.AccountPaginated.account:type_name -> protocol.Account + 91, // 10: protocol.AccountPaginated.account:type_name -> protocol.Account 26, // 11: protocol.TimePaginatedMessage.timeMessage:type_name -> protocol.TimeMessage - 81, // 12: protocol.AccountNetMessage.assetNetUsed:type_name -> protocol.AccountNetMessage.AssetNetUsedEntry - 82, // 13: protocol.AccountNetMessage.assetNetLimit:type_name -> protocol.AccountNetMessage.AssetNetLimitEntry - 83, // 14: protocol.AccountResourceMessage.assetNetUsed:type_name -> protocol.AccountResourceMessage.AssetNetUsedEntry - 84, // 15: protocol.AccountResourceMessage.assetNetLimit:type_name -> protocol.AccountResourceMessage.AssetNetLimitEntry - 95, // 16: protocol.EasyTransferResponse.transaction:type_name -> protocol.Transaction - 3, // 17: protocol.EasyTransferResponse.result:type_name -> protocol.Return - 95, // 18: protocol.TransactionExtention.transaction:type_name -> protocol.Transaction - 3, // 19: protocol.TransactionExtention.result:type_name -> protocol.Return - 98, // 20: protocol.TransactionExtention.logs:type_name -> protocol.TransactionInfo.Log - 99, // 21: protocol.TransactionExtention.internal_transactions:type_name -> protocol.InternalTransaction - 3, // 22: protocol.EstimateEnergyMessage.result:type_name -> protocol.Return - 41, // 23: protocol.BlockExtention.transactions:type_name -> protocol.TransactionExtention - 100, // 24: protocol.BlockExtention.block_header:type_name -> protocol.BlockHeader - 43, // 25: protocol.BlockListExtention.block:type_name -> protocol.BlockExtention - 41, // 26: protocol.TransactionListExtention.transaction:type_name -> protocol.TransactionExtention - 101, // 27: protocol.BlockIncrementalMerkleTree.merkleTree:type_name -> protocol.IncrementalMerkleTree - 102, // 28: protocol.TransactionSignWeight.permission:type_name -> protocol.Permission - 85, // 29: protocol.TransactionSignWeight.result:type_name -> protocol.TransactionSignWeight.Result - 41, // 30: protocol.TransactionSignWeight.transaction:type_name -> protocol.TransactionExtention - 86, // 31: protocol.TransactionApprovedList.result:type_name -> protocol.TransactionApprovedList.Result - 41, // 32: protocol.TransactionApprovedList.transaction:type_name -> protocol.TransactionExtention - 87, // 33: protocol.DecryptNotes.noteTxs:type_name -> protocol.DecryptNotes.NoteTx - 88, // 34: protocol.DecryptNotesMarked.noteTxs:type_name -> protocol.DecryptNotesMarked.NoteTx - 54, // 35: protocol.SpendNote.note:type_name -> protocol.Note - 103, // 36: protocol.SpendNote.voucher:type_name -> protocol.IncrementalMerkleVoucher - 54, // 37: protocol.ReceiveNote.note:type_name -> protocol.Note - 55, // 38: protocol.PrivateParameters.shielded_spends:type_name -> protocol.SpendNote - 56, // 39: protocol.PrivateParameters.shielded_receives:type_name -> protocol.ReceiveNote - 55, // 40: protocol.PrivateParametersWithoutAsk.shielded_spends:type_name -> protocol.SpendNote - 56, // 41: protocol.PrivateParametersWithoutAsk.shielded_receives:type_name -> protocol.ReceiveNote - 54, // 42: protocol.NfParameters.note:type_name -> protocol.Note - 103, // 43: protocol.NfParameters.voucher:type_name -> protocol.IncrementalMerkleVoucher - 63, // 44: protocol.IncomingViewingKeyDiversifierMessage.ivk:type_name -> protocol.IncomingViewingKeyMessage - 64, // 45: protocol.IncomingViewingKeyDiversifierMessage.d:type_name -> protocol.DiversifierMessage - 64, // 46: protocol.PaymentAddressMessage.d:type_name -> protocol.DiversifierMessage - 54, // 47: protocol.NoteParameters.note:type_name -> protocol.Note - 104, // 48: protocol.TransactionInfoList.transactionInfo:type_name -> protocol.TransactionInfo - 54, // 49: protocol.SpendNoteTRC20.note:type_name -> protocol.Note - 71, // 50: protocol.PrivateShieldedTRC20Parameters.shielded_spends:type_name -> protocol.SpendNoteTRC20 - 56, // 51: protocol.PrivateShieldedTRC20Parameters.shielded_receives:type_name -> protocol.ReceiveNote - 71, // 52: protocol.PrivateShieldedTRC20ParametersWithoutAsk.shielded_spends:type_name -> protocol.SpendNoteTRC20 - 56, // 53: protocol.PrivateShieldedTRC20ParametersWithoutAsk.shielded_receives:type_name -> protocol.ReceiveNote - 105, // 54: protocol.ShieldedTRC20Parameters.spend_description:type_name -> protocol.SpendDescription - 106, // 55: protocol.ShieldedTRC20Parameters.receive_description:type_name -> protocol.ReceiveDescription - 89, // 56: protocol.DecryptNotesTRC20.noteTxs:type_name -> protocol.DecryptNotesTRC20.NoteTx - 54, // 57: protocol.NfTRC20Parameters.note:type_name -> protocol.Note - 74, // 58: protocol.ShieldedTRC20TriggerContractParameters.shielded_TRC20_Parameters:type_name -> protocol.ShieldedTRC20Parameters - 25, // 59: protocol.ShieldedTRC20TriggerContractParameters.spend_authority_signature:type_name -> protocol.BytesMessage - 1, // 60: protocol.TransactionSignWeight.Result.code:type_name -> protocol.TransactionSignWeight.Result.response_code - 2, // 61: protocol.TransactionApprovedList.Result.code:type_name -> protocol.TransactionApprovedList.Result.response_code - 54, // 62: protocol.DecryptNotes.NoteTx.note:type_name -> protocol.Note - 54, // 63: protocol.DecryptNotesMarked.NoteTx.note:type_name -> protocol.Note - 54, // 64: protocol.DecryptNotesTRC20.NoteTx.note:type_name -> protocol.Note - 97, // 65: protocol.Wallet.GetAccount:input_type -> protocol.Account - 97, // 66: protocol.Wallet.GetAccountById:input_type -> protocol.Account - 107, // 67: protocol.Wallet.GetAccountBalance:input_type -> protocol.AccountBalanceRequest - 108, // 68: protocol.Wallet.GetBlockBalanceTrace:input_type -> protocol.BlockBalanceTrace.BlockIdentifier - 109, // 69: protocol.Wallet.CreateTransaction:input_type -> protocol.TransferContract - 109, // 70: protocol.Wallet.CreateTransaction2:input_type -> protocol.TransferContract - 95, // 71: protocol.Wallet.BroadcastTransaction:input_type -> protocol.Transaction - 110, // 72: protocol.Wallet.UpdateAccount:input_type -> protocol.AccountUpdateContract - 111, // 73: protocol.Wallet.SetAccountId:input_type -> protocol.SetAccountIdContract - 110, // 74: protocol.Wallet.UpdateAccount2:input_type -> protocol.AccountUpdateContract - 112, // 75: protocol.Wallet.VoteWitnessAccount:input_type -> protocol.VoteWitnessContract - 113, // 76: protocol.Wallet.UpdateSetting:input_type -> protocol.UpdateSettingContract - 114, // 77: protocol.Wallet.UpdateEnergyLimit:input_type -> protocol.UpdateEnergyLimitContract - 112, // 78: protocol.Wallet.VoteWitnessAccount2:input_type -> protocol.VoteWitnessContract - 93, // 79: protocol.Wallet.CreateAssetIssue:input_type -> protocol.AssetIssueContract - 93, // 80: protocol.Wallet.CreateAssetIssue2:input_type -> protocol.AssetIssueContract - 115, // 81: protocol.Wallet.UpdateWitness:input_type -> protocol.WitnessUpdateContract - 115, // 82: protocol.Wallet.UpdateWitness2:input_type -> protocol.WitnessUpdateContract - 116, // 83: protocol.Wallet.CreateAccount:input_type -> protocol.AccountCreateContract - 116, // 84: protocol.Wallet.CreateAccount2:input_type -> protocol.AccountCreateContract - 117, // 85: protocol.Wallet.CreateWitness:input_type -> protocol.WitnessCreateContract - 117, // 86: protocol.Wallet.CreateWitness2:input_type -> protocol.WitnessCreateContract - 118, // 87: protocol.Wallet.TransferAsset:input_type -> protocol.TransferAssetContract - 118, // 88: protocol.Wallet.TransferAsset2:input_type -> protocol.TransferAssetContract - 119, // 89: protocol.Wallet.ParticipateAssetIssue:input_type -> protocol.ParticipateAssetIssueContract - 119, // 90: protocol.Wallet.ParticipateAssetIssue2:input_type -> protocol.ParticipateAssetIssueContract - 120, // 91: protocol.Wallet.FreezeBalance:input_type -> protocol.FreezeBalanceContract - 120, // 92: protocol.Wallet.FreezeBalance2:input_type -> protocol.FreezeBalanceContract - 121, // 93: protocol.Wallet.FreezeBalanceV2:input_type -> protocol.FreezeBalanceV2Contract - 122, // 94: protocol.Wallet.UnfreezeBalance:input_type -> protocol.UnfreezeBalanceContract - 122, // 95: protocol.Wallet.UnfreezeBalance2:input_type -> protocol.UnfreezeBalanceContract - 123, // 96: protocol.Wallet.UnfreezeBalanceV2:input_type -> protocol.UnfreezeBalanceV2Contract - 124, // 97: protocol.Wallet.UnfreezeAsset:input_type -> protocol.UnfreezeAssetContract - 124, // 98: protocol.Wallet.UnfreezeAsset2:input_type -> protocol.UnfreezeAssetContract - 125, // 99: protocol.Wallet.WithdrawBalance:input_type -> protocol.WithdrawBalanceContract - 125, // 100: protocol.Wallet.WithdrawBalance2:input_type -> protocol.WithdrawBalanceContract - 126, // 101: protocol.Wallet.WithdrawExpireUnfreeze:input_type -> protocol.WithdrawExpireUnfreezeContract - 127, // 102: protocol.Wallet.DelegateResource:input_type -> protocol.DelegateResourceContract - 128, // 103: protocol.Wallet.UnDelegateResource:input_type -> protocol.UnDelegateResourceContract - 129, // 104: protocol.Wallet.UpdateAsset:input_type -> protocol.UpdateAssetContract - 129, // 105: protocol.Wallet.UpdateAsset2:input_type -> protocol.UpdateAssetContract - 130, // 106: protocol.Wallet.ProposalCreate:input_type -> protocol.ProposalCreateContract - 131, // 107: protocol.Wallet.ProposalApprove:input_type -> protocol.ProposalApproveContract - 132, // 108: protocol.Wallet.ProposalDelete:input_type -> protocol.ProposalDeleteContract - 133, // 109: protocol.Wallet.BuyStorage:input_type -> protocol.BuyStorageContract - 134, // 110: protocol.Wallet.BuyStorageBytes:input_type -> protocol.BuyStorageBytesContract - 135, // 111: protocol.Wallet.SellStorage:input_type -> protocol.SellStorageContract - 136, // 112: protocol.Wallet.ExchangeCreate:input_type -> protocol.ExchangeCreateContract - 137, // 113: protocol.Wallet.ExchangeInject:input_type -> protocol.ExchangeInjectContract - 138, // 114: protocol.Wallet.ExchangeWithdraw:input_type -> protocol.ExchangeWithdrawContract - 139, // 115: protocol.Wallet.ExchangeTransaction:input_type -> protocol.ExchangeTransactionContract - 140, // 116: protocol.Wallet.MarketSellAsset:input_type -> protocol.MarketSellAssetContract - 141, // 117: protocol.Wallet.MarketCancelOrder:input_type -> protocol.MarketCancelOrderContract - 25, // 118: protocol.Wallet.GetMarketOrderById:input_type -> protocol.BytesMessage - 25, // 119: protocol.Wallet.GetMarketOrderByAccount:input_type -> protocol.BytesMessage - 142, // 120: protocol.Wallet.GetMarketPriceByPair:input_type -> protocol.MarketOrderPair - 142, // 121: protocol.Wallet.GetMarketOrderListByPair:input_type -> protocol.MarketOrderPair - 23, // 122: protocol.Wallet.GetMarketPairList:input_type -> protocol.EmptyMessage - 23, // 123: protocol.Wallet.ListNodes:input_type -> protocol.EmptyMessage - 97, // 124: protocol.Wallet.GetAssetIssueByAccount:input_type -> protocol.Account - 97, // 125: protocol.Wallet.GetAccountNet:input_type -> protocol.Account - 97, // 126: protocol.Wallet.GetAccountResource:input_type -> protocol.Account - 25, // 127: protocol.Wallet.GetAssetIssueByName:input_type -> protocol.BytesMessage - 25, // 128: protocol.Wallet.GetAssetIssueListByName:input_type -> protocol.BytesMessage - 25, // 129: protocol.Wallet.GetAssetIssueById:input_type -> protocol.BytesMessage - 23, // 130: protocol.Wallet.GetNowBlock:input_type -> protocol.EmptyMessage - 23, // 131: protocol.Wallet.GetNowBlock2:input_type -> protocol.EmptyMessage - 24, // 132: protocol.Wallet.GetBlockByNum:input_type -> protocol.NumberMessage - 24, // 133: protocol.Wallet.GetBlockByNum2:input_type -> protocol.NumberMessage - 24, // 134: protocol.Wallet.GetTransactionCountByBlockNum:input_type -> protocol.NumberMessage - 25, // 135: protocol.Wallet.GetBlockById:input_type -> protocol.BytesMessage - 28, // 136: protocol.Wallet.GetBlockByLimitNext:input_type -> protocol.BlockLimit - 28, // 137: protocol.Wallet.GetBlockByLimitNext2:input_type -> protocol.BlockLimit - 24, // 138: protocol.Wallet.GetBlockByLatestNum:input_type -> protocol.NumberMessage - 24, // 139: protocol.Wallet.GetBlockByLatestNum2:input_type -> protocol.NumberMessage - 25, // 140: protocol.Wallet.GetTransactionById:input_type -> protocol.BytesMessage - 143, // 141: protocol.Wallet.DeployContract:input_type -> protocol.CreateSmartContract - 25, // 142: protocol.Wallet.GetContract:input_type -> protocol.BytesMessage - 25, // 143: protocol.Wallet.GetContractInfo:input_type -> protocol.BytesMessage - 144, // 144: protocol.Wallet.TriggerContract:input_type -> protocol.TriggerSmartContract - 144, // 145: protocol.Wallet.TriggerConstantContract:input_type -> protocol.TriggerSmartContract - 144, // 146: protocol.Wallet.EstimateEnergy:input_type -> protocol.TriggerSmartContract - 145, // 147: protocol.Wallet.ClearContractABI:input_type -> protocol.ClearABIContract - 23, // 148: protocol.Wallet.ListWitnesses:input_type -> protocol.EmptyMessage - 12, // 149: protocol.Wallet.GetDelegatedResource:input_type -> protocol.DelegatedResourceMessage - 12, // 150: protocol.Wallet.GetDelegatedResourceV2:input_type -> protocol.DelegatedResourceMessage - 25, // 151: protocol.Wallet.GetDelegatedResourceAccountIndex:input_type -> protocol.BytesMessage - 25, // 152: protocol.Wallet.GetDelegatedResourceAccountIndexV2:input_type -> protocol.BytesMessage - 16, // 153: protocol.Wallet.GetCanDelegatedMaxSize:input_type -> protocol.CanDelegatedMaxSizeRequestMessage - 14, // 154: protocol.Wallet.GetAvailableUnfreezeCount:input_type -> protocol.GetAvailableUnfreezeCountRequestMessage - 18, // 155: protocol.Wallet.GetCanWithdrawUnfreezeAmount:input_type -> protocol.CanWithdrawUnfreezeAmountRequestMessage - 23, // 156: protocol.Wallet.ListProposals:input_type -> protocol.EmptyMessage - 34, // 157: protocol.Wallet.GetPaginatedProposalList:input_type -> protocol.PaginatedMessage - 25, // 158: protocol.Wallet.GetProposalById:input_type -> protocol.BytesMessage - 23, // 159: protocol.Wallet.ListExchanges:input_type -> protocol.EmptyMessage - 34, // 160: protocol.Wallet.GetPaginatedExchangeList:input_type -> protocol.PaginatedMessage - 25, // 161: protocol.Wallet.GetExchangeById:input_type -> protocol.BytesMessage - 23, // 162: protocol.Wallet.GetChainParameters:input_type -> protocol.EmptyMessage - 23, // 163: protocol.Wallet.GetAssetIssueList:input_type -> protocol.EmptyMessage - 34, // 164: protocol.Wallet.GetPaginatedAssetIssueList:input_type -> protocol.PaginatedMessage - 23, // 165: protocol.Wallet.TotalTransaction:input_type -> protocol.EmptyMessage - 23, // 166: protocol.Wallet.GetNextMaintenanceTime:input_type -> protocol.EmptyMessage - 146, // 167: protocol.Wallet.GetTransactionSign:input_type -> protocol.TransactionSign - 146, // 168: protocol.Wallet.GetTransactionSign2:input_type -> protocol.TransactionSign - 25, // 169: protocol.Wallet.CreateAddress:input_type -> protocol.BytesMessage - 36, // 170: protocol.Wallet.EasyTransferAsset:input_type -> protocol.EasyTransferAssetMessage - 38, // 171: protocol.Wallet.EasyTransferAssetByPrivate:input_type -> protocol.EasyTransferAssetByPrivateMessage - 35, // 172: protocol.Wallet.EasyTransfer:input_type -> protocol.EasyTransferMessage - 37, // 173: protocol.Wallet.EasyTransferByPrivate:input_type -> protocol.EasyTransferByPrivateMessage - 23, // 174: protocol.Wallet.GenerateAddress:input_type -> protocol.EmptyMessage - 25, // 175: protocol.Wallet.GetTransactionInfoById:input_type -> protocol.BytesMessage - 147, // 176: protocol.Wallet.AccountPermissionUpdate:input_type -> protocol.AccountPermissionUpdateContract - 146, // 177: protocol.Wallet.AddSign:input_type -> protocol.TransactionSign - 95, // 178: protocol.Wallet.GetTransactionSignWeight:input_type -> protocol.Transaction - 95, // 179: protocol.Wallet.GetTransactionApprovedList:input_type -> protocol.Transaction - 23, // 180: protocol.Wallet.GetNodeInfo:input_type -> protocol.EmptyMessage - 25, // 181: protocol.Wallet.GetRewardInfo:input_type -> protocol.BytesMessage - 25, // 182: protocol.Wallet.GetBrokerageInfo:input_type -> protocol.BytesMessage - 148, // 183: protocol.Wallet.UpdateBrokerage:input_type -> protocol.UpdateBrokerageContract - 57, // 184: protocol.Wallet.CreateShieldedTransaction:input_type -> protocol.PrivateParameters - 149, // 185: protocol.Wallet.GetMerkleTreeVoucherInfo:input_type -> protocol.OutputPointInfo - 49, // 186: protocol.Wallet.ScanNoteByIvk:input_type -> protocol.IvkDecryptParameters - 50, // 187: protocol.Wallet.ScanAndMarkNoteByIvk:input_type -> protocol.IvkDecryptAndMarkParameters - 51, // 188: protocol.Wallet.ScanNoteByOvk:input_type -> protocol.OvkDecryptParameters - 23, // 189: protocol.Wallet.GetSpendingKey:input_type -> protocol.EmptyMessage - 25, // 190: protocol.Wallet.GetExpandedSpendingKey:input_type -> protocol.BytesMessage - 25, // 191: protocol.Wallet.GetAkFromAsk:input_type -> protocol.BytesMessage - 25, // 192: protocol.Wallet.GetNkFromNsk:input_type -> protocol.BytesMessage - 62, // 193: protocol.Wallet.GetIncomingViewingKey:input_type -> protocol.ViewingKeyMessage - 23, // 194: protocol.Wallet.GetDiversifier:input_type -> protocol.EmptyMessage - 23, // 195: protocol.Wallet.GetNewShieldedAddress:input_type -> protocol.EmptyMessage - 65, // 196: protocol.Wallet.GetZenPaymentAddress:input_type -> protocol.IncomingViewingKeyDiversifierMessage - 23, // 197: protocol.Wallet.GetRcm:input_type -> protocol.EmptyMessage - 68, // 198: protocol.Wallet.IsSpend:input_type -> protocol.NoteParameters - 58, // 199: protocol.Wallet.CreateShieldedTransactionWithoutSpendAuthSig:input_type -> protocol.PrivateParametersWithoutAsk - 95, // 200: protocol.Wallet.GetShieldTransactionHash:input_type -> protocol.Transaction - 59, // 201: protocol.Wallet.CreateSpendAuthSig:input_type -> protocol.SpendAuthSigParameters - 60, // 202: protocol.Wallet.CreateShieldNullifier:input_type -> protocol.NfParameters - 72, // 203: protocol.Wallet.CreateShieldedContractParameters:input_type -> protocol.PrivateShieldedTRC20Parameters - 73, // 204: protocol.Wallet.CreateShieldedContractParametersWithoutAsk:input_type -> protocol.PrivateShieldedTRC20ParametersWithoutAsk - 75, // 205: protocol.Wallet.ScanShieldedTRC20NotesByIvk:input_type -> protocol.IvkDecryptTRC20Parameters - 76, // 206: protocol.Wallet.ScanShieldedTRC20NotesByOvk:input_type -> protocol.OvkDecryptTRC20Parameters - 78, // 207: protocol.Wallet.IsShieldedTRC20ContractNoteSpent:input_type -> protocol.NfTRC20Parameters - 80, // 208: protocol.Wallet.GetTriggerInputForShieldedTRC20Contract:input_type -> protocol.ShieldedTRC20TriggerContractParameters - 95, // 209: protocol.Wallet.CreateCommonTransaction:input_type -> protocol.Transaction - 24, // 210: protocol.Wallet.GetTransactionInfoByBlockNum:input_type -> protocol.NumberMessage - 23, // 211: protocol.Wallet.GetBurnTrx:input_type -> protocol.EmptyMessage - 25, // 212: protocol.Wallet.GetTransactionFromPending:input_type -> protocol.BytesMessage - 23, // 213: protocol.Wallet.GetTransactionListFromPending:input_type -> protocol.EmptyMessage - 23, // 214: protocol.Wallet.GetPendingSize:input_type -> protocol.EmptyMessage - 27, // 215: protocol.Wallet.GetBlock:input_type -> protocol.BlockReq - 97, // 216: protocol.WalletSolidity.GetAccount:input_type -> protocol.Account - 97, // 217: protocol.WalletSolidity.GetAccountById:input_type -> protocol.Account - 23, // 218: protocol.WalletSolidity.ListWitnesses:input_type -> protocol.EmptyMessage - 23, // 219: protocol.WalletSolidity.GetAssetIssueList:input_type -> protocol.EmptyMessage - 34, // 220: protocol.WalletSolidity.GetPaginatedAssetIssueList:input_type -> protocol.PaginatedMessage - 25, // 221: protocol.WalletSolidity.GetAssetIssueByName:input_type -> protocol.BytesMessage - 25, // 222: protocol.WalletSolidity.GetAssetIssueListByName:input_type -> protocol.BytesMessage - 25, // 223: protocol.WalletSolidity.GetAssetIssueById:input_type -> protocol.BytesMessage - 23, // 224: protocol.WalletSolidity.GetNowBlock:input_type -> protocol.EmptyMessage - 23, // 225: protocol.WalletSolidity.GetNowBlock2:input_type -> protocol.EmptyMessage - 24, // 226: protocol.WalletSolidity.GetBlockByNum:input_type -> protocol.NumberMessage - 24, // 227: protocol.WalletSolidity.GetBlockByNum2:input_type -> protocol.NumberMessage - 24, // 228: protocol.WalletSolidity.GetTransactionCountByBlockNum:input_type -> protocol.NumberMessage - 12, // 229: protocol.WalletSolidity.GetDelegatedResource:input_type -> protocol.DelegatedResourceMessage - 12, // 230: protocol.WalletSolidity.GetDelegatedResourceV2:input_type -> protocol.DelegatedResourceMessage - 25, // 231: protocol.WalletSolidity.GetDelegatedResourceAccountIndex:input_type -> protocol.BytesMessage - 25, // 232: protocol.WalletSolidity.GetDelegatedResourceAccountIndexV2:input_type -> protocol.BytesMessage - 16, // 233: protocol.WalletSolidity.GetCanDelegatedMaxSize:input_type -> protocol.CanDelegatedMaxSizeRequestMessage - 14, // 234: protocol.WalletSolidity.GetAvailableUnfreezeCount:input_type -> protocol.GetAvailableUnfreezeCountRequestMessage - 18, // 235: protocol.WalletSolidity.GetCanWithdrawUnfreezeAmount:input_type -> protocol.CanWithdrawUnfreezeAmountRequestMessage - 25, // 236: protocol.WalletSolidity.GetExchangeById:input_type -> protocol.BytesMessage - 23, // 237: protocol.WalletSolidity.ListExchanges:input_type -> protocol.EmptyMessage - 25, // 238: protocol.WalletSolidity.GetTransactionById:input_type -> protocol.BytesMessage - 25, // 239: protocol.WalletSolidity.GetTransactionInfoById:input_type -> protocol.BytesMessage - 23, // 240: protocol.WalletSolidity.GenerateAddress:input_type -> protocol.EmptyMessage - 149, // 241: protocol.WalletSolidity.GetMerkleTreeVoucherInfo:input_type -> protocol.OutputPointInfo - 49, // 242: protocol.WalletSolidity.ScanNoteByIvk:input_type -> protocol.IvkDecryptParameters - 50, // 243: protocol.WalletSolidity.ScanAndMarkNoteByIvk:input_type -> protocol.IvkDecryptAndMarkParameters - 51, // 244: protocol.WalletSolidity.ScanNoteByOvk:input_type -> protocol.OvkDecryptParameters - 68, // 245: protocol.WalletSolidity.IsSpend:input_type -> protocol.NoteParameters - 75, // 246: protocol.WalletSolidity.ScanShieldedTRC20NotesByIvk:input_type -> protocol.IvkDecryptTRC20Parameters - 76, // 247: protocol.WalletSolidity.ScanShieldedTRC20NotesByOvk:input_type -> protocol.OvkDecryptTRC20Parameters - 78, // 248: protocol.WalletSolidity.IsShieldedTRC20ContractNoteSpent:input_type -> protocol.NfTRC20Parameters - 25, // 249: protocol.WalletSolidity.GetRewardInfo:input_type -> protocol.BytesMessage - 25, // 250: protocol.WalletSolidity.GetBrokerageInfo:input_type -> protocol.BytesMessage - 144, // 251: protocol.WalletSolidity.TriggerConstantContract:input_type -> protocol.TriggerSmartContract - 144, // 252: protocol.WalletSolidity.EstimateEnergy:input_type -> protocol.TriggerSmartContract - 24, // 253: protocol.WalletSolidity.GetTransactionInfoByBlockNum:input_type -> protocol.NumberMessage - 25, // 254: protocol.WalletSolidity.GetMarketOrderById:input_type -> protocol.BytesMessage - 25, // 255: protocol.WalletSolidity.GetMarketOrderByAccount:input_type -> protocol.BytesMessage - 142, // 256: protocol.WalletSolidity.GetMarketPriceByPair:input_type -> protocol.MarketOrderPair - 142, // 257: protocol.WalletSolidity.GetMarketOrderListByPair:input_type -> protocol.MarketOrderPair - 23, // 258: protocol.WalletSolidity.GetMarketPairList:input_type -> protocol.EmptyMessage - 23, // 259: protocol.WalletSolidity.GetBurnTrx:input_type -> protocol.EmptyMessage - 27, // 260: protocol.WalletSolidity.GetBlock:input_type -> protocol.BlockReq - 30, // 261: protocol.WalletExtension.GetTransactionsFromThis:input_type -> protocol.AccountPaginated - 30, // 262: protocol.WalletExtension.GetTransactionsFromThis2:input_type -> protocol.AccountPaginated - 30, // 263: protocol.WalletExtension.GetTransactionsToThis:input_type -> protocol.AccountPaginated - 30, // 264: protocol.WalletExtension.GetTransactionsToThis2:input_type -> protocol.AccountPaginated - 23, // 265: protocol.Database.getBlockReference:input_type -> protocol.EmptyMessage - 23, // 266: protocol.Database.GetDynamicProperties:input_type -> protocol.EmptyMessage - 23, // 267: protocol.Database.GetNowBlock:input_type -> protocol.EmptyMessage - 24, // 268: protocol.Database.GetBlockByNum:input_type -> protocol.NumberMessage - 23, // 269: protocol.Monitor.GetStatsInfo:input_type -> protocol.EmptyMessage - 97, // 270: protocol.Wallet.GetAccount:output_type -> protocol.Account - 97, // 271: protocol.Wallet.GetAccountById:output_type -> protocol.Account - 150, // 272: protocol.Wallet.GetAccountBalance:output_type -> protocol.AccountBalanceResponse - 151, // 273: protocol.Wallet.GetBlockBalanceTrace:output_type -> protocol.BlockBalanceTrace - 95, // 274: protocol.Wallet.CreateTransaction:output_type -> protocol.Transaction - 41, // 275: protocol.Wallet.CreateTransaction2:output_type -> protocol.TransactionExtention - 3, // 276: protocol.Wallet.BroadcastTransaction:output_type -> protocol.Return - 95, // 277: protocol.Wallet.UpdateAccount:output_type -> protocol.Transaction - 95, // 278: protocol.Wallet.SetAccountId:output_type -> protocol.Transaction - 41, // 279: protocol.Wallet.UpdateAccount2:output_type -> protocol.TransactionExtention - 95, // 280: protocol.Wallet.VoteWitnessAccount:output_type -> protocol.Transaction - 41, // 281: protocol.Wallet.UpdateSetting:output_type -> protocol.TransactionExtention - 41, // 282: protocol.Wallet.UpdateEnergyLimit:output_type -> protocol.TransactionExtention - 41, // 283: protocol.Wallet.VoteWitnessAccount2:output_type -> protocol.TransactionExtention - 95, // 284: protocol.Wallet.CreateAssetIssue:output_type -> protocol.Transaction - 41, // 285: protocol.Wallet.CreateAssetIssue2:output_type -> protocol.TransactionExtention - 95, // 286: protocol.Wallet.UpdateWitness:output_type -> protocol.Transaction - 41, // 287: protocol.Wallet.UpdateWitness2:output_type -> protocol.TransactionExtention - 95, // 288: protocol.Wallet.CreateAccount:output_type -> protocol.Transaction - 41, // 289: protocol.Wallet.CreateAccount2:output_type -> protocol.TransactionExtention - 95, // 290: protocol.Wallet.CreateWitness:output_type -> protocol.Transaction - 41, // 291: protocol.Wallet.CreateWitness2:output_type -> protocol.TransactionExtention - 95, // 292: protocol.Wallet.TransferAsset:output_type -> protocol.Transaction - 41, // 293: protocol.Wallet.TransferAsset2:output_type -> protocol.TransactionExtention - 95, // 294: protocol.Wallet.ParticipateAssetIssue:output_type -> protocol.Transaction - 41, // 295: protocol.Wallet.ParticipateAssetIssue2:output_type -> protocol.TransactionExtention - 95, // 296: protocol.Wallet.FreezeBalance:output_type -> protocol.Transaction - 41, // 297: protocol.Wallet.FreezeBalance2:output_type -> protocol.TransactionExtention - 41, // 298: protocol.Wallet.FreezeBalanceV2:output_type -> protocol.TransactionExtention - 95, // 299: protocol.Wallet.UnfreezeBalance:output_type -> protocol.Transaction - 41, // 300: protocol.Wallet.UnfreezeBalance2:output_type -> protocol.TransactionExtention - 41, // 301: protocol.Wallet.UnfreezeBalanceV2:output_type -> protocol.TransactionExtention - 95, // 302: protocol.Wallet.UnfreezeAsset:output_type -> protocol.Transaction - 41, // 303: protocol.Wallet.UnfreezeAsset2:output_type -> protocol.TransactionExtention - 95, // 304: protocol.Wallet.WithdrawBalance:output_type -> protocol.Transaction - 41, // 305: protocol.Wallet.WithdrawBalance2:output_type -> protocol.TransactionExtention - 41, // 306: protocol.Wallet.WithdrawExpireUnfreeze:output_type -> protocol.TransactionExtention - 41, // 307: protocol.Wallet.DelegateResource:output_type -> protocol.TransactionExtention - 41, // 308: protocol.Wallet.UnDelegateResource:output_type -> protocol.TransactionExtention - 95, // 309: protocol.Wallet.UpdateAsset:output_type -> protocol.Transaction - 41, // 310: protocol.Wallet.UpdateAsset2:output_type -> protocol.TransactionExtention - 41, // 311: protocol.Wallet.ProposalCreate:output_type -> protocol.TransactionExtention - 41, // 312: protocol.Wallet.ProposalApprove:output_type -> protocol.TransactionExtention - 41, // 313: protocol.Wallet.ProposalDelete:output_type -> protocol.TransactionExtention - 41, // 314: protocol.Wallet.BuyStorage:output_type -> protocol.TransactionExtention - 41, // 315: protocol.Wallet.BuyStorageBytes:output_type -> protocol.TransactionExtention - 41, // 316: protocol.Wallet.SellStorage:output_type -> protocol.TransactionExtention - 41, // 317: protocol.Wallet.ExchangeCreate:output_type -> protocol.TransactionExtention - 41, // 318: protocol.Wallet.ExchangeInject:output_type -> protocol.TransactionExtention - 41, // 319: protocol.Wallet.ExchangeWithdraw:output_type -> protocol.TransactionExtention - 41, // 320: protocol.Wallet.ExchangeTransaction:output_type -> protocol.TransactionExtention - 41, // 321: protocol.Wallet.MarketSellAsset:output_type -> protocol.TransactionExtention - 41, // 322: protocol.Wallet.MarketCancelOrder:output_type -> protocol.TransactionExtention - 152, // 323: protocol.Wallet.GetMarketOrderById:output_type -> protocol.MarketOrder - 153, // 324: protocol.Wallet.GetMarketOrderByAccount:output_type -> protocol.MarketOrderList - 154, // 325: protocol.Wallet.GetMarketPriceByPair:output_type -> protocol.MarketPriceList - 153, // 326: protocol.Wallet.GetMarketOrderListByPair:output_type -> protocol.MarketOrderList - 155, // 327: protocol.Wallet.GetMarketPairList:output_type -> protocol.MarketOrderPairList - 20, // 328: protocol.Wallet.ListNodes:output_type -> protocol.NodeList - 8, // 329: protocol.Wallet.GetAssetIssueByAccount:output_type -> protocol.AssetIssueList - 32, // 330: protocol.Wallet.GetAccountNet:output_type -> protocol.AccountNetMessage - 33, // 331: protocol.Wallet.GetAccountResource:output_type -> protocol.AccountResourceMessage - 93, // 332: protocol.Wallet.GetAssetIssueByName:output_type -> protocol.AssetIssueContract - 8, // 333: protocol.Wallet.GetAssetIssueListByName:output_type -> protocol.AssetIssueList - 93, // 334: protocol.Wallet.GetAssetIssueById:output_type -> protocol.AssetIssueContract - 94, // 335: protocol.Wallet.GetNowBlock:output_type -> protocol.Block - 43, // 336: protocol.Wallet.GetNowBlock2:output_type -> protocol.BlockExtention - 94, // 337: protocol.Wallet.GetBlockByNum:output_type -> protocol.Block - 43, // 338: protocol.Wallet.GetBlockByNum2:output_type -> protocol.BlockExtention - 24, // 339: protocol.Wallet.GetTransactionCountByBlockNum:output_type -> protocol.NumberMessage - 94, // 340: protocol.Wallet.GetBlockById:output_type -> protocol.Block - 9, // 341: protocol.Wallet.GetBlockByLimitNext:output_type -> protocol.BlockList - 44, // 342: protocol.Wallet.GetBlockByLimitNext2:output_type -> protocol.BlockListExtention - 9, // 343: protocol.Wallet.GetBlockByLatestNum:output_type -> protocol.BlockList - 44, // 344: protocol.Wallet.GetBlockByLatestNum2:output_type -> protocol.BlockListExtention - 95, // 345: protocol.Wallet.GetTransactionById:output_type -> protocol.Transaction - 41, // 346: protocol.Wallet.DeployContract:output_type -> protocol.TransactionExtention - 156, // 347: protocol.Wallet.GetContract:output_type -> protocol.SmartContract - 157, // 348: protocol.Wallet.GetContractInfo:output_type -> protocol.SmartContractDataWrapper - 41, // 349: protocol.Wallet.TriggerContract:output_type -> protocol.TransactionExtention - 41, // 350: protocol.Wallet.TriggerConstantContract:output_type -> protocol.TransactionExtention - 42, // 351: protocol.Wallet.EstimateEnergy:output_type -> protocol.EstimateEnergyMessage - 41, // 352: protocol.Wallet.ClearContractABI:output_type -> protocol.TransactionExtention - 5, // 353: protocol.Wallet.ListWitnesses:output_type -> protocol.WitnessList - 13, // 354: protocol.Wallet.GetDelegatedResource:output_type -> protocol.DelegatedResourceList - 13, // 355: protocol.Wallet.GetDelegatedResourceV2:output_type -> protocol.DelegatedResourceList - 158, // 356: protocol.Wallet.GetDelegatedResourceAccountIndex:output_type -> protocol.DelegatedResourceAccountIndex - 158, // 357: protocol.Wallet.GetDelegatedResourceAccountIndexV2:output_type -> protocol.DelegatedResourceAccountIndex - 17, // 358: protocol.Wallet.GetCanDelegatedMaxSize:output_type -> protocol.CanDelegatedMaxSizeResponseMessage - 15, // 359: protocol.Wallet.GetAvailableUnfreezeCount:output_type -> protocol.GetAvailableUnfreezeCountResponseMessage - 19, // 360: protocol.Wallet.GetCanWithdrawUnfreezeAmount:output_type -> protocol.CanWithdrawUnfreezeAmountResponseMessage - 6, // 361: protocol.Wallet.ListProposals:output_type -> protocol.ProposalList - 6, // 362: protocol.Wallet.GetPaginatedProposalList:output_type -> protocol.ProposalList - 91, // 363: protocol.Wallet.GetProposalById:output_type -> protocol.Proposal - 7, // 364: protocol.Wallet.ListExchanges:output_type -> protocol.ExchangeList - 7, // 365: protocol.Wallet.GetPaginatedExchangeList:output_type -> protocol.ExchangeList - 92, // 366: protocol.Wallet.GetExchangeById:output_type -> protocol.Exchange - 159, // 367: protocol.Wallet.GetChainParameters:output_type -> protocol.ChainParameters - 8, // 368: protocol.Wallet.GetAssetIssueList:output_type -> protocol.AssetIssueList - 8, // 369: protocol.Wallet.GetPaginatedAssetIssueList:output_type -> protocol.AssetIssueList - 24, // 370: protocol.Wallet.TotalTransaction:output_type -> protocol.NumberMessage - 24, // 371: protocol.Wallet.GetNextMaintenanceTime:output_type -> protocol.NumberMessage - 95, // 372: protocol.Wallet.GetTransactionSign:output_type -> protocol.Transaction - 41, // 373: protocol.Wallet.GetTransactionSign2:output_type -> protocol.TransactionExtention - 25, // 374: protocol.Wallet.CreateAddress:output_type -> protocol.BytesMessage - 39, // 375: protocol.Wallet.EasyTransferAsset:output_type -> protocol.EasyTransferResponse - 39, // 376: protocol.Wallet.EasyTransferAssetByPrivate:output_type -> protocol.EasyTransferResponse - 39, // 377: protocol.Wallet.EasyTransfer:output_type -> protocol.EasyTransferResponse - 39, // 378: protocol.Wallet.EasyTransferByPrivate:output_type -> protocol.EasyTransferResponse - 40, // 379: protocol.Wallet.GenerateAddress:output_type -> protocol.AddressPrKeyPairMessage - 104, // 380: protocol.Wallet.GetTransactionInfoById:output_type -> protocol.TransactionInfo - 41, // 381: protocol.Wallet.AccountPermissionUpdate:output_type -> protocol.TransactionExtention - 41, // 382: protocol.Wallet.AddSign:output_type -> protocol.TransactionExtention - 47, // 383: protocol.Wallet.GetTransactionSignWeight:output_type -> protocol.TransactionSignWeight - 48, // 384: protocol.Wallet.GetTransactionApprovedList:output_type -> protocol.TransactionApprovedList - 160, // 385: protocol.Wallet.GetNodeInfo:output_type -> protocol.NodeInfo - 24, // 386: protocol.Wallet.GetRewardInfo:output_type -> protocol.NumberMessage - 24, // 387: protocol.Wallet.GetBrokerageInfo:output_type -> protocol.NumberMessage - 41, // 388: protocol.Wallet.UpdateBrokerage:output_type -> protocol.TransactionExtention - 41, // 389: protocol.Wallet.CreateShieldedTransaction:output_type -> protocol.TransactionExtention - 161, // 390: protocol.Wallet.GetMerkleTreeVoucherInfo:output_type -> protocol.IncrementalMerkleVoucherInfo - 52, // 391: protocol.Wallet.ScanNoteByIvk:output_type -> protocol.DecryptNotes - 53, // 392: protocol.Wallet.ScanAndMarkNoteByIvk:output_type -> protocol.DecryptNotesMarked - 52, // 393: protocol.Wallet.ScanNoteByOvk:output_type -> protocol.DecryptNotes - 25, // 394: protocol.Wallet.GetSpendingKey:output_type -> protocol.BytesMessage - 61, // 395: protocol.Wallet.GetExpandedSpendingKey:output_type -> protocol.ExpandedSpendingKeyMessage - 25, // 396: protocol.Wallet.GetAkFromAsk:output_type -> protocol.BytesMessage - 25, // 397: protocol.Wallet.GetNkFromNsk:output_type -> protocol.BytesMessage - 63, // 398: protocol.Wallet.GetIncomingViewingKey:output_type -> protocol.IncomingViewingKeyMessage - 64, // 399: protocol.Wallet.GetDiversifier:output_type -> protocol.DiversifierMessage - 67, // 400: protocol.Wallet.GetNewShieldedAddress:output_type -> protocol.ShieldedAddressInfo - 66, // 401: protocol.Wallet.GetZenPaymentAddress:output_type -> protocol.PaymentAddressMessage - 25, // 402: protocol.Wallet.GetRcm:output_type -> protocol.BytesMessage - 69, // 403: protocol.Wallet.IsSpend:output_type -> protocol.SpendResult - 41, // 404: protocol.Wallet.CreateShieldedTransactionWithoutSpendAuthSig:output_type -> protocol.TransactionExtention - 25, // 405: protocol.Wallet.GetShieldTransactionHash:output_type -> protocol.BytesMessage - 25, // 406: protocol.Wallet.CreateSpendAuthSig:output_type -> protocol.BytesMessage - 25, // 407: protocol.Wallet.CreateShieldNullifier:output_type -> protocol.BytesMessage - 74, // 408: protocol.Wallet.CreateShieldedContractParameters:output_type -> protocol.ShieldedTRC20Parameters - 74, // 409: protocol.Wallet.CreateShieldedContractParametersWithoutAsk:output_type -> protocol.ShieldedTRC20Parameters - 77, // 410: protocol.Wallet.ScanShieldedTRC20NotesByIvk:output_type -> protocol.DecryptNotesTRC20 - 77, // 411: protocol.Wallet.ScanShieldedTRC20NotesByOvk:output_type -> protocol.DecryptNotesTRC20 - 79, // 412: protocol.Wallet.IsShieldedTRC20ContractNoteSpent:output_type -> protocol.NullifierResult - 25, // 413: protocol.Wallet.GetTriggerInputForShieldedTRC20Contract:output_type -> protocol.BytesMessage - 41, // 414: protocol.Wallet.CreateCommonTransaction:output_type -> protocol.TransactionExtention - 70, // 415: protocol.Wallet.GetTransactionInfoByBlockNum:output_type -> protocol.TransactionInfoList - 24, // 416: protocol.Wallet.GetBurnTrx:output_type -> protocol.NumberMessage - 95, // 417: protocol.Wallet.GetTransactionFromPending:output_type -> protocol.Transaction - 11, // 418: protocol.Wallet.GetTransactionListFromPending:output_type -> protocol.TransactionIdList - 24, // 419: protocol.Wallet.GetPendingSize:output_type -> protocol.NumberMessage - 43, // 420: protocol.Wallet.GetBlock:output_type -> protocol.BlockExtention - 97, // 421: protocol.WalletSolidity.GetAccount:output_type -> protocol.Account - 97, // 422: protocol.WalletSolidity.GetAccountById:output_type -> protocol.Account - 5, // 423: protocol.WalletSolidity.ListWitnesses:output_type -> protocol.WitnessList - 8, // 424: protocol.WalletSolidity.GetAssetIssueList:output_type -> protocol.AssetIssueList - 8, // 425: protocol.WalletSolidity.GetPaginatedAssetIssueList:output_type -> protocol.AssetIssueList - 93, // 426: protocol.WalletSolidity.GetAssetIssueByName:output_type -> protocol.AssetIssueContract - 8, // 427: protocol.WalletSolidity.GetAssetIssueListByName:output_type -> protocol.AssetIssueList - 93, // 428: protocol.WalletSolidity.GetAssetIssueById:output_type -> protocol.AssetIssueContract - 94, // 429: protocol.WalletSolidity.GetNowBlock:output_type -> protocol.Block - 43, // 430: protocol.WalletSolidity.GetNowBlock2:output_type -> protocol.BlockExtention - 94, // 431: protocol.WalletSolidity.GetBlockByNum:output_type -> protocol.Block - 43, // 432: protocol.WalletSolidity.GetBlockByNum2:output_type -> protocol.BlockExtention - 24, // 433: protocol.WalletSolidity.GetTransactionCountByBlockNum:output_type -> protocol.NumberMessage - 13, // 434: protocol.WalletSolidity.GetDelegatedResource:output_type -> protocol.DelegatedResourceList - 13, // 435: protocol.WalletSolidity.GetDelegatedResourceV2:output_type -> protocol.DelegatedResourceList - 158, // 436: protocol.WalletSolidity.GetDelegatedResourceAccountIndex:output_type -> protocol.DelegatedResourceAccountIndex - 158, // 437: protocol.WalletSolidity.GetDelegatedResourceAccountIndexV2:output_type -> protocol.DelegatedResourceAccountIndex - 17, // 438: protocol.WalletSolidity.GetCanDelegatedMaxSize:output_type -> protocol.CanDelegatedMaxSizeResponseMessage - 15, // 439: protocol.WalletSolidity.GetAvailableUnfreezeCount:output_type -> protocol.GetAvailableUnfreezeCountResponseMessage - 19, // 440: protocol.WalletSolidity.GetCanWithdrawUnfreezeAmount:output_type -> protocol.CanWithdrawUnfreezeAmountResponseMessage - 92, // 441: protocol.WalletSolidity.GetExchangeById:output_type -> protocol.Exchange - 7, // 442: protocol.WalletSolidity.ListExchanges:output_type -> protocol.ExchangeList - 95, // 443: protocol.WalletSolidity.GetTransactionById:output_type -> protocol.Transaction - 104, // 444: protocol.WalletSolidity.GetTransactionInfoById:output_type -> protocol.TransactionInfo - 40, // 445: protocol.WalletSolidity.GenerateAddress:output_type -> protocol.AddressPrKeyPairMessage - 161, // 446: protocol.WalletSolidity.GetMerkleTreeVoucherInfo:output_type -> protocol.IncrementalMerkleVoucherInfo - 52, // 447: protocol.WalletSolidity.ScanNoteByIvk:output_type -> protocol.DecryptNotes - 53, // 448: protocol.WalletSolidity.ScanAndMarkNoteByIvk:output_type -> protocol.DecryptNotesMarked - 52, // 449: protocol.WalletSolidity.ScanNoteByOvk:output_type -> protocol.DecryptNotes - 69, // 450: protocol.WalletSolidity.IsSpend:output_type -> protocol.SpendResult - 77, // 451: protocol.WalletSolidity.ScanShieldedTRC20NotesByIvk:output_type -> protocol.DecryptNotesTRC20 - 77, // 452: protocol.WalletSolidity.ScanShieldedTRC20NotesByOvk:output_type -> protocol.DecryptNotesTRC20 - 79, // 453: protocol.WalletSolidity.IsShieldedTRC20ContractNoteSpent:output_type -> protocol.NullifierResult - 24, // 454: protocol.WalletSolidity.GetRewardInfo:output_type -> protocol.NumberMessage - 24, // 455: protocol.WalletSolidity.GetBrokerageInfo:output_type -> protocol.NumberMessage - 41, // 456: protocol.WalletSolidity.TriggerConstantContract:output_type -> protocol.TransactionExtention - 42, // 457: protocol.WalletSolidity.EstimateEnergy:output_type -> protocol.EstimateEnergyMessage - 70, // 458: protocol.WalletSolidity.GetTransactionInfoByBlockNum:output_type -> protocol.TransactionInfoList - 152, // 459: protocol.WalletSolidity.GetMarketOrderById:output_type -> protocol.MarketOrder - 153, // 460: protocol.WalletSolidity.GetMarketOrderByAccount:output_type -> protocol.MarketOrderList - 154, // 461: protocol.WalletSolidity.GetMarketPriceByPair:output_type -> protocol.MarketPriceList - 153, // 462: protocol.WalletSolidity.GetMarketOrderListByPair:output_type -> protocol.MarketOrderList - 155, // 463: protocol.WalletSolidity.GetMarketPairList:output_type -> protocol.MarketOrderPairList - 24, // 464: protocol.WalletSolidity.GetBurnTrx:output_type -> protocol.NumberMessage - 43, // 465: protocol.WalletSolidity.GetBlock:output_type -> protocol.BlockExtention - 10, // 466: protocol.WalletExtension.GetTransactionsFromThis:output_type -> protocol.TransactionList - 45, // 467: protocol.WalletExtension.GetTransactionsFromThis2:output_type -> protocol.TransactionListExtention - 10, // 468: protocol.WalletExtension.GetTransactionsToThis:output_type -> protocol.TransactionList - 45, // 469: protocol.WalletExtension.GetTransactionsToThis2:output_type -> protocol.TransactionListExtention - 4, // 470: protocol.Database.getBlockReference:output_type -> protocol.BlockReference - 162, // 471: protocol.Database.GetDynamicProperties:output_type -> protocol.DynamicProperties - 94, // 472: protocol.Database.GetNowBlock:output_type -> protocol.Block - 94, // 473: protocol.Database.GetBlockByNum:output_type -> protocol.Block - 163, // 474: protocol.Monitor.GetStatsInfo:output_type -> protocol.MetricsInfo - 270, // [270:475] is the sub-list for method output_type - 65, // [65:270] is the sub-list for method input_type - 65, // [65:65] is the sub-list for extension type_name - 65, // [65:65] is the sub-list for extension extendee - 0, // [0:65] is the sub-list for field type_name + 75, // 12: protocol.AccountNetMessage.assetNetUsed:type_name -> protocol.AccountNetMessage.AssetNetUsedEntry + 76, // 13: protocol.AccountNetMessage.assetNetLimit:type_name -> protocol.AccountNetMessage.AssetNetLimitEntry + 77, // 14: protocol.AccountResourceMessage.assetNetUsed:type_name -> protocol.AccountResourceMessage.AssetNetUsedEntry + 78, // 15: protocol.AccountResourceMessage.assetNetLimit:type_name -> protocol.AccountResourceMessage.AssetNetLimitEntry + 89, // 16: protocol.TransactionExtention.transaction:type_name -> protocol.Transaction + 3, // 17: protocol.TransactionExtention.result:type_name -> protocol.Return + 92, // 18: protocol.TransactionExtention.logs:type_name -> protocol.TransactionInfo.Log + 93, // 19: protocol.TransactionExtention.internal_transactions:type_name -> protocol.InternalTransaction + 3, // 20: protocol.EstimateEnergyMessage.result:type_name -> protocol.Return + 35, // 21: protocol.BlockExtention.transactions:type_name -> protocol.TransactionExtention + 94, // 22: protocol.BlockExtention.block_header:type_name -> protocol.BlockHeader + 37, // 23: protocol.BlockListExtention.block:type_name -> protocol.BlockExtention + 35, // 24: protocol.TransactionListExtention.transaction:type_name -> protocol.TransactionExtention + 95, // 25: protocol.BlockIncrementalMerkleTree.merkleTree:type_name -> protocol.IncrementalMerkleTree + 96, // 26: protocol.TransactionSignWeight.permission:type_name -> protocol.Permission + 79, // 27: protocol.TransactionSignWeight.result:type_name -> protocol.TransactionSignWeight.Result + 35, // 28: protocol.TransactionSignWeight.transaction:type_name -> protocol.TransactionExtention + 80, // 29: protocol.TransactionApprovedList.result:type_name -> protocol.TransactionApprovedList.Result + 35, // 30: protocol.TransactionApprovedList.transaction:type_name -> protocol.TransactionExtention + 81, // 31: protocol.DecryptNotes.noteTxs:type_name -> protocol.DecryptNotes.NoteTx + 82, // 32: protocol.DecryptNotesMarked.noteTxs:type_name -> protocol.DecryptNotesMarked.NoteTx + 48, // 33: protocol.SpendNote.note:type_name -> protocol.Note + 97, // 34: protocol.SpendNote.voucher:type_name -> protocol.IncrementalMerkleVoucher + 48, // 35: protocol.ReceiveNote.note:type_name -> protocol.Note + 49, // 36: protocol.PrivateParameters.shielded_spends:type_name -> protocol.SpendNote + 50, // 37: protocol.PrivateParameters.shielded_receives:type_name -> protocol.ReceiveNote + 49, // 38: protocol.PrivateParametersWithoutAsk.shielded_spends:type_name -> protocol.SpendNote + 50, // 39: protocol.PrivateParametersWithoutAsk.shielded_receives:type_name -> protocol.ReceiveNote + 48, // 40: protocol.NfParameters.note:type_name -> protocol.Note + 97, // 41: protocol.NfParameters.voucher:type_name -> protocol.IncrementalMerkleVoucher + 57, // 42: protocol.IncomingViewingKeyDiversifierMessage.ivk:type_name -> protocol.IncomingViewingKeyMessage + 58, // 43: protocol.IncomingViewingKeyDiversifierMessage.d:type_name -> protocol.DiversifierMessage + 58, // 44: protocol.PaymentAddressMessage.d:type_name -> protocol.DiversifierMessage + 48, // 45: protocol.NoteParameters.note:type_name -> protocol.Note + 98, // 46: protocol.TransactionInfoList.transactionInfo:type_name -> protocol.TransactionInfo + 48, // 47: protocol.SpendNoteTRC20.note:type_name -> protocol.Note + 65, // 48: protocol.PrivateShieldedTRC20Parameters.shielded_spends:type_name -> protocol.SpendNoteTRC20 + 50, // 49: protocol.PrivateShieldedTRC20Parameters.shielded_receives:type_name -> protocol.ReceiveNote + 65, // 50: protocol.PrivateShieldedTRC20ParametersWithoutAsk.shielded_spends:type_name -> protocol.SpendNoteTRC20 + 50, // 51: protocol.PrivateShieldedTRC20ParametersWithoutAsk.shielded_receives:type_name -> protocol.ReceiveNote + 99, // 52: protocol.ShieldedTRC20Parameters.spend_description:type_name -> protocol.SpendDescription + 100, // 53: protocol.ShieldedTRC20Parameters.receive_description:type_name -> protocol.ReceiveDescription + 83, // 54: protocol.DecryptNotesTRC20.noteTxs:type_name -> protocol.DecryptNotesTRC20.NoteTx + 48, // 55: protocol.NfTRC20Parameters.note:type_name -> protocol.Note + 68, // 56: protocol.ShieldedTRC20TriggerContractParameters.shielded_TRC20_Parameters:type_name -> protocol.ShieldedTRC20Parameters + 25, // 57: protocol.ShieldedTRC20TriggerContractParameters.spend_authority_signature:type_name -> protocol.BytesMessage + 1, // 58: protocol.TransactionSignWeight.Result.code:type_name -> protocol.TransactionSignWeight.Result.response_code + 2, // 59: protocol.TransactionApprovedList.Result.code:type_name -> protocol.TransactionApprovedList.Result.response_code + 48, // 60: protocol.DecryptNotes.NoteTx.note:type_name -> protocol.Note + 48, // 61: protocol.DecryptNotesMarked.NoteTx.note:type_name -> protocol.Note + 48, // 62: protocol.DecryptNotesTRC20.NoteTx.note:type_name -> protocol.Note + 91, // 63: protocol.Wallet.GetAccount:input_type -> protocol.Account + 91, // 64: protocol.Wallet.GetAccountById:input_type -> protocol.Account + 101, // 65: protocol.Wallet.GetAccountBalance:input_type -> protocol.AccountBalanceRequest + 102, // 66: protocol.Wallet.GetBlockBalanceTrace:input_type -> protocol.BlockBalanceTrace.BlockIdentifier + 103, // 67: protocol.Wallet.CreateTransaction:input_type -> protocol.TransferContract + 103, // 68: protocol.Wallet.CreateTransaction2:input_type -> protocol.TransferContract + 89, // 69: protocol.Wallet.BroadcastTransaction:input_type -> protocol.Transaction + 104, // 70: protocol.Wallet.UpdateAccount:input_type -> protocol.AccountUpdateContract + 105, // 71: protocol.Wallet.SetAccountId:input_type -> protocol.SetAccountIdContract + 104, // 72: protocol.Wallet.UpdateAccount2:input_type -> protocol.AccountUpdateContract + 106, // 73: protocol.Wallet.VoteWitnessAccount:input_type -> protocol.VoteWitnessContract + 107, // 74: protocol.Wallet.UpdateSetting:input_type -> protocol.UpdateSettingContract + 108, // 75: protocol.Wallet.UpdateEnergyLimit:input_type -> protocol.UpdateEnergyLimitContract + 106, // 76: protocol.Wallet.VoteWitnessAccount2:input_type -> protocol.VoteWitnessContract + 87, // 77: protocol.Wallet.CreateAssetIssue:input_type -> protocol.AssetIssueContract + 87, // 78: protocol.Wallet.CreateAssetIssue2:input_type -> protocol.AssetIssueContract + 109, // 79: protocol.Wallet.UpdateWitness:input_type -> protocol.WitnessUpdateContract + 109, // 80: protocol.Wallet.UpdateWitness2:input_type -> protocol.WitnessUpdateContract + 110, // 81: protocol.Wallet.CreateAccount:input_type -> protocol.AccountCreateContract + 110, // 82: protocol.Wallet.CreateAccount2:input_type -> protocol.AccountCreateContract + 111, // 83: protocol.Wallet.CreateWitness:input_type -> protocol.WitnessCreateContract + 111, // 84: protocol.Wallet.CreateWitness2:input_type -> protocol.WitnessCreateContract + 112, // 85: protocol.Wallet.TransferAsset:input_type -> protocol.TransferAssetContract + 112, // 86: protocol.Wallet.TransferAsset2:input_type -> protocol.TransferAssetContract + 113, // 87: protocol.Wallet.ParticipateAssetIssue:input_type -> protocol.ParticipateAssetIssueContract + 113, // 88: protocol.Wallet.ParticipateAssetIssue2:input_type -> protocol.ParticipateAssetIssueContract + 114, // 89: protocol.Wallet.FreezeBalance:input_type -> protocol.FreezeBalanceContract + 114, // 90: protocol.Wallet.FreezeBalance2:input_type -> protocol.FreezeBalanceContract + 115, // 91: protocol.Wallet.FreezeBalanceV2:input_type -> protocol.FreezeBalanceV2Contract + 116, // 92: protocol.Wallet.UnfreezeBalance:input_type -> protocol.UnfreezeBalanceContract + 116, // 93: protocol.Wallet.UnfreezeBalance2:input_type -> protocol.UnfreezeBalanceContract + 117, // 94: protocol.Wallet.UnfreezeBalanceV2:input_type -> protocol.UnfreezeBalanceV2Contract + 118, // 95: protocol.Wallet.UnfreezeAsset:input_type -> protocol.UnfreezeAssetContract + 118, // 96: protocol.Wallet.UnfreezeAsset2:input_type -> protocol.UnfreezeAssetContract + 119, // 97: protocol.Wallet.WithdrawBalance:input_type -> protocol.WithdrawBalanceContract + 119, // 98: protocol.Wallet.WithdrawBalance2:input_type -> protocol.WithdrawBalanceContract + 120, // 99: protocol.Wallet.WithdrawExpireUnfreeze:input_type -> protocol.WithdrawExpireUnfreezeContract + 121, // 100: protocol.Wallet.DelegateResource:input_type -> protocol.DelegateResourceContract + 122, // 101: protocol.Wallet.UnDelegateResource:input_type -> protocol.UnDelegateResourceContract + 123, // 102: protocol.Wallet.CancelAllUnfreezeV2:input_type -> protocol.CancelAllUnfreezeV2Contract + 124, // 103: protocol.Wallet.UpdateAsset:input_type -> protocol.UpdateAssetContract + 124, // 104: protocol.Wallet.UpdateAsset2:input_type -> protocol.UpdateAssetContract + 125, // 105: protocol.Wallet.ProposalCreate:input_type -> protocol.ProposalCreateContract + 126, // 106: protocol.Wallet.ProposalApprove:input_type -> protocol.ProposalApproveContract + 127, // 107: protocol.Wallet.ProposalDelete:input_type -> protocol.ProposalDeleteContract + 128, // 108: protocol.Wallet.BuyStorage:input_type -> protocol.BuyStorageContract + 129, // 109: protocol.Wallet.BuyStorageBytes:input_type -> protocol.BuyStorageBytesContract + 130, // 110: protocol.Wallet.SellStorage:input_type -> protocol.SellStorageContract + 131, // 111: protocol.Wallet.ExchangeCreate:input_type -> protocol.ExchangeCreateContract + 132, // 112: protocol.Wallet.ExchangeInject:input_type -> protocol.ExchangeInjectContract + 133, // 113: protocol.Wallet.ExchangeWithdraw:input_type -> protocol.ExchangeWithdrawContract + 134, // 114: protocol.Wallet.ExchangeTransaction:input_type -> protocol.ExchangeTransactionContract + 135, // 115: protocol.Wallet.MarketSellAsset:input_type -> protocol.MarketSellAssetContract + 136, // 116: protocol.Wallet.MarketCancelOrder:input_type -> protocol.MarketCancelOrderContract + 25, // 117: protocol.Wallet.GetMarketOrderById:input_type -> protocol.BytesMessage + 25, // 118: protocol.Wallet.GetMarketOrderByAccount:input_type -> protocol.BytesMessage + 137, // 119: protocol.Wallet.GetMarketPriceByPair:input_type -> protocol.MarketOrderPair + 137, // 120: protocol.Wallet.GetMarketOrderListByPair:input_type -> protocol.MarketOrderPair + 23, // 121: protocol.Wallet.GetMarketPairList:input_type -> protocol.EmptyMessage + 23, // 122: protocol.Wallet.ListNodes:input_type -> protocol.EmptyMessage + 91, // 123: protocol.Wallet.GetAssetIssueByAccount:input_type -> protocol.Account + 91, // 124: protocol.Wallet.GetAccountNet:input_type -> protocol.Account + 91, // 125: protocol.Wallet.GetAccountResource:input_type -> protocol.Account + 25, // 126: protocol.Wallet.GetAssetIssueByName:input_type -> protocol.BytesMessage + 25, // 127: protocol.Wallet.GetAssetIssueListByName:input_type -> protocol.BytesMessage + 25, // 128: protocol.Wallet.GetAssetIssueById:input_type -> protocol.BytesMessage + 23, // 129: protocol.Wallet.GetNowBlock:input_type -> protocol.EmptyMessage + 23, // 130: protocol.Wallet.GetNowBlock2:input_type -> protocol.EmptyMessage + 24, // 131: protocol.Wallet.GetBlockByNum:input_type -> protocol.NumberMessage + 24, // 132: protocol.Wallet.GetBlockByNum2:input_type -> protocol.NumberMessage + 24, // 133: protocol.Wallet.GetTransactionCountByBlockNum:input_type -> protocol.NumberMessage + 25, // 134: protocol.Wallet.GetBlockById:input_type -> protocol.BytesMessage + 28, // 135: protocol.Wallet.GetBlockByLimitNext:input_type -> protocol.BlockLimit + 28, // 136: protocol.Wallet.GetBlockByLimitNext2:input_type -> protocol.BlockLimit + 24, // 137: protocol.Wallet.GetBlockByLatestNum:input_type -> protocol.NumberMessage + 24, // 138: protocol.Wallet.GetBlockByLatestNum2:input_type -> protocol.NumberMessage + 25, // 139: protocol.Wallet.GetTransactionById:input_type -> protocol.BytesMessage + 138, // 140: protocol.Wallet.DeployContract:input_type -> protocol.CreateSmartContract + 25, // 141: protocol.Wallet.GetContract:input_type -> protocol.BytesMessage + 25, // 142: protocol.Wallet.GetContractInfo:input_type -> protocol.BytesMessage + 139, // 143: protocol.Wallet.TriggerContract:input_type -> protocol.TriggerSmartContract + 139, // 144: protocol.Wallet.TriggerConstantContract:input_type -> protocol.TriggerSmartContract + 139, // 145: protocol.Wallet.EstimateEnergy:input_type -> protocol.TriggerSmartContract + 140, // 146: protocol.Wallet.ClearContractABI:input_type -> protocol.ClearABIContract + 23, // 147: protocol.Wallet.ListWitnesses:input_type -> protocol.EmptyMessage + 12, // 148: protocol.Wallet.GetDelegatedResource:input_type -> protocol.DelegatedResourceMessage + 12, // 149: protocol.Wallet.GetDelegatedResourceV2:input_type -> protocol.DelegatedResourceMessage + 25, // 150: protocol.Wallet.GetDelegatedResourceAccountIndex:input_type -> protocol.BytesMessage + 25, // 151: protocol.Wallet.GetDelegatedResourceAccountIndexV2:input_type -> protocol.BytesMessage + 16, // 152: protocol.Wallet.GetCanDelegatedMaxSize:input_type -> protocol.CanDelegatedMaxSizeRequestMessage + 14, // 153: protocol.Wallet.GetAvailableUnfreezeCount:input_type -> protocol.GetAvailableUnfreezeCountRequestMessage + 18, // 154: protocol.Wallet.GetCanWithdrawUnfreezeAmount:input_type -> protocol.CanWithdrawUnfreezeAmountRequestMessage + 23, // 155: protocol.Wallet.ListProposals:input_type -> protocol.EmptyMessage + 34, // 156: protocol.Wallet.GetPaginatedProposalList:input_type -> protocol.PaginatedMessage + 25, // 157: protocol.Wallet.GetProposalById:input_type -> protocol.BytesMessage + 23, // 158: protocol.Wallet.ListExchanges:input_type -> protocol.EmptyMessage + 34, // 159: protocol.Wallet.GetPaginatedExchangeList:input_type -> protocol.PaginatedMessage + 25, // 160: protocol.Wallet.GetExchangeById:input_type -> protocol.BytesMessage + 23, // 161: protocol.Wallet.GetChainParameters:input_type -> protocol.EmptyMessage + 23, // 162: protocol.Wallet.GetAssetIssueList:input_type -> protocol.EmptyMessage + 34, // 163: protocol.Wallet.GetPaginatedAssetIssueList:input_type -> protocol.PaginatedMessage + 23, // 164: protocol.Wallet.TotalTransaction:input_type -> protocol.EmptyMessage + 23, // 165: protocol.Wallet.GetNextMaintenanceTime:input_type -> protocol.EmptyMessage + 25, // 166: protocol.Wallet.GetTransactionInfoById:input_type -> protocol.BytesMessage + 141, // 167: protocol.Wallet.AccountPermissionUpdate:input_type -> protocol.AccountPermissionUpdateContract + 89, // 168: protocol.Wallet.GetTransactionSignWeight:input_type -> protocol.Transaction + 89, // 169: protocol.Wallet.GetTransactionApprovedList:input_type -> protocol.Transaction + 23, // 170: protocol.Wallet.GetNodeInfo:input_type -> protocol.EmptyMessage + 25, // 171: protocol.Wallet.GetRewardInfo:input_type -> protocol.BytesMessage + 25, // 172: protocol.Wallet.GetBrokerageInfo:input_type -> protocol.BytesMessage + 142, // 173: protocol.Wallet.UpdateBrokerage:input_type -> protocol.UpdateBrokerageContract + 51, // 174: protocol.Wallet.CreateShieldedTransaction:input_type -> protocol.PrivateParameters + 143, // 175: protocol.Wallet.GetMerkleTreeVoucherInfo:input_type -> protocol.OutputPointInfo + 43, // 176: protocol.Wallet.ScanNoteByIvk:input_type -> protocol.IvkDecryptParameters + 44, // 177: protocol.Wallet.ScanAndMarkNoteByIvk:input_type -> protocol.IvkDecryptAndMarkParameters + 45, // 178: protocol.Wallet.ScanNoteByOvk:input_type -> protocol.OvkDecryptParameters + 23, // 179: protocol.Wallet.GetSpendingKey:input_type -> protocol.EmptyMessage + 25, // 180: protocol.Wallet.GetExpandedSpendingKey:input_type -> protocol.BytesMessage + 25, // 181: protocol.Wallet.GetAkFromAsk:input_type -> protocol.BytesMessage + 25, // 182: protocol.Wallet.GetNkFromNsk:input_type -> protocol.BytesMessage + 56, // 183: protocol.Wallet.GetIncomingViewingKey:input_type -> protocol.ViewingKeyMessage + 23, // 184: protocol.Wallet.GetDiversifier:input_type -> protocol.EmptyMessage + 23, // 185: protocol.Wallet.GetNewShieldedAddress:input_type -> protocol.EmptyMessage + 59, // 186: protocol.Wallet.GetZenPaymentAddress:input_type -> protocol.IncomingViewingKeyDiversifierMessage + 23, // 187: protocol.Wallet.GetRcm:input_type -> protocol.EmptyMessage + 62, // 188: protocol.Wallet.IsSpend:input_type -> protocol.NoteParameters + 52, // 189: protocol.Wallet.CreateShieldedTransactionWithoutSpendAuthSig:input_type -> protocol.PrivateParametersWithoutAsk + 89, // 190: protocol.Wallet.GetShieldTransactionHash:input_type -> protocol.Transaction + 53, // 191: protocol.Wallet.CreateSpendAuthSig:input_type -> protocol.SpendAuthSigParameters + 54, // 192: protocol.Wallet.CreateShieldNullifier:input_type -> protocol.NfParameters + 66, // 193: protocol.Wallet.CreateShieldedContractParameters:input_type -> protocol.PrivateShieldedTRC20Parameters + 67, // 194: protocol.Wallet.CreateShieldedContractParametersWithoutAsk:input_type -> protocol.PrivateShieldedTRC20ParametersWithoutAsk + 69, // 195: protocol.Wallet.ScanShieldedTRC20NotesByIvk:input_type -> protocol.IvkDecryptTRC20Parameters + 70, // 196: protocol.Wallet.ScanShieldedTRC20NotesByOvk:input_type -> protocol.OvkDecryptTRC20Parameters + 72, // 197: protocol.Wallet.IsShieldedTRC20ContractNoteSpent:input_type -> protocol.NfTRC20Parameters + 74, // 198: protocol.Wallet.GetTriggerInputForShieldedTRC20Contract:input_type -> protocol.ShieldedTRC20TriggerContractParameters + 89, // 199: protocol.Wallet.CreateCommonTransaction:input_type -> protocol.Transaction + 24, // 200: protocol.Wallet.GetTransactionInfoByBlockNum:input_type -> protocol.NumberMessage + 23, // 201: protocol.Wallet.GetBurnTrx:input_type -> protocol.EmptyMessage + 25, // 202: protocol.Wallet.GetTransactionFromPending:input_type -> protocol.BytesMessage + 23, // 203: protocol.Wallet.GetTransactionListFromPending:input_type -> protocol.EmptyMessage + 23, // 204: protocol.Wallet.GetPendingSize:input_type -> protocol.EmptyMessage + 27, // 205: protocol.Wallet.GetBlock:input_type -> protocol.BlockReq + 91, // 206: protocol.WalletSolidity.GetAccount:input_type -> protocol.Account + 91, // 207: protocol.WalletSolidity.GetAccountById:input_type -> protocol.Account + 23, // 208: protocol.WalletSolidity.ListWitnesses:input_type -> protocol.EmptyMessage + 23, // 209: protocol.WalletSolidity.GetAssetIssueList:input_type -> protocol.EmptyMessage + 34, // 210: protocol.WalletSolidity.GetPaginatedAssetIssueList:input_type -> protocol.PaginatedMessage + 25, // 211: protocol.WalletSolidity.GetAssetIssueByName:input_type -> protocol.BytesMessage + 25, // 212: protocol.WalletSolidity.GetAssetIssueListByName:input_type -> protocol.BytesMessage + 25, // 213: protocol.WalletSolidity.GetAssetIssueById:input_type -> protocol.BytesMessage + 23, // 214: protocol.WalletSolidity.GetNowBlock:input_type -> protocol.EmptyMessage + 23, // 215: protocol.WalletSolidity.GetNowBlock2:input_type -> protocol.EmptyMessage + 24, // 216: protocol.WalletSolidity.GetBlockByNum:input_type -> protocol.NumberMessage + 24, // 217: protocol.WalletSolidity.GetBlockByNum2:input_type -> protocol.NumberMessage + 24, // 218: protocol.WalletSolidity.GetTransactionCountByBlockNum:input_type -> protocol.NumberMessage + 12, // 219: protocol.WalletSolidity.GetDelegatedResource:input_type -> protocol.DelegatedResourceMessage + 12, // 220: protocol.WalletSolidity.GetDelegatedResourceV2:input_type -> protocol.DelegatedResourceMessage + 25, // 221: protocol.WalletSolidity.GetDelegatedResourceAccountIndex:input_type -> protocol.BytesMessage + 25, // 222: protocol.WalletSolidity.GetDelegatedResourceAccountIndexV2:input_type -> protocol.BytesMessage + 16, // 223: protocol.WalletSolidity.GetCanDelegatedMaxSize:input_type -> protocol.CanDelegatedMaxSizeRequestMessage + 14, // 224: protocol.WalletSolidity.GetAvailableUnfreezeCount:input_type -> protocol.GetAvailableUnfreezeCountRequestMessage + 18, // 225: protocol.WalletSolidity.GetCanWithdrawUnfreezeAmount:input_type -> protocol.CanWithdrawUnfreezeAmountRequestMessage + 25, // 226: protocol.WalletSolidity.GetExchangeById:input_type -> protocol.BytesMessage + 23, // 227: protocol.WalletSolidity.ListExchanges:input_type -> protocol.EmptyMessage + 25, // 228: protocol.WalletSolidity.GetTransactionById:input_type -> protocol.BytesMessage + 25, // 229: protocol.WalletSolidity.GetTransactionInfoById:input_type -> protocol.BytesMessage + 143, // 230: protocol.WalletSolidity.GetMerkleTreeVoucherInfo:input_type -> protocol.OutputPointInfo + 43, // 231: protocol.WalletSolidity.ScanNoteByIvk:input_type -> protocol.IvkDecryptParameters + 44, // 232: protocol.WalletSolidity.ScanAndMarkNoteByIvk:input_type -> protocol.IvkDecryptAndMarkParameters + 45, // 233: protocol.WalletSolidity.ScanNoteByOvk:input_type -> protocol.OvkDecryptParameters + 62, // 234: protocol.WalletSolidity.IsSpend:input_type -> protocol.NoteParameters + 69, // 235: protocol.WalletSolidity.ScanShieldedTRC20NotesByIvk:input_type -> protocol.IvkDecryptTRC20Parameters + 70, // 236: protocol.WalletSolidity.ScanShieldedTRC20NotesByOvk:input_type -> protocol.OvkDecryptTRC20Parameters + 72, // 237: protocol.WalletSolidity.IsShieldedTRC20ContractNoteSpent:input_type -> protocol.NfTRC20Parameters + 25, // 238: protocol.WalletSolidity.GetRewardInfo:input_type -> protocol.BytesMessage + 25, // 239: protocol.WalletSolidity.GetBrokerageInfo:input_type -> protocol.BytesMessage + 139, // 240: protocol.WalletSolidity.TriggerConstantContract:input_type -> protocol.TriggerSmartContract + 139, // 241: protocol.WalletSolidity.EstimateEnergy:input_type -> protocol.TriggerSmartContract + 24, // 242: protocol.WalletSolidity.GetTransactionInfoByBlockNum:input_type -> protocol.NumberMessage + 25, // 243: protocol.WalletSolidity.GetMarketOrderById:input_type -> protocol.BytesMessage + 25, // 244: protocol.WalletSolidity.GetMarketOrderByAccount:input_type -> protocol.BytesMessage + 137, // 245: protocol.WalletSolidity.GetMarketPriceByPair:input_type -> protocol.MarketOrderPair + 137, // 246: protocol.WalletSolidity.GetMarketOrderListByPair:input_type -> protocol.MarketOrderPair + 23, // 247: protocol.WalletSolidity.GetMarketPairList:input_type -> protocol.EmptyMessage + 23, // 248: protocol.WalletSolidity.GetBurnTrx:input_type -> protocol.EmptyMessage + 27, // 249: protocol.WalletSolidity.GetBlock:input_type -> protocol.BlockReq + 30, // 250: protocol.WalletExtension.GetTransactionsFromThis:input_type -> protocol.AccountPaginated + 30, // 251: protocol.WalletExtension.GetTransactionsFromThis2:input_type -> protocol.AccountPaginated + 30, // 252: protocol.WalletExtension.GetTransactionsToThis:input_type -> protocol.AccountPaginated + 30, // 253: protocol.WalletExtension.GetTransactionsToThis2:input_type -> protocol.AccountPaginated + 23, // 254: protocol.Database.getBlockReference:input_type -> protocol.EmptyMessage + 23, // 255: protocol.Database.GetDynamicProperties:input_type -> protocol.EmptyMessage + 23, // 256: protocol.Database.GetNowBlock:input_type -> protocol.EmptyMessage + 24, // 257: protocol.Database.GetBlockByNum:input_type -> protocol.NumberMessage + 23, // 258: protocol.Monitor.GetStatsInfo:input_type -> protocol.EmptyMessage + 91, // 259: protocol.Wallet.GetAccount:output_type -> protocol.Account + 91, // 260: protocol.Wallet.GetAccountById:output_type -> protocol.Account + 144, // 261: protocol.Wallet.GetAccountBalance:output_type -> protocol.AccountBalanceResponse + 145, // 262: protocol.Wallet.GetBlockBalanceTrace:output_type -> protocol.BlockBalanceTrace + 89, // 263: protocol.Wallet.CreateTransaction:output_type -> protocol.Transaction + 35, // 264: protocol.Wallet.CreateTransaction2:output_type -> protocol.TransactionExtention + 3, // 265: protocol.Wallet.BroadcastTransaction:output_type -> protocol.Return + 89, // 266: protocol.Wallet.UpdateAccount:output_type -> protocol.Transaction + 89, // 267: protocol.Wallet.SetAccountId:output_type -> protocol.Transaction + 35, // 268: protocol.Wallet.UpdateAccount2:output_type -> protocol.TransactionExtention + 89, // 269: protocol.Wallet.VoteWitnessAccount:output_type -> protocol.Transaction + 35, // 270: protocol.Wallet.UpdateSetting:output_type -> protocol.TransactionExtention + 35, // 271: protocol.Wallet.UpdateEnergyLimit:output_type -> protocol.TransactionExtention + 35, // 272: protocol.Wallet.VoteWitnessAccount2:output_type -> protocol.TransactionExtention + 89, // 273: protocol.Wallet.CreateAssetIssue:output_type -> protocol.Transaction + 35, // 274: protocol.Wallet.CreateAssetIssue2:output_type -> protocol.TransactionExtention + 89, // 275: protocol.Wallet.UpdateWitness:output_type -> protocol.Transaction + 35, // 276: protocol.Wallet.UpdateWitness2:output_type -> protocol.TransactionExtention + 89, // 277: protocol.Wallet.CreateAccount:output_type -> protocol.Transaction + 35, // 278: protocol.Wallet.CreateAccount2:output_type -> protocol.TransactionExtention + 89, // 279: protocol.Wallet.CreateWitness:output_type -> protocol.Transaction + 35, // 280: protocol.Wallet.CreateWitness2:output_type -> protocol.TransactionExtention + 89, // 281: protocol.Wallet.TransferAsset:output_type -> protocol.Transaction + 35, // 282: protocol.Wallet.TransferAsset2:output_type -> protocol.TransactionExtention + 89, // 283: protocol.Wallet.ParticipateAssetIssue:output_type -> protocol.Transaction + 35, // 284: protocol.Wallet.ParticipateAssetIssue2:output_type -> protocol.TransactionExtention + 89, // 285: protocol.Wallet.FreezeBalance:output_type -> protocol.Transaction + 35, // 286: protocol.Wallet.FreezeBalance2:output_type -> protocol.TransactionExtention + 35, // 287: protocol.Wallet.FreezeBalanceV2:output_type -> protocol.TransactionExtention + 89, // 288: protocol.Wallet.UnfreezeBalance:output_type -> protocol.Transaction + 35, // 289: protocol.Wallet.UnfreezeBalance2:output_type -> protocol.TransactionExtention + 35, // 290: protocol.Wallet.UnfreezeBalanceV2:output_type -> protocol.TransactionExtention + 89, // 291: protocol.Wallet.UnfreezeAsset:output_type -> protocol.Transaction + 35, // 292: protocol.Wallet.UnfreezeAsset2:output_type -> protocol.TransactionExtention + 89, // 293: protocol.Wallet.WithdrawBalance:output_type -> protocol.Transaction + 35, // 294: protocol.Wallet.WithdrawBalance2:output_type -> protocol.TransactionExtention + 35, // 295: protocol.Wallet.WithdrawExpireUnfreeze:output_type -> protocol.TransactionExtention + 35, // 296: protocol.Wallet.DelegateResource:output_type -> protocol.TransactionExtention + 35, // 297: protocol.Wallet.UnDelegateResource:output_type -> protocol.TransactionExtention + 35, // 298: protocol.Wallet.CancelAllUnfreezeV2:output_type -> protocol.TransactionExtention + 89, // 299: protocol.Wallet.UpdateAsset:output_type -> protocol.Transaction + 35, // 300: protocol.Wallet.UpdateAsset2:output_type -> protocol.TransactionExtention + 35, // 301: protocol.Wallet.ProposalCreate:output_type -> protocol.TransactionExtention + 35, // 302: protocol.Wallet.ProposalApprove:output_type -> protocol.TransactionExtention + 35, // 303: protocol.Wallet.ProposalDelete:output_type -> protocol.TransactionExtention + 35, // 304: protocol.Wallet.BuyStorage:output_type -> protocol.TransactionExtention + 35, // 305: protocol.Wallet.BuyStorageBytes:output_type -> protocol.TransactionExtention + 35, // 306: protocol.Wallet.SellStorage:output_type -> protocol.TransactionExtention + 35, // 307: protocol.Wallet.ExchangeCreate:output_type -> protocol.TransactionExtention + 35, // 308: protocol.Wallet.ExchangeInject:output_type -> protocol.TransactionExtention + 35, // 309: protocol.Wallet.ExchangeWithdraw:output_type -> protocol.TransactionExtention + 35, // 310: protocol.Wallet.ExchangeTransaction:output_type -> protocol.TransactionExtention + 35, // 311: protocol.Wallet.MarketSellAsset:output_type -> protocol.TransactionExtention + 35, // 312: protocol.Wallet.MarketCancelOrder:output_type -> protocol.TransactionExtention + 146, // 313: protocol.Wallet.GetMarketOrderById:output_type -> protocol.MarketOrder + 147, // 314: protocol.Wallet.GetMarketOrderByAccount:output_type -> protocol.MarketOrderList + 148, // 315: protocol.Wallet.GetMarketPriceByPair:output_type -> protocol.MarketPriceList + 147, // 316: protocol.Wallet.GetMarketOrderListByPair:output_type -> protocol.MarketOrderList + 149, // 317: protocol.Wallet.GetMarketPairList:output_type -> protocol.MarketOrderPairList + 20, // 318: protocol.Wallet.ListNodes:output_type -> protocol.NodeList + 8, // 319: protocol.Wallet.GetAssetIssueByAccount:output_type -> protocol.AssetIssueList + 32, // 320: protocol.Wallet.GetAccountNet:output_type -> protocol.AccountNetMessage + 33, // 321: protocol.Wallet.GetAccountResource:output_type -> protocol.AccountResourceMessage + 87, // 322: protocol.Wallet.GetAssetIssueByName:output_type -> protocol.AssetIssueContract + 8, // 323: protocol.Wallet.GetAssetIssueListByName:output_type -> protocol.AssetIssueList + 87, // 324: protocol.Wallet.GetAssetIssueById:output_type -> protocol.AssetIssueContract + 88, // 325: protocol.Wallet.GetNowBlock:output_type -> protocol.Block + 37, // 326: protocol.Wallet.GetNowBlock2:output_type -> protocol.BlockExtention + 88, // 327: protocol.Wallet.GetBlockByNum:output_type -> protocol.Block + 37, // 328: protocol.Wallet.GetBlockByNum2:output_type -> protocol.BlockExtention + 24, // 329: protocol.Wallet.GetTransactionCountByBlockNum:output_type -> protocol.NumberMessage + 88, // 330: protocol.Wallet.GetBlockById:output_type -> protocol.Block + 9, // 331: protocol.Wallet.GetBlockByLimitNext:output_type -> protocol.BlockList + 38, // 332: protocol.Wallet.GetBlockByLimitNext2:output_type -> protocol.BlockListExtention + 9, // 333: protocol.Wallet.GetBlockByLatestNum:output_type -> protocol.BlockList + 38, // 334: protocol.Wallet.GetBlockByLatestNum2:output_type -> protocol.BlockListExtention + 89, // 335: protocol.Wallet.GetTransactionById:output_type -> protocol.Transaction + 35, // 336: protocol.Wallet.DeployContract:output_type -> protocol.TransactionExtention + 150, // 337: protocol.Wallet.GetContract:output_type -> protocol.SmartContract + 151, // 338: protocol.Wallet.GetContractInfo:output_type -> protocol.SmartContractDataWrapper + 35, // 339: protocol.Wallet.TriggerContract:output_type -> protocol.TransactionExtention + 35, // 340: protocol.Wallet.TriggerConstantContract:output_type -> protocol.TransactionExtention + 36, // 341: protocol.Wallet.EstimateEnergy:output_type -> protocol.EstimateEnergyMessage + 35, // 342: protocol.Wallet.ClearContractABI:output_type -> protocol.TransactionExtention + 5, // 343: protocol.Wallet.ListWitnesses:output_type -> protocol.WitnessList + 13, // 344: protocol.Wallet.GetDelegatedResource:output_type -> protocol.DelegatedResourceList + 13, // 345: protocol.Wallet.GetDelegatedResourceV2:output_type -> protocol.DelegatedResourceList + 152, // 346: protocol.Wallet.GetDelegatedResourceAccountIndex:output_type -> protocol.DelegatedResourceAccountIndex + 152, // 347: protocol.Wallet.GetDelegatedResourceAccountIndexV2:output_type -> protocol.DelegatedResourceAccountIndex + 17, // 348: protocol.Wallet.GetCanDelegatedMaxSize:output_type -> protocol.CanDelegatedMaxSizeResponseMessage + 15, // 349: protocol.Wallet.GetAvailableUnfreezeCount:output_type -> protocol.GetAvailableUnfreezeCountResponseMessage + 19, // 350: protocol.Wallet.GetCanWithdrawUnfreezeAmount:output_type -> protocol.CanWithdrawUnfreezeAmountResponseMessage + 6, // 351: protocol.Wallet.ListProposals:output_type -> protocol.ProposalList + 6, // 352: protocol.Wallet.GetPaginatedProposalList:output_type -> protocol.ProposalList + 85, // 353: protocol.Wallet.GetProposalById:output_type -> protocol.Proposal + 7, // 354: protocol.Wallet.ListExchanges:output_type -> protocol.ExchangeList + 7, // 355: protocol.Wallet.GetPaginatedExchangeList:output_type -> protocol.ExchangeList + 86, // 356: protocol.Wallet.GetExchangeById:output_type -> protocol.Exchange + 153, // 357: protocol.Wallet.GetChainParameters:output_type -> protocol.ChainParameters + 8, // 358: protocol.Wallet.GetAssetIssueList:output_type -> protocol.AssetIssueList + 8, // 359: protocol.Wallet.GetPaginatedAssetIssueList:output_type -> protocol.AssetIssueList + 24, // 360: protocol.Wallet.TotalTransaction:output_type -> protocol.NumberMessage + 24, // 361: protocol.Wallet.GetNextMaintenanceTime:output_type -> protocol.NumberMessage + 98, // 362: protocol.Wallet.GetTransactionInfoById:output_type -> protocol.TransactionInfo + 35, // 363: protocol.Wallet.AccountPermissionUpdate:output_type -> protocol.TransactionExtention + 41, // 364: protocol.Wallet.GetTransactionSignWeight:output_type -> protocol.TransactionSignWeight + 42, // 365: protocol.Wallet.GetTransactionApprovedList:output_type -> protocol.TransactionApprovedList + 154, // 366: protocol.Wallet.GetNodeInfo:output_type -> protocol.NodeInfo + 24, // 367: protocol.Wallet.GetRewardInfo:output_type -> protocol.NumberMessage + 24, // 368: protocol.Wallet.GetBrokerageInfo:output_type -> protocol.NumberMessage + 35, // 369: protocol.Wallet.UpdateBrokerage:output_type -> protocol.TransactionExtention + 35, // 370: protocol.Wallet.CreateShieldedTransaction:output_type -> protocol.TransactionExtention + 155, // 371: protocol.Wallet.GetMerkleTreeVoucherInfo:output_type -> protocol.IncrementalMerkleVoucherInfo + 46, // 372: protocol.Wallet.ScanNoteByIvk:output_type -> protocol.DecryptNotes + 47, // 373: protocol.Wallet.ScanAndMarkNoteByIvk:output_type -> protocol.DecryptNotesMarked + 46, // 374: protocol.Wallet.ScanNoteByOvk:output_type -> protocol.DecryptNotes + 25, // 375: protocol.Wallet.GetSpendingKey:output_type -> protocol.BytesMessage + 55, // 376: protocol.Wallet.GetExpandedSpendingKey:output_type -> protocol.ExpandedSpendingKeyMessage + 25, // 377: protocol.Wallet.GetAkFromAsk:output_type -> protocol.BytesMessage + 25, // 378: protocol.Wallet.GetNkFromNsk:output_type -> protocol.BytesMessage + 57, // 379: protocol.Wallet.GetIncomingViewingKey:output_type -> protocol.IncomingViewingKeyMessage + 58, // 380: protocol.Wallet.GetDiversifier:output_type -> protocol.DiversifierMessage + 61, // 381: protocol.Wallet.GetNewShieldedAddress:output_type -> protocol.ShieldedAddressInfo + 60, // 382: protocol.Wallet.GetZenPaymentAddress:output_type -> protocol.PaymentAddressMessage + 25, // 383: protocol.Wallet.GetRcm:output_type -> protocol.BytesMessage + 63, // 384: protocol.Wallet.IsSpend:output_type -> protocol.SpendResult + 35, // 385: protocol.Wallet.CreateShieldedTransactionWithoutSpendAuthSig:output_type -> protocol.TransactionExtention + 25, // 386: protocol.Wallet.GetShieldTransactionHash:output_type -> protocol.BytesMessage + 25, // 387: protocol.Wallet.CreateSpendAuthSig:output_type -> protocol.BytesMessage + 25, // 388: protocol.Wallet.CreateShieldNullifier:output_type -> protocol.BytesMessage + 68, // 389: protocol.Wallet.CreateShieldedContractParameters:output_type -> protocol.ShieldedTRC20Parameters + 68, // 390: protocol.Wallet.CreateShieldedContractParametersWithoutAsk:output_type -> protocol.ShieldedTRC20Parameters + 71, // 391: protocol.Wallet.ScanShieldedTRC20NotesByIvk:output_type -> protocol.DecryptNotesTRC20 + 71, // 392: protocol.Wallet.ScanShieldedTRC20NotesByOvk:output_type -> protocol.DecryptNotesTRC20 + 73, // 393: protocol.Wallet.IsShieldedTRC20ContractNoteSpent:output_type -> protocol.NullifierResult + 25, // 394: protocol.Wallet.GetTriggerInputForShieldedTRC20Contract:output_type -> protocol.BytesMessage + 35, // 395: protocol.Wallet.CreateCommonTransaction:output_type -> protocol.TransactionExtention + 64, // 396: protocol.Wallet.GetTransactionInfoByBlockNum:output_type -> protocol.TransactionInfoList + 24, // 397: protocol.Wallet.GetBurnTrx:output_type -> protocol.NumberMessage + 89, // 398: protocol.Wallet.GetTransactionFromPending:output_type -> protocol.Transaction + 11, // 399: protocol.Wallet.GetTransactionListFromPending:output_type -> protocol.TransactionIdList + 24, // 400: protocol.Wallet.GetPendingSize:output_type -> protocol.NumberMessage + 37, // 401: protocol.Wallet.GetBlock:output_type -> protocol.BlockExtention + 91, // 402: protocol.WalletSolidity.GetAccount:output_type -> protocol.Account + 91, // 403: protocol.WalletSolidity.GetAccountById:output_type -> protocol.Account + 5, // 404: protocol.WalletSolidity.ListWitnesses:output_type -> protocol.WitnessList + 8, // 405: protocol.WalletSolidity.GetAssetIssueList:output_type -> protocol.AssetIssueList + 8, // 406: protocol.WalletSolidity.GetPaginatedAssetIssueList:output_type -> protocol.AssetIssueList + 87, // 407: protocol.WalletSolidity.GetAssetIssueByName:output_type -> protocol.AssetIssueContract + 8, // 408: protocol.WalletSolidity.GetAssetIssueListByName:output_type -> protocol.AssetIssueList + 87, // 409: protocol.WalletSolidity.GetAssetIssueById:output_type -> protocol.AssetIssueContract + 88, // 410: protocol.WalletSolidity.GetNowBlock:output_type -> protocol.Block + 37, // 411: protocol.WalletSolidity.GetNowBlock2:output_type -> protocol.BlockExtention + 88, // 412: protocol.WalletSolidity.GetBlockByNum:output_type -> protocol.Block + 37, // 413: protocol.WalletSolidity.GetBlockByNum2:output_type -> protocol.BlockExtention + 24, // 414: protocol.WalletSolidity.GetTransactionCountByBlockNum:output_type -> protocol.NumberMessage + 13, // 415: protocol.WalletSolidity.GetDelegatedResource:output_type -> protocol.DelegatedResourceList + 13, // 416: protocol.WalletSolidity.GetDelegatedResourceV2:output_type -> protocol.DelegatedResourceList + 152, // 417: protocol.WalletSolidity.GetDelegatedResourceAccountIndex:output_type -> protocol.DelegatedResourceAccountIndex + 152, // 418: protocol.WalletSolidity.GetDelegatedResourceAccountIndexV2:output_type -> protocol.DelegatedResourceAccountIndex + 17, // 419: protocol.WalletSolidity.GetCanDelegatedMaxSize:output_type -> protocol.CanDelegatedMaxSizeResponseMessage + 15, // 420: protocol.WalletSolidity.GetAvailableUnfreezeCount:output_type -> protocol.GetAvailableUnfreezeCountResponseMessage + 19, // 421: protocol.WalletSolidity.GetCanWithdrawUnfreezeAmount:output_type -> protocol.CanWithdrawUnfreezeAmountResponseMessage + 86, // 422: protocol.WalletSolidity.GetExchangeById:output_type -> protocol.Exchange + 7, // 423: protocol.WalletSolidity.ListExchanges:output_type -> protocol.ExchangeList + 89, // 424: protocol.WalletSolidity.GetTransactionById:output_type -> protocol.Transaction + 98, // 425: protocol.WalletSolidity.GetTransactionInfoById:output_type -> protocol.TransactionInfo + 155, // 426: protocol.WalletSolidity.GetMerkleTreeVoucherInfo:output_type -> protocol.IncrementalMerkleVoucherInfo + 46, // 427: protocol.WalletSolidity.ScanNoteByIvk:output_type -> protocol.DecryptNotes + 47, // 428: protocol.WalletSolidity.ScanAndMarkNoteByIvk:output_type -> protocol.DecryptNotesMarked + 46, // 429: protocol.WalletSolidity.ScanNoteByOvk:output_type -> protocol.DecryptNotes + 63, // 430: protocol.WalletSolidity.IsSpend:output_type -> protocol.SpendResult + 71, // 431: protocol.WalletSolidity.ScanShieldedTRC20NotesByIvk:output_type -> protocol.DecryptNotesTRC20 + 71, // 432: protocol.WalletSolidity.ScanShieldedTRC20NotesByOvk:output_type -> protocol.DecryptNotesTRC20 + 73, // 433: protocol.WalletSolidity.IsShieldedTRC20ContractNoteSpent:output_type -> protocol.NullifierResult + 24, // 434: protocol.WalletSolidity.GetRewardInfo:output_type -> protocol.NumberMessage + 24, // 435: protocol.WalletSolidity.GetBrokerageInfo:output_type -> protocol.NumberMessage + 35, // 436: protocol.WalletSolidity.TriggerConstantContract:output_type -> protocol.TransactionExtention + 36, // 437: protocol.WalletSolidity.EstimateEnergy:output_type -> protocol.EstimateEnergyMessage + 64, // 438: protocol.WalletSolidity.GetTransactionInfoByBlockNum:output_type -> protocol.TransactionInfoList + 146, // 439: protocol.WalletSolidity.GetMarketOrderById:output_type -> protocol.MarketOrder + 147, // 440: protocol.WalletSolidity.GetMarketOrderByAccount:output_type -> protocol.MarketOrderList + 148, // 441: protocol.WalletSolidity.GetMarketPriceByPair:output_type -> protocol.MarketPriceList + 147, // 442: protocol.WalletSolidity.GetMarketOrderListByPair:output_type -> protocol.MarketOrderList + 149, // 443: protocol.WalletSolidity.GetMarketPairList:output_type -> protocol.MarketOrderPairList + 24, // 444: protocol.WalletSolidity.GetBurnTrx:output_type -> protocol.NumberMessage + 37, // 445: protocol.WalletSolidity.GetBlock:output_type -> protocol.BlockExtention + 10, // 446: protocol.WalletExtension.GetTransactionsFromThis:output_type -> protocol.TransactionList + 39, // 447: protocol.WalletExtension.GetTransactionsFromThis2:output_type -> protocol.TransactionListExtention + 10, // 448: protocol.WalletExtension.GetTransactionsToThis:output_type -> protocol.TransactionList + 39, // 449: protocol.WalletExtension.GetTransactionsToThis2:output_type -> protocol.TransactionListExtention + 4, // 450: protocol.Database.getBlockReference:output_type -> protocol.BlockReference + 156, // 451: protocol.Database.GetDynamicProperties:output_type -> protocol.DynamicProperties + 88, // 452: protocol.Database.GetNowBlock:output_type -> protocol.Block + 88, // 453: protocol.Database.GetBlockByNum:output_type -> protocol.Block + 157, // 454: protocol.Monitor.GetStatsInfo:output_type -> protocol.MetricsInfo + 259, // [259:455] is the sub-list for method output_type + 63, // [63:259] is the sub-list for method input_type + 63, // [63:63] is the sub-list for extension type_name + 63, // [63:63] is the sub-list for extension extendee + 0, // [0:63] is the sub-list for field type_name } func init() { file_api_api_proto_init() } @@ -8739,78 +8213,6 @@ func file_api_api_proto_init() { } } file_api_api_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EasyTransferMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EasyTransferAssetMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EasyTransferByPrivateMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EasyTransferAssetByPrivateMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EasyTransferResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddressPrKeyPairMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TransactionExtention); i { case 0: return &v.state @@ -8822,7 +8224,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EstimateEnergyMessage); i { case 0: return &v.state @@ -8834,7 +8236,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BlockExtention); i { case 0: return &v.state @@ -8846,7 +8248,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BlockListExtention); i { case 0: return &v.state @@ -8858,7 +8260,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TransactionListExtention); i { case 0: return &v.state @@ -8870,7 +8272,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BlockIncrementalMerkleTree); i { case 0: return &v.state @@ -8882,7 +8284,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TransactionSignWeight); i { case 0: return &v.state @@ -8894,7 +8296,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TransactionApprovedList); i { case 0: return &v.state @@ -8906,7 +8308,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*IvkDecryptParameters); i { case 0: return &v.state @@ -8918,7 +8320,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*IvkDecryptAndMarkParameters); i { case 0: return &v.state @@ -8930,7 +8332,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*OvkDecryptParameters); i { case 0: return &v.state @@ -8942,7 +8344,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DecryptNotes); i { case 0: return &v.state @@ -8954,7 +8356,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DecryptNotesMarked); i { case 0: return &v.state @@ -8966,7 +8368,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Note); i { case 0: return &v.state @@ -8978,7 +8380,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SpendNote); i { case 0: return &v.state @@ -8990,7 +8392,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ReceiveNote); i { case 0: return &v.state @@ -9002,7 +8404,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PrivateParameters); i { case 0: return &v.state @@ -9014,7 +8416,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PrivateParametersWithoutAsk); i { case 0: return &v.state @@ -9026,7 +8428,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SpendAuthSigParameters); i { case 0: return &v.state @@ -9038,7 +8440,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NfParameters); i { case 0: return &v.state @@ -9050,7 +8452,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ExpandedSpendingKeyMessage); i { case 0: return &v.state @@ -9062,7 +8464,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ViewingKeyMessage); i { case 0: return &v.state @@ -9074,7 +8476,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*IncomingViewingKeyMessage); i { case 0: return &v.state @@ -9086,7 +8488,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DiversifierMessage); i { case 0: return &v.state @@ -9098,7 +8500,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*IncomingViewingKeyDiversifierMessage); i { case 0: return &v.state @@ -9110,7 +8512,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PaymentAddressMessage); i { case 0: return &v.state @@ -9122,7 +8524,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ShieldedAddressInfo); i { case 0: return &v.state @@ -9134,7 +8536,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NoteParameters); i { case 0: return &v.state @@ -9146,7 +8548,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SpendResult); i { case 0: return &v.state @@ -9158,7 +8560,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TransactionInfoList); i { case 0: return &v.state @@ -9170,7 +8572,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SpendNoteTRC20); i { case 0: return &v.state @@ -9182,7 +8584,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PrivateShieldedTRC20Parameters); i { case 0: return &v.state @@ -9194,7 +8596,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PrivateShieldedTRC20ParametersWithoutAsk); i { case 0: return &v.state @@ -9206,7 +8608,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ShieldedTRC20Parameters); i { case 0: return &v.state @@ -9218,7 +8620,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*IvkDecryptTRC20Parameters); i { case 0: return &v.state @@ -9230,7 +8632,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*OvkDecryptTRC20Parameters); i { case 0: return &v.state @@ -9242,7 +8644,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DecryptNotesTRC20); i { case 0: return &v.state @@ -9254,7 +8656,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NfTRC20Parameters); i { case 0: return &v.state @@ -9266,7 +8668,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NullifierResult); i { case 0: return &v.state @@ -9278,7 +8680,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ShieldedTRC20TriggerContractParameters); i { case 0: return &v.state @@ -9290,7 +8692,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TransactionSignWeight_Result); i { case 0: return &v.state @@ -9302,7 +8704,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TransactionApprovedList_Result); i { case 0: return &v.state @@ -9314,7 +8716,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DecryptNotes_NoteTx); i { case 0: return &v.state @@ -9326,7 +8728,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DecryptNotesMarked_NoteTx); i { case 0: return &v.state @@ -9338,7 +8740,7 @@ func file_api_api_proto_init() { return nil } } - file_api_api_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { + file_api_api_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DecryptNotesTRC20_NoteTx); i { case 0: return &v.state @@ -9357,7 +8759,7 @@ func file_api_api_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_api_api_proto_rawDesc, NumEnums: 3, - NumMessages: 87, + NumMessages: 81, NumExtensions: 0, NumServices: 6, }, diff --git a/pkg/proto/api/api_grpc.pb.go b/pkg/proto/api/api_grpc.pb.go index fd806985c..0923f3bd0 100644 --- a/pkg/proto/api/api_grpc.pb.go +++ b/pkg/proto/api/api_grpc.pb.go @@ -92,6 +92,7 @@ type WalletClient interface { WithdrawExpireUnfreeze(ctx context.Context, in *core.WithdrawExpireUnfreezeContract, opts ...grpc.CallOption) (*TransactionExtention, error) DelegateResource(ctx context.Context, in *core.DelegateResourceContract, opts ...grpc.CallOption) (*TransactionExtention, error) UnDelegateResource(ctx context.Context, in *core.UnDelegateResourceContract, opts ...grpc.CallOption) (*TransactionExtention, error) + CancelAllUnfreezeV2(ctx context.Context, in *core.CancelAllUnfreezeV2Contract, opts ...grpc.CallOption) (*TransactionExtention, error) // Please use UpdateAsset2 instead of this function. UpdateAsset(ctx context.Context, in *core.UpdateAssetContract, opts ...grpc.CallOption) (*core.Transaction, error) // Use this function instead of UpdateAsset. @@ -165,27 +166,8 @@ type WalletClient interface { GetPaginatedAssetIssueList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*AssetIssueList, error) TotalTransaction(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) GetNextMaintenanceTime(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) - // Warning: do not invoke this interface provided by others. - // Please use GetTransactionSign2 instead of this function. - GetTransactionSign(ctx context.Context, in *core.TransactionSign, opts ...grpc.CallOption) (*core.Transaction, error) - // Warning: do not invoke this interface provided by others. - // Use this function instead of GetTransactionSign. - GetTransactionSign2(ctx context.Context, in *core.TransactionSign, opts ...grpc.CallOption) (*TransactionExtention, error) - // Warning: do not invoke this interface provided by others. - CreateAddress(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*BytesMessage, error) - // Warning: do not invoke this interface provided by others. - EasyTransferAsset(ctx context.Context, in *EasyTransferAssetMessage, opts ...grpc.CallOption) (*EasyTransferResponse, error) - // Warning: do not invoke this interface provided by others. - EasyTransferAssetByPrivate(ctx context.Context, in *EasyTransferAssetByPrivateMessage, opts ...grpc.CallOption) (*EasyTransferResponse, error) - // Warning: do not invoke this interface provided by others. - EasyTransfer(ctx context.Context, in *EasyTransferMessage, opts ...grpc.CallOption) (*EasyTransferResponse, error) - // Warning: do not invoke this interface provided by others. - EasyTransferByPrivate(ctx context.Context, in *EasyTransferByPrivateMessage, opts ...grpc.CallOption) (*EasyTransferResponse, error) - // Warning: do not invoke this interface provided by others. - GenerateAddress(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AddressPrKeyPairMessage, error) GetTransactionInfoById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.TransactionInfo, error) AccountPermissionUpdate(ctx context.Context, in *core.AccountPermissionUpdateContract, opts ...grpc.CallOption) (*TransactionExtention, error) - AddSign(ctx context.Context, in *core.TransactionSign, opts ...grpc.CallOption) (*TransactionExtention, error) GetTransactionSignWeight(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionSignWeight, error) GetTransactionApprovedList(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionApprovedList, error) GetNodeInfo(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.NodeInfo, error) @@ -587,6 +569,15 @@ func (c *walletClient) UnDelegateResource(ctx context.Context, in *core.UnDelega return out, nil } +func (c *walletClient) CancelAllUnfreezeV2(ctx context.Context, in *core.CancelAllUnfreezeV2Contract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CancelAllUnfreezeV2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *walletClient) UpdateAsset(ctx context.Context, in *core.UpdateAssetContract, opts ...grpc.CallOption) (*core.Transaction, error) { out := new(core.Transaction) err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateAsset", in, out, opts...) @@ -1154,78 +1145,6 @@ func (c *walletClient) GetNextMaintenanceTime(ctx context.Context, in *EmptyMess return out, nil } -func (c *walletClient) GetTransactionSign(ctx context.Context, in *core.TransactionSign, opts ...grpc.CallOption) (*core.Transaction, error) { - out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionSign", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GetTransactionSign2(ctx context.Context, in *core.TransactionSign, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionSign2", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) CreateAddress(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*BytesMessage, error) { - out := new(BytesMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateAddress", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) EasyTransferAsset(ctx context.Context, in *EasyTransferAssetMessage, opts ...grpc.CallOption) (*EasyTransferResponse, error) { - out := new(EasyTransferResponse) - err := c.cc.Invoke(ctx, "/protocol.Wallet/EasyTransferAsset", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) EasyTransferAssetByPrivate(ctx context.Context, in *EasyTransferAssetByPrivateMessage, opts ...grpc.CallOption) (*EasyTransferResponse, error) { - out := new(EasyTransferResponse) - err := c.cc.Invoke(ctx, "/protocol.Wallet/EasyTransferAssetByPrivate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) EasyTransfer(ctx context.Context, in *EasyTransferMessage, opts ...grpc.CallOption) (*EasyTransferResponse, error) { - out := new(EasyTransferResponse) - err := c.cc.Invoke(ctx, "/protocol.Wallet/EasyTransfer", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) EasyTransferByPrivate(ctx context.Context, in *EasyTransferByPrivateMessage, opts ...grpc.CallOption) (*EasyTransferResponse, error) { - out := new(EasyTransferResponse) - err := c.cc.Invoke(ctx, "/protocol.Wallet/EasyTransferByPrivate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *walletClient) GenerateAddress(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AddressPrKeyPairMessage, error) { - out := new(AddressPrKeyPairMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GenerateAddress", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - func (c *walletClient) GetTransactionInfoById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.TransactionInfo, error) { out := new(core.TransactionInfo) err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionInfoById", in, out, opts...) @@ -1244,15 +1163,6 @@ func (c *walletClient) AccountPermissionUpdate(ctx context.Context, in *core.Acc return out, nil } -func (c *walletClient) AddSign(ctx context.Context, in *core.TransactionSign, opts ...grpc.CallOption) (*TransactionExtention, error) { - out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/AddSign", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - func (c *walletClient) GetTransactionSignWeight(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionSignWeight, error) { out := new(TransactionSignWeight) err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionSignWeight", in, out, opts...) @@ -1668,6 +1578,7 @@ type WalletServer interface { WithdrawExpireUnfreeze(context.Context, *core.WithdrawExpireUnfreezeContract) (*TransactionExtention, error) DelegateResource(context.Context, *core.DelegateResourceContract) (*TransactionExtention, error) UnDelegateResource(context.Context, *core.UnDelegateResourceContract) (*TransactionExtention, error) + CancelAllUnfreezeV2(context.Context, *core.CancelAllUnfreezeV2Contract) (*TransactionExtention, error) // Please use UpdateAsset2 instead of this function. UpdateAsset(context.Context, *core.UpdateAssetContract) (*core.Transaction, error) // Use this function instead of UpdateAsset. @@ -1741,27 +1652,8 @@ type WalletServer interface { GetPaginatedAssetIssueList(context.Context, *PaginatedMessage) (*AssetIssueList, error) TotalTransaction(context.Context, *EmptyMessage) (*NumberMessage, error) GetNextMaintenanceTime(context.Context, *EmptyMessage) (*NumberMessage, error) - // Warning: do not invoke this interface provided by others. - // Please use GetTransactionSign2 instead of this function. - GetTransactionSign(context.Context, *core.TransactionSign) (*core.Transaction, error) - // Warning: do not invoke this interface provided by others. - // Use this function instead of GetTransactionSign. - GetTransactionSign2(context.Context, *core.TransactionSign) (*TransactionExtention, error) - // Warning: do not invoke this interface provided by others. - CreateAddress(context.Context, *BytesMessage) (*BytesMessage, error) - // Warning: do not invoke this interface provided by others. - EasyTransferAsset(context.Context, *EasyTransferAssetMessage) (*EasyTransferResponse, error) - // Warning: do not invoke this interface provided by others. - EasyTransferAssetByPrivate(context.Context, *EasyTransferAssetByPrivateMessage) (*EasyTransferResponse, error) - // Warning: do not invoke this interface provided by others. - EasyTransfer(context.Context, *EasyTransferMessage) (*EasyTransferResponse, error) - // Warning: do not invoke this interface provided by others. - EasyTransferByPrivate(context.Context, *EasyTransferByPrivateMessage) (*EasyTransferResponse, error) - // Warning: do not invoke this interface provided by others. - GenerateAddress(context.Context, *EmptyMessage) (*AddressPrKeyPairMessage, error) GetTransactionInfoById(context.Context, *BytesMessage) (*core.TransactionInfo, error) AccountPermissionUpdate(context.Context, *core.AccountPermissionUpdateContract) (*TransactionExtention, error) - AddSign(context.Context, *core.TransactionSign) (*TransactionExtention, error) GetTransactionSignWeight(context.Context, *core.Transaction) (*TransactionSignWeight, error) GetTransactionApprovedList(context.Context, *core.Transaction) (*TransactionApprovedList, error) GetNodeInfo(context.Context, *EmptyMessage) (*core.NodeInfo, error) @@ -1926,6 +1818,9 @@ func (UnimplementedWalletServer) DelegateResource(context.Context, *core.Delegat func (UnimplementedWalletServer) UnDelegateResource(context.Context, *core.UnDelegateResourceContract) (*TransactionExtention, error) { return nil, status.Errorf(codes.Unimplemented, "method UnDelegateResource not implemented") } +func (UnimplementedWalletServer) CancelAllUnfreezeV2(context.Context, *core.CancelAllUnfreezeV2Contract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method CancelAllUnfreezeV2 not implemented") +} func (UnimplementedWalletServer) UpdateAsset(context.Context, *core.UpdateAssetContract) (*core.Transaction, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateAsset not implemented") } @@ -2115,39 +2010,12 @@ func (UnimplementedWalletServer) TotalTransaction(context.Context, *EmptyMessage func (UnimplementedWalletServer) GetNextMaintenanceTime(context.Context, *EmptyMessage) (*NumberMessage, error) { return nil, status.Errorf(codes.Unimplemented, "method GetNextMaintenanceTime not implemented") } -func (UnimplementedWalletServer) GetTransactionSign(context.Context, *core.TransactionSign) (*core.Transaction, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransactionSign not implemented") -} -func (UnimplementedWalletServer) GetTransactionSign2(context.Context, *core.TransactionSign) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransactionSign2 not implemented") -} -func (UnimplementedWalletServer) CreateAddress(context.Context, *BytesMessage) (*BytesMessage, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateAddress not implemented") -} -func (UnimplementedWalletServer) EasyTransferAsset(context.Context, *EasyTransferAssetMessage) (*EasyTransferResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method EasyTransferAsset not implemented") -} -func (UnimplementedWalletServer) EasyTransferAssetByPrivate(context.Context, *EasyTransferAssetByPrivateMessage) (*EasyTransferResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method EasyTransferAssetByPrivate not implemented") -} -func (UnimplementedWalletServer) EasyTransfer(context.Context, *EasyTransferMessage) (*EasyTransferResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method EasyTransfer not implemented") -} -func (UnimplementedWalletServer) EasyTransferByPrivate(context.Context, *EasyTransferByPrivateMessage) (*EasyTransferResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method EasyTransferByPrivate not implemented") -} -func (UnimplementedWalletServer) GenerateAddress(context.Context, *EmptyMessage) (*AddressPrKeyPairMessage, error) { - return nil, status.Errorf(codes.Unimplemented, "method GenerateAddress not implemented") -} func (UnimplementedWalletServer) GetTransactionInfoById(context.Context, *BytesMessage) (*core.TransactionInfo, error) { return nil, status.Errorf(codes.Unimplemented, "method GetTransactionInfoById not implemented") } func (UnimplementedWalletServer) AccountPermissionUpdate(context.Context, *core.AccountPermissionUpdateContract) (*TransactionExtention, error) { return nil, status.Errorf(codes.Unimplemented, "method AccountPermissionUpdate not implemented") } -func (UnimplementedWalletServer) AddSign(context.Context, *core.TransactionSign) (*TransactionExtention, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddSign not implemented") -} func (UnimplementedWalletServer) GetTransactionSignWeight(context.Context, *core.Transaction) (*TransactionSignWeight, error) { return nil, status.Errorf(codes.Unimplemented, "method GetTransactionSignWeight not implemented") } @@ -2977,6 +2845,24 @@ func _Wallet_UnDelegateResource_Handler(srv interface{}, ctx context.Context, de return interceptor(ctx, in, info, handler) } +func _Wallet_CancelAllUnfreezeV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.CancelAllUnfreezeV2Contract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CancelAllUnfreezeV2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CancelAllUnfreezeV2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CancelAllUnfreezeV2(ctx, req.(*core.CancelAllUnfreezeV2Contract)) + } + return interceptor(ctx, in, info, handler) +} + func _Wallet_UpdateAsset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(core.UpdateAssetContract) if err := dec(in); err != nil { @@ -4111,150 +3997,6 @@ func _Wallet_GetNextMaintenanceTime_Handler(srv interface{}, ctx context.Context return interceptor(ctx, in, info, handler) } -func _Wallet_GetTransactionSign_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.TransactionSign) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetTransactionSign(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetTransactionSign", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetTransactionSign(ctx, req.(*core.TransactionSign)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GetTransactionSign2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.TransactionSign) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GetTransactionSign2(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GetTransactionSign2", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GetTransactionSign2(ctx, req.(*core.TransactionSign)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_CreateAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BytesMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).CreateAddress(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/CreateAddress", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).CreateAddress(ctx, req.(*BytesMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_EasyTransferAsset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EasyTransferAssetMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).EasyTransferAsset(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/EasyTransferAsset", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).EasyTransferAsset(ctx, req.(*EasyTransferAssetMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_EasyTransferAssetByPrivate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EasyTransferAssetByPrivateMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).EasyTransferAssetByPrivate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/EasyTransferAssetByPrivate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).EasyTransferAssetByPrivate(ctx, req.(*EasyTransferAssetByPrivateMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_EasyTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EasyTransferMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).EasyTransfer(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/EasyTransfer", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).EasyTransfer(ctx, req.(*EasyTransferMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_EasyTransferByPrivate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EasyTransferByPrivateMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).EasyTransferByPrivate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/EasyTransferByPrivate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).EasyTransferByPrivate(ctx, req.(*EasyTransferByPrivateMessage)) - } - return interceptor(ctx, in, info, handler) -} - -func _Wallet_GenerateAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EmptyMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).GenerateAddress(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/GenerateAddress", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).GenerateAddress(ctx, req.(*EmptyMessage)) - } - return interceptor(ctx, in, info, handler) -} - func _Wallet_GetTransactionInfoById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(BytesMessage) if err := dec(in); err != nil { @@ -4291,24 +4033,6 @@ func _Wallet_AccountPermissionUpdate_Handler(srv interface{}, ctx context.Contex return interceptor(ctx, in, info, handler) } -func _Wallet_AddSign_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(core.TransactionSign) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletServer).AddSign(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.Wallet/AddSign", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletServer).AddSign(ctx, req.(*core.TransactionSign)) - } - return interceptor(ctx, in, info, handler) -} - func _Wallet_GetTransactionSignWeight_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(core.Transaction) if err := dec(in); err != nil { @@ -5156,6 +4880,10 @@ var Wallet_ServiceDesc = grpc.ServiceDesc{ MethodName: "UnDelegateResource", Handler: _Wallet_UnDelegateResource_Handler, }, + { + MethodName: "CancelAllUnfreezeV2", + Handler: _Wallet_CancelAllUnfreezeV2_Handler, + }, { MethodName: "UpdateAsset", Handler: _Wallet_UpdateAsset_Handler, @@ -5408,38 +5136,6 @@ var Wallet_ServiceDesc = grpc.ServiceDesc{ MethodName: "GetNextMaintenanceTime", Handler: _Wallet_GetNextMaintenanceTime_Handler, }, - { - MethodName: "GetTransactionSign", - Handler: _Wallet_GetTransactionSign_Handler, - }, - { - MethodName: "GetTransactionSign2", - Handler: _Wallet_GetTransactionSign2_Handler, - }, - { - MethodName: "CreateAddress", - Handler: _Wallet_CreateAddress_Handler, - }, - { - MethodName: "EasyTransferAsset", - Handler: _Wallet_EasyTransferAsset_Handler, - }, - { - MethodName: "EasyTransferAssetByPrivate", - Handler: _Wallet_EasyTransferAssetByPrivate_Handler, - }, - { - MethodName: "EasyTransfer", - Handler: _Wallet_EasyTransfer_Handler, - }, - { - MethodName: "EasyTransferByPrivate", - Handler: _Wallet_EasyTransferByPrivate_Handler, - }, - { - MethodName: "GenerateAddress", - Handler: _Wallet_GenerateAddress_Handler, - }, { MethodName: "GetTransactionInfoById", Handler: _Wallet_GetTransactionInfoById_Handler, @@ -5448,10 +5144,6 @@ var Wallet_ServiceDesc = grpc.ServiceDesc{ MethodName: "AccountPermissionUpdate", Handler: _Wallet_AccountPermissionUpdate_Handler, }, - { - MethodName: "AddSign", - Handler: _Wallet_AddSign_Handler, - }, { MethodName: "GetTransactionSignWeight", Handler: _Wallet_GetTransactionSignWeight_Handler, @@ -5641,8 +5333,6 @@ type WalletSolidityClient interface { ListExchanges(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ExchangeList, error) GetTransactionById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Transaction, error) GetTransactionInfoById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.TransactionInfo, error) - // Warning: do not invoke this interface provided by others. - GenerateAddress(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AddressPrKeyPairMessage, error) GetMerkleTreeVoucherInfo(ctx context.Context, in *core.OutputPointInfo, opts ...grpc.CallOption) (*core.IncrementalMerkleVoucherInfo, error) ScanNoteByIvk(ctx context.Context, in *IvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) ScanAndMarkNoteByIvk(ctx context.Context, in *IvkDecryptAndMarkParameters, opts ...grpc.CallOption) (*DecryptNotesMarked, error) @@ -5889,15 +5579,6 @@ func (c *walletSolidityClient) GetTransactionInfoById(ctx context.Context, in *B return out, nil } -func (c *walletSolidityClient) GenerateAddress(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AddressPrKeyPairMessage, error) { - out := new(AddressPrKeyPairMessage) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GenerateAddress", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - func (c *walletSolidityClient) GetMerkleTreeVoucherInfo(ctx context.Context, in *core.OutputPointInfo, opts ...grpc.CallOption) (*core.IncrementalMerkleVoucherInfo, error) { out := new(core.IncrementalMerkleVoucherInfo) err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetMerkleTreeVoucherInfo", in, out, opts...) @@ -6110,8 +5791,6 @@ type WalletSolidityServer interface { ListExchanges(context.Context, *EmptyMessage) (*ExchangeList, error) GetTransactionById(context.Context, *BytesMessage) (*core.Transaction, error) GetTransactionInfoById(context.Context, *BytesMessage) (*core.TransactionInfo, error) - // Warning: do not invoke this interface provided by others. - GenerateAddress(context.Context, *EmptyMessage) (*AddressPrKeyPairMessage, error) GetMerkleTreeVoucherInfo(context.Context, *core.OutputPointInfo) (*core.IncrementalMerkleVoucherInfo, error) ScanNoteByIvk(context.Context, *IvkDecryptParameters) (*DecryptNotes, error) ScanAndMarkNoteByIvk(context.Context, *IvkDecryptAndMarkParameters) (*DecryptNotesMarked, error) @@ -6211,9 +5890,6 @@ func (UnimplementedWalletSolidityServer) GetTransactionById(context.Context, *By func (UnimplementedWalletSolidityServer) GetTransactionInfoById(context.Context, *BytesMessage) (*core.TransactionInfo, error) { return nil, status.Errorf(codes.Unimplemented, "method GetTransactionInfoById not implemented") } -func (UnimplementedWalletSolidityServer) GenerateAddress(context.Context, *EmptyMessage) (*AddressPrKeyPairMessage, error) { - return nil, status.Errorf(codes.Unimplemented, "method GenerateAddress not implemented") -} func (UnimplementedWalletSolidityServer) GetMerkleTreeVoucherInfo(context.Context, *core.OutputPointInfo) (*core.IncrementalMerkleVoucherInfo, error) { return nil, status.Errorf(codes.Unimplemented, "method GetMerkleTreeVoucherInfo not implemented") } @@ -6719,24 +6395,6 @@ func _WalletSolidity_GetTransactionInfoById_Handler(srv interface{}, ctx context return interceptor(ctx, in, info, handler) } -func _WalletSolidity_GenerateAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EmptyMessage) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(WalletSolidityServer).GenerateAddress(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/protocol.WalletSolidity/GenerateAddress", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(WalletSolidityServer).GenerateAddress(ctx, req.(*EmptyMessage)) - } - return interceptor(ctx, in, info, handler) -} - func _WalletSolidity_GetMerkleTreeVoucherInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(core.OutputPointInfo) if err := dec(in); err != nil { @@ -7200,10 +6858,6 @@ var WalletSolidity_ServiceDesc = grpc.ServiceDesc{ MethodName: "GetTransactionInfoById", Handler: _WalletSolidity_GetTransactionInfoById_Handler, }, - { - MethodName: "GenerateAddress", - Handler: _WalletSolidity_GenerateAddress_Handler, - }, { MethodName: "GetMerkleTreeVoucherInfo", Handler: _WalletSolidity_GetMerkleTreeVoucherInfo_Handler, diff --git a/pkg/proto/api/zksnark.pb.go b/pkg/proto/api/zksnark.pb.go index 888c99640..564f3a8e0 100644 --- a/pkg/proto/api/zksnark.pb.go +++ b/pkg/proto/api/zksnark.pb.go @@ -213,12 +213,12 @@ var file_api_zksnark_proto_rawDesc = []byte{ 0x63, 0x6f, 0x6c, 0x2e, 0x5a, 0x6b, 0x73, 0x6e, 0x61, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x5a, 0x6b, 0x73, 0x6e, 0x61, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, - 0x4e, 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x61, 0x70, 0x69, 0x42, + 0x48, 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x0e, 0x5a, 0x6b, 0x73, 0x6e, 0x61, 0x72, 0x6b, 0x47, 0x72, 0x70, 0x63, 0x41, 0x50, 0x49, 0x5a, - 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, 0x6f, - 0x62, 0x72, 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, 0x64, - 0x6b, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, + 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } var ( diff --git a/pkg/proto/core/Discover.pb.go b/pkg/proto/core/Discover.pb.go index 80a6809d5..0642a4526 100644 --- a/pkg/proto/core/Discover.pb.go +++ b/pkg/proto/core/Discover.pb.go @@ -443,13 +443,12 @@ var file_core_Discover_proto_rawDesc = []byte{ 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x6c, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x66, 0x6c, 0x61, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x42, 0x4c, 0x0a, 0x0f, + 0x28, 0x05, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x42, 0x46, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x42, - 0x08, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, 0x72, 0x65, 0x69, 0x72, 0x61, - 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x6b, 0x67, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x08, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, + 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/pkg/proto/core/Tron.pb.go b/pkg/proto/core/Tron.pb.go index 1ccf9c67d..d3eeb06ad 100644 --- a/pkg/proto/core/Tron.pb.go +++ b/pkg/proto/core/Tron.pb.go @@ -97,6 +97,7 @@ const ( ReasonCode_CONNECT_FAIL ReasonCode = 33 ReasonCode_TOO_MANY_PEERS_WITH_SAME_IP ReasonCode = 34 ReasonCode_LIGHT_NODE_SYNC_FAIL ReasonCode = 35 + ReasonCode_BELOW_THAN_ME ReasonCode = 36 ReasonCode_UNKNOWN ReasonCode = 255 ) @@ -127,6 +128,7 @@ var ( 33: "CONNECT_FAIL", 34: "TOO_MANY_PEERS_WITH_SAME_IP", 35: "LIGHT_NODE_SYNC_FAIL", + 36: "BELOW_THAN_ME", 255: "UNKNOWN", } ReasonCode_value = map[string]int32{ @@ -154,6 +156,7 @@ var ( "CONNECT_FAIL": 33, "TOO_MANY_PEERS_WITH_SAME_IP": 34, "LIGHT_NODE_SYNC_FAIL": 35, + "BELOW_THAN_ME": 36, "UNKNOWN": 255, } ) @@ -378,6 +381,7 @@ const ( Transaction_Contract_WithdrawExpireUnfreezeContract Transaction_Contract_ContractType = 56 Transaction_Contract_DelegateResourceContract Transaction_Contract_ContractType = 57 Transaction_Contract_UnDelegateResourceContract Transaction_Contract_ContractType = 58 + Transaction_Contract_CancelAllUnfreezeV2Contract Transaction_Contract_ContractType = 59 ) // Enum value maps for Transaction_Contract_ContractType. @@ -423,6 +427,7 @@ var ( 56: "WithdrawExpireUnfreezeContract", 57: "DelegateResourceContract", 58: "UnDelegateResourceContract", + 59: "CancelAllUnfreezeV2Contract", } Transaction_Contract_ContractType_value = map[string]int32{ "AccountCreateContract": 0, @@ -465,6 +470,7 @@ var ( "WithdrawExpireUnfreezeContract": 56, "DelegateResourceContract": 57, "UnDelegateResourceContract": 58, + "CancelAllUnfreezeV2Contract": 59, } ) @@ -721,7 +727,7 @@ func (x BlockInventory_Type) Number() protoreflect.EnumNumber { // Deprecated: Use BlockInventory_Type.Descriptor instead. func (BlockInventory_Type) EnumDescriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{33, 0} + return file_core_Tron_proto_rawDescGZIP(), []int{32, 0} } type Inventory_InventoryType int32 @@ -767,7 +773,7 @@ func (x Inventory_InventoryType) Number() protoreflect.EnumNumber { // Deprecated: Use Inventory_InventoryType.Descriptor instead. func (Inventory_InventoryType) EnumDescriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{34, 0} + return file_core_Tron_proto_rawDescGZIP(), []int{33, 0} } type Items_ItemType int32 @@ -819,7 +825,7 @@ func (x Items_ItemType) Number() protoreflect.EnumNumber { // Deprecated: Use Items_ItemType.Descriptor instead. func (Items_ItemType) EnumDescriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{35, 0} + return file_core_Tron_proto_rawDescGZIP(), []int{34, 0} } type PBFTMessage_MsgType int32 @@ -874,7 +880,7 @@ func (x PBFTMessage_MsgType) Number() protoreflect.EnumNumber { // Deprecated: Use PBFTMessage_MsgType.Descriptor instead. func (PBFTMessage_MsgType) EnumDescriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{43, 0} + return file_core_Tron_proto_rawDescGZIP(), []int{42, 0} } type PBFTMessage_DataType int32 @@ -920,7 +926,7 @@ func (x PBFTMessage_DataType) Number() protoreflect.EnumNumber { // Deprecated: Use PBFTMessage_DataType.Descriptor instead. func (PBFTMessage_DataType) EnumDescriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{43, 1} + return file_core_Tron_proto_rawDescGZIP(), []int{42, 1} } // AccountId, (name, address) use name, (null, address) use address, (name, null) use name, @@ -1864,6 +1870,7 @@ type Account struct { // the identity of this account, case insensitive AccountId []byte `protobuf:"bytes,23,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` NetWindowSize int64 `protobuf:"varint,24,opt,name=net_window_size,json=netWindowSize,proto3" json:"net_window_size,omitempty"` + NetWindowOptimized bool `protobuf:"varint,25,opt,name=net_window_optimized,json=netWindowOptimized,proto3" json:"net_window_optimized,omitempty"` AccountResource *Account_AccountResource `protobuf:"bytes,26,opt,name=account_resource,json=accountResource,proto3" json:"account_resource,omitempty"` CodeHash []byte `protobuf:"bytes,30,opt,name=codeHash,proto3" json:"codeHash,omitempty"` OwnerPermission *Permission `protobuf:"bytes,31,opt,name=owner_permission,json=ownerPermission,proto3" json:"owner_permission,omitempty"` @@ -2138,6 +2145,13 @@ func (x *Account) GetNetWindowSize() int64 { return 0 } +func (x *Account) GetNetWindowOptimized() bool { + if x != nil { + return x.NetWindowOptimized + } + return false +} + func (x *Account) GetAccountResource() *Account_AccountResource { if x != nil { return x.AccountResource @@ -3092,6 +3106,7 @@ type TransactionInfo struct { OrderDetails []*MarketOrderDetail `protobuf:"bytes,26,rep,name=orderDetails,proto3" json:"orderDetails,omitempty"` PackingFee int64 `protobuf:"varint,27,opt,name=packingFee,proto3" json:"packingFee,omitempty"` WithdrawExpireAmount int64 `protobuf:"varint,28,opt,name=withdraw_expire_amount,json=withdrawExpireAmount,proto3" json:"withdraw_expire_amount,omitempty"` + CancelUnfreezeV2Amount map[string]int64 `protobuf:"bytes,29,rep,name=cancel_unfreezeV2_amount,json=cancelUnfreezeV2Amount,proto3" json:"cancel_unfreezeV2_amount,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` } func (x *TransactionInfo) Reset() { @@ -3287,6 +3302,13 @@ func (x *TransactionInfo) GetWithdrawExpireAmount() int64 { return 0 } +func (x *TransactionInfo) GetCancelUnfreezeV2Amount() map[string]int64 { + if x != nil { + return x.CancelUnfreezeV2Amount + } + return nil +} + type TransactionRet struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -3397,61 +3419,6 @@ func (x *Transactions) GetTransactions() []*Transaction { return nil } -type TransactionSign struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Transaction *Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` - PrivateKey []byte `protobuf:"bytes,2,opt,name=privateKey,proto3" json:"privateKey,omitempty"` -} - -func (x *TransactionSign) Reset() { - *x = TransactionSign{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TransactionSign) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TransactionSign) ProtoMessage() {} - -func (x *TransactionSign) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TransactionSign.ProtoReflect.Descriptor instead. -func (*TransactionSign) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{29} -} - -func (x *TransactionSign) GetTransaction() *Transaction { - if x != nil { - return x.Transaction - } - return nil -} - -func (x *TransactionSign) GetPrivateKey() []byte { - if x != nil { - return x.PrivateKey - } - return nil -} - type BlockHeader struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -3464,7 +3431,7 @@ type BlockHeader struct { func (x *BlockHeader) Reset() { *x = BlockHeader{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[30] + mi := &file_core_Tron_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3477,7 +3444,7 @@ func (x *BlockHeader) String() string { func (*BlockHeader) ProtoMessage() {} func (x *BlockHeader) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[30] + mi := &file_core_Tron_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3490,7 +3457,7 @@ func (x *BlockHeader) ProtoReflect() protoreflect.Message { // Deprecated: Use BlockHeader.ProtoReflect.Descriptor instead. func (*BlockHeader) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{30} + return file_core_Tron_proto_rawDescGZIP(), []int{29} } func (x *BlockHeader) GetRawData() *BlockHeaderRaw { @@ -3520,7 +3487,7 @@ type Block struct { func (x *Block) Reset() { *x = Block{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[31] + mi := &file_core_Tron_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3533,7 +3500,7 @@ func (x *Block) String() string { func (*Block) ProtoMessage() {} func (x *Block) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[31] + mi := &file_core_Tron_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3546,7 +3513,7 @@ func (x *Block) ProtoReflect() protoreflect.Message { // Deprecated: Use Block.ProtoReflect.Descriptor instead. func (*Block) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{31} + return file_core_Tron_proto_rawDescGZIP(), []int{30} } func (x *Block) GetTransactions() []*Transaction { @@ -3575,7 +3542,7 @@ type ChainInventory struct { func (x *ChainInventory) Reset() { *x = ChainInventory{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[32] + mi := &file_core_Tron_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3588,7 +3555,7 @@ func (x *ChainInventory) String() string { func (*ChainInventory) ProtoMessage() {} func (x *ChainInventory) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[32] + mi := &file_core_Tron_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3601,7 +3568,7 @@ func (x *ChainInventory) ProtoReflect() protoreflect.Message { // Deprecated: Use ChainInventory.ProtoReflect.Descriptor instead. func (*ChainInventory) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{32} + return file_core_Tron_proto_rawDescGZIP(), []int{31} } func (x *ChainInventory) GetIds() []*ChainInventory_BlockId { @@ -3631,7 +3598,7 @@ type BlockInventory struct { func (x *BlockInventory) Reset() { *x = BlockInventory{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[33] + mi := &file_core_Tron_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3644,7 +3611,7 @@ func (x *BlockInventory) String() string { func (*BlockInventory) ProtoMessage() {} func (x *BlockInventory) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[33] + mi := &file_core_Tron_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3657,7 +3624,7 @@ func (x *BlockInventory) ProtoReflect() protoreflect.Message { // Deprecated: Use BlockInventory.ProtoReflect.Descriptor instead. func (*BlockInventory) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{33} + return file_core_Tron_proto_rawDescGZIP(), []int{32} } func (x *BlockInventory) GetIds() []*BlockInventory_BlockId { @@ -3686,7 +3653,7 @@ type Inventory struct { func (x *Inventory) Reset() { *x = Inventory{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[34] + mi := &file_core_Tron_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3699,7 +3666,7 @@ func (x *Inventory) String() string { func (*Inventory) ProtoMessage() {} func (x *Inventory) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[34] + mi := &file_core_Tron_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3712,7 +3679,7 @@ func (x *Inventory) ProtoReflect() protoreflect.Message { // Deprecated: Use Inventory.ProtoReflect.Descriptor instead. func (*Inventory) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{34} + return file_core_Tron_proto_rawDescGZIP(), []int{33} } func (x *Inventory) GetType() Inventory_InventoryType { @@ -3743,7 +3710,7 @@ type Items struct { func (x *Items) Reset() { *x = Items{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[35] + mi := &file_core_Tron_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3756,7 +3723,7 @@ func (x *Items) String() string { func (*Items) ProtoMessage() {} func (x *Items) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[35] + mi := &file_core_Tron_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3769,7 +3736,7 @@ func (x *Items) ProtoReflect() protoreflect.Message { // Deprecated: Use Items.ProtoReflect.Descriptor instead. func (*Items) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{35} + return file_core_Tron_proto_rawDescGZIP(), []int{34} } func (x *Items) GetType() Items_ItemType { @@ -3812,7 +3779,7 @@ type DynamicProperties struct { func (x *DynamicProperties) Reset() { *x = DynamicProperties{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[36] + mi := &file_core_Tron_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3825,7 +3792,7 @@ func (x *DynamicProperties) String() string { func (*DynamicProperties) ProtoMessage() {} func (x *DynamicProperties) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[36] + mi := &file_core_Tron_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3838,7 +3805,7 @@ func (x *DynamicProperties) ProtoReflect() protoreflect.Message { // Deprecated: Use DynamicProperties.ProtoReflect.Descriptor instead. func (*DynamicProperties) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{36} + return file_core_Tron_proto_rawDescGZIP(), []int{35} } func (x *DynamicProperties) GetLastSolidityBlockNum() int64 { @@ -3859,7 +3826,7 @@ type DisconnectMessage struct { func (x *DisconnectMessage) Reset() { *x = DisconnectMessage{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[37] + mi := &file_core_Tron_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3872,7 +3839,7 @@ func (x *DisconnectMessage) String() string { func (*DisconnectMessage) ProtoMessage() {} func (x *DisconnectMessage) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[37] + mi := &file_core_Tron_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3885,7 +3852,7 @@ func (x *DisconnectMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use DisconnectMessage.ProtoReflect.Descriptor instead. func (*DisconnectMessage) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{37} + return file_core_Tron_proto_rawDescGZIP(), []int{36} } func (x *DisconnectMessage) GetReason() ReasonCode { @@ -3915,7 +3882,7 @@ type HelloMessage struct { func (x *HelloMessage) Reset() { *x = HelloMessage{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[38] + mi := &file_core_Tron_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3928,7 +3895,7 @@ func (x *HelloMessage) String() string { func (*HelloMessage) ProtoMessage() {} func (x *HelloMessage) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[38] + mi := &file_core_Tron_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3941,7 +3908,7 @@ func (x *HelloMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use HelloMessage.ProtoReflect.Descriptor instead. func (*HelloMessage) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{38} + return file_core_Tron_proto_rawDescGZIP(), []int{37} } func (x *HelloMessage) GetFrom() *Endpoint { @@ -4035,7 +4002,7 @@ type InternalTransaction struct { func (x *InternalTransaction) Reset() { *x = InternalTransaction{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[39] + mi := &file_core_Tron_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4048,7 +4015,7 @@ func (x *InternalTransaction) String() string { func (*InternalTransaction) ProtoMessage() {} func (x *InternalTransaction) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[39] + mi := &file_core_Tron_proto_msgTypes[38] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4061,7 +4028,7 @@ func (x *InternalTransaction) ProtoReflect() protoreflect.Message { // Deprecated: Use InternalTransaction.ProtoReflect.Descriptor instead. func (*InternalTransaction) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{39} + return file_core_Tron_proto_rawDescGZIP(), []int{38} } func (x *InternalTransaction) GetHash() []byte { @@ -4127,7 +4094,7 @@ type DelegatedResourceAccountIndex struct { func (x *DelegatedResourceAccountIndex) Reset() { *x = DelegatedResourceAccountIndex{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[40] + mi := &file_core_Tron_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4140,7 +4107,7 @@ func (x *DelegatedResourceAccountIndex) String() string { func (*DelegatedResourceAccountIndex) ProtoMessage() {} func (x *DelegatedResourceAccountIndex) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[40] + mi := &file_core_Tron_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4153,7 +4120,7 @@ func (x *DelegatedResourceAccountIndex) ProtoReflect() protoreflect.Message { // Deprecated: Use DelegatedResourceAccountIndex.ProtoReflect.Descriptor instead. func (*DelegatedResourceAccountIndex) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{40} + return file_core_Tron_proto_rawDescGZIP(), []int{39} } func (x *DelegatedResourceAccountIndex) GetAccount() []byte { @@ -4206,7 +4173,7 @@ type NodeInfo struct { func (x *NodeInfo) Reset() { *x = NodeInfo{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[41] + mi := &file_core_Tron_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4219,7 +4186,7 @@ func (x *NodeInfo) String() string { func (*NodeInfo) ProtoMessage() {} func (x *NodeInfo) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[41] + mi := &file_core_Tron_proto_msgTypes[40] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4232,7 +4199,7 @@ func (x *NodeInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use NodeInfo.ProtoReflect.Descriptor instead. func (*NodeInfo) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{41} + return file_core_Tron_proto_rawDescGZIP(), []int{40} } func (x *NodeInfo) GetBeginSyncNum() int64 { @@ -4326,7 +4293,7 @@ type MetricsInfo struct { func (x *MetricsInfo) Reset() { *x = MetricsInfo{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[42] + mi := &file_core_Tron_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4339,7 +4306,7 @@ func (x *MetricsInfo) String() string { func (*MetricsInfo) ProtoMessage() {} func (x *MetricsInfo) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[42] + mi := &file_core_Tron_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4352,7 +4319,7 @@ func (x *MetricsInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use MetricsInfo.ProtoReflect.Descriptor instead. func (*MetricsInfo) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{42} + return file_core_Tron_proto_rawDescGZIP(), []int{41} } func (x *MetricsInfo) GetInterval() int64 { @@ -4395,7 +4362,7 @@ type PBFTMessage struct { func (x *PBFTMessage) Reset() { *x = PBFTMessage{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[43] + mi := &file_core_Tron_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4408,7 +4375,7 @@ func (x *PBFTMessage) String() string { func (*PBFTMessage) ProtoMessage() {} func (x *PBFTMessage) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[43] + mi := &file_core_Tron_proto_msgTypes[42] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4421,7 +4388,7 @@ func (x *PBFTMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use PBFTMessage.ProtoReflect.Descriptor instead. func (*PBFTMessage) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{43} + return file_core_Tron_proto_rawDescGZIP(), []int{42} } func (x *PBFTMessage) GetRawData() *PBFTMessage_Raw { @@ -4450,7 +4417,7 @@ type PBFTCommitResult struct { func (x *PBFTCommitResult) Reset() { *x = PBFTCommitResult{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[44] + mi := &file_core_Tron_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4463,7 +4430,7 @@ func (x *PBFTCommitResult) String() string { func (*PBFTCommitResult) ProtoMessage() {} func (x *PBFTCommitResult) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[44] + mi := &file_core_Tron_proto_msgTypes[43] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4476,7 +4443,7 @@ func (x *PBFTCommitResult) ProtoReflect() protoreflect.Message { // Deprecated: Use PBFTCommitResult.ProtoReflect.Descriptor instead. func (*PBFTCommitResult) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{44} + return file_core_Tron_proto_rawDescGZIP(), []int{43} } func (x *PBFTCommitResult) GetData() []byte { @@ -4504,7 +4471,7 @@ type SRL struct { func (x *SRL) Reset() { *x = SRL{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[45] + mi := &file_core_Tron_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4517,7 +4484,7 @@ func (x *SRL) String() string { func (*SRL) ProtoMessage() {} func (x *SRL) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[45] + mi := &file_core_Tron_proto_msgTypes[44] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4530,7 +4497,7 @@ func (x *SRL) ProtoReflect() protoreflect.Message { // Deprecated: Use SRL.ProtoReflect.Descriptor instead. func (*SRL) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{45} + return file_core_Tron_proto_rawDescGZIP(), []int{44} } func (x *SRL) GetSrAddress() [][]byte { @@ -4552,7 +4519,7 @@ type ChainParameters_ChainParameter struct { func (x *ChainParameters_ChainParameter) Reset() { *x = ChainParameters_ChainParameter{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[47] + mi := &file_core_Tron_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4565,7 +4532,7 @@ func (x *ChainParameters_ChainParameter) String() string { func (*ChainParameters_ChainParameter) ProtoMessage() {} func (x *ChainParameters_ChainParameter) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[47] + mi := &file_core_Tron_proto_msgTypes[46] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4608,7 +4575,7 @@ type Account_Frozen struct { func (x *Account_Frozen) Reset() { *x = Account_Frozen{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[48] + mi := &file_core_Tron_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4621,7 +4588,7 @@ func (x *Account_Frozen) String() string { func (*Account_Frozen) ProtoMessage() {} func (x *Account_Frozen) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[48] + mi := &file_core_Tron_proto_msgTypes[47] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4672,12 +4639,13 @@ type Account_AccountResource struct { EnergyWindowSize int64 `protobuf:"varint,9,opt,name=energy_window_size,json=energyWindowSize,proto3" json:"energy_window_size,omitempty"` DelegatedFrozenV2BalanceForEnergy int64 `protobuf:"varint,10,opt,name=delegated_frozenV2_balance_for_energy,json=delegatedFrozenV2BalanceForEnergy,proto3" json:"delegated_frozenV2_balance_for_energy,omitempty"` AcquiredDelegatedFrozenV2BalanceForEnergy int64 `protobuf:"varint,11,opt,name=acquired_delegated_frozenV2_balance_for_energy,json=acquiredDelegatedFrozenV2BalanceForEnergy,proto3" json:"acquired_delegated_frozenV2_balance_for_energy,omitempty"` + EnergyWindowOptimized bool `protobuf:"varint,12,opt,name=energy_window_optimized,json=energyWindowOptimized,proto3" json:"energy_window_optimized,omitempty"` } func (x *Account_AccountResource) Reset() { *x = Account_AccountResource{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[55] + mi := &file_core_Tron_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4690,7 +4658,7 @@ func (x *Account_AccountResource) String() string { func (*Account_AccountResource) ProtoMessage() {} func (x *Account_AccountResource) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[55] + mi := &file_core_Tron_proto_msgTypes[54] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4783,6 +4751,13 @@ func (x *Account_AccountResource) GetAcquiredDelegatedFrozenV2BalanceForEnergy() return 0 } +func (x *Account_AccountResource) GetEnergyWindowOptimized() bool { + if x != nil { + return x.EnergyWindowOptimized + } + return false +} + type Account_FreezeV2 struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -4795,7 +4770,7 @@ type Account_FreezeV2 struct { func (x *Account_FreezeV2) Reset() { *x = Account_FreezeV2{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[56] + mi := &file_core_Tron_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4808,7 +4783,7 @@ func (x *Account_FreezeV2) String() string { func (*Account_FreezeV2) ProtoMessage() {} func (x *Account_FreezeV2) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[56] + mi := &file_core_Tron_proto_msgTypes[55] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4851,7 +4826,7 @@ type Account_UnFreezeV2 struct { func (x *Account_UnFreezeV2) Reset() { *x = Account_UnFreezeV2{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[57] + mi := &file_core_Tron_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4864,7 +4839,7 @@ func (x *Account_UnFreezeV2) String() string { func (*Account_UnFreezeV2) ProtoMessage() {} func (x *Account_UnFreezeV2) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[57] + mi := &file_core_Tron_proto_msgTypes[56] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4914,7 +4889,7 @@ type TXInputRaw struct { func (x *TXInputRaw) Reset() { *x = TXInputRaw{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[58] + mi := &file_core_Tron_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4927,7 +4902,7 @@ func (x *TXInputRaw) String() string { func (*TXInputRaw) ProtoMessage() {} func (x *TXInputRaw) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[58] + mi := &file_core_Tron_proto_msgTypes[57] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4979,7 +4954,7 @@ type Transaction_Contract struct { func (x *Transaction_Contract) Reset() { *x = Transaction_Contract{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[59] + mi := &file_core_Tron_proto_msgTypes[58] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4992,7 +4967,7 @@ func (x *Transaction_Contract) String() string { func (*Transaction_Contract) ProtoMessage() {} func (x *Transaction_Contract) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[59] + mi := &file_core_Tron_proto_msgTypes[58] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5062,12 +5037,13 @@ type Transaction_Result struct { OrderId []byte `protobuf:"bytes,25,opt,name=orderId,proto3" json:"orderId,omitempty"` OrderDetails []*MarketOrderDetail `protobuf:"bytes,26,rep,name=orderDetails,proto3" json:"orderDetails,omitempty"` WithdrawExpireAmount int64 `protobuf:"varint,27,opt,name=withdraw_expire_amount,json=withdrawExpireAmount,proto3" json:"withdraw_expire_amount,omitempty"` + CancelUnfreezeV2Amount map[string]int64 `protobuf:"bytes,28,rep,name=cancel_unfreezeV2_amount,json=cancelUnfreezeV2Amount,proto3" json:"cancel_unfreezeV2_amount,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` } func (x *Transaction_Result) Reset() { *x = Transaction_Result{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[60] + mi := &file_core_Tron_proto_msgTypes[59] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5080,7 +5056,7 @@ func (x *Transaction_Result) String() string { func (*Transaction_Result) ProtoMessage() {} func (x *Transaction_Result) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[60] + mi := &file_core_Tron_proto_msgTypes[59] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5194,6 +5170,13 @@ func (x *Transaction_Result) GetWithdrawExpireAmount() int64 { return 0 } +func (x *Transaction_Result) GetCancelUnfreezeV2Amount() map[string]int64 { + if x != nil { + return x.CancelUnfreezeV2Amount + } + return nil +} + type TransactionRaw struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -5217,7 +5200,7 @@ type TransactionRaw struct { func (x *TransactionRaw) Reset() { *x = TransactionRaw{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[61] + mi := &file_core_Tron_proto_msgTypes[60] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5230,7 +5213,7 @@ func (x *TransactionRaw) String() string { func (*TransactionRaw) ProtoMessage() {} func (x *TransactionRaw) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[61] + mi := &file_core_Tron_proto_msgTypes[60] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5399,7 +5382,7 @@ type BlockHeaderRaw struct { func (x *BlockHeaderRaw) Reset() { *x = BlockHeaderRaw{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[63] + mi := &file_core_Tron_proto_msgTypes[64] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5412,7 +5395,7 @@ func (x *BlockHeaderRaw) String() string { func (*BlockHeaderRaw) ProtoMessage() {} func (x *BlockHeaderRaw) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[63] + mi := &file_core_Tron_proto_msgTypes[64] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5425,7 +5408,7 @@ func (x *BlockHeaderRaw) ProtoReflect() protoreflect.Message { // Deprecated: Use BlockHeaderRaw.ProtoReflect.Descriptor instead. func (*BlockHeaderRaw) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{30, 0} + return file_core_Tron_proto_rawDescGZIP(), []int{29, 0} } func (x *BlockHeaderRaw) GetTimestamp() int64 { @@ -5496,7 +5479,7 @@ type ChainInventory_BlockId struct { func (x *ChainInventory_BlockId) Reset() { *x = ChainInventory_BlockId{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[64] + mi := &file_core_Tron_proto_msgTypes[65] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5509,7 +5492,7 @@ func (x *ChainInventory_BlockId) String() string { func (*ChainInventory_BlockId) ProtoMessage() {} func (x *ChainInventory_BlockId) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[64] + mi := &file_core_Tron_proto_msgTypes[65] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5522,7 +5505,7 @@ func (x *ChainInventory_BlockId) ProtoReflect() protoreflect.Message { // Deprecated: Use ChainInventory_BlockId.ProtoReflect.Descriptor instead. func (*ChainInventory_BlockId) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{32, 0} + return file_core_Tron_proto_rawDescGZIP(), []int{31, 0} } func (x *ChainInventory_BlockId) GetHash() []byte { @@ -5551,7 +5534,7 @@ type BlockInventory_BlockId struct { func (x *BlockInventory_BlockId) Reset() { *x = BlockInventory_BlockId{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[65] + mi := &file_core_Tron_proto_msgTypes[66] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5564,7 +5547,7 @@ func (x *BlockInventory_BlockId) String() string { func (*BlockInventory_BlockId) ProtoMessage() {} func (x *BlockInventory_BlockId) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[65] + mi := &file_core_Tron_proto_msgTypes[66] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5577,7 +5560,7 @@ func (x *BlockInventory_BlockId) ProtoReflect() protoreflect.Message { // Deprecated: Use BlockInventory_BlockId.ProtoReflect.Descriptor instead. func (*BlockInventory_BlockId) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{33, 0} + return file_core_Tron_proto_rawDescGZIP(), []int{32, 0} } func (x *BlockInventory_BlockId) GetHash() []byte { @@ -5606,7 +5589,7 @@ type HelloMessage_BlockId struct { func (x *HelloMessage_BlockId) Reset() { *x = HelloMessage_BlockId{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[66] + mi := &file_core_Tron_proto_msgTypes[67] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5619,7 +5602,7 @@ func (x *HelloMessage_BlockId) String() string { func (*HelloMessage_BlockId) ProtoMessage() {} func (x *HelloMessage_BlockId) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[66] + mi := &file_core_Tron_proto_msgTypes[67] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5632,7 +5615,7 @@ func (x *HelloMessage_BlockId) ProtoReflect() protoreflect.Message { // Deprecated: Use HelloMessage_BlockId.ProtoReflect.Descriptor instead. func (*HelloMessage_BlockId) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{38, 0} + return file_core_Tron_proto_rawDescGZIP(), []int{37, 0} } func (x *HelloMessage_BlockId) GetHash() []byte { @@ -5663,7 +5646,7 @@ type InternalTransaction_CallValueInfo struct { func (x *InternalTransaction_CallValueInfo) Reset() { *x = InternalTransaction_CallValueInfo{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[67] + mi := &file_core_Tron_proto_msgTypes[68] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5676,7 +5659,7 @@ func (x *InternalTransaction_CallValueInfo) String() string { func (*InternalTransaction_CallValueInfo) ProtoMessage() {} func (x *InternalTransaction_CallValueInfo) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[67] + mi := &file_core_Tron_proto_msgTypes[68] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5689,7 +5672,7 @@ func (x *InternalTransaction_CallValueInfo) ProtoReflect() protoreflect.Message // Deprecated: Use InternalTransaction_CallValueInfo.ProtoReflect.Descriptor instead. func (*InternalTransaction_CallValueInfo) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{39, 0} + return file_core_Tron_proto_rawDescGZIP(), []int{38, 0} } func (x *InternalTransaction_CallValueInfo) GetCallValue() int64 { @@ -5741,7 +5724,7 @@ type NodeInfo_PeerInfo struct { func (x *NodeInfo_PeerInfo) Reset() { *x = NodeInfo_PeerInfo{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[69] + mi := &file_core_Tron_proto_msgTypes[70] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5754,7 +5737,7 @@ func (x *NodeInfo_PeerInfo) String() string { func (*NodeInfo_PeerInfo) ProtoMessage() {} func (x *NodeInfo_PeerInfo) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[69] + mi := &file_core_Tron_proto_msgTypes[70] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5767,7 +5750,7 @@ func (x *NodeInfo_PeerInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use NodeInfo_PeerInfo.ProtoReflect.Descriptor instead. func (*NodeInfo_PeerInfo) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{41, 1} + return file_core_Tron_proto_rawDescGZIP(), []int{40, 1} } func (x *NodeInfo_PeerInfo) GetLastSyncBlock() string { @@ -5974,7 +5957,7 @@ type NodeInfo_ConfigNodeInfo struct { func (x *NodeInfo_ConfigNodeInfo) Reset() { *x = NodeInfo_ConfigNodeInfo{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[70] + mi := &file_core_Tron_proto_msgTypes[71] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5987,7 +5970,7 @@ func (x *NodeInfo_ConfigNodeInfo) String() string { func (*NodeInfo_ConfigNodeInfo) ProtoMessage() {} func (x *NodeInfo_ConfigNodeInfo) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[70] + mi := &file_core_Tron_proto_msgTypes[71] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6000,7 +5983,7 @@ func (x *NodeInfo_ConfigNodeInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use NodeInfo_ConfigNodeInfo.ProtoReflect.Descriptor instead. func (*NodeInfo_ConfigNodeInfo) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{41, 2} + return file_core_Tron_proto_rawDescGZIP(), []int{40, 2} } func (x *NodeInfo_ConfigNodeInfo) GetCodeVersion() string { @@ -6159,7 +6142,7 @@ type NodeInfo_MachineInfo struct { func (x *NodeInfo_MachineInfo) Reset() { *x = NodeInfo_MachineInfo{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[71] + mi := &file_core_Tron_proto_msgTypes[72] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6172,7 +6155,7 @@ func (x *NodeInfo_MachineInfo) String() string { func (*NodeInfo_MachineInfo) ProtoMessage() {} func (x *NodeInfo_MachineInfo) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[71] + mi := &file_core_Tron_proto_msgTypes[72] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6185,7 +6168,7 @@ func (x *NodeInfo_MachineInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use NodeInfo_MachineInfo.ProtoReflect.Descriptor instead. func (*NodeInfo_MachineInfo) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{41, 3} + return file_core_Tron_proto_rawDescGZIP(), []int{40, 3} } func (x *NodeInfo_MachineInfo) GetThreadCount() int32 { @@ -6294,7 +6277,7 @@ type NodeInfo_MachineInfo_MemoryDescInfo struct { func (x *NodeInfo_MachineInfo_MemoryDescInfo) Reset() { *x = NodeInfo_MachineInfo_MemoryDescInfo{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[72] + mi := &file_core_Tron_proto_msgTypes[73] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6307,7 +6290,7 @@ func (x *NodeInfo_MachineInfo_MemoryDescInfo) String() string { func (*NodeInfo_MachineInfo_MemoryDescInfo) ProtoMessage() {} func (x *NodeInfo_MachineInfo_MemoryDescInfo) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[72] + mi := &file_core_Tron_proto_msgTypes[73] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6320,7 +6303,7 @@ func (x *NodeInfo_MachineInfo_MemoryDescInfo) ProtoReflect() protoreflect.Messag // Deprecated: Use NodeInfo_MachineInfo_MemoryDescInfo.ProtoReflect.Descriptor instead. func (*NodeInfo_MachineInfo_MemoryDescInfo) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{41, 3, 0} + return file_core_Tron_proto_rawDescGZIP(), []int{40, 3, 0} } func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetName() string { @@ -6375,7 +6358,7 @@ type NodeInfo_MachineInfo_DeadLockThreadInfo struct { func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) Reset() { *x = NodeInfo_MachineInfo_DeadLockThreadInfo{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[73] + mi := &file_core_Tron_proto_msgTypes[74] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6388,7 +6371,7 @@ func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) String() string { func (*NodeInfo_MachineInfo_DeadLockThreadInfo) ProtoMessage() {} func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[73] + mi := &file_core_Tron_proto_msgTypes[74] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6401,7 +6384,7 @@ func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) ProtoReflect() protoreflect.Me // Deprecated: Use NodeInfo_MachineInfo_DeadLockThreadInfo.ProtoReflect.Descriptor instead. func (*NodeInfo_MachineInfo_DeadLockThreadInfo) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{41, 3, 1} + return file_core_Tron_proto_rawDescGZIP(), []int{40, 3, 1} } func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetName() string { @@ -6467,7 +6450,7 @@ type MetricsInfo_NodeInfo struct { func (x *MetricsInfo_NodeInfo) Reset() { *x = MetricsInfo_NodeInfo{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[74] + mi := &file_core_Tron_proto_msgTypes[75] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6480,7 +6463,7 @@ func (x *MetricsInfo_NodeInfo) String() string { func (*MetricsInfo_NodeInfo) ProtoMessage() {} func (x *MetricsInfo_NodeInfo) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[74] + mi := &file_core_Tron_proto_msgTypes[75] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6493,7 +6476,7 @@ func (x *MetricsInfo_NodeInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use MetricsInfo_NodeInfo.ProtoReflect.Descriptor instead. func (*MetricsInfo_NodeInfo) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{42, 0} + return file_core_Tron_proto_rawDescGZIP(), []int{41, 0} } func (x *MetricsInfo_NodeInfo) GetIp() string { @@ -6547,7 +6530,7 @@ type MetricsInfo_BlockChainInfo struct { func (x *MetricsInfo_BlockChainInfo) Reset() { *x = MetricsInfo_BlockChainInfo{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[75] + mi := &file_core_Tron_proto_msgTypes[76] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6560,7 +6543,7 @@ func (x *MetricsInfo_BlockChainInfo) String() string { func (*MetricsInfo_BlockChainInfo) ProtoMessage() {} func (x *MetricsInfo_BlockChainInfo) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[75] + mi := &file_core_Tron_proto_msgTypes[76] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6573,7 +6556,7 @@ func (x *MetricsInfo_BlockChainInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use MetricsInfo_BlockChainInfo.ProtoReflect.Descriptor instead. func (*MetricsInfo_BlockChainInfo) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{42, 1} + return file_core_Tron_proto_rawDescGZIP(), []int{41, 1} } func (x *MetricsInfo_BlockChainInfo) GetHeadBlockNum() int64 { @@ -6682,7 +6665,7 @@ type MetricsInfo_RateInfo struct { func (x *MetricsInfo_RateInfo) Reset() { *x = MetricsInfo_RateInfo{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[76] + mi := &file_core_Tron_proto_msgTypes[77] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6695,7 +6678,7 @@ func (x *MetricsInfo_RateInfo) String() string { func (*MetricsInfo_RateInfo) ProtoMessage() {} func (x *MetricsInfo_RateInfo) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[76] + mi := &file_core_Tron_proto_msgTypes[77] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6708,7 +6691,7 @@ func (x *MetricsInfo_RateInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use MetricsInfo_RateInfo.ProtoReflect.Descriptor instead. func (*MetricsInfo_RateInfo) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{42, 2} + return file_core_Tron_proto_rawDescGZIP(), []int{41, 2} } func (x *MetricsInfo_RateInfo) GetCount() int64 { @@ -6767,7 +6750,7 @@ type MetricsInfo_NetInfo struct { func (x *MetricsInfo_NetInfo) Reset() { *x = MetricsInfo_NetInfo{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[77] + mi := &file_core_Tron_proto_msgTypes[78] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6780,7 +6763,7 @@ func (x *MetricsInfo_NetInfo) String() string { func (*MetricsInfo_NetInfo) ProtoMessage() {} func (x *MetricsInfo_NetInfo) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[77] + mi := &file_core_Tron_proto_msgTypes[78] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6793,7 +6776,7 @@ func (x *MetricsInfo_NetInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use MetricsInfo_NetInfo.ProtoReflect.Descriptor instead. func (*MetricsInfo_NetInfo) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{42, 3} + return file_core_Tron_proto_rawDescGZIP(), []int{41, 3} } func (x *MetricsInfo_NetInfo) GetErrorProtoCount() int32 { @@ -6885,7 +6868,7 @@ type MetricsInfo_BlockChainInfo_Witness struct { func (x *MetricsInfo_BlockChainInfo_Witness) Reset() { *x = MetricsInfo_BlockChainInfo_Witness{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[78] + mi := &file_core_Tron_proto_msgTypes[79] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6898,7 +6881,7 @@ func (x *MetricsInfo_BlockChainInfo_Witness) String() string { func (*MetricsInfo_BlockChainInfo_Witness) ProtoMessage() {} func (x *MetricsInfo_BlockChainInfo_Witness) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[78] + mi := &file_core_Tron_proto_msgTypes[79] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6911,7 +6894,7 @@ func (x *MetricsInfo_BlockChainInfo_Witness) ProtoReflect() protoreflect.Message // Deprecated: Use MetricsInfo_BlockChainInfo_Witness.ProtoReflect.Descriptor instead. func (*MetricsInfo_BlockChainInfo_Witness) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{42, 1, 0} + return file_core_Tron_proto_rawDescGZIP(), []int{41, 1, 0} } func (x *MetricsInfo_BlockChainInfo_Witness) GetAddress() string { @@ -6941,7 +6924,7 @@ type MetricsInfo_BlockChainInfo_DupWitness struct { func (x *MetricsInfo_BlockChainInfo_DupWitness) Reset() { *x = MetricsInfo_BlockChainInfo_DupWitness{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[79] + mi := &file_core_Tron_proto_msgTypes[80] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6954,7 +6937,7 @@ func (x *MetricsInfo_BlockChainInfo_DupWitness) String() string { func (*MetricsInfo_BlockChainInfo_DupWitness) ProtoMessage() {} func (x *MetricsInfo_BlockChainInfo_DupWitness) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[79] + mi := &file_core_Tron_proto_msgTypes[80] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6967,7 +6950,7 @@ func (x *MetricsInfo_BlockChainInfo_DupWitness) ProtoReflect() protoreflect.Mess // Deprecated: Use MetricsInfo_BlockChainInfo_DupWitness.ProtoReflect.Descriptor instead. func (*MetricsInfo_BlockChainInfo_DupWitness) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{42, 1, 1} + return file_core_Tron_proto_rawDescGZIP(), []int{41, 1, 1} } func (x *MetricsInfo_BlockChainInfo_DupWitness) GetAddress() string { @@ -7005,7 +6988,7 @@ type MetricsInfo_NetInfo_ApiInfo struct { func (x *MetricsInfo_NetInfo_ApiInfo) Reset() { *x = MetricsInfo_NetInfo_ApiInfo{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[80] + mi := &file_core_Tron_proto_msgTypes[81] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7018,7 +7001,7 @@ func (x *MetricsInfo_NetInfo_ApiInfo) String() string { func (*MetricsInfo_NetInfo_ApiInfo) ProtoMessage() {} func (x *MetricsInfo_NetInfo_ApiInfo) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[80] + mi := &file_core_Tron_proto_msgTypes[81] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7031,7 +7014,7 @@ func (x *MetricsInfo_NetInfo_ApiInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use MetricsInfo_NetInfo_ApiInfo.ProtoReflect.Descriptor instead. func (*MetricsInfo_NetInfo_ApiInfo) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{42, 3, 0} + return file_core_Tron_proto_rawDescGZIP(), []int{41, 3, 0} } func (x *MetricsInfo_NetInfo_ApiInfo) GetQps() *MetricsInfo_RateInfo { @@ -7074,7 +7057,7 @@ type MetricsInfo_NetInfo_DisconnectionDetailInfo struct { func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) Reset() { *x = MetricsInfo_NetInfo_DisconnectionDetailInfo{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[81] + mi := &file_core_Tron_proto_msgTypes[82] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7087,7 +7070,7 @@ func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) String() string { func (*MetricsInfo_NetInfo_DisconnectionDetailInfo) ProtoMessage() {} func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[81] + mi := &file_core_Tron_proto_msgTypes[82] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7100,7 +7083,7 @@ func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) ProtoReflect() protoreflec // Deprecated: Use MetricsInfo_NetInfo_DisconnectionDetailInfo.ProtoReflect.Descriptor instead. func (*MetricsInfo_NetInfo_DisconnectionDetailInfo) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{42, 3, 1} + return file_core_Tron_proto_rawDescGZIP(), []int{41, 3, 1} } func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) GetReason() string { @@ -7135,7 +7118,7 @@ type MetricsInfo_NetInfo_LatencyInfo struct { func (x *MetricsInfo_NetInfo_LatencyInfo) Reset() { *x = MetricsInfo_NetInfo_LatencyInfo{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[82] + mi := &file_core_Tron_proto_msgTypes[83] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7148,7 +7131,7 @@ func (x *MetricsInfo_NetInfo_LatencyInfo) String() string { func (*MetricsInfo_NetInfo_LatencyInfo) ProtoMessage() {} func (x *MetricsInfo_NetInfo_LatencyInfo) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[82] + mi := &file_core_Tron_proto_msgTypes[83] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7161,7 +7144,7 @@ func (x *MetricsInfo_NetInfo_LatencyInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use MetricsInfo_NetInfo_LatencyInfo.ProtoReflect.Descriptor instead. func (*MetricsInfo_NetInfo_LatencyInfo) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{42, 3, 2} + return file_core_Tron_proto_rawDescGZIP(), []int{41, 3, 2} } func (x *MetricsInfo_NetInfo_LatencyInfo) GetTop99() int32 { @@ -7234,7 +7217,7 @@ type MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo struct { func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) Reset() { *x = MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[83] + mi := &file_core_Tron_proto_msgTypes[84] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7247,7 +7230,7 @@ func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) String() string { func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) ProtoMessage() {} func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[83] + mi := &file_core_Tron_proto_msgTypes[84] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7260,7 +7243,7 @@ func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) ProtoReflect() protoreflect. // Deprecated: Use MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo.ProtoReflect.Descriptor instead. func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{42, 3, 0, 0} + return file_core_Tron_proto_rawDescGZIP(), []int{41, 3, 0, 0} } func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetName() string { @@ -7309,7 +7292,7 @@ type MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo struct { func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) Reset() { *x = MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[84] + mi := &file_core_Tron_proto_msgTypes[85] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7322,7 +7305,7 @@ func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) String() string { func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) ProtoMessage() {} func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[84] + mi := &file_core_Tron_proto_msgTypes[85] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7335,7 +7318,7 @@ func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) ProtoReflect() proto // Deprecated: Use MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo.ProtoReflect.Descriptor instead. func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{42, 3, 2, 0} + return file_core_Tron_proto_rawDescGZIP(), []int{41, 3, 2, 0} } func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetWitness() string { @@ -7409,7 +7392,7 @@ type PBFTMessage_Raw struct { func (x *PBFTMessage_Raw) Reset() { *x = PBFTMessage_Raw{} if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[85] + mi := &file_core_Tron_proto_msgTypes[86] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7422,7 +7405,7 @@ func (x *PBFTMessage_Raw) String() string { func (*PBFTMessage_Raw) ProtoMessage() {} func (x *PBFTMessage_Raw) ProtoReflect() protoreflect.Message { - mi := &file_core_Tron_proto_msgTypes[85] + mi := &file_core_Tron_proto_msgTypes[86] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7435,7 +7418,7 @@ func (x *PBFTMessage_Raw) ProtoReflect() protoreflect.Message { // Deprecated: Use PBFTMessage_Raw.ProtoReflect.Descriptor instead. func (*PBFTMessage_Raw) Descriptor() ([]byte, []int) { - return file_core_Tron_proto_rawDescGZIP(), []int{43, 0} + return file_core_Tron_proto_rawDescGZIP(), []int{42, 0} } func (x *PBFTMessage_Raw) GetMsgType() PBFTMessage_MsgType { @@ -7480,1422 +7463,1449 @@ var file_core_Tron_proto_rawDesc = []byte{ 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x44, 0x69, 0x73, - 0x63, 0x6f, 0x76, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x63, 0x6f, 0x72, - 0x65, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39, - 0x0a, 0x09, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x48, 0x0a, 0x04, 0x56, 0x6f, 0x74, - 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x76, 0x6f, 0x74, 0x65, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x76, 0x6f, 0x74, 0x65, 0x43, 0x6f, - 0x75, 0x6e, 0x74, 0x22, 0xb4, 0x03, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, - 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, - 0x64, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x70, 0x72, 0x6f, - 0x70, 0x6f, 0x73, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x42, 0x0a, 0x0a, - 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, - 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, - 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x65, 0x78, 0x70, 0x69, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x70, - 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x61, - 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x73, 0x12, 0x2e, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, - 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x2e, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x1a, 0x3d, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, - 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x41, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x0f, 0x0a, - 0x0b, 0x44, 0x49, 0x53, 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, - 0x0a, 0x08, 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, - 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x22, 0xa5, 0x02, 0x0a, 0x08, 0x45, - 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x63, 0x68, 0x61, - 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, - 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, - 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, - 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x66, 0x69, 0x72, 0x73, - 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x66, 0x69, 0x72, 0x73, - 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x66, 0x69, 0x72, 0x73, 0x74, 0x54, 0x6f, 0x6b, 0x65, - 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x65, 0x63, 0x6f, - 0x6e, 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x0d, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, - 0x12, 0x30, 0x0a, 0x14, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, - 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, - 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, - 0x63, 0x65, 0x22, 0x98, 0x04, 0x0a, 0x0b, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, - 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x23, 0x0a, - 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, - 0x69, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, - 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x65, 0x6c, 0x6c, - 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x65, 0x6c, 0x6c, 0x5f, - 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x51, - 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x20, 0x0a, 0x0c, 0x62, 0x75, 0x79, 0x5f, 0x74, - 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x62, - 0x75, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x62, 0x75, 0x79, - 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x62, 0x75, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x51, - 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x3b, 0x0a, 0x1a, 0x73, 0x65, 0x6c, 0x6c, 0x5f, - 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x72, - 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x73, 0x65, 0x6c, - 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, - 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x3b, 0x0a, 0x1a, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, - 0x65, 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x65, 0x74, 0x75, - 0x72, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x74, 0x75, 0x72, - 0x6e, 0x12, 0x31, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, - 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, - 0x74, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x72, 0x65, 0x76, 0x18, 0x0c, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x04, 0x70, 0x72, 0x65, 0x76, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x65, 0x78, 0x74, - 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x65, 0x78, 0x74, 0x22, 0x2f, 0x0a, 0x05, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, - 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4e, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, - 0x0c, 0x0a, 0x08, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x22, 0x40, 0x0a, - 0x0f, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, - 0x12, 0x2d, 0x0a, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, - 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x22, - 0x4e, 0x0a, 0x13, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, - 0x69, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x50, - 0x61, 0x69, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, - 0x50, 0x61, 0x69, 0x72, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x22, - 0x57, 0x0a, 0x0f, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, - 0x69, 0x72, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, - 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x65, 0x6c, 0x6c, 0x54, - 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0c, 0x62, 0x75, 0x79, 0x5f, 0x74, 0x6f, - 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x62, 0x75, - 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x22, 0x88, 0x01, 0x0a, 0x12, 0x4d, 0x61, 0x72, - 0x6b, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, - 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x0c, 0x52, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x14, 0x0a, 0x05, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, - 0x75, 0x6e, 0x74, 0x22, 0x6b, 0x0a, 0x0b, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, - 0x63, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, - 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x11, 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, - 0x74, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x62, 0x75, 0x79, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, - 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, + 0x63, 0x6f, 0x76, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x63, 0x6f, 0x72, + 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39, 0x0a, 0x09, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x22, 0x48, 0x0a, 0x04, 0x56, 0x6f, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x76, 0x6f, + 0x74, 0x65, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0b, 0x76, 0x6f, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, + 0x0a, 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x09, 0x76, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xb4, 0x03, 0x0a, + 0x08, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, + 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x42, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, + 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x2e, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x78, 0x70, + 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0e, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, + 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, + 0x69, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x73, + 0x18, 0x06, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, + 0x73, 0x12, 0x2e, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x1a, 0x3d, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x22, 0x41, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e, + 0x44, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x44, 0x49, 0x53, 0x41, 0x50, 0x50, + 0x52, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x50, 0x50, 0x52, 0x4f, + 0x56, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x45, + 0x44, 0x10, 0x03, 0x22, 0xa5, 0x02, 0x0a, 0x08, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, + 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x66, + 0x69, 0x72, 0x73, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x66, 0x69, 0x72, 0x73, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, + 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, + 0x66, 0x69, 0x72, 0x73, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x73, 0x65, 0x63, 0x6f, + 0x6e, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x73, 0x65, 0x63, + 0x6f, 0x6e, 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x98, 0x04, 0x0a, 0x0b, + 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x6f, + 0x72, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6f, + 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0d, + 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, + 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x71, + 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x73, + 0x65, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x12, 0x20, 0x0a, 0x0c, 0x62, 0x75, 0x79, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x62, 0x75, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, + 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x62, 0x75, 0x79, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, + 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x62, 0x75, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, - 0x22, 0x86, 0x01, 0x0a, 0x0f, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, - 0x4c, 0x69, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, - 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x65, 0x6c, - 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0c, 0x62, 0x75, 0x79, 0x5f, - 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, - 0x62, 0x75, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x06, 0x70, 0x72, - 0x69, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, - 0x65, 0x52, 0x06, 0x70, 0x72, 0x69, 0x63, 0x65, 0x73, 0x22, 0x3b, 0x0a, 0x11, 0x4d, 0x61, 0x72, - 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x12, - 0x0a, 0x04, 0x68, 0x65, 0x61, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x65, - 0x61, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x04, 0x74, 0x61, 0x69, 0x6c, 0x22, 0x9d, 0x01, 0x0a, 0x0f, 0x43, 0x68, 0x61, 0x69, 0x6e, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x50, 0x0a, 0x0e, 0x63, 0x68, - 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x68, - 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x43, 0x68, - 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x0e, 0x63, 0x68, - 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x1a, 0x38, 0x0a, 0x0e, - 0x43, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x10, - 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, - 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xe0, 0x1d, 0x0a, 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, - 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x61, 0x6c, - 0x61, 0x6e, 0x63, 0x65, 0x12, 0x24, 0x0a, 0x05, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, - 0x6f, 0x74, 0x65, 0x52, 0x05, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x05, 0x61, 0x73, - 0x73, 0x65, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x41, 0x73, 0x73, - 0x65, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x38, - 0x0a, 0x07, 0x61, 0x73, 0x73, 0x65, 0x74, 0x56, 0x32, 0x18, 0x38, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, - 0x07, 0x61, 0x73, 0x73, 0x65, 0x74, 0x56, 0x32, 0x12, 0x30, 0x0a, 0x06, 0x66, 0x72, 0x6f, 0x7a, - 0x65, 0x6e, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x46, 0x72, 0x6f, 0x7a, - 0x65, 0x6e, 0x52, 0x06, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x65, - 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6e, - 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x63, 0x0a, 0x2f, 0x61, 0x63, 0x71, 0x75, 0x69, - 0x72, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x72, - 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, - 0x5f, 0x62, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x29, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x2a, 0x61, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, - 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, - 0x46, 0x6f, 0x72, 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x52, 0x0a, 0x26, - 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, - 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x62, 0x61, 0x6e, - 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x2a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x22, 0x64, 0x65, - 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, - 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, - 0x12, 0x24, 0x0a, 0x0e, 0x6f, 0x6c, 0x64, 0x5f, 0x74, 0x72, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x77, - 0x65, 0x72, 0x18, 0x2e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6f, 0x6c, 0x64, 0x54, 0x72, 0x6f, - 0x6e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x37, 0x0a, 0x0a, 0x74, 0x72, 0x6f, 0x6e, 0x5f, 0x70, - 0x6f, 0x77, 0x65, 0x72, 0x18, 0x2f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x46, 0x72, - 0x6f, 0x7a, 0x65, 0x6e, 0x52, 0x09, 0x74, 0x72, 0x6f, 0x6e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x12, - 0x27, 0x0a, 0x0f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, - 0x65, 0x64, 0x18, 0x3c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4f, - 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x6c, 0x61, 0x74, - 0x65, 0x73, 0x74, 0x5f, 0x6f, 0x70, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, - 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x4f, - 0x70, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, - 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, - 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x6c, 0x61, 0x74, - 0x65, 0x73, 0x74, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x5f, 0x74, 0x69, 0x6d, - 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x57, - 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, - 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, - 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x18, 0x0e, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x21, - 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x18, 0x0f, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, - 0x65, 0x12, 0x3d, 0x0a, 0x0d, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x73, 0x75, 0x70, 0x70, - 0x6c, 0x79, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x46, 0x72, 0x6f, 0x7a, - 0x65, 0x6e, 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, - 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x64, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x61, 0x73, 0x73, - 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, - 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x64, 0x5f, 0x49, 0x44, 0x18, - 0x39, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, - 0x65, 0x64, 0x49, 0x44, 0x12, 0x6e, 0x0a, 0x1b, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x61, - 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, - 0x69, 0x6d, 0x65, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x4c, 0x61, 0x74, + 0x12, 0x3b, 0x0a, 0x1a, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x71, + 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x51, + 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x3b, 0x0a, + 0x1a, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x17, 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x51, 0x75, 0x61, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x12, 0x31, 0x0a, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, + 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, + 0x04, 0x70, 0x72, 0x65, 0x76, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x72, 0x65, + 0x76, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x65, 0x78, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x04, 0x6e, 0x65, 0x78, 0x74, 0x22, 0x2f, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0a, + 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4e, + 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x41, 0x4e, 0x43, + 0x45, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x22, 0x40, 0x0a, 0x0f, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, + 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x06, 0x6f, 0x72, 0x64, + 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, + 0x52, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x22, 0x4e, 0x0a, 0x13, 0x4d, 0x61, 0x72, 0x6b, + 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x37, 0x0a, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, + 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x52, 0x09, 0x6f, + 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x22, 0x57, 0x0a, 0x0f, 0x4d, 0x61, 0x72, 0x6b, + 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x12, 0x22, 0x0a, 0x0d, 0x73, + 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, + 0x20, 0x0a, 0x0c, 0x62, 0x75, 0x79, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x62, 0x75, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, + 0x64, 0x22, 0x88, 0x01, 0x0a, 0x12, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, + 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, + 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x06, 0x6f, + 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x74, + 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x6b, 0x0a, 0x0b, + 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x73, + 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, + 0x6b, 0x65, 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x62, + 0x75, 0x79, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x62, 0x75, 0x79, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x22, 0x86, 0x01, 0x0a, 0x0f, 0x4d, 0x61, + 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x22, 0x0a, + 0x0d, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, + 0x64, 0x12, 0x20, 0x0a, 0x0c, 0x62, 0x75, 0x79, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x62, 0x75, 0x79, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x06, 0x70, 0x72, 0x69, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, + 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x06, 0x70, 0x72, 0x69, 0x63, + 0x65, 0x73, 0x22, 0x3b, 0x0a, 0x11, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, + 0x72, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x65, 0x61, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x65, 0x61, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, + 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x61, 0x69, 0x6c, 0x22, + 0x9d, 0x01, 0x0a, 0x0f, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, + 0x65, 0x72, 0x73, 0x12, 0x50, 0x0a, 0x0e, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x65, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x0e, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x65, 0x74, 0x65, 0x72, 0x1a, 0x38, 0x0a, 0x0e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, + 0xca, 0x1e, 0x0a, 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x61, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x29, + 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x24, 0x0a, + 0x05, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x52, 0x05, 0x76, 0x6f, + 0x74, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, 0x06, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x38, 0x0a, 0x07, 0x61, 0x73, 0x73, 0x65, 0x74, + 0x56, 0x32, 0x18, 0x38, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x41, 0x73, 0x73, 0x65, + 0x74, 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x61, 0x73, 0x73, 0x65, 0x74, 0x56, + 0x32, 0x12, 0x30, 0x0a, 0x06, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x18, 0x07, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x52, 0x06, 0x66, 0x72, 0x6f, + 0x7a, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x65, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, + 0x12, 0x63, 0x0a, 0x2f, 0x61, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x6c, + 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, + 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x64, 0x77, 0x69, + 0x64, 0x74, 0x68, 0x18, 0x29, 0x20, 0x01, 0x28, 0x03, 0x52, 0x2a, 0x61, 0x63, 0x71, 0x75, 0x69, + 0x72, 0x65, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, + 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x42, 0x61, 0x6e, 0x64, + 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x52, 0x0a, 0x26, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, + 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, + 0x2a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x22, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, + 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, + 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x24, 0x0a, 0x0e, 0x6f, 0x6c, 0x64, + 0x5f, 0x74, 0x72, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x18, 0x2e, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0c, 0x6f, 0x6c, 0x64, 0x54, 0x72, 0x6f, 0x6e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x12, + 0x37, 0x0a, 0x0a, 0x74, 0x72, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x18, 0x2f, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x52, 0x09, 0x74, + 0x72, 0x6f, 0x6e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x73, 0x73, 0x65, + 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x18, 0x3c, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, + 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, + 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x6f, 0x70, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x12, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x4f, 0x70, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, + 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, + 0x63, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x77, 0x69, 0x74, + 0x68, 0x64, 0x72, 0x61, 0x77, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x12, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x77, + 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, + 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x63, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, + 0x73, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x12, 0x3d, 0x0a, 0x0d, 0x66, 0x72, + 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x18, 0x10, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x52, 0x0c, 0x66, 0x72, 0x6f, + 0x7a, 0x65, 0x6e, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x73, 0x73, + 0x65, 0x74, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x11, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, + 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, + 0x73, 0x73, 0x75, 0x65, 0x64, 0x5f, 0x49, 0x44, 0x18, 0x39, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, + 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x64, 0x49, 0x44, 0x12, 0x6e, 0x0a, + 0x1b, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x12, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, + 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x18, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, + 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x74, 0x0a, + 0x1d, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x56, 0x32, 0x18, 0x3a, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x73, + 0x73, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, + 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x1a, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, + 0x73, 0x73, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, + 0x65, 0x56, 0x32, 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x6e, 0x65, 0x74, 0x5f, + 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x66, 0x72, 0x65, + 0x65, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x59, 0x0a, 0x14, 0x66, 0x72, 0x65, + 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x65, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, + 0x65, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x46, 0x72, 0x65, 0x65, 0x41, + 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x11, 0x66, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, + 0x73, 0x61, 0x67, 0x65, 0x12, 0x5f, 0x0a, 0x16, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x61, 0x73, 0x73, + 0x65, 0x74, 0x5f, 0x6e, 0x65, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x56, 0x32, 0x18, 0x3b, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x46, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, + 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x13, 0x66, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, + 0x61, 0x67, 0x65, 0x56, 0x32, 0x12, 0x2e, 0x0a, 0x13, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, + 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x15, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x11, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d, + 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x18, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, + 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x15, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x43, + 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x46, 0x72, 0x65, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, + 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x17, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, + 0x0f, 0x6e, 0x65, 0x74, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x5f, 0x73, 0x69, 0x7a, 0x65, + 0x18, 0x18, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6e, 0x65, 0x74, 0x57, 0x69, 0x6e, 0x64, 0x6f, + 0x77, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x6e, 0x65, 0x74, 0x5f, 0x77, 0x69, 0x6e, + 0x64, 0x6f, 0x77, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x18, 0x19, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x12, 0x6e, 0x65, 0x74, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x4f, 0x70, + 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x12, 0x4c, 0x0a, 0x10, 0x61, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x1a, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x52, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x64, 0x65, 0x48, 0x61, 0x73, + 0x68, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x63, 0x6f, 0x64, 0x65, 0x48, 0x61, 0x73, + 0x68, 0x12, 0x3f, 0x0a, 0x10, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x52, 0x0f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x12, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x70, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x50, 0x65, 0x72, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x11, 0x61, 0x63, 0x74, 0x69, 0x76, + 0x65, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x21, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x36, 0x0a, 0x08, 0x66, 0x72, + 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x18, 0x22, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, + 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x52, 0x08, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, + 0x56, 0x32, 0x12, 0x3c, 0x0a, 0x0a, 0x75, 0x6e, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, + 0x18, 0x23, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x55, 0x6e, 0x46, 0x72, 0x65, 0x65, + 0x7a, 0x65, 0x56, 0x32, 0x52, 0x0a, 0x75, 0x6e, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, + 0x12, 0x56, 0x0a, 0x28, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x72, + 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, + 0x6f, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x24, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x24, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, + 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x42, + 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x67, 0x0a, 0x31, 0x61, 0x63, 0x71, 0x75, + 0x69, 0x72, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, + 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, + 0x66, 0x6f, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x25, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x2c, 0x61, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x44, 0x65, 0x6c, + 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x42, 0x61, + 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, + 0x68, 0x1a, 0x50, 0x0a, 0x06, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x66, + 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0d, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, + 0x69, 0x6d, 0x65, 0x1a, 0x38, 0x0a, 0x0a, 0x41, 0x73, 0x73, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3a, 0x0a, + 0x0c, 0x41, 0x73, 0x73, 0x65, 0x74, 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4b, 0x0a, 0x1d, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x18, 0x6c, 0x61, 0x74, 0x65, - 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x54, 0x69, 0x6d, 0x65, 0x12, 0x74, 0x0a, 0x1d, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x61, - 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, - 0x69, 0x6d, 0x65, 0x56, 0x32, 0x18, 0x3a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x4c, - 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x1a, - 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x32, 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x72, - 0x65, 0x65, 0x5f, 0x6e, 0x65, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x13, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x0c, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, - 0x12, 0x59, 0x0a, 0x14, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6e, - 0x65, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x2e, 0x46, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, - 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x66, 0x72, 0x65, 0x65, 0x41, 0x73, - 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x5f, 0x0a, 0x16, 0x66, - 0x72, 0x65, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x65, 0x74, 0x5f, 0x75, 0x73, - 0x61, 0x67, 0x65, 0x56, 0x32, 0x18, 0x3b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x46, - 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, - 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x66, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, - 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x56, 0x32, 0x12, 0x2e, 0x0a, 0x13, - 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x5f, 0x74, - 0x69, 0x6d, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x6c, 0x61, 0x74, 0x65, 0x73, - 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x18, - 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x5f, 0x66, - 0x72, 0x65, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x15, - 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x46, 0x72, 0x65, - 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x5f, 0x69, 0x64, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x74, 0x5f, 0x77, 0x69, 0x6e, 0x64, - 0x6f, 0x77, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6e, - 0x65, 0x74, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x4c, 0x0a, 0x10, - 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, - 0x64, 0x65, 0x48, 0x61, 0x73, 0x68, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x63, 0x6f, - 0x64, 0x65, 0x48, 0x61, 0x73, 0x68, 0x12, 0x3f, 0x0a, 0x10, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, - 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, - 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x50, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x12, 0x77, 0x69, 0x74, 0x6e, 0x65, - 0x73, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x20, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, - 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x77, 0x69, 0x74, 0x6e, 0x65, - 0x73, 0x73, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x11, - 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x18, 0x21, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x61, - 0x63, 0x74, 0x69, 0x76, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, - 0x36, 0x0a, 0x08, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x18, 0x22, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x52, 0x08, 0x66, - 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x12, 0x3c, 0x0a, 0x0a, 0x75, 0x6e, 0x66, 0x72, 0x6f, - 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x18, 0x23, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x55, - 0x6e, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x52, 0x0a, 0x75, 0x6e, 0x66, 0x72, 0x6f, - 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x12, 0x56, 0x0a, 0x28, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, - 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x5f, 0x62, 0x61, 0x6c, 0x61, - 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, - 0x68, 0x18, 0x24, 0x20, 0x01, 0x28, 0x03, 0x52, 0x24, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, - 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, - 0x65, 0x46, 0x6f, 0x72, 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x67, 0x0a, - 0x31, 0x61, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, - 0x74, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x5f, 0x62, 0x61, 0x6c, - 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, - 0x74, 0x68, 0x18, 0x25, 0x20, 0x01, 0x28, 0x03, 0x52, 0x2c, 0x61, 0x63, 0x71, 0x75, 0x69, 0x72, - 0x65, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, 0x65, - 0x6e, 0x56, 0x32, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x42, 0x61, 0x6e, - 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x1a, 0x50, 0x0a, 0x06, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, - 0x12, 0x25, 0x0a, 0x0e, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, - 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, - 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72, - 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, - 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x1a, 0x38, 0x0a, 0x0a, 0x41, 0x73, 0x73, 0x65, - 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, - 0x38, 0x01, 0x1a, 0x3a, 0x0a, 0x0c, 0x41, 0x73, 0x73, 0x65, 0x74, 0x56, 0x32, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4b, - 0x0a, 0x1d, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4d, 0x0a, 0x1f, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, + 0x41, 0x73, 0x73, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, + 0x6d, 0x65, 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x44, 0x0a, 0x16, 0x46, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, + 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4d, 0x0a, 0x1f, 0x4c, - 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, - 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, - 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x44, 0x0a, 0x16, 0x46, 0x72, - 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, - 0x1a, 0x46, 0x0a, 0x18, 0x46, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, - 0x55, 0x73, 0x61, 0x67, 0x65, 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, - 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0xe8, 0x05, 0x0a, 0x0f, 0x41, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, - 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x0b, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, - 0x53, 0x0a, 0x19, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, - 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x52, 0x16, 0x66, 0x72, - 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x45, 0x6e, - 0x65, 0x72, 0x67, 0x79, 0x12, 0x42, 0x0a, 0x1e, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x63, - 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, - 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1a, 0x6c, 0x61, - 0x74, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x46, - 0x6f, 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x5d, 0x0a, 0x2c, 0x61, 0x63, 0x71, 0x75, - 0x69, 0x72, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, - 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6f, - 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x27, - 0x61, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, - 0x64, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, - 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x4c, 0x0a, 0x23, 0x64, 0x65, 0x6c, 0x65, 0x67, - 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, - 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x1f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x46, - 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x45, - 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, - 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x73, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, - 0x3f, 0x0a, 0x1c, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, - 0x67, 0x65, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, - 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x19, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x45, 0x78, 0x63, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x69, 0x6d, 0x65, - 0x12, 0x2c, 0x0a, 0x12, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, - 0x77, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x65, 0x6e, - 0x65, 0x72, 0x67, 0x79, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x50, - 0x0a, 0x25, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x7a, - 0x65, 0x6e, 0x56, 0x32, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, - 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x21, 0x64, - 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x46, 0x0a, 0x18, 0x46, + 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, + 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x1a, 0xa0, 0x06, 0x0a, 0x0f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x6e, 0x65, 0x72, 0x67, + 0x79, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x65, + 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x53, 0x0a, 0x19, 0x66, 0x72, + 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, + 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x2e, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x52, 0x16, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, + 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, + 0x42, 0x0a, 0x1e, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, + 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, + 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1a, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x43, + 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x45, 0x6e, 0x65, + 0x72, 0x67, 0x79, 0x12, 0x5d, 0x0a, 0x2c, 0x61, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, + 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, + 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, + 0x72, 0x67, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x27, 0x61, 0x63, 0x71, 0x75, 0x69, + 0x72, 0x65, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, + 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x45, 0x6e, 0x65, 0x72, + 0x67, 0x79, 0x12, 0x4c, 0x0a, 0x23, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, + 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, + 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x1f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, - 0x12, 0x61, 0x0a, 0x2e, 0x61, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x6c, + 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, + 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x3f, 0x0a, 0x1c, 0x6c, 0x61, + 0x74, 0x65, 0x73, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x19, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x65, + 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x5f, 0x73, 0x69, 0x7a, + 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x57, + 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x50, 0x0a, 0x25, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, - 0x67, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x29, 0x61, 0x63, 0x71, 0x75, 0x69, 0x72, - 0x65, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, 0x65, - 0x6e, 0x56, 0x32, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x45, 0x6e, 0x65, - 0x72, 0x67, 0x79, 0x1a, 0x4e, 0x0a, 0x08, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x12, - 0x2a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, - 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x61, 0x6d, 0x6f, - 0x75, 0x6e, 0x74, 0x1a, 0x93, 0x01, 0x0a, 0x0a, 0x55, 0x6e, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, + 0x67, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x21, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, + 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x42, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x46, 0x6f, 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x61, 0x0a, 0x2e, 0x61, + 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, + 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x29, 0x61, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x44, 0x65, 0x6c, + 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x42, 0x61, + 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x36, + 0x0a, 0x17, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x5f, + 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x15, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x4f, 0x70, 0x74, + 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x1a, 0x4e, 0x0a, 0x08, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x12, 0x2a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x27, - 0x0a, 0x0f, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, - 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, - 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x75, 0x6e, 0x66, 0x72, 0x65, - 0x65, 0x7a, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x45, - 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x37, 0x0a, 0x03, 0x4b, 0x65, 0x79, - 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, - 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, - 0x68, 0x74, 0x22, 0xa3, 0x02, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, - 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, - 0x74, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x3f, 0x0a, 0x1c, - 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, - 0x6f, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x19, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, - 0x65, 0x46, 0x6f, 0x72, 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x39, 0x0a, - 0x19, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, - 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x16, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, - 0x6f, 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x39, 0x0a, 0x19, 0x65, 0x78, 0x70, 0x69, - 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x64, - 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x65, 0x78, 0x70, - 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, - 0x64, 0x74, 0x68, 0x12, 0x33, 0x0a, 0x16, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x74, 0x69, - 0x6d, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x13, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x46, - 0x6f, 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x22, 0x63, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, - 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x2d, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x52, 0x07, 0x61, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x70, - 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xb2, 0x02, - 0x0a, 0x0a, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, - 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, - 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x1b, 0x0a, 0x09, - 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x6f, - 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x04, 0x6b, 0x65, 0x79, - 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x4b, 0x65, 0x79, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x22, 0x34, 0x0a, 0x0e, - 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x09, - 0x0a, 0x05, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x69, 0x74, - 0x6e, 0x65, 0x73, 0x73, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, - 0x10, 0x02, 0x22, 0x99, 0x02, 0x0a, 0x07, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x18, - 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x76, 0x6f, 0x74, 0x65, - 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x76, 0x6f, 0x74, - 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x12, 0x10, - 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, - 0x12, 0x24, 0x0a, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, - 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x72, - 0x6f, 0x64, 0x75, 0x63, 0x65, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4d, - 0x69, 0x73, 0x73, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, 0x6f, 0x74, - 0x61, 0x6c, 0x4d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x6c, 0x61, 0x74, 0x65, - 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0e, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, - 0x12, 0x24, 0x0a, 0x0d, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x4e, 0x75, - 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x53, - 0x6c, 0x6f, 0x74, 0x4e, 0x75, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x4a, 0x6f, 0x62, 0x73, - 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4a, 0x6f, 0x62, 0x73, 0x22, 0x7b, - 0x0a, 0x05, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x2b, 0x0a, 0x09, 0x6f, 0x6c, 0x64, 0x5f, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x02, + 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, + 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, + 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x93, 0x01, 0x0a, 0x0a, 0x55, 0x6e, 0x46, 0x72, 0x65, + 0x65, 0x7a, 0x65, 0x56, 0x32, 0x12, 0x2a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x5f, 0x61, 0x6d, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, 0x6e, 0x66, 0x72, + 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x75, 0x6e, + 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, + 0x7a, 0x65, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x37, 0x0a, 0x03, + 0x4b, 0x65, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, + 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x77, + 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0xa3, 0x02, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, + 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, + 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, + 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x74, 0x6f, 0x12, + 0x3f, 0x0a, 0x1c, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x19, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, + 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, + 0x12, 0x39, 0x0a, 0x19, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x16, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x46, 0x6f, 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x39, 0x0a, 0x19, 0x65, + 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x62, + 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, + 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x42, 0x61, 0x6e, + 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x33, 0x0a, 0x16, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, + 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x22, 0x63, 0x0a, 0x09, 0x61, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x2d, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x52, 0x07, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x65, 0x72, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0e, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, + 0x22, 0xb2, 0x02, 0x0a, 0x0a, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x37, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0e, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, + 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, + 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x04, + 0x6b, 0x65, 0x79, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4b, 0x65, 0x79, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x22, + 0x34, 0x0a, 0x0e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x09, 0x0a, 0x05, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, + 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x65, 0x10, 0x02, 0x22, 0x99, 0x02, 0x0a, 0x07, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, + 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x76, + 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, + 0x76, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, + 0x4b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x75, 0x62, 0x4b, 0x65, + 0x79, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x75, 0x72, 0x6c, 0x12, 0x24, 0x0a, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x64, + 0x75, 0x63, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x6f, 0x74, 0x61, + 0x6c, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x6f, 0x74, + 0x61, 0x6c, 0x4d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, + 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x6c, + 0x61, 0x74, 0x65, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0e, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x4e, 0x75, 0x6d, 0x12, 0x24, 0x0a, 0x0d, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x53, 0x6c, 0x6f, + 0x74, 0x4e, 0x75, 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6c, 0x61, 0x74, 0x65, + 0x73, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x4e, 0x75, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x4a, + 0x6f, 0x62, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4a, 0x6f, 0x62, + 0x73, 0x22, 0x7b, 0x0a, 0x05, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x12, 0x2b, 0x0a, 0x09, 0x6f, 0x6c, 0x64, 0x5f, 0x76, 0x6f, 0x74, 0x65, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x52, 0x08, 0x6f, 0x6c, 0x64, 0x56, 0x6f, 0x74, 0x65, + 0x73, 0x12, 0x2b, 0x0a, 0x09, 0x6e, 0x65, 0x77, 0x5f, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x56, 0x6f, 0x74, 0x65, 0x52, 0x08, 0x6f, 0x6c, 0x64, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x2b, - 0x0a, 0x09, 0x6e, 0x65, 0x77, 0x5f, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x74, - 0x65, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x22, 0x40, 0x0a, 0x08, 0x54, - 0x58, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1e, 0x0a, - 0x0a, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x48, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x0a, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x48, 0x61, 0x73, 0x68, 0x22, 0xa0, 0x01, - 0x0a, 0x07, 0x54, 0x58, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x30, 0x0a, 0x08, 0x72, 0x61, 0x77, - 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x58, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x2e, 0x72, - 0x61, 0x77, 0x52, 0x07, 0x72, 0x61, 0x77, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x73, - 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, - 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x1a, 0x45, 0x0a, 0x03, 0x72, 0x61, 0x77, - 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, - 0x74, 0x78, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x76, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x04, 0x76, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x4b, - 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, - 0x22, 0x39, 0x0a, 0x09, 0x54, 0x58, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x2c, 0x0a, - 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x58, 0x4f, 0x75, 0x74, 0x70, - 0x75, 0x74, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x22, 0xde, 0x02, 0x0a, 0x0f, - 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x12, - 0x21, 0x0a, 0x0c, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, 0x61, - 0x67, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x66, 0x65, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x46, 0x65, - 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x65, 0x6e, 0x65, 0x72, - 0x67, 0x79, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, - 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, 0x61, 0x67, - 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x75, 0x73, 0x61, 0x67, - 0x65, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x65, - 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x12, - 0x1b, 0x0a, 0x09, 0x6e, 0x65, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x08, 0x6e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x17, 0x0a, 0x07, - 0x6e, 0x65, 0x74, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, - 0x65, 0x74, 0x46, 0x65, 0x65, 0x12, 0x43, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x65, 0x6e, - 0x65, 0x72, 0x67, 0x79, 0x5f, 0x70, 0x65, 0x6e, 0x61, 0x6c, 0x74, 0x79, 0x5f, 0x74, 0x6f, 0x74, - 0x61, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, - 0x50, 0x65, 0x6e, 0x61, 0x6c, 0x74, 0x79, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x22, 0xb1, 0x01, 0x0a, - 0x11, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, - 0x69, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x61, 0x6b, 0x65, 0x72, 0x4f, 0x72, 0x64, 0x65, 0x72, - 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6d, 0x61, 0x6b, 0x65, 0x72, 0x4f, - 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x4f, - 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x74, 0x61, - 0x6b, 0x65, 0x72, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x10, 0x66, 0x69, - 0x6c, 0x6c, 0x53, 0x65, 0x6c, 0x6c, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x66, 0x69, 0x6c, 0x6c, 0x53, 0x65, 0x6c, 0x6c, 0x51, 0x75, - 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x66, 0x69, 0x6c, 0x6c, 0x42, 0x75, - 0x79, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0f, 0x66, 0x69, 0x6c, 0x6c, 0x42, 0x75, 0x79, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, - 0x22, 0xfd, 0x16, 0x0a, 0x0b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x34, 0x0a, 0x08, 0x72, 0x61, 0x77, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x72, 0x61, 0x77, 0x52, 0x07, 0x72, - 0x61, 0x77, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, - 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, - 0x74, 0x75, 0x72, 0x65, 0x12, 0x2e, 0x0a, 0x03, 0x72, 0x65, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, - 0x03, 0x72, 0x65, 0x74, 0x1a, 0xce, 0x0a, 0x0a, 0x08, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x12, 0x3f, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, - 0x70, 0x65, 0x12, 0x32, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x09, 0x70, 0x61, 0x72, - 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, - 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, - 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x4e, 0x61, - 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x50, - 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0xe7, 0x08, 0x0a, 0x0c, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x15, - 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x66, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x01, 0x12, 0x19, 0x0a, - 0x15, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x56, 0x6f, 0x74, 0x65, - 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x03, 0x12, - 0x17, 0x0a, 0x13, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x04, 0x12, 0x19, 0x0a, 0x15, 0x57, 0x69, 0x74, 0x6e, - 0x65, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x10, 0x05, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, - 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x06, 0x12, 0x19, 0x0a, 0x15, 0x57, - 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x10, 0x08, 0x12, 0x21, 0x0a, 0x1d, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, - 0x69, 0x70, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x09, 0x12, 0x19, 0x0a, 0x15, 0x41, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x10, 0x0a, 0x12, 0x19, 0x0a, 0x15, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x0b, 0x12, - 0x1b, 0x0a, 0x17, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, - 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x0c, 0x12, 0x1b, 0x0a, 0x17, - 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x0d, 0x12, 0x19, 0x0a, 0x15, 0x55, 0x6e, 0x66, - 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x10, 0x0e, 0x12, 0x17, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x73, - 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x0f, 0x12, 0x1a, 0x0a, - 0x16, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x10, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x72, 0x6f, - 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x10, 0x11, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, - 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x10, 0x12, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x49, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x13, 0x12, 0x12, 0x0a, 0x0e, - 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x14, - 0x12, 0x17, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x1e, 0x12, 0x18, 0x0a, 0x14, 0x54, 0x72, 0x69, - 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x10, 0x1f, 0x12, 0x0f, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x10, 0x20, 0x12, 0x19, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, - 0x74, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x21, 0x12, - 0x1a, 0x0a, 0x16, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x29, 0x12, 0x1a, 0x0a, 0x16, 0x45, - 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x2a, 0x12, 0x1c, 0x0a, 0x18, 0x45, 0x78, 0x63, 0x68, 0x61, - 0x6e, 0x67, 0x65, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x10, 0x2b, 0x12, 0x1f, 0x0a, 0x1b, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, - 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x10, 0x2c, 0x12, 0x1d, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x10, 0x2d, 0x12, 0x23, 0x0a, 0x1f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x2e, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x6c, - 0x65, 0x61, 0x72, 0x41, 0x42, 0x49, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x30, - 0x12, 0x1b, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, - 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x31, 0x12, 0x1c, 0x0a, - 0x18, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, - 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x33, 0x12, 0x1b, 0x0a, 0x17, 0x4d, - 0x61, 0x72, 0x6b, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x6c, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x34, 0x12, 0x1d, 0x0a, 0x19, 0x4d, 0x61, 0x72, 0x6b, - 0x65, 0x74, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x35, 0x12, 0x1b, 0x0a, 0x17, 0x46, 0x72, 0x65, 0x65, 0x7a, - 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x10, 0x36, 0x12, 0x1d, 0x0a, 0x19, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, - 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x10, 0x37, 0x12, 0x22, 0x0a, 0x1e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x45, - 0x78, 0x70, 0x69, 0x72, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x38, 0x12, 0x1c, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x67, - 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x10, 0x39, 0x12, 0x1e, 0x0a, 0x1a, 0x55, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, - 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x10, 0x3a, 0x1a, 0xae, 0x08, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x12, 0x10, 0x0a, 0x03, 0x66, 0x65, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x66, - 0x65, 0x65, 0x12, 0x33, 0x0a, 0x03, 0x72, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x63, 0x6f, - 0x64, 0x65, 0x52, 0x03, 0x72, 0x65, 0x74, 0x12, 0x4d, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x52, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x70, + 0x56, 0x6f, 0x74, 0x65, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x22, 0x40, + 0x0a, 0x08, 0x54, 0x58, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x48, 0x61, 0x73, 0x68, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x48, 0x61, 0x73, 0x68, + 0x22, 0xa0, 0x01, 0x0a, 0x07, 0x54, 0x58, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x30, 0x0a, 0x08, + 0x72, 0x61, 0x77, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x58, 0x49, 0x6e, 0x70, 0x75, + 0x74, 0x2e, 0x72, 0x61, 0x77, 0x52, 0x07, 0x72, 0x61, 0x77, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1c, + 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x1a, 0x45, 0x0a, 0x03, + 0x72, 0x61, 0x77, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x04, 0x74, 0x78, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x76, 0x6f, 0x75, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x76, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, + 0x75, 0x62, 0x4b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x75, 0x62, + 0x4b, 0x65, 0x79, 0x22, 0x39, 0x0a, 0x09, 0x54, 0x58, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, + 0x12, 0x2c, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x58, 0x4f, + 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x22, 0xde, + 0x02, 0x0a, 0x0f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, + 0x70, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x75, 0x73, 0x61, + 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, + 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, + 0x66, 0x65, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x6e, 0x65, 0x72, 0x67, + 0x79, 0x46, 0x65, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x65, + 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x11, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, + 0x73, 0x61, 0x67, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x75, + 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x10, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x74, + 0x61, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x65, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, + 0x17, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x06, 0x6e, 0x65, 0x74, 0x46, 0x65, 0x65, 0x12, 0x43, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x30, 0x0a, + 0x14, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x70, 0x65, 0x6e, 0x61, 0x6c, 0x74, 0x79, 0x5f, + 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x65, 0x6e, 0x65, + 0x72, 0x67, 0x79, 0x50, 0x65, 0x6e, 0x61, 0x6c, 0x74, 0x79, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x22, + 0xb1, 0x01, 0x0a, 0x11, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x61, 0x6b, 0x65, 0x72, 0x4f, 0x72, + 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6d, 0x61, 0x6b, + 0x65, 0x72, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x74, 0x61, 0x6b, + 0x65, 0x72, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x0c, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2a, 0x0a, + 0x10, 0x66, 0x69, 0x6c, 0x6c, 0x53, 0x65, 0x6c, 0x6c, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x66, 0x69, 0x6c, 0x6c, 0x53, 0x65, 0x6c, + 0x6c, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x66, 0x69, 0x6c, + 0x6c, 0x42, 0x75, 0x79, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0f, 0x66, 0x69, 0x6c, 0x6c, 0x42, 0x75, 0x79, 0x51, 0x75, 0x61, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x22, 0xdd, 0x18, 0x0a, 0x0b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x08, 0x72, 0x61, 0x77, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x72, 0x61, 0x77, + 0x52, 0x07, 0x72, 0x61, 0x77, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, + 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, + 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x2e, 0x0a, 0x03, 0x72, 0x65, 0x74, 0x18, 0x05, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x52, 0x03, 0x72, 0x65, 0x74, 0x1a, 0xef, 0x0a, 0x0a, 0x08, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x12, 0x3f, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x32, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, + 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x09, + 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x50, 0x65, 0x72, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x0c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x88, + 0x09, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x19, 0x0a, 0x15, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x01, + 0x12, 0x19, 0x0a, 0x15, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, + 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x56, + 0x6f, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x10, 0x03, 0x12, 0x17, 0x0a, 0x13, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, + 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x04, 0x12, 0x19, 0x0a, 0x15, 0x57, + 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x10, 0x05, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, + 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x06, 0x12, 0x19, + 0x0a, 0x15, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x08, 0x12, 0x21, 0x0a, 0x1d, 0x50, 0x61, 0x72, + 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, + 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x09, 0x12, 0x19, 0x0a, 0x15, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x0a, 0x12, 0x19, 0x0a, 0x15, 0x46, 0x72, 0x65, 0x65, 0x7a, + 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x10, 0x0b, 0x12, 0x1b, 0x0a, 0x17, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, + 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x0c, 0x12, + 0x1b, 0x0a, 0x17, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x0d, 0x12, 0x19, 0x0a, 0x15, + 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x0e, 0x12, 0x17, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x0f, + 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x10, 0x12, 0x1b, 0x0a, 0x17, + 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x11, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x10, 0x12, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x49, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x13, 0x12, + 0x12, 0x0a, 0x0e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x10, 0x14, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x6d, 0x61, + 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x1e, 0x12, 0x18, 0x0a, 0x14, + 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x10, 0x1f, 0x12, 0x0f, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x20, 0x12, 0x19, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x10, 0x21, 0x12, 0x1a, 0x0a, 0x16, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x29, 0x12, 0x1a, + 0x0a, 0x16, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x2a, 0x12, 0x1c, 0x0a, 0x18, 0x45, 0x78, + 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x2b, 0x12, 0x1f, 0x0a, 0x1b, 0x45, 0x78, 0x63, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x2c, 0x12, 0x1d, 0x0a, 0x19, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x2d, 0x12, 0x23, 0x0a, 0x1f, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x2e, 0x12, 0x14, 0x0a, + 0x10, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x41, 0x42, 0x49, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x10, 0x30, 0x12, 0x1b, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x72, 0x6f, + 0x6b, 0x65, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x31, + 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x66, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x33, 0x12, 0x1b, + 0x0a, 0x17, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x6c, 0x41, 0x73, 0x73, 0x65, + 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x34, 0x12, 0x1d, 0x0a, 0x19, 0x4d, + 0x61, 0x72, 0x6b, 0x65, 0x74, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x35, 0x12, 0x1b, 0x0a, 0x17, 0x46, 0x72, + 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x36, 0x12, 0x1d, 0x0a, 0x19, 0x55, 0x6e, 0x66, 0x72, 0x65, + 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x10, 0x37, 0x12, 0x22, 0x0a, 0x1e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, + 0x61, 0x77, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x38, 0x12, 0x1c, 0x0a, 0x18, 0x44, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x39, 0x12, 0x1e, 0x0a, 0x1a, 0x55, 0x6e, 0x44, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x3a, 0x12, 0x1f, 0x0a, 0x1b, 0x43, 0x61, 0x6e, 0x63, + 0x65, 0x6c, 0x41, 0x6c, 0x6c, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x3b, 0x1a, 0xed, 0x09, 0x0a, 0x06, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x65, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x03, 0x66, 0x65, 0x65, 0x12, 0x33, 0x0a, 0x03, 0x72, 0x65, 0x74, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x52, 0x03, 0x72, 0x65, 0x74, 0x12, 0x4d, 0x0a, 0x0b, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0b, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x73, + 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x49, 0x44, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x49, 0x44, 0x12, 0x27, + 0x0a, 0x0f, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, + 0x77, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x75, 0x6e, 0x66, 0x72, 0x65, + 0x65, 0x7a, 0x65, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0e, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x12, 0x38, 0x0a, 0x18, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x63, + 0x65, 0x69, 0x76, 0x65, 0x64, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x12, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x16, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, + 0x69, 0x76, 0x65, 0x64, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x43, 0x0a, 0x1e, 0x65, 0x78, + 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x6e, + 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x13, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x1b, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x6a, 0x65, + 0x63, 0x74, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x47, 0x0a, 0x20, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x77, 0x69, 0x74, 0x68, + 0x64, 0x72, 0x61, 0x77, 0x5f, 0x61, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x61, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1d, 0x65, 0x78, 0x63, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x41, 0x6e, 0x6f, 0x74, 0x68, + 0x65, 0x72, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x63, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x15, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, + 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x38, 0x0a, 0x18, 0x73, 0x68, 0x69, + 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x73, 0x68, 0x69, + 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x46, 0x65, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x19, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x3f, 0x0a, + 0x0c, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x1a, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, + 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x52, 0x0c, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x34, + 0x0a, 0x16, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, + 0x65, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, + 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x41, 0x6d, + 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x72, 0x0a, 0x18, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x5f, 0x75, + 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x1c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x55, 0x6e, 0x66, 0x72, 0x65, + 0x65, 0x7a, 0x65, 0x56, 0x32, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x16, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, + 0x56, 0x32, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x49, 0x0a, 0x1b, 0x43, 0x61, 0x6e, 0x63, + 0x65, 0x6c, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x41, 0x6d, 0x6f, 0x75, + 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x22, 0x1e, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x53, + 0x55, 0x43, 0x45, 0x53, 0x53, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, + 0x44, 0x10, 0x01, 0x22, 0xc3, 0x02, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, + 0x54, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x01, + 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x45, 0x56, 0x45, 0x52, 0x54, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, + 0x42, 0x41, 0x44, 0x5f, 0x4a, 0x55, 0x4d, 0x50, 0x5f, 0x44, 0x45, 0x53, 0x54, 0x49, 0x4e, 0x41, + 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, + 0x5f, 0x4d, 0x45, 0x4d, 0x4f, 0x52, 0x59, 0x10, 0x04, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x52, 0x45, + 0x43, 0x4f, 0x4d, 0x50, 0x49, 0x4c, 0x45, 0x44, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x41, 0x43, + 0x54, 0x10, 0x05, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x54, 0x4f, 0x4f, + 0x5f, 0x53, 0x4d, 0x41, 0x4c, 0x4c, 0x10, 0x06, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x54, 0x41, 0x43, + 0x4b, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 0x4c, 0x41, 0x52, 0x47, 0x45, 0x10, 0x07, 0x12, 0x15, 0x0a, + 0x11, 0x49, 0x4c, 0x4c, 0x45, 0x47, 0x41, 0x4c, 0x5f, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x49, + 0x4f, 0x4e, 0x10, 0x08, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x4f, 0x56, + 0x45, 0x52, 0x46, 0x4c, 0x4f, 0x57, 0x10, 0x09, 0x12, 0x11, 0x0a, 0x0d, 0x4f, 0x55, 0x54, 0x5f, + 0x4f, 0x46, 0x5f, 0x45, 0x4e, 0x45, 0x52, 0x47, 0x59, 0x10, 0x0a, 0x12, 0x0f, 0x0a, 0x0b, 0x4f, + 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x0b, 0x12, 0x17, 0x0a, 0x13, + 0x4a, 0x56, 0x4d, 0x5f, 0x53, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x5f, 0x46, + 0x4c, 0x4f, 0x57, 0x10, 0x0c, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, + 0x10, 0x0d, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x45, 0x52, 0x5f, 0x46, + 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0e, 0x12, 0x10, 0x0a, 0x0c, 0x49, 0x4e, 0x56, 0x41, 0x4c, + 0x49, 0x44, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x10, 0x0f, 0x1a, 0xe7, 0x02, 0x0a, 0x03, 0x72, 0x61, + 0x77, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x65, 0x66, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x62, + 0x79, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x72, 0x65, 0x66, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x72, 0x65, 0x66, + 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0b, 0x72, 0x65, 0x66, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x24, 0x0a, + 0x0e, 0x72, 0x65, 0x66, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, + 0x61, 0x73, 0x68, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x05, 0x61, 0x75, 0x74, 0x68, 0x73, 0x18, 0x09, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x61, 0x75, + 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, 0x05, 0x61, 0x75, 0x74, 0x68, 0x73, 0x12, 0x12, + 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, + 0x74, 0x61, 0x12, 0x3a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x18, 0x0b, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x18, + 0x0a, 0x07, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x07, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x65, 0x65, 0x5f, 0x6c, 0x69, + 0x6d, 0x69, 0x74, 0x18, 0x12, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x65, 0x65, 0x4c, 0x69, + 0x6d, 0x69, 0x74, 0x22, 0xd5, 0x0a, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x65, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x66, 0x65, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x26, 0x0a, 0x0e, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, + 0x61, 0x6d, 0x70, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0e, 0x63, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x33, 0x0a, 0x07, 0x72, 0x65, 0x63, 0x65, 0x69, 0x70, + 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, + 0x70, 0x74, 0x52, 0x07, 0x72, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x12, 0x2f, 0x0a, 0x03, 0x6c, + 0x6f, 0x67, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x03, 0x6c, 0x6f, 0x67, 0x12, 0x36, 0x0a, 0x06, + 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x52, 0x65, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, - 0x73, 0x73, 0x75, 0x65, 0x49, 0x44, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x73, - 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x49, 0x44, 0x12, 0x27, 0x0a, 0x0f, 0x77, 0x69, - 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0f, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0e, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x41, 0x6d, 0x6f, - 0x75, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x5f, - 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, 0x6e, - 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x38, 0x0a, 0x18, - 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, - 0x64, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x12, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, - 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, - 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x43, 0x0a, 0x1e, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, - 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x6e, 0x6f, 0x74, 0x68, 0x65, - 0x72, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x13, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1b, - 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6e, - 0x6f, 0x74, 0x68, 0x65, 0x72, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x20, 0x65, - 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, - 0x5f, 0x61, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, - 0x14, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1d, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x57, - 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x41, 0x6d, - 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x5f, 0x69, 0x64, 0x18, 0x15, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x63, 0x68, 0x61, - 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x38, 0x0a, 0x18, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, - 0x64, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x65, - 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, - 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x65, 0x65, 0x12, - 0x18, 0x0a, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x0c, 0x6f, 0x72, 0x64, - 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x1a, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, - 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x0c, 0x6f, 0x72, - 0x64, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x77, 0x69, - 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x61, 0x6d, - 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, 0x77, 0x69, 0x74, 0x68, - 0x64, 0x72, 0x61, 0x77, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, - 0x22, 0x1e, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x55, 0x43, 0x45, - 0x53, 0x53, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x01, - 0x22, 0xc3, 0x02, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x00, - 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x01, 0x12, 0x0a, 0x0a, - 0x06, 0x52, 0x45, 0x56, 0x45, 0x52, 0x54, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x42, 0x41, 0x44, - 0x5f, 0x4a, 0x55, 0x4d, 0x50, 0x5f, 0x44, 0x45, 0x53, 0x54, 0x49, 0x4e, 0x41, 0x54, 0x49, 0x4f, - 0x4e, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x4d, 0x45, - 0x4d, 0x4f, 0x52, 0x59, 0x10, 0x04, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x52, 0x45, 0x43, 0x4f, 0x4d, - 0x50, 0x49, 0x4c, 0x45, 0x44, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x41, 0x43, 0x54, 0x10, 0x05, - 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 0x53, 0x4d, - 0x41, 0x4c, 0x4c, 0x10, 0x06, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x54, - 0x4f, 0x4f, 0x5f, 0x4c, 0x41, 0x52, 0x47, 0x45, 0x10, 0x07, 0x12, 0x15, 0x0a, 0x11, 0x49, 0x4c, - 0x4c, 0x45, 0x47, 0x41, 0x4c, 0x5f, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, - 0x08, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x46, - 0x4c, 0x4f, 0x57, 0x10, 0x09, 0x12, 0x11, 0x0a, 0x0d, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, - 0x45, 0x4e, 0x45, 0x52, 0x47, 0x59, 0x10, 0x0a, 0x12, 0x0f, 0x0a, 0x0b, 0x4f, 0x55, 0x54, 0x5f, - 0x4f, 0x46, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x0b, 0x12, 0x17, 0x0a, 0x13, 0x4a, 0x56, 0x4d, - 0x5f, 0x53, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x5f, 0x46, 0x4c, 0x4f, 0x57, - 0x10, 0x0c, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x0d, 0x12, - 0x13, 0x0a, 0x0f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x45, 0x52, 0x5f, 0x46, 0x41, 0x49, 0x4c, - 0x45, 0x44, 0x10, 0x0e, 0x12, 0x10, 0x0a, 0x0c, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, - 0x43, 0x4f, 0x44, 0x45, 0x10, 0x0f, 0x1a, 0xe7, 0x02, 0x0a, 0x03, 0x72, 0x61, 0x77, 0x12, 0x26, - 0x0a, 0x0f, 0x72, 0x65, 0x66, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x62, 0x79, 0x74, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x72, 0x65, 0x66, 0x42, 0x6c, 0x6f, 0x63, - 0x6b, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x5f, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x72, - 0x65, 0x66, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x24, 0x0a, 0x0e, 0x72, 0x65, - 0x66, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, - 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x29, 0x0a, 0x05, 0x61, 0x75, 0x74, 0x68, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, - 0x72, 0x69, 0x74, 0x79, 0x52, 0x05, 0x61, 0x75, 0x74, 0x68, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x64, - 0x61, 0x74, 0x61, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, - 0x3a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, - 0x6d, 0x70, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, - 0x61, 0x6d, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x65, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, - 0x18, 0x12, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x65, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, - 0x22, 0x99, 0x09, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x65, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x03, 0x66, 0x65, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, - 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x26, 0x0a, 0x0e, 0x62, 0x6c, 0x6f, 0x63, - 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x6d, 0x70, - 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x12, 0x33, 0x0a, 0x07, 0x72, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x52, - 0x07, 0x72, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x12, 0x2f, 0x0a, 0x03, 0x6c, 0x6f, 0x67, 0x18, - 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, - 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x03, 0x6c, 0x6f, 0x67, 0x12, 0x36, 0x0a, 0x06, 0x72, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, - 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x49, - 0x44, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, - 0x73, 0x75, 0x65, 0x49, 0x44, 0x12, 0x27, 0x0a, 0x0f, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, - 0x77, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, - 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x27, - 0x0a, 0x0f, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, - 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, - 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x15, 0x69, 0x6e, 0x74, 0x65, 0x72, - 0x6e, 0x61, 0x6c, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x38, 0x0a, 0x18, 0x65, - 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, - 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x12, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x65, - 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x41, - 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x43, 0x0a, 0x1e, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, - 0x65, 0x5f, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, - 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x13, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1b, 0x65, - 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6e, 0x6f, - 0x74, 0x68, 0x65, 0x72, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x20, 0x65, 0x78, - 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x5f, - 0x61, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x14, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x1d, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x57, 0x69, - 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x41, 0x6d, 0x6f, - 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, - 0x69, 0x64, 0x18, 0x15, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, - 0x67, 0x65, 0x49, 0x64, 0x12, 0x38, 0x0a, 0x18, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, - 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x65, 0x65, - 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x65, 0x65, 0x12, 0x18, - 0x0a, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x0c, 0x6f, 0x72, 0x64, 0x65, - 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x1a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, - 0x4f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x0c, 0x6f, 0x72, 0x64, - 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x61, 0x63, - 0x6b, 0x69, 0x6e, 0x67, 0x46, 0x65, 0x65, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x70, - 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x46, 0x65, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x77, 0x69, 0x74, - 0x68, 0x64, 0x72, 0x61, 0x77, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x61, 0x6d, 0x6f, - 0x75, 0x6e, 0x74, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, 0x77, 0x69, 0x74, 0x68, 0x64, - 0x72, 0x61, 0x77, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x1a, - 0x4b, 0x0a, 0x03, 0x4c, 0x6f, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x12, 0x16, 0x0a, 0x06, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, - 0x52, 0x06, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x1e, 0x0a, 0x04, - 0x63, 0x6f, 0x64, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x55, 0x43, 0x45, 0x53, 0x53, 0x10, 0x00, - 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x22, 0x9f, 0x01, 0x0a, - 0x0e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x74, 0x12, - 0x20, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, - 0x72, 0x12, 0x26, 0x0a, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, - 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, - 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x43, 0x0a, 0x0f, 0x74, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x74, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x49, - 0x0a, 0x0c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x39, - 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x74, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x6a, 0x0a, 0x0f, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x12, 0x37, 0x0a, 0x0b, - 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, - 0x4b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x61, - 0x74, 0x65, 0x4b, 0x65, 0x79, 0x22, 0xfc, 0x02, 0x0a, 0x0b, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, - 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x34, 0x0a, 0x08, 0x72, 0x61, 0x77, 0x5f, 0x64, 0x61, 0x74, - 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x2e, 0x72, - 0x61, 0x77, 0x52, 0x07, 0x72, 0x61, 0x77, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2b, 0x0a, 0x11, 0x77, - 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x53, - 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x1a, 0x89, 0x02, 0x0a, 0x03, 0x72, 0x61, 0x77, - 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x1e, - 0x0a, 0x0a, 0x74, 0x78, 0x54, 0x72, 0x69, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x0a, 0x74, 0x78, 0x54, 0x72, 0x69, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x1e, - 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, 0x68, 0x12, 0x16, - 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, - 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, - 0x73, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x77, 0x69, 0x74, 0x6e, - 0x65, 0x73, 0x73, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, - 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, - 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, - 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x10, 0x61, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x18, 0x0b, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x10, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x52, 0x6f, 0x6f, 0x74, 0x22, 0x7c, 0x0a, 0x05, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x39, 0x0a, + 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x52, 0x06, 0x72, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, + 0x75, 0x65, 0x49, 0x44, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x73, 0x73, 0x65, + 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x49, 0x44, 0x12, 0x27, 0x0a, 0x0f, 0x77, 0x69, 0x74, 0x68, + 0x64, 0x72, 0x61, 0x77, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0e, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x41, 0x6d, 0x6f, 0x75, 0x6e, + 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x5f, 0x61, 0x6d, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, 0x6e, 0x66, 0x72, + 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x15, 0x69, 0x6e, + 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, + 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x38, + 0x0a, 0x18, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, + 0x76, 0x65, 0x64, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x12, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x16, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, + 0x65, 0x64, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x43, 0x0a, 0x1e, 0x65, 0x78, 0x63, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x6e, 0x6f, 0x74, + 0x68, 0x65, 0x72, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x13, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x1b, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, + 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x47, 0x0a, + 0x20, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, + 0x61, 0x77, 0x5f, 0x61, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1d, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, + 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x15, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x63, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x38, 0x0a, 0x18, 0x73, 0x68, 0x69, 0x65, 0x6c, + 0x64, 0x65, 0x64, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x66, 0x65, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x73, 0x68, 0x69, 0x65, 0x6c, + 0x64, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x65, + 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x19, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x0c, 0x6f, + 0x72, 0x64, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x1a, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, + 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x0c, + 0x6f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x1e, 0x0a, 0x0a, + 0x70, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x46, 0x65, 0x65, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0a, 0x70, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x46, 0x65, 0x65, 0x12, 0x34, 0x0a, 0x16, + 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, + 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, 0x77, 0x69, + 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x41, 0x6d, 0x6f, 0x75, + 0x6e, 0x74, 0x12, 0x6f, 0x0a, 0x18, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x5f, 0x75, 0x6e, 0x66, + 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x1d, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, + 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x16, 0x63, 0x61, 0x6e, + 0x63, 0x65, 0x6c, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x41, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x1a, 0x4b, 0x0a, 0x03, 0x4c, 0x6f, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0c, 0x52, 0x06, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x12, 0x12, 0x0a, 0x04, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, + 0x1a, 0x49, 0x0a, 0x1b, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, + 0x7a, 0x65, 0x56, 0x32, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x1e, 0x0a, 0x04, 0x63, + 0x6f, 0x64, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x55, 0x43, 0x45, 0x53, 0x53, 0x10, 0x00, 0x12, + 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x22, 0x9f, 0x01, 0x0a, 0x0e, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x74, 0x12, 0x20, + 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, + 0x12, 0x26, 0x0a, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, + 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, + 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x43, 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x49, 0x0a, + 0x0c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x39, 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x74, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x38, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, - 0x6b, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, - 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, - 0x65, 0x72, 0x22, 0x9a, 0x01, 0x0a, 0x0e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x6e, 0x76, 0x65, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xfc, 0x02, 0x0a, 0x0b, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x34, 0x0a, 0x08, 0x72, 0x61, 0x77, 0x5f, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, + 0x72, 0x2e, 0x72, 0x61, 0x77, 0x52, 0x07, 0x72, 0x61, 0x77, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2b, + 0x0a, 0x11, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x77, 0x69, 0x74, 0x6e, 0x65, + 0x73, 0x73, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x1a, 0x89, 0x02, 0x0a, 0x03, + 0x72, 0x61, 0x77, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x78, 0x54, 0x72, 0x69, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x74, 0x78, 0x54, 0x72, 0x69, 0x65, 0x52, 0x6f, 0x6f, + 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, 0x68, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, + 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x77, 0x69, 0x74, + 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x77, + 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x77, 0x69, 0x74, 0x6e, + 0x65, 0x73, 0x73, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x0e, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x10, 0x61, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x22, 0x7c, 0x0a, 0x05, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x12, 0x39, 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x38, 0x0a, 0x0c, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, + 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0x9a, 0x01, 0x0a, 0x0e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, + 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x32, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x52, 0x03, 0x69, 0x64, 0x73, 0x12, 0x1d, 0x0a, 0x0a, + 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x09, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x75, 0x6d, 0x1a, 0x35, 0x0a, 0x07, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, + 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, + 0x65, 0x72, 0x22, 0xd8, 0x01, 0x0a, 0x0e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x32, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x68, - 0x61, 0x69, 0x6e, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x49, 0x64, 0x52, 0x03, 0x69, 0x64, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x6d, - 0x61, 0x69, 0x6e, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, - 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x75, 0x6d, 0x1a, 0x35, 0x0a, 0x07, 0x42, 0x6c, 0x6f, 0x63, - 0x6b, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, - 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, - 0xd8, 0x01, 0x0a, 0x0e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, - 0x72, 0x79, 0x12, 0x32, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, - 0x64, 0x52, 0x03, 0x69, 0x64, 0x73, 0x12, 0x31, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x54, - 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x1a, 0x35, 0x0a, 0x07, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, - 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, - 0x22, 0x28, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x59, 0x4e, 0x43, - 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x44, 0x56, 0x54, 0x49, 0x53, 0x45, 0x10, 0x01, 0x12, - 0x09, 0x0a, 0x05, 0x46, 0x45, 0x54, 0x43, 0x48, 0x10, 0x02, 0x22, 0x79, 0x0a, 0x09, 0x49, 0x6e, - 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x35, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x49, 0x6e, 0x76, 0x65, 0x6e, - 0x74, 0x6f, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x10, - 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x03, 0x69, 0x64, 0x73, - 0x22, 0x23, 0x0a, 0x0d, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x79, 0x70, - 0x65, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x52, 0x58, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x42, 0x4c, - 0x4f, 0x43, 0x4b, 0x10, 0x01, 0x22, 0x8f, 0x02, 0x0a, 0x05, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, - 0x2c, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x2e, 0x49, - 0x74, 0x65, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, - 0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x06, - 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x3a, 0x0a, 0x0d, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, - 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, - 0x61, 0x64, 0x65, 0x72, 0x52, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, - 0x72, 0x73, 0x12, 0x39, 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x38, 0x0a, - 0x08, 0x49, 0x74, 0x65, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x45, 0x52, 0x52, - 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x52, 0x58, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x42, - 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x48, - 0x45, 0x41, 0x44, 0x45, 0x52, 0x10, 0x03, 0x22, 0x4a, 0x0a, 0x11, 0x44, 0x79, 0x6e, 0x61, 0x6d, - 0x69, 0x63, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x17, - 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x5f, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, 0x6c, - 0x61, 0x73, 0x74, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x4e, 0x75, 0x6d, 0x22, 0x41, 0x0a, 0x11, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, - 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2c, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, - 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x06, - 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0xef, 0x03, 0x0a, 0x0c, 0x48, 0x65, 0x6c, 0x6c, 0x6f, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x26, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, - 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, - 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, - 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x46, 0x0a, 0x0e, 0x67, 0x65, 0x6e, 0x65, 0x73, - 0x69, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x48, 0x65, 0x6c, 0x6c, 0x6f, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x52, - 0x0e, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, - 0x42, 0x0a, 0x0c, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x52, 0x0c, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x42, 0x6c, 0x6f, 0x63, - 0x6b, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x0b, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x49, 0x64, 0x52, 0x03, 0x69, 0x64, 0x73, 0x12, 0x31, 0x0a, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, + 0x79, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x1a, 0x35, 0x0a, 0x07, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6e, + 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x75, 0x6d, + 0x62, 0x65, 0x72, 0x22, 0x28, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x53, + 0x59, 0x4e, 0x43, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x44, 0x56, 0x54, 0x49, 0x53, 0x45, + 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x45, 0x54, 0x43, 0x48, 0x10, 0x02, 0x22, 0x79, 0x0a, + 0x09, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x35, 0x0a, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x49, 0x6e, + 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x03, + 0x69, 0x64, 0x73, 0x22, 0x23, 0x0a, 0x0d, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x52, 0x58, 0x10, 0x00, 0x12, 0x09, 0x0a, + 0x05, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0x01, 0x22, 0x8f, 0x02, 0x0a, 0x05, 0x49, 0x74, 0x65, + 0x6d, 0x73, 0x12, 0x2c, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x74, 0x65, 0x6d, + 0x73, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x12, 0x27, 0x0a, 0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x52, 0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x3a, 0x0a, 0x0d, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, + 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x39, 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x22, 0x38, 0x0a, 0x08, 0x49, 0x74, 0x65, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, + 0x45, 0x52, 0x52, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x52, 0x58, 0x10, 0x01, 0x12, 0x09, + 0x0a, 0x05, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x42, 0x4c, 0x4f, + 0x43, 0x4b, 0x48, 0x45, 0x41, 0x44, 0x45, 0x52, 0x10, 0x03, 0x22, 0x4a, 0x0a, 0x11, 0x44, 0x79, + 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, + 0x35, 0x0a, 0x17, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, + 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x14, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x22, 0x41, 0x0a, 0x11, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2c, 0x0a, 0x06, 0x72, + 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x43, 0x6f, 0x64, + 0x65, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0xef, 0x03, 0x0a, 0x0c, 0x48, 0x65, + 0x6c, 0x6c, 0x6f, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x26, 0x0a, 0x04, 0x66, 0x72, + 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x04, 0x66, 0x72, + 0x6f, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, + 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x46, 0x0a, 0x0e, 0x67, 0x65, + 0x6e, 0x65, 0x73, 0x69, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x48, 0x65, + 0x6c, 0x6c, 0x6f, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x49, 0x64, 0x52, 0x0e, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x49, 0x64, 0x12, 0x42, 0x0a, 0x0c, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x52, 0x0b, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, - 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x08, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1a, 0x0a, - 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x6c, 0x6f, 0x77, - 0x65, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x0a, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0e, 0x6c, 0x6f, 0x77, 0x65, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, - 0x6d, 0x1a, 0x35, 0x0a, 0x07, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, - 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, - 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0xe1, 0x02, 0x0a, 0x13, 0x49, 0x6e, 0x74, - 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, - 0x68, 0x61, 0x73, 0x68, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x63, 0x61, - 0x6c, 0x6c, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2d, 0x0a, 0x12, 0x74, - 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x54, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x11, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, - 0x72, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x51, 0x0a, 0x0d, 0x63, 0x61, - 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x74, - 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, - 0x63, 0x61, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x6f, 0x74, - 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x12, 0x14, 0x0a, - 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, - 0x74, 0x72, 0x61, 0x1a, 0x47, 0x0a, 0x0d, 0x43, 0x61, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x22, 0x9b, 0x01, 0x0a, - 0x1d, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x18, - 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x66, 0x72, 0x6f, 0x6d, - 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0c, - 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x1e, 0x0a, 0x0a, - 0x74, 0x6f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, - 0x52, 0x0a, 0x74, 0x6f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x1c, 0x0a, 0x09, - 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xbd, 0x1a, 0x0a, 0x08, 0x4e, - 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x65, 0x67, 0x69, 0x6e, - 0x53, 0x79, 0x6e, 0x63, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x62, - 0x65, 0x67, 0x69, 0x6e, 0x53, 0x79, 0x6e, 0x63, 0x4e, 0x75, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x62, - 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, - 0x6b, 0x12, 0x24, 0x0a, 0x0d, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, - 0x74, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x30, 0x0a, 0x13, 0x63, 0x75, 0x72, 0x72, 0x65, - 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, - 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x12, 0x61, 0x63, 0x74, - 0x69, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x6e, - 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x13, 0x70, 0x61, 0x73, - 0x73, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x70, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x43, - 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x74, - 0x6f, 0x74, 0x61, 0x6c, 0x46, 0x6c, 0x6f, 0x77, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, - 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x46, 0x6c, 0x6f, 0x77, 0x12, 0x3f, 0x0a, 0x0c, 0x70, 0x65, 0x65, - 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, - 0x6e, 0x66, 0x6f, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x70, 0x65, - 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x49, 0x0a, 0x0e, 0x63, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x09, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, - 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4e, 0x6f, 0x64, - 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4e, 0x6f, 0x64, - 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x40, 0x0a, 0x0b, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, - 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4d, - 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x6d, 0x61, 0x63, 0x68, - 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5d, 0x0a, 0x13, 0x63, 0x68, 0x65, 0x61, 0x74, - 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x18, 0x0b, + 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x52, 0x0c, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x0b, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x52, 0x0b, 0x68, 0x65, 0x61, + 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x26, 0x0a, 0x0e, + 0x6c, 0x6f, 0x77, 0x65, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x6c, 0x6f, 0x77, 0x65, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x4e, 0x75, 0x6d, 0x1a, 0x35, 0x0a, 0x07, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, + 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, + 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0xe1, 0x02, 0x0a, 0x13, + 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x0d, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2d, + 0x0a, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x54, 0x6f, 0x5f, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x11, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x66, 0x65, 0x72, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x51, 0x0a, + 0x0d, 0x63, 0x61, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x68, 0x65, 0x61, 0x74, 0x57, 0x69, - 0x74, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x13, 0x63, 0x68, 0x65, 0x61, 0x74, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x49, - 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x1a, 0x46, 0x0a, 0x18, 0x43, 0x68, 0x65, 0x61, 0x74, 0x57, - 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0xc8, - 0x07, 0x0a, 0x08, 0x50, 0x65, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x24, 0x0a, 0x0d, 0x6c, - 0x61, 0x73, 0x74, 0x53, 0x79, 0x6e, 0x63, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x79, 0x6e, 0x63, 0x42, 0x6c, 0x6f, 0x63, - 0x6b, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x75, 0x6d, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x75, 0x6d, 0x12, - 0x30, 0x0a, 0x13, 0x6c, 0x61, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x6c, 0x61, - 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, - 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x79, 0x6e, 0x63, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x79, 0x6e, 0x63, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x38, 0x0a, - 0x17, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x57, 0x65, - 0x42, 0x6f, 0x74, 0x68, 0x48, 0x61, 0x76, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, - 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x57, 0x65, 0x42, - 0x6f, 0x74, 0x68, 0x48, 0x61, 0x76, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x6e, 0x65, 0x65, 0x64, 0x53, - 0x79, 0x6e, 0x63, 0x46, 0x72, 0x6f, 0x6d, 0x50, 0x65, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x10, 0x6e, 0x65, 0x65, 0x64, 0x53, 0x79, 0x6e, 0x63, 0x46, 0x72, 0x6f, 0x6d, 0x50, - 0x65, 0x65, 0x72, 0x12, 0x26, 0x0a, 0x0e, 0x6e, 0x65, 0x65, 0x64, 0x53, 0x79, 0x6e, 0x63, 0x46, - 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x6e, 0x65, 0x65, - 0x64, 0x53, 0x79, 0x6e, 0x63, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x68, - 0x6f, 0x73, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, - 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, - 0x6f, 0x72, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x0a, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x63, - 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a, - 0x0a, 0x61, 0x76, 0x67, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, - 0x01, 0x52, 0x0a, 0x61, 0x76, 0x67, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x28, 0x0a, - 0x0f, 0x73, 0x79, 0x6e, 0x63, 0x54, 0x6f, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, - 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x73, 0x79, 0x6e, 0x63, 0x54, 0x6f, 0x46, 0x65, - 0x74, 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x36, 0x0a, 0x16, 0x73, 0x79, 0x6e, 0x63, 0x54, - 0x6f, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, 0x50, 0x65, 0x65, 0x6b, 0x4e, 0x75, - 0x6d, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x73, 0x79, 0x6e, 0x63, 0x54, 0x6f, 0x46, - 0x65, 0x74, 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, 0x50, 0x65, 0x65, 0x6b, 0x4e, 0x75, 0x6d, 0x12, - 0x36, 0x0a, 0x16, 0x73, 0x79, 0x6e, 0x63, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x16, 0x73, 0x79, 0x6e, 0x63, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x75, 0x6e, 0x46, 0x65, 0x74, - 0x63, 0x68, 0x53, 0x79, 0x6e, 0x4e, 0x75, 0x6d, 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, - 0x75, 0x6e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x79, 0x6e, 0x4e, 0x75, 0x6d, 0x12, 0x28, 0x0a, - 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x50, 0x6f, 0x72, 0x63, 0x53, 0x69, 0x7a, 0x65, - 0x18, 0x11, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x50, - 0x6f, 0x72, 0x63, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x68, 0x65, 0x61, 0x64, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x57, 0x65, 0x42, 0x6f, 0x74, 0x68, 0x48, 0x61, 0x76, 0x65, 0x18, 0x12, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x57, - 0x65, 0x42, 0x6f, 0x74, 0x68, 0x48, 0x61, 0x76, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x41, - 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, - 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x14, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, - 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x15, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, - 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x6e, 0x46, - 0x6c, 0x6f, 0x77, 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x69, 0x6e, 0x46, 0x6c, 0x6f, - 0x77, 0x12, 0x28, 0x0a, 0x0f, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, - 0x69, 0x6d, 0x65, 0x73, 0x18, 0x17, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x64, 0x69, 0x73, 0x63, - 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x15, 0x6c, + 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x0d, 0x63, 0x61, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, + 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, + 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x1a, 0x47, 0x0a, 0x0d, 0x43, 0x61, 0x6c, 0x6c, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x61, 0x6c, 0x6c, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x22, + 0x9b, 0x01, 0x0a, 0x1d, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x66, + 0x72, 0x6f, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0c, 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, + 0x1e, 0x0a, 0x0a, 0x74, 0x6f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x0c, 0x52, 0x0a, 0x74, 0x6f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, + 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xbd, 0x1a, + 0x0a, 0x08, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x65, + 0x67, 0x69, 0x6e, 0x53, 0x79, 0x6e, 0x63, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0c, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x53, 0x79, 0x6e, 0x63, 0x4e, 0x75, 0x6d, 0x12, 0x14, + 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x24, 0x0a, 0x0d, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x6f, 0x6c, + 0x69, 0x64, 0x69, 0x74, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x30, 0x0a, 0x13, 0x63, 0x75, + 0x72, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, + 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x12, + 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x13, + 0x70, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x70, 0x61, 0x73, 0x73, 0x69, + 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1c, + 0x0a, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x46, 0x6c, 0x6f, 0x77, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x46, 0x6c, 0x6f, 0x77, 0x12, 0x3f, 0x0a, 0x0c, + 0x70, 0x65, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, + 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x0c, 0x70, 0x65, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x49, 0x0a, + 0x0e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x40, 0x0a, 0x0b, 0x6d, 0x61, 0x63, 0x68, + 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x6d, + 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5d, 0x0a, 0x13, 0x63, 0x68, + 0x65, 0x61, 0x74, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, + 0x70, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x68, 0x65, 0x61, + 0x74, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x63, 0x68, 0x65, 0x61, 0x74, 0x57, 0x69, 0x74, 0x6e, 0x65, + 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x1a, 0x46, 0x0a, 0x18, 0x43, 0x68, 0x65, + 0x61, 0x74, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x1a, 0xc8, 0x07, 0x0a, 0x08, 0x50, 0x65, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x24, + 0x0a, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x79, 0x6e, 0x63, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x79, 0x6e, 0x63, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x75, + 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x4e, + 0x75, 0x6d, 0x12, 0x30, 0x0a, 0x13, 0x6c, 0x61, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x13, 0x6c, 0x61, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x79, 0x6e, 0x63, 0x46, 0x6c, 0x61, 0x67, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x79, 0x6e, 0x63, 0x46, 0x6c, 0x61, 0x67, + 0x12, 0x38, 0x0a, 0x17, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, + 0x65, 0x57, 0x65, 0x42, 0x6f, 0x74, 0x68, 0x48, 0x61, 0x76, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x17, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, + 0x57, 0x65, 0x42, 0x6f, 0x74, 0x68, 0x48, 0x61, 0x76, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x6e, 0x65, + 0x65, 0x64, 0x53, 0x79, 0x6e, 0x63, 0x46, 0x72, 0x6f, 0x6d, 0x50, 0x65, 0x65, 0x72, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x6e, 0x65, 0x65, 0x64, 0x53, 0x79, 0x6e, 0x63, 0x46, 0x72, + 0x6f, 0x6d, 0x50, 0x65, 0x65, 0x72, 0x12, 0x26, 0x0a, 0x0e, 0x6e, 0x65, 0x65, 0x64, 0x53, 0x79, + 0x6e, 0x63, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, + 0x6e, 0x65, 0x65, 0x64, 0x53, 0x79, 0x6e, 0x63, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x12, 0x12, + 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, + 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x20, + 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x69, 0x6d, 0x65, + 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x76, 0x67, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x61, 0x76, 0x67, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, + 0x12, 0x28, 0x0a, 0x0f, 0x73, 0x79, 0x6e, 0x63, 0x54, 0x6f, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, + 0x69, 0x7a, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x73, 0x79, 0x6e, 0x63, 0x54, + 0x6f, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x36, 0x0a, 0x16, 0x73, 0x79, + 0x6e, 0x63, 0x54, 0x6f, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, 0x50, 0x65, 0x65, + 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x73, 0x79, 0x6e, 0x63, + 0x54, 0x6f, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, 0x50, 0x65, 0x65, 0x6b, 0x4e, + 0x75, 0x6d, 0x12, 0x36, 0x0a, 0x16, 0x73, 0x79, 0x6e, 0x63, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x0f, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x16, 0x73, 0x79, 0x6e, 0x63, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x75, 0x6e, + 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x79, 0x6e, 0x4e, 0x75, 0x6d, 0x18, 0x10, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0d, 0x75, 0x6e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x79, 0x6e, 0x4e, 0x75, 0x6d, + 0x12, 0x28, 0x0a, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x50, 0x6f, 0x72, 0x63, 0x53, + 0x69, 0x7a, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x49, 0x6e, 0x50, 0x6f, 0x72, 0x63, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x68, 0x65, + 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x57, 0x65, 0x42, 0x6f, 0x74, 0x68, 0x48, 0x61, 0x76, + 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x57, 0x65, 0x42, 0x6f, 0x74, 0x68, 0x48, 0x61, 0x76, 0x65, 0x12, 0x1a, 0x0a, 0x08, + 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, + 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, + 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1c, + 0x0a, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x15, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, + 0x69, 0x6e, 0x46, 0x6c, 0x6f, 0x77, 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x69, 0x6e, + 0x46, 0x6c, 0x6f, 0x77, 0x12, 0x28, 0x0a, 0x0f, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, + 0x63, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x18, 0x17, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x64, + 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x34, + 0x0a, 0x15, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, - 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x6c, 0x6f, 0x63, 0x61, - 0x6c, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, - 0x6e, 0x12, 0x36, 0x0a, 0x16, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x44, 0x69, 0x73, 0x63, 0x6f, - 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x19, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x16, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, - 0x65, 0x63, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x1a, 0xa2, 0x06, 0x0a, 0x0e, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0b, - 0x63, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1e, - 0x0a, 0x0a, 0x70, 0x32, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0a, 0x70, 0x32, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1e, - 0x0a, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x26, - 0x0a, 0x0e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, - 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, - 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, - 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x28, - 0x0a, 0x0f, 0x70, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, - 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x70, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, - 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x65, 0x6e, 0x64, - 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, - 0x73, 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x28, 0x0a, 0x0f, - 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, - 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, - 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x15, 0x73, 0x61, 0x6d, 0x65, 0x49, 0x70, - 0x4d, 0x61, 0x78, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15, 0x73, 0x61, 0x6d, 0x65, 0x49, 0x70, 0x4d, 0x61, 0x78, - 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x10, - 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x50, 0x6f, 0x72, 0x74, - 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4c, 0x69, - 0x73, 0x74, 0x65, 0x6e, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x62, 0x61, 0x63, 0x6b, - 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x0b, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x10, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, - 0x53, 0x69, 0x7a, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x72, - 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x62, 0x61, - 0x63, 0x6b, 0x75, 0x70, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x1c, 0x0a, 0x09, - 0x64, 0x62, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x09, 0x64, 0x62, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x14, 0x6d, 0x69, - 0x6e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x61, - 0x74, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x14, 0x6d, 0x69, 0x6e, 0x50, 0x61, 0x72, - 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x74, 0x65, 0x12, 0x28, - 0x0a, 0x0f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, - 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, - 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x69, 0x6e, 0x54, - 0x69, 0x6d, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x10, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, - 0x6d, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x12, 0x22, 0x0a, 0x0c, - 0x6d, 0x61, 0x78, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x11, 0x20, 0x01, - 0x28, 0x01, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, - 0x12, 0x3a, 0x0a, 0x18, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x43, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x4f, 0x66, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x73, 0x18, 0x12, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x18, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x43, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x4f, 0x66, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x73, 0x12, 0x30, 0x0a, 0x13, - 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x41, 0x64, 0x61, 0x70, 0x74, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x65, - 0x72, 0x67, 0x79, 0x18, 0x13, 0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x61, 0x6c, 0x6c, 0x6f, 0x77, - 0x41, 0x64, 0x61, 0x70, 0x74, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x1a, 0xb9, - 0x07, 0x0a, 0x0b, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, - 0x0a, 0x0b, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x0b, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, - 0x12, 0x30, 0x0a, 0x13, 0x64, 0x65, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x65, - 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x64, - 0x65, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x70, 0x75, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x63, 0x70, 0x75, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x20, - 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, - 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x72, 0x65, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x66, 0x72, 0x65, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, - 0x12, 0x18, 0x0a, 0x07, 0x63, 0x70, 0x75, 0x52, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x01, 0x52, 0x07, 0x63, 0x70, 0x75, 0x52, 0x61, 0x74, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x6a, 0x61, - 0x76, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0b, 0x6a, 0x61, 0x76, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, - 0x6f, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x73, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x6a, 0x76, 0x6d, 0x54, 0x6f, 0x74, 0x61, 0x6c, - 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x6a, 0x76, - 0x6d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x24, 0x0a, 0x0d, - 0x6a, 0x76, 0x6d, 0x46, 0x72, 0x65, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x0a, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6a, 0x76, 0x6d, 0x46, 0x72, 0x65, 0x65, 0x4d, 0x65, 0x6d, 0x6f, - 0x72, 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x43, 0x70, 0x75, - 0x52, 0x61, 0x74, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x63, - 0x65, 0x73, 0x73, 0x43, 0x70, 0x75, 0x52, 0x61, 0x74, 0x65, 0x12, 0x5d, 0x0a, 0x12, 0x6d, 0x65, - 0x6d, 0x6f, 0x72, 0x79, 0x44, 0x65, 0x73, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, - 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4d, 0x61, 0x63, 0x68, 0x69, - 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x44, 0x65, 0x73, - 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x44, 0x65, 0x73, - 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x69, 0x0a, 0x16, 0x64, 0x65, 0x61, - 0x64, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x4c, - 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x36, 0x0a, 0x16, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x44, 0x69, + 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x19, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x44, 0x69, 0x73, 0x63, + 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x1a, 0xa2, 0x06, 0x0a, + 0x0e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x32, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x32, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x50, 0x6f, 0x72, 0x74, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x50, 0x6f, 0x72, + 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x45, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x64, 0x69, 0x73, 0x63, 0x6f, + 0x76, 0x65, 0x72, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x61, 0x63, 0x74, + 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x0e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, + 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x70, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x64, 0x65, + 0x53, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x70, 0x61, 0x73, 0x73, + 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x73, + 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x0c, 0x73, 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, + 0x28, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x15, 0x73, 0x61, 0x6d, + 0x65, 0x49, 0x70, 0x4d, 0x61, 0x78, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15, 0x73, 0x61, 0x6d, 0x65, 0x49, 0x70, + 0x4d, 0x61, 0x78, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x2a, 0x0a, 0x10, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x50, + 0x6f, 0x72, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x62, 0x61, 0x63, 0x6b, 0x75, + 0x70, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x62, + 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x53, 0x69, 0x7a, 0x65, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4d, 0x65, 0x6d, + 0x62, 0x65, 0x72, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x62, 0x61, 0x63, 0x6b, 0x75, + 0x70, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x0e, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, + 0x1c, 0x0a, 0x09, 0x64, 0x62, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x09, 0x64, 0x62, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, + 0x14, 0x6d, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x61, 0x74, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x14, 0x6d, 0x69, 0x6e, + 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x74, + 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x73, + 0x74, 0x61, 0x6e, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x73, 0x75, 0x70, 0x70, + 0x6f, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x6d, + 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x10, 0x20, 0x01, 0x28, + 0x01, 0x52, 0x0c, 0x6d, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x12, + 0x22, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x18, + 0x11, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, + 0x74, 0x69, 0x6f, 0x12, 0x3a, 0x0a, 0x18, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x66, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x73, 0x18, + 0x12, 0x20, 0x01, 0x28, 0x03, 0x52, 0x18, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x66, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x73, 0x12, + 0x30, 0x0a, 0x13, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x41, 0x64, 0x61, 0x70, 0x74, 0x69, 0x76, 0x65, + 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x13, 0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x61, 0x6c, + 0x6c, 0x6f, 0x77, 0x41, 0x64, 0x61, 0x70, 0x74, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, + 0x79, 0x1a, 0xb9, 0x07, 0x0a, 0x0b, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x13, 0x64, 0x65, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x6b, 0x54, + 0x68, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x13, 0x64, 0x65, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x70, 0x75, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x63, 0x70, 0x75, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x6d, + 0x6f, 0x72, 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x72, 0x65, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, + 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x66, 0x72, 0x65, 0x65, 0x4d, 0x65, 0x6d, + 0x6f, 0x72, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x70, 0x75, 0x52, 0x61, 0x74, 0x65, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x63, 0x70, 0x75, 0x52, 0x61, 0x74, 0x65, 0x12, 0x20, 0x0a, + 0x0b, 0x6a, 0x61, 0x76, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x6a, 0x61, 0x76, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x16, 0x0a, 0x06, 0x6f, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x6f, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x6a, 0x76, 0x6d, 0x54, 0x6f, + 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0e, 0x6a, 0x76, 0x6d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, + 0x24, 0x0a, 0x0d, 0x6a, 0x76, 0x6d, 0x46, 0x72, 0x65, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6a, 0x76, 0x6d, 0x46, 0x72, 0x65, 0x65, 0x4d, + 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x43, 0x70, 0x75, 0x52, 0x61, 0x74, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e, 0x70, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x43, 0x70, 0x75, 0x52, 0x61, 0x74, 0x65, 0x12, 0x5d, 0x0a, + 0x12, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x44, 0x65, 0x73, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x4c, + 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4d, 0x61, - 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x44, 0x65, 0x61, 0x64, 0x4c, 0x6f, - 0x63, 0x6b, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x16, 0x64, 0x65, - 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, 0x6e, 0x66, 0x6f, - 0x4c, 0x69, 0x73, 0x74, 0x1a, 0x8e, 0x01, 0x0a, 0x0e, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x44, - 0x65, 0x73, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, - 0x6e, 0x69, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, - 0x6e, 0x69, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x53, 0x69, - 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x75, 0x73, 0x65, 0x53, 0x69, 0x7a, - 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x07, 0x6d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x75, - 0x73, 0x65, 0x52, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x75, 0x73, - 0x65, 0x52, 0x61, 0x74, 0x65, 0x1a, 0xd2, 0x01, 0x0a, 0x12, 0x44, 0x65, 0x61, 0x64, 0x4c, 0x6f, - 0x63, 0x6b, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, - 0x6c, 0x6f, 0x63, 0x6b, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x6c, 0x6f, 0x63, 0x6b, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, - 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, - 0x12, 0x1c, 0x0a, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, - 0x0a, 0x08, 0x77, 0x61, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x08, 0x77, 0x61, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x74, - 0x61, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x73, 0x74, 0x61, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x63, 0x65, 0x22, 0xc0, 0x18, 0x0a, 0x0b, 0x4d, - 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, - 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, 0x6e, - 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x32, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x02, + 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, + 0x44, 0x65, 0x73, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, + 0x44, 0x65, 0x73, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x69, 0x0a, 0x16, + 0x64, 0x65, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, 0x6e, + 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x44, 0x65, 0x61, + 0x64, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x16, 0x64, 0x65, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, + 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x1a, 0x8e, 0x01, 0x0a, 0x0e, 0x4d, 0x65, 0x6d, 0x6f, + 0x72, 0x79, 0x44, 0x65, 0x73, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, + 0x0a, 0x08, 0x69, 0x6e, 0x69, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x08, 0x69, 0x6e, 0x69, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x73, + 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x75, 0x73, 0x65, + 0x53, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x75, 0x73, 0x65, 0x52, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, + 0x07, 0x75, 0x73, 0x65, 0x52, 0x61, 0x74, 0x65, 0x1a, 0xd2, 0x01, 0x0a, 0x12, 0x44, 0x65, 0x61, + 0x64, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x1c, 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x6b, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x6b, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x14, 0x0a, + 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, + 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x61, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x08, 0x77, 0x61, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a, + 0x0a, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x63, 0x65, 0x22, 0xc0, 0x18, + 0x0a, 0x0b, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, + 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x32, 0x0a, 0x04, 0x6e, 0x6f, 0x64, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4e, + 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x44, 0x0a, + 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, + 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x68, + 0x61, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x63, 0x68, + 0x61, 0x69, 0x6e, 0x12, 0x2f, 0x0a, 0x03, 0x6e, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, + 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4e, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x03, 0x6e, 0x65, 0x74, 0x1a, 0x74, 0x0a, 0x08, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, + 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x62, 0x61, + 0x63, 0x6b, 0x75, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x1a, 0xee, 0x06, 0x0a, 0x0e, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, + 0x0c, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0c, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, + 0x6d, 0x12, 0x2e, 0x0a, 0x12, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x68, + 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x12, 0x24, 0x0a, 0x0d, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, + 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x6f, 0x72, 0x6b, 0x43, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x66, 0x6f, 0x72, 0x6b, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x66, 0x61, 0x69, 0x6c, 0x46, 0x6f, 0x72, + 0x6b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x66, 0x61, + 0x69, 0x6c, 0x46, 0x6f, 0x72, 0x6b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x4a, 0x0a, 0x10, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x10, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x03, 0x74, 0x70, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4e, 0x6f, 0x64, 0x65, - 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x44, 0x0a, 0x0a, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, + 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x03, 0x74, 0x70, 0x73, 0x12, 0x32, 0x0a, 0x14, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x53, 0x69, 0x7a, + 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x4c, 0x0a, + 0x11, 0x6d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x11, 0x6d, 0x69, 0x73, 0x73, 0x65, 0x64, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4a, 0x0a, 0x09, 0x77, + 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x68, 0x61, 0x69, 0x6e, - 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x63, 0x68, 0x61, 0x69, 0x6e, - 0x12, 0x2f, 0x0a, 0x03, 0x6e, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, - 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4e, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x03, 0x6e, 0x65, - 0x74, 0x1a, 0x74, 0x0a, 0x08, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x12, 0x1a, 0x0a, - 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x53, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x62, 0x61, 0x63, 0x6b, 0x75, - 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x1a, 0xee, 0x06, 0x0a, 0x0e, 0x42, 0x6c, 0x6f, 0x63, - 0x6b, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0c, 0x68, 0x65, - 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0c, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x2e, - 0x0a, 0x12, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x68, 0x65, 0x61, 0x64, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x24, - 0x0a, 0x0d, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x48, 0x61, 0x73, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x6f, 0x72, 0x6b, 0x43, 0x6f, 0x75, 0x6e, - 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x66, 0x6f, 0x72, 0x6b, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x66, 0x61, 0x69, 0x6c, 0x46, 0x6f, 0x72, 0x6b, 0x43, 0x6f, - 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x66, 0x61, 0x69, 0x6c, 0x46, - 0x6f, 0x72, 0x6b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x4a, 0x0a, 0x10, 0x62, 0x6c, 0x6f, 0x63, - 0x6b, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, - 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, - 0x66, 0x6f, 0x52, 0x10, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, - 0x54, 0x69, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x03, 0x74, 0x70, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, - 0x6f, 0x52, 0x03, 0x74, 0x70, 0x73, 0x12, 0x32, 0x0a, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x08, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x4c, 0x0a, 0x11, 0x6d, 0x69, - 0x73, 0x73, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, - 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x11, 0x6d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4a, 0x0a, 0x09, 0x77, 0x69, 0x74, 0x6e, - 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, - 0x66, 0x6f, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x6e, 0x66, - 0x6f, 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x52, 0x09, 0x77, 0x69, 0x74, 0x6e, 0x65, - 0x73, 0x73, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x13, 0x66, 0x61, 0x69, 0x6c, 0x50, 0x72, 0x6f, 0x63, - 0x65, 0x73, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x0b, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x13, 0x66, 0x61, 0x69, 0x6c, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x36, 0x0a, 0x16, 0x66, 0x61, 0x69, 0x6c, 0x50, 0x72, - 0x6f, 0x63, 0x65, 0x73, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, - 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x66, 0x61, 0x69, 0x6c, 0x50, 0x72, 0x6f, 0x63, - 0x65, 0x73, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x4f, - 0x0a, 0x0a, 0x64, 0x75, 0x70, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x18, 0x0d, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, - 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x43, - 0x68, 0x61, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x44, 0x75, 0x70, 0x57, 0x69, 0x74, 0x6e, - 0x65, 0x73, 0x73, 0x52, 0x0a, 0x64, 0x75, 0x70, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x1a, - 0x3d, 0x0a, 0x07, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0x58, - 0x0a, 0x0a, 0x44, 0x75, 0x70, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, - 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, - 0x75, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0xb8, 0x01, 0x0a, 0x08, 0x52, 0x61, 0x74, - 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6d, - 0x65, 0x61, 0x6e, 0x52, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x6d, - 0x65, 0x61, 0x6e, 0x52, 0x61, 0x74, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x6f, 0x6e, 0x65, 0x4d, 0x69, - 0x6e, 0x75, 0x74, 0x65, 0x52, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, - 0x6f, 0x6e, 0x65, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x52, 0x61, 0x74, 0x65, 0x12, 0x26, 0x0a, - 0x0e, 0x66, 0x69, 0x76, 0x65, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x52, 0x61, 0x74, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e, 0x66, 0x69, 0x76, 0x65, 0x4d, 0x69, 0x6e, 0x75, 0x74, - 0x65, 0x52, 0x61, 0x74, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x66, 0x69, 0x66, 0x74, 0x65, 0x65, 0x6e, - 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x52, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, - 0x52, 0x11, 0x66, 0x69, 0x66, 0x74, 0x65, 0x65, 0x6e, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x52, - 0x61, 0x74, 0x65, 0x1a, 0xc7, 0x0d, 0x0a, 0x07, 0x4e, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, - 0x28, 0x0a, 0x0f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x37, 0x0a, 0x03, 0x61, 0x70, 0x69, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4e, 0x65, - 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x70, 0x69, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x03, 0x61, - 0x70, 0x69, 0x12, 0x28, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x63, 0x6f, 0x6e, - 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x14, - 0x76, 0x61, 0x6c, 0x69, 0x64, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, - 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x14, 0x76, 0x61, 0x6c, 0x69, - 0x64, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, - 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x63, 0x70, 0x49, 0x6e, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, - 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x74, 0x63, 0x70, 0x49, 0x6e, 0x54, 0x72, 0x61, - 0x66, 0x66, 0x69, 0x63, 0x12, 0x44, 0x0a, 0x0d, 0x74, 0x63, 0x70, 0x4f, 0x75, 0x74, 0x54, 0x72, - 0x61, 0x66, 0x66, 0x69, 0x63, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, - 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x74, 0x63, 0x70, - 0x4f, 0x75, 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x12, 0x2e, 0x0a, 0x12, 0x64, 0x69, - 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x67, 0x0a, 0x13, 0x64, 0x69, - 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, - 0x6c, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4e, - 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x13, - 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, - 0x61, 0x69, 0x6c, 0x12, 0x42, 0x0a, 0x0c, 0x75, 0x64, 0x70, 0x49, 0x6e, 0x54, 0x72, 0x61, 0x66, - 0x66, 0x69, 0x63, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x52, 0x09, 0x77, 0x69, + 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x13, 0x66, 0x61, 0x69, 0x6c, 0x50, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x66, 0x61, 0x69, 0x6c, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x36, 0x0a, 0x16, 0x66, 0x61, 0x69, + 0x6c, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x61, + 0x73, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x66, 0x61, 0x69, 0x6c, 0x50, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x61, 0x73, 0x6f, + 0x6e, 0x12, 0x4f, 0x0a, 0x0a, 0x64, 0x75, 0x70, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x18, + 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x44, 0x75, 0x70, 0x57, + 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x52, 0x0a, 0x64, 0x75, 0x70, 0x57, 0x69, 0x74, 0x6e, 0x65, + 0x73, 0x73, 0x1a, 0x3d, 0x0a, 0x07, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, + 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x1a, 0x58, 0x0a, 0x0a, 0x44, 0x75, 0x70, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, + 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0xb8, 0x01, 0x0a, 0x08, + 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1a, + 0x0a, 0x08, 0x6d, 0x65, 0x61, 0x6e, 0x52, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, + 0x52, 0x08, 0x6d, 0x65, 0x61, 0x6e, 0x52, 0x61, 0x74, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x6f, 0x6e, + 0x65, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x52, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x01, 0x52, 0x0d, 0x6f, 0x6e, 0x65, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x52, 0x61, 0x74, 0x65, + 0x12, 0x26, 0x0a, 0x0e, 0x66, 0x69, 0x76, 0x65, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x52, 0x61, + 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e, 0x66, 0x69, 0x76, 0x65, 0x4d, 0x69, + 0x6e, 0x75, 0x74, 0x65, 0x52, 0x61, 0x74, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x66, 0x69, 0x66, 0x74, + 0x65, 0x65, 0x6e, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x52, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x01, 0x52, 0x11, 0x66, 0x69, 0x66, 0x74, 0x65, 0x65, 0x6e, 0x4d, 0x69, 0x6e, 0x75, + 0x74, 0x65, 0x52, 0x61, 0x74, 0x65, 0x1a, 0xc7, 0x0d, 0x0a, 0x07, 0x4e, 0x65, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x28, 0x0a, 0x0f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x65, 0x72, 0x72, + 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x37, 0x0a, 0x03, + 0x61, 0x70, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x4e, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x70, 0x69, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x03, 0x61, 0x70, 0x69, 0x12, 0x28, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, + 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x32, 0x0a, 0x14, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x14, 0x76, + 0x61, 0x6c, 0x69, 0x64, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x63, 0x70, 0x49, 0x6e, 0x54, 0x72, 0x61, 0x66, + 0x66, 0x69, 0x63, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, - 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x75, 0x64, 0x70, 0x49, 0x6e, - 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x12, 0x44, 0x0a, 0x0d, 0x75, 0x64, 0x70, 0x4f, 0x75, - 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, + 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x74, 0x63, 0x70, 0x49, 0x6e, + 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x12, 0x44, 0x0a, 0x0d, 0x74, 0x63, 0x70, 0x4f, 0x75, + 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, - 0x75, 0x64, 0x70, 0x4f, 0x75, 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x12, 0x43, 0x0a, - 0x07, 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, - 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4e, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4c, 0x61, - 0x74, 0x65, 0x6e, 0x63, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x6c, 0x61, 0x74, 0x65, 0x6e, - 0x63, 0x79, 0x1a, 0xd4, 0x03, 0x0a, 0x07, 0x41, 0x70, 0x69, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x30, - 0x0a, 0x03, 0x71, 0x70, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, - 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x03, 0x71, 0x70, 0x73, - 0x12, 0x38, 0x0a, 0x07, 0x66, 0x61, 0x69, 0x6c, 0x51, 0x70, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x74, 0x63, 0x70, 0x4f, 0x75, 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x12, 0x2e, 0x0a, + 0x12, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x64, 0x69, 0x73, 0x63, 0x6f, + 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x67, 0x0a, + 0x13, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x4e, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x13, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x42, 0x0a, 0x0c, 0x75, 0x64, 0x70, 0x49, 0x6e, 0x54, + 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x75, 0x64, + 0x70, 0x49, 0x6e, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x12, 0x44, 0x0a, 0x0d, 0x75, 0x64, + 0x70, 0x4f, 0x75, 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, - 0x6f, 0x52, 0x07, 0x66, 0x61, 0x69, 0x6c, 0x51, 0x70, 0x73, 0x12, 0x3e, 0x0a, 0x0a, 0x6f, 0x75, - 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, + 0x6f, 0x52, 0x0d, 0x75, 0x64, 0x70, 0x4f, 0x75, 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, + 0x12, 0x43, 0x0a, 0x07, 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, + 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4e, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x6c, 0x61, + 0x74, 0x65, 0x6e, 0x63, 0x79, 0x1a, 0xd4, 0x03, 0x0a, 0x07, 0x41, 0x70, 0x69, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x30, 0x0a, 0x03, 0x71, 0x70, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, - 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, - 0x6f, 0x75, 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x12, 0x4b, 0x0a, 0x06, 0x64, 0x65, - 0x74, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, - 0x6f, 0x2e, 0x4e, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x70, 0x69, 0x49, 0x6e, 0x66, - 0x6f, 0x2e, 0x41, 0x70, 0x69, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, - 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x1a, 0xcf, 0x01, 0x0a, 0x0d, 0x41, 0x70, 0x69, 0x44, - 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, - 0x03, 0x71, 0x70, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, - 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x03, 0x71, 0x70, 0x73, 0x12, - 0x38, 0x0a, 0x07, 0x66, 0x61, 0x69, 0x6c, 0x51, 0x70, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x03, + 0x71, 0x70, 0x73, 0x12, 0x38, 0x0a, 0x07, 0x66, 0x61, 0x69, 0x6c, 0x51, 0x70, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x66, 0x61, 0x69, 0x6c, 0x51, 0x70, 0x73, 0x12, 0x3e, 0x0a, + 0x0a, 0x6f, 0x75, 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, + 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x0a, 0x6f, 0x75, 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x12, 0x4b, 0x0a, + 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4e, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x70, 0x69, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x70, 0x69, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x1a, 0xcf, 0x01, 0x0a, 0x0d, 0x41, + 0x70, 0x69, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x30, 0x0a, 0x03, 0x71, 0x70, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x03, 0x71, + 0x70, 0x73, 0x12, 0x38, 0x0a, 0x07, 0x66, 0x61, 0x69, 0x6c, 0x51, 0x70, 0x73, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, + 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x66, 0x61, 0x69, 0x6c, 0x51, 0x70, 0x73, 0x12, 0x3e, 0x0a, 0x0a, + 0x6f, 0x75, 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, - 0x52, 0x07, 0x66, 0x61, 0x69, 0x6c, 0x51, 0x70, 0x73, 0x12, 0x3e, 0x0a, 0x0a, 0x6f, 0x75, 0x74, - 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, - 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x6f, - 0x75, 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x1a, 0x47, 0x0a, 0x17, 0x44, 0x69, 0x73, - 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, - 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x1a, 0xe8, 0x03, 0x0a, 0x0b, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x49, 0x6e, - 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x39, 0x39, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x39, 0x39, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x39, - 0x35, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x39, 0x35, 0x12, 0x14, - 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x37, 0x35, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, - 0x6f, 0x70, 0x37, 0x35, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, - 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x31, 0x53, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x31, 0x53, 0x12, 0x18, - 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x32, 0x53, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x32, 0x53, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x61, - 0x79, 0x33, 0x53, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, - 0x33, 0x53, 0x12, 0x53, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x08, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, - 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4e, 0x65, 0x74, 0x49, 0x6e, 0x66, - 0x6f, 0x2e, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4c, 0x61, - 0x74, 0x65, 0x6e, 0x63, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, - 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x1a, 0xd3, 0x01, 0x0a, 0x11, 0x4c, 0x61, 0x74, 0x65, - 0x6e, 0x63, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, - 0x07, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x39, 0x39, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x39, 0x39, 0x12, 0x14, 0x0a, - 0x05, 0x74, 0x6f, 0x70, 0x39, 0x35, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, - 0x70, 0x39, 0x35, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x37, 0x35, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x37, 0x35, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, - 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x31, 0x53, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x31, 0x53, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, - 0x61, 0x79, 0x32, 0x53, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x61, - 0x79, 0x32, 0x53, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x33, 0x53, 0x18, 0x08, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x33, 0x53, 0x22, 0x93, 0x03, - 0x0a, 0x0b, 0x50, 0x42, 0x46, 0x54, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x34, 0x0a, - 0x08, 0x72, 0x61, 0x77, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x42, 0x46, 0x54, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x52, 0x61, 0x77, 0x52, 0x07, 0x72, 0x61, 0x77, 0x44, - 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, - 0x65, 0x1a, 0xbd, 0x01, 0x0a, 0x03, 0x52, 0x61, 0x77, 0x12, 0x38, 0x0a, 0x08, 0x6d, 0x73, 0x67, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x42, 0x46, 0x54, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x2e, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x6d, 0x73, 0x67, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x3b, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x50, 0x42, 0x46, 0x54, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x61, - 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x15, 0x0a, 0x06, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x05, 0x76, 0x69, 0x65, 0x77, 0x4e, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x12, 0x0a, - 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, - 0x61, 0x22, 0x50, 0x0a, 0x07, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, - 0x56, 0x49, 0x45, 0x57, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x00, 0x12, 0x0b, 0x0a, - 0x07, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x52, - 0x45, 0x50, 0x52, 0x45, 0x50, 0x41, 0x52, 0x45, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x52, - 0x45, 0x50, 0x41, 0x52, 0x45, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4d, 0x4d, 0x49, - 0x54, 0x10, 0x04, 0x22, 0x1e, 0x0a, 0x08, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x09, 0x0a, 0x05, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x53, 0x52, - 0x4c, 0x10, 0x01, 0x22, 0x44, 0x0a, 0x10, 0x50, 0x42, 0x46, 0x54, 0x43, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x73, - 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, - 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x23, 0x0a, 0x03, 0x53, 0x52, 0x4c, - 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2a, 0x37, - 0x0a, 0x0b, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, - 0x06, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x41, 0x73, 0x73, - 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x02, 0x2a, 0xe6, 0x03, 0x0a, 0x0a, 0x52, 0x65, 0x61, 0x73, - 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, - 0x54, 0x45, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x42, 0x41, 0x44, 0x5f, 0x50, 0x52, 0x4f, - 0x54, 0x4f, 0x43, 0x4f, 0x4c, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x54, 0x4f, 0x4f, 0x5f, 0x4d, - 0x41, 0x4e, 0x59, 0x5f, 0x50, 0x45, 0x45, 0x52, 0x53, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x44, - 0x55, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x45, 0x5f, 0x50, 0x45, 0x45, 0x52, 0x10, 0x05, 0x12, - 0x19, 0x0a, 0x15, 0x49, 0x4e, 0x43, 0x4f, 0x4d, 0x50, 0x41, 0x54, 0x49, 0x42, 0x4c, 0x45, 0x5f, - 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x43, 0x4f, 0x4c, 0x10, 0x06, 0x12, 0x16, 0x0a, 0x12, 0x52, 0x41, - 0x4e, 0x44, 0x4f, 0x4d, 0x5f, 0x45, 0x4c, 0x49, 0x4d, 0x49, 0x4e, 0x41, 0x54, 0x49, 0x4f, 0x4e, - 0x10, 0x07, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x45, 0x45, 0x52, 0x5f, 0x51, 0x55, 0x49, 0x54, 0x49, - 0x4e, 0x47, 0x10, 0x08, 0x12, 0x17, 0x0a, 0x13, 0x55, 0x4e, 0x45, 0x58, 0x50, 0x45, 0x43, 0x54, - 0x45, 0x44, 0x5f, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x10, 0x09, 0x12, 0x12, 0x0a, - 0x0e, 0x4c, 0x4f, 0x43, 0x41, 0x4c, 0x5f, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x10, - 0x0a, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x49, 0x4e, 0x47, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x4f, 0x55, - 0x54, 0x10, 0x0b, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x52, 0x45, 0x41, 0x53, - 0x4f, 0x4e, 0x10, 0x10, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x45, 0x53, 0x45, 0x54, 0x10, 0x11, 0x12, - 0x0d, 0x0a, 0x09, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0x12, 0x12, 0x0e, - 0x0a, 0x0a, 0x46, 0x45, 0x54, 0x43, 0x48, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0x13, 0x12, 0x0a, - 0x0a, 0x06, 0x42, 0x41, 0x44, 0x5f, 0x54, 0x58, 0x10, 0x14, 0x12, 0x0d, 0x0a, 0x09, 0x42, 0x41, - 0x44, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0x15, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x4f, 0x52, - 0x4b, 0x45, 0x44, 0x10, 0x16, 0x12, 0x0e, 0x0a, 0x0a, 0x55, 0x4e, 0x4c, 0x49, 0x4e, 0x4b, 0x41, - 0x42, 0x4c, 0x45, 0x10, 0x17, 0x12, 0x18, 0x0a, 0x14, 0x49, 0x4e, 0x43, 0x4f, 0x4d, 0x50, 0x41, - 0x54, 0x49, 0x42, 0x4c, 0x45, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x18, 0x12, - 0x16, 0x0a, 0x12, 0x49, 0x4e, 0x43, 0x4f, 0x4d, 0x50, 0x41, 0x54, 0x49, 0x42, 0x4c, 0x45, 0x5f, - 0x43, 0x48, 0x41, 0x49, 0x4e, 0x10, 0x19, 0x12, 0x0c, 0x0a, 0x08, 0x54, 0x49, 0x4d, 0x45, 0x5f, - 0x4f, 0x55, 0x54, 0x10, 0x20, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, - 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0x21, 0x12, 0x1f, 0x0a, 0x1b, 0x54, 0x4f, 0x4f, 0x5f, 0x4d, - 0x41, 0x4e, 0x59, 0x5f, 0x50, 0x45, 0x45, 0x52, 0x53, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x53, - 0x41, 0x4d, 0x45, 0x5f, 0x49, 0x50, 0x10, 0x22, 0x12, 0x18, 0x0a, 0x14, 0x4c, 0x49, 0x47, 0x48, - 0x54, 0x5f, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x46, 0x41, 0x49, 0x4c, - 0x10, 0x23, 0x12, 0x0c, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0xff, 0x01, - 0x42, 0x4c, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x73, 0x42, 0x08, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x5a, 0x2f, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, 0x72, - 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, 0x2f, - 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, + 0x52, 0x0a, 0x6f, 0x75, 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x1a, 0x47, 0x0a, 0x17, + 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, + 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, + 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0xe8, 0x03, 0x0a, 0x0b, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, + 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x39, 0x39, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x39, 0x39, 0x12, 0x14, 0x0a, 0x05, 0x74, + 0x6f, 0x70, 0x39, 0x35, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x39, + 0x35, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x37, 0x35, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x05, 0x74, 0x6f, 0x70, 0x37, 0x35, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x74, 0x6f, 0x74, + 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, + 0x31, 0x53, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x31, + 0x53, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x32, 0x53, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x32, 0x53, 0x12, 0x18, 0x0a, 0x07, 0x64, + 0x65, 0x6c, 0x61, 0x79, 0x33, 0x53, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x64, 0x65, + 0x6c, 0x61, 0x79, 0x33, 0x53, 0x12, 0x53, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, + 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4e, 0x65, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x1a, 0xd3, 0x01, 0x0a, 0x11, 0x4c, + 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x18, 0x0a, 0x07, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, + 0x70, 0x39, 0x39, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x39, 0x39, + 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x39, 0x35, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x05, 0x74, 0x6f, 0x70, 0x39, 0x35, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x37, 0x35, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x37, 0x35, 0x12, 0x14, 0x0a, 0x05, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x31, 0x53, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x31, 0x53, 0x12, 0x18, 0x0a, 0x07, + 0x64, 0x65, 0x6c, 0x61, 0x79, 0x32, 0x53, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x64, + 0x65, 0x6c, 0x61, 0x79, 0x32, 0x53, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x33, + 0x53, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x33, 0x53, + 0x22, 0x93, 0x03, 0x0a, 0x0b, 0x50, 0x42, 0x46, 0x54, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x12, 0x34, 0x0a, 0x08, 0x72, 0x61, 0x77, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x42, + 0x46, 0x54, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x52, 0x61, 0x77, 0x52, 0x07, 0x72, + 0x61, 0x77, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, + 0x74, 0x75, 0x72, 0x65, 0x1a, 0xbd, 0x01, 0x0a, 0x03, 0x52, 0x61, 0x77, 0x12, 0x38, 0x0a, 0x08, + 0x6d, 0x73, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x42, 0x46, 0x54, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x6d, + 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3b, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x42, 0x46, 0x54, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x2e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x6e, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x69, 0x65, 0x77, 0x4e, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x70, + 0x6f, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, + 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, + 0x64, 0x61, 0x74, 0x61, 0x22, 0x50, 0x0a, 0x07, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x0f, 0x0a, 0x0b, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x00, + 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0x01, 0x12, 0x0e, 0x0a, + 0x0a, 0x50, 0x52, 0x45, 0x50, 0x52, 0x45, 0x50, 0x41, 0x52, 0x45, 0x10, 0x02, 0x12, 0x0b, 0x0a, + 0x07, 0x50, 0x52, 0x45, 0x50, 0x41, 0x52, 0x45, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, + 0x4d, 0x4d, 0x49, 0x54, 0x10, 0x04, 0x22, 0x1e, 0x0a, 0x08, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0x00, 0x12, 0x07, 0x0a, + 0x03, 0x53, 0x52, 0x4c, 0x10, 0x01, 0x22, 0x44, 0x0a, 0x10, 0x50, 0x42, 0x46, 0x54, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, + 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1c, + 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x23, 0x0a, 0x03, + 0x53, 0x52, 0x4c, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x2a, 0x37, 0x0a, 0x0b, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, + 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x02, 0x2a, 0xf9, 0x03, 0x0a, 0x0a, 0x52, + 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x45, 0x51, + 0x55, 0x45, 0x53, 0x54, 0x45, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x42, 0x41, 0x44, 0x5f, + 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x43, 0x4f, 0x4c, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x54, 0x4f, + 0x4f, 0x5f, 0x4d, 0x41, 0x4e, 0x59, 0x5f, 0x50, 0x45, 0x45, 0x52, 0x53, 0x10, 0x04, 0x12, 0x12, + 0x0a, 0x0e, 0x44, 0x55, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x45, 0x5f, 0x50, 0x45, 0x45, 0x52, + 0x10, 0x05, 0x12, 0x19, 0x0a, 0x15, 0x49, 0x4e, 0x43, 0x4f, 0x4d, 0x50, 0x41, 0x54, 0x49, 0x42, + 0x4c, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x43, 0x4f, 0x4c, 0x10, 0x06, 0x12, 0x16, 0x0a, + 0x12, 0x52, 0x41, 0x4e, 0x44, 0x4f, 0x4d, 0x5f, 0x45, 0x4c, 0x49, 0x4d, 0x49, 0x4e, 0x41, 0x54, + 0x49, 0x4f, 0x4e, 0x10, 0x07, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x45, 0x45, 0x52, 0x5f, 0x51, 0x55, + 0x49, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x08, 0x12, 0x17, 0x0a, 0x13, 0x55, 0x4e, 0x45, 0x58, 0x50, + 0x45, 0x43, 0x54, 0x45, 0x44, 0x5f, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x10, 0x09, + 0x12, 0x12, 0x0a, 0x0e, 0x4c, 0x4f, 0x43, 0x41, 0x4c, 0x5f, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x49, + 0x54, 0x59, 0x10, 0x0a, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x49, 0x4e, 0x47, 0x5f, 0x54, 0x49, 0x4d, + 0x45, 0x4f, 0x55, 0x54, 0x10, 0x0b, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x52, + 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x10, 0x10, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x45, 0x53, 0x45, 0x54, + 0x10, 0x11, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, + 0x12, 0x12, 0x0e, 0x0a, 0x0a, 0x46, 0x45, 0x54, 0x43, 0x48, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, + 0x13, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x41, 0x44, 0x5f, 0x54, 0x58, 0x10, 0x14, 0x12, 0x0d, 0x0a, + 0x09, 0x42, 0x41, 0x44, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0x15, 0x12, 0x0a, 0x0a, 0x06, + 0x46, 0x4f, 0x52, 0x4b, 0x45, 0x44, 0x10, 0x16, 0x12, 0x0e, 0x0a, 0x0a, 0x55, 0x4e, 0x4c, 0x49, + 0x4e, 0x4b, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x17, 0x12, 0x18, 0x0a, 0x14, 0x49, 0x4e, 0x43, 0x4f, + 0x4d, 0x50, 0x41, 0x54, 0x49, 0x42, 0x4c, 0x45, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, + 0x10, 0x18, 0x12, 0x16, 0x0a, 0x12, 0x49, 0x4e, 0x43, 0x4f, 0x4d, 0x50, 0x41, 0x54, 0x49, 0x42, + 0x4c, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x49, 0x4e, 0x10, 0x19, 0x12, 0x0c, 0x0a, 0x08, 0x54, 0x49, + 0x4d, 0x45, 0x5f, 0x4f, 0x55, 0x54, 0x10, 0x20, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x4f, 0x4e, 0x4e, + 0x45, 0x43, 0x54, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0x21, 0x12, 0x1f, 0x0a, 0x1b, 0x54, 0x4f, + 0x4f, 0x5f, 0x4d, 0x41, 0x4e, 0x59, 0x5f, 0x50, 0x45, 0x45, 0x52, 0x53, 0x5f, 0x57, 0x49, 0x54, + 0x48, 0x5f, 0x53, 0x41, 0x4d, 0x45, 0x5f, 0x49, 0x50, 0x10, 0x22, 0x12, 0x18, 0x0a, 0x14, 0x4c, + 0x49, 0x47, 0x48, 0x54, 0x5f, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x46, + 0x41, 0x49, 0x4c, 0x10, 0x23, 0x12, 0x11, 0x0a, 0x0d, 0x42, 0x45, 0x4c, 0x4f, 0x57, 0x5f, 0x54, + 0x48, 0x41, 0x4e, 0x5f, 0x4d, 0x45, 0x10, 0x24, 0x12, 0x0c, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, + 0x4f, 0x57, 0x4e, 0x10, 0xff, 0x01, 0x42, 0x46, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, + 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x42, 0x08, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x72, 0x70, + 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } @@ -8912,7 +8922,7 @@ func file_core_Tron_proto_rawDescGZIP() []byte { } var file_core_Tron_proto_enumTypes = make([]protoimpl.EnumInfo, 14) -var file_core_Tron_proto_msgTypes = make([]protoimpl.MessageInfo, 86) +var file_core_Tron_proto_msgTypes = make([]protoimpl.MessageInfo, 87) var file_core_Tron_proto_goTypes = []interface{}{ (AccountType)(0), // 0: protocol.AccountType (ReasonCode)(0), // 1: protocol.ReasonCode @@ -8957,174 +8967,176 @@ var file_core_Tron_proto_goTypes = []interface{}{ (*TransactionInfo)(nil), // 40: protocol.TransactionInfo (*TransactionRet)(nil), // 41: protocol.TransactionRet (*Transactions)(nil), // 42: protocol.Transactions - (*TransactionSign)(nil), // 43: protocol.TransactionSign - (*BlockHeader)(nil), // 44: protocol.BlockHeader - (*Block)(nil), // 45: protocol.Block - (*ChainInventory)(nil), // 46: protocol.ChainInventory - (*BlockInventory)(nil), // 47: protocol.BlockInventory - (*Inventory)(nil), // 48: protocol.Inventory - (*Items)(nil), // 49: protocol.Items - (*DynamicProperties)(nil), // 50: protocol.DynamicProperties - (*DisconnectMessage)(nil), // 51: protocol.DisconnectMessage - (*HelloMessage)(nil), // 52: protocol.HelloMessage - (*InternalTransaction)(nil), // 53: protocol.InternalTransaction - (*DelegatedResourceAccountIndex)(nil), // 54: protocol.DelegatedResourceAccountIndex - (*NodeInfo)(nil), // 55: protocol.NodeInfo - (*MetricsInfo)(nil), // 56: protocol.MetricsInfo - (*PBFTMessage)(nil), // 57: protocol.PBFTMessage - (*PBFTCommitResult)(nil), // 58: protocol.PBFTCommitResult - (*SRL)(nil), // 59: protocol.SRL - nil, // 60: protocol.Proposal.ParametersEntry - (*ChainParameters_ChainParameter)(nil), // 61: protocol.ChainParameters.ChainParameter - (*Account_Frozen)(nil), // 62: protocol.Account.Frozen - nil, // 63: protocol.Account.AssetEntry - nil, // 64: protocol.Account.AssetV2Entry - nil, // 65: protocol.Account.LatestAssetOperationTimeEntry - nil, // 66: protocol.Account.LatestAssetOperationTimeV2Entry - nil, // 67: protocol.Account.FreeAssetNetUsageEntry - nil, // 68: protocol.Account.FreeAssetNetUsageV2Entry - (*Account_AccountResource)(nil), // 69: protocol.Account.AccountResource - (*Account_FreezeV2)(nil), // 70: protocol.Account.FreezeV2 - (*Account_UnFreezeV2)(nil), // 71: protocol.Account.UnFreezeV2 - (*TXInputRaw)(nil), // 72: protocol.TXInput.raw - (*Transaction_Contract)(nil), // 73: protocol.Transaction.Contract - (*Transaction_Result)(nil), // 74: protocol.Transaction.Result - (*TransactionRaw)(nil), // 75: protocol.Transaction.raw + (*BlockHeader)(nil), // 43: protocol.BlockHeader + (*Block)(nil), // 44: protocol.Block + (*ChainInventory)(nil), // 45: protocol.ChainInventory + (*BlockInventory)(nil), // 46: protocol.BlockInventory + (*Inventory)(nil), // 47: protocol.Inventory + (*Items)(nil), // 48: protocol.Items + (*DynamicProperties)(nil), // 49: protocol.DynamicProperties + (*DisconnectMessage)(nil), // 50: protocol.DisconnectMessage + (*HelloMessage)(nil), // 51: protocol.HelloMessage + (*InternalTransaction)(nil), // 52: protocol.InternalTransaction + (*DelegatedResourceAccountIndex)(nil), // 53: protocol.DelegatedResourceAccountIndex + (*NodeInfo)(nil), // 54: protocol.NodeInfo + (*MetricsInfo)(nil), // 55: protocol.MetricsInfo + (*PBFTMessage)(nil), // 56: protocol.PBFTMessage + (*PBFTCommitResult)(nil), // 57: protocol.PBFTCommitResult + (*SRL)(nil), // 58: protocol.SRL + nil, // 59: protocol.Proposal.ParametersEntry + (*ChainParameters_ChainParameter)(nil), // 60: protocol.ChainParameters.ChainParameter + (*Account_Frozen)(nil), // 61: protocol.Account.Frozen + nil, // 62: protocol.Account.AssetEntry + nil, // 63: protocol.Account.AssetV2Entry + nil, // 64: protocol.Account.LatestAssetOperationTimeEntry + nil, // 65: protocol.Account.LatestAssetOperationTimeV2Entry + nil, // 66: protocol.Account.FreeAssetNetUsageEntry + nil, // 67: protocol.Account.FreeAssetNetUsageV2Entry + (*Account_AccountResource)(nil), // 68: protocol.Account.AccountResource + (*Account_FreezeV2)(nil), // 69: protocol.Account.FreezeV2 + (*Account_UnFreezeV2)(nil), // 70: protocol.Account.UnFreezeV2 + (*TXInputRaw)(nil), // 71: protocol.TXInput.raw + (*Transaction_Contract)(nil), // 72: protocol.Transaction.Contract + (*Transaction_Result)(nil), // 73: protocol.Transaction.Result + (*TransactionRaw)(nil), // 74: protocol.Transaction.raw + nil, // 75: protocol.Transaction.Result.CancelUnfreezeV2AmountEntry (*TransactionInfo_Log)(nil), // 76: protocol.TransactionInfo.Log - (*BlockHeaderRaw)(nil), // 77: protocol.BlockHeader.raw - (*ChainInventory_BlockId)(nil), // 78: protocol.ChainInventory.BlockId - (*BlockInventory_BlockId)(nil), // 79: protocol.BlockInventory.BlockId - (*HelloMessage_BlockId)(nil), // 80: protocol.HelloMessage.BlockId - (*InternalTransaction_CallValueInfo)(nil), // 81: protocol.InternalTransaction.CallValueInfo - nil, // 82: protocol.NodeInfo.CheatWitnessInfoMapEntry - (*NodeInfo_PeerInfo)(nil), // 83: protocol.NodeInfo.PeerInfo - (*NodeInfo_ConfigNodeInfo)(nil), // 84: protocol.NodeInfo.ConfigNodeInfo - (*NodeInfo_MachineInfo)(nil), // 85: protocol.NodeInfo.MachineInfo - (*NodeInfo_MachineInfo_MemoryDescInfo)(nil), // 86: protocol.NodeInfo.MachineInfo.MemoryDescInfo - (*NodeInfo_MachineInfo_DeadLockThreadInfo)(nil), // 87: protocol.NodeInfo.MachineInfo.DeadLockThreadInfo - (*MetricsInfo_NodeInfo)(nil), // 88: protocol.MetricsInfo.NodeInfo - (*MetricsInfo_BlockChainInfo)(nil), // 89: protocol.MetricsInfo.BlockChainInfo - (*MetricsInfo_RateInfo)(nil), // 90: protocol.MetricsInfo.RateInfo - (*MetricsInfo_NetInfo)(nil), // 91: protocol.MetricsInfo.NetInfo - (*MetricsInfo_BlockChainInfo_Witness)(nil), // 92: protocol.MetricsInfo.BlockChainInfo.Witness - (*MetricsInfo_BlockChainInfo_DupWitness)(nil), // 93: protocol.MetricsInfo.BlockChainInfo.DupWitness - (*MetricsInfo_NetInfo_ApiInfo)(nil), // 94: protocol.MetricsInfo.NetInfo.ApiInfo - (*MetricsInfo_NetInfo_DisconnectionDetailInfo)(nil), // 95: protocol.MetricsInfo.NetInfo.DisconnectionDetailInfo - (*MetricsInfo_NetInfo_LatencyInfo)(nil), // 96: protocol.MetricsInfo.NetInfo.LatencyInfo - (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo)(nil), // 97: protocol.MetricsInfo.NetInfo.ApiInfo.ApiDetailInfo - (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo)(nil), // 98: protocol.MetricsInfo.NetInfo.LatencyInfo.LatencyDetailInfo - (*PBFTMessage_Raw)(nil), // 99: protocol.PBFTMessage.Raw - (*Endpoint)(nil), // 100: protocol.Endpoint - (ResourceCode)(0), // 101: protocol.ResourceCode - (*anypb.Any)(nil), // 102: google.protobuf.Any + nil, // 77: protocol.TransactionInfo.CancelUnfreezeV2AmountEntry + (*BlockHeaderRaw)(nil), // 78: protocol.BlockHeader.raw + (*ChainInventory_BlockId)(nil), // 79: protocol.ChainInventory.BlockId + (*BlockInventory_BlockId)(nil), // 80: protocol.BlockInventory.BlockId + (*HelloMessage_BlockId)(nil), // 81: protocol.HelloMessage.BlockId + (*InternalTransaction_CallValueInfo)(nil), // 82: protocol.InternalTransaction.CallValueInfo + nil, // 83: protocol.NodeInfo.CheatWitnessInfoMapEntry + (*NodeInfo_PeerInfo)(nil), // 84: protocol.NodeInfo.PeerInfo + (*NodeInfo_ConfigNodeInfo)(nil), // 85: protocol.NodeInfo.ConfigNodeInfo + (*NodeInfo_MachineInfo)(nil), // 86: protocol.NodeInfo.MachineInfo + (*NodeInfo_MachineInfo_MemoryDescInfo)(nil), // 87: protocol.NodeInfo.MachineInfo.MemoryDescInfo + (*NodeInfo_MachineInfo_DeadLockThreadInfo)(nil), // 88: protocol.NodeInfo.MachineInfo.DeadLockThreadInfo + (*MetricsInfo_NodeInfo)(nil), // 89: protocol.MetricsInfo.NodeInfo + (*MetricsInfo_BlockChainInfo)(nil), // 90: protocol.MetricsInfo.BlockChainInfo + (*MetricsInfo_RateInfo)(nil), // 91: protocol.MetricsInfo.RateInfo + (*MetricsInfo_NetInfo)(nil), // 92: protocol.MetricsInfo.NetInfo + (*MetricsInfo_BlockChainInfo_Witness)(nil), // 93: protocol.MetricsInfo.BlockChainInfo.Witness + (*MetricsInfo_BlockChainInfo_DupWitness)(nil), // 94: protocol.MetricsInfo.BlockChainInfo.DupWitness + (*MetricsInfo_NetInfo_ApiInfo)(nil), // 95: protocol.MetricsInfo.NetInfo.ApiInfo + (*MetricsInfo_NetInfo_DisconnectionDetailInfo)(nil), // 96: protocol.MetricsInfo.NetInfo.DisconnectionDetailInfo + (*MetricsInfo_NetInfo_LatencyInfo)(nil), // 97: protocol.MetricsInfo.NetInfo.LatencyInfo + (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo)(nil), // 98: protocol.MetricsInfo.NetInfo.ApiInfo.ApiDetailInfo + (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo)(nil), // 99: protocol.MetricsInfo.NetInfo.LatencyInfo.LatencyDetailInfo + (*PBFTMessage_Raw)(nil), // 100: protocol.PBFTMessage.Raw + (*Endpoint)(nil), // 101: protocol.Endpoint + (ResourceCode)(0), // 102: protocol.ResourceCode + (*anypb.Any)(nil), // 103: google.protobuf.Any } var file_core_Tron_proto_depIdxs = []int32{ - 60, // 0: protocol.Proposal.parameters:type_name -> protocol.Proposal.ParametersEntry + 59, // 0: protocol.Proposal.parameters:type_name -> protocol.Proposal.ParametersEntry 2, // 1: protocol.Proposal.state:type_name -> protocol.Proposal.State 3, // 2: protocol.MarketOrder.state:type_name -> protocol.MarketOrder.State 18, // 3: protocol.MarketOrderList.orders:type_name -> protocol.MarketOrder 21, // 4: protocol.MarketOrderPairList.orderPair:type_name -> protocol.MarketOrderPair 23, // 5: protocol.MarketPriceList.prices:type_name -> protocol.MarketPrice - 61, // 6: protocol.ChainParameters.chainParameter:type_name -> protocol.ChainParameters.ChainParameter + 60, // 6: protocol.ChainParameters.chainParameter:type_name -> protocol.ChainParameters.ChainParameter 0, // 7: protocol.Account.type:type_name -> protocol.AccountType 15, // 8: protocol.Account.votes:type_name -> protocol.Vote - 63, // 9: protocol.Account.asset:type_name -> protocol.Account.AssetEntry - 64, // 10: protocol.Account.assetV2:type_name -> protocol.Account.AssetV2Entry - 62, // 11: protocol.Account.frozen:type_name -> protocol.Account.Frozen - 62, // 12: protocol.Account.tron_power:type_name -> protocol.Account.Frozen - 62, // 13: protocol.Account.frozen_supply:type_name -> protocol.Account.Frozen - 65, // 14: protocol.Account.latest_asset_operation_time:type_name -> protocol.Account.LatestAssetOperationTimeEntry - 66, // 15: protocol.Account.latest_asset_operation_timeV2:type_name -> protocol.Account.LatestAssetOperationTimeV2Entry - 67, // 16: protocol.Account.free_asset_net_usage:type_name -> protocol.Account.FreeAssetNetUsageEntry - 68, // 17: protocol.Account.free_asset_net_usageV2:type_name -> protocol.Account.FreeAssetNetUsageV2Entry - 69, // 18: protocol.Account.account_resource:type_name -> protocol.Account.AccountResource + 62, // 9: protocol.Account.asset:type_name -> protocol.Account.AssetEntry + 63, // 10: protocol.Account.assetV2:type_name -> protocol.Account.AssetV2Entry + 61, // 11: protocol.Account.frozen:type_name -> protocol.Account.Frozen + 61, // 12: protocol.Account.tron_power:type_name -> protocol.Account.Frozen + 61, // 13: protocol.Account.frozen_supply:type_name -> protocol.Account.Frozen + 64, // 14: protocol.Account.latest_asset_operation_time:type_name -> protocol.Account.LatestAssetOperationTimeEntry + 65, // 15: protocol.Account.latest_asset_operation_timeV2:type_name -> protocol.Account.LatestAssetOperationTimeV2Entry + 66, // 16: protocol.Account.free_asset_net_usage:type_name -> protocol.Account.FreeAssetNetUsageEntry + 67, // 17: protocol.Account.free_asset_net_usageV2:type_name -> protocol.Account.FreeAssetNetUsageV2Entry + 68, // 18: protocol.Account.account_resource:type_name -> protocol.Account.AccountResource 31, // 19: protocol.Account.owner_permission:type_name -> protocol.Permission 31, // 20: protocol.Account.witness_permission:type_name -> protocol.Permission 31, // 21: protocol.Account.active_permission:type_name -> protocol.Permission - 70, // 22: protocol.Account.frozenV2:type_name -> protocol.Account.FreezeV2 - 71, // 23: protocol.Account.unfrozenV2:type_name -> protocol.Account.UnFreezeV2 + 69, // 22: protocol.Account.frozenV2:type_name -> protocol.Account.FreezeV2 + 70, // 23: protocol.Account.unfrozenV2:type_name -> protocol.Account.UnFreezeV2 14, // 24: protocol.authority.account:type_name -> protocol.AccountId 4, // 25: protocol.Permission.type:type_name -> protocol.Permission.PermissionType 28, // 26: protocol.Permission.keys:type_name -> protocol.Key 15, // 27: protocol.Votes.old_votes:type_name -> protocol.Vote 15, // 28: protocol.Votes.new_votes:type_name -> protocol.Vote - 72, // 29: protocol.TXInput.raw_data:type_name -> protocol.TXInput.raw + 71, // 29: protocol.TXInput.raw_data:type_name -> protocol.TXInput.raw 34, // 30: protocol.TXOutputs.outputs:type_name -> protocol.TXOutput 7, // 31: protocol.ResourceReceipt.result:type_name -> protocol.Transaction.Result.contractResult - 75, // 32: protocol.Transaction.raw_data:type_name -> protocol.Transaction.raw - 74, // 33: protocol.Transaction.ret:type_name -> protocol.Transaction.Result + 74, // 32: protocol.Transaction.raw_data:type_name -> protocol.Transaction.raw + 73, // 33: protocol.Transaction.ret:type_name -> protocol.Transaction.Result 37, // 34: protocol.TransactionInfo.receipt:type_name -> protocol.ResourceReceipt 76, // 35: protocol.TransactionInfo.log:type_name -> protocol.TransactionInfo.Log 8, // 36: protocol.TransactionInfo.result:type_name -> protocol.TransactionInfo.code - 53, // 37: protocol.TransactionInfo.internal_transactions:type_name -> protocol.InternalTransaction + 52, // 37: protocol.TransactionInfo.internal_transactions:type_name -> protocol.InternalTransaction 38, // 38: protocol.TransactionInfo.orderDetails:type_name -> protocol.MarketOrderDetail - 40, // 39: protocol.TransactionRet.transactioninfo:type_name -> protocol.TransactionInfo - 39, // 40: protocol.Transactions.transactions:type_name -> protocol.Transaction - 39, // 41: protocol.TransactionSign.transaction:type_name -> protocol.Transaction - 77, // 42: protocol.BlockHeader.raw_data:type_name -> protocol.BlockHeader.raw + 77, // 39: protocol.TransactionInfo.cancel_unfreezeV2_amount:type_name -> protocol.TransactionInfo.CancelUnfreezeV2AmountEntry + 40, // 40: protocol.TransactionRet.transactioninfo:type_name -> protocol.TransactionInfo + 39, // 41: protocol.Transactions.transactions:type_name -> protocol.Transaction + 78, // 42: protocol.BlockHeader.raw_data:type_name -> protocol.BlockHeader.raw 39, // 43: protocol.Block.transactions:type_name -> protocol.Transaction - 44, // 44: protocol.Block.block_header:type_name -> protocol.BlockHeader - 78, // 45: protocol.ChainInventory.ids:type_name -> protocol.ChainInventory.BlockId - 79, // 46: protocol.BlockInventory.ids:type_name -> protocol.BlockInventory.BlockId + 43, // 44: protocol.Block.block_header:type_name -> protocol.BlockHeader + 79, // 45: protocol.ChainInventory.ids:type_name -> protocol.ChainInventory.BlockId + 80, // 46: protocol.BlockInventory.ids:type_name -> protocol.BlockInventory.BlockId 9, // 47: protocol.BlockInventory.type:type_name -> protocol.BlockInventory.Type 10, // 48: protocol.Inventory.type:type_name -> protocol.Inventory.InventoryType 11, // 49: protocol.Items.type:type_name -> protocol.Items.ItemType - 45, // 50: protocol.Items.blocks:type_name -> protocol.Block - 44, // 51: protocol.Items.block_headers:type_name -> protocol.BlockHeader + 44, // 50: protocol.Items.blocks:type_name -> protocol.Block + 43, // 51: protocol.Items.block_headers:type_name -> protocol.BlockHeader 39, // 52: protocol.Items.transactions:type_name -> protocol.Transaction 1, // 53: protocol.DisconnectMessage.reason:type_name -> protocol.ReasonCode - 100, // 54: protocol.HelloMessage.from:type_name -> protocol.Endpoint - 80, // 55: protocol.HelloMessage.genesisBlockId:type_name -> protocol.HelloMessage.BlockId - 80, // 56: protocol.HelloMessage.solidBlockId:type_name -> protocol.HelloMessage.BlockId - 80, // 57: protocol.HelloMessage.headBlockId:type_name -> protocol.HelloMessage.BlockId - 81, // 58: protocol.InternalTransaction.callValueInfo:type_name -> protocol.InternalTransaction.CallValueInfo - 83, // 59: protocol.NodeInfo.peerInfoList:type_name -> protocol.NodeInfo.PeerInfo - 84, // 60: protocol.NodeInfo.configNodeInfo:type_name -> protocol.NodeInfo.ConfigNodeInfo - 85, // 61: protocol.NodeInfo.machineInfo:type_name -> protocol.NodeInfo.MachineInfo - 82, // 62: protocol.NodeInfo.cheatWitnessInfoMap:type_name -> protocol.NodeInfo.CheatWitnessInfoMapEntry - 88, // 63: protocol.MetricsInfo.node:type_name -> protocol.MetricsInfo.NodeInfo - 89, // 64: protocol.MetricsInfo.blockchain:type_name -> protocol.MetricsInfo.BlockChainInfo - 91, // 65: protocol.MetricsInfo.net:type_name -> protocol.MetricsInfo.NetInfo - 99, // 66: protocol.PBFTMessage.raw_data:type_name -> protocol.PBFTMessage.Raw - 62, // 67: protocol.Account.AccountResource.frozen_balance_for_energy:type_name -> protocol.Account.Frozen - 101, // 68: protocol.Account.FreezeV2.type:type_name -> protocol.ResourceCode - 101, // 69: protocol.Account.UnFreezeV2.type:type_name -> protocol.ResourceCode + 101, // 54: protocol.HelloMessage.from:type_name -> protocol.Endpoint + 81, // 55: protocol.HelloMessage.genesisBlockId:type_name -> protocol.HelloMessage.BlockId + 81, // 56: protocol.HelloMessage.solidBlockId:type_name -> protocol.HelloMessage.BlockId + 81, // 57: protocol.HelloMessage.headBlockId:type_name -> protocol.HelloMessage.BlockId + 82, // 58: protocol.InternalTransaction.callValueInfo:type_name -> protocol.InternalTransaction.CallValueInfo + 84, // 59: protocol.NodeInfo.peerInfoList:type_name -> protocol.NodeInfo.PeerInfo + 85, // 60: protocol.NodeInfo.configNodeInfo:type_name -> protocol.NodeInfo.ConfigNodeInfo + 86, // 61: protocol.NodeInfo.machineInfo:type_name -> protocol.NodeInfo.MachineInfo + 83, // 62: protocol.NodeInfo.cheatWitnessInfoMap:type_name -> protocol.NodeInfo.CheatWitnessInfoMapEntry + 89, // 63: protocol.MetricsInfo.node:type_name -> protocol.MetricsInfo.NodeInfo + 90, // 64: protocol.MetricsInfo.blockchain:type_name -> protocol.MetricsInfo.BlockChainInfo + 92, // 65: protocol.MetricsInfo.net:type_name -> protocol.MetricsInfo.NetInfo + 100, // 66: protocol.PBFTMessage.raw_data:type_name -> protocol.PBFTMessage.Raw + 61, // 67: protocol.Account.AccountResource.frozen_balance_for_energy:type_name -> protocol.Account.Frozen + 102, // 68: protocol.Account.FreezeV2.type:type_name -> protocol.ResourceCode + 102, // 69: protocol.Account.UnFreezeV2.type:type_name -> protocol.ResourceCode 5, // 70: protocol.Transaction.Contract.type:type_name -> protocol.Transaction.Contract.ContractType - 102, // 71: protocol.Transaction.Contract.parameter:type_name -> google.protobuf.Any + 103, // 71: protocol.Transaction.Contract.parameter:type_name -> google.protobuf.Any 6, // 72: protocol.Transaction.Result.ret:type_name -> protocol.Transaction.Result.code 7, // 73: protocol.Transaction.Result.contractRet:type_name -> protocol.Transaction.Result.contractResult 38, // 74: protocol.Transaction.Result.orderDetails:type_name -> protocol.MarketOrderDetail - 30, // 75: protocol.Transaction.raw.auths:type_name -> protocol.authority - 73, // 76: protocol.Transaction.raw.contract:type_name -> protocol.Transaction.Contract - 86, // 77: protocol.NodeInfo.MachineInfo.memoryDescInfoList:type_name -> protocol.NodeInfo.MachineInfo.MemoryDescInfo - 87, // 78: protocol.NodeInfo.MachineInfo.deadLockThreadInfoList:type_name -> protocol.NodeInfo.MachineInfo.DeadLockThreadInfo - 90, // 79: protocol.MetricsInfo.BlockChainInfo.blockProcessTime:type_name -> protocol.MetricsInfo.RateInfo - 90, // 80: protocol.MetricsInfo.BlockChainInfo.tps:type_name -> protocol.MetricsInfo.RateInfo - 90, // 81: protocol.MetricsInfo.BlockChainInfo.missedTransaction:type_name -> protocol.MetricsInfo.RateInfo - 92, // 82: protocol.MetricsInfo.BlockChainInfo.witnesses:type_name -> protocol.MetricsInfo.BlockChainInfo.Witness - 93, // 83: protocol.MetricsInfo.BlockChainInfo.dupWitness:type_name -> protocol.MetricsInfo.BlockChainInfo.DupWitness - 94, // 84: protocol.MetricsInfo.NetInfo.api:type_name -> protocol.MetricsInfo.NetInfo.ApiInfo - 90, // 85: protocol.MetricsInfo.NetInfo.tcpInTraffic:type_name -> protocol.MetricsInfo.RateInfo - 90, // 86: protocol.MetricsInfo.NetInfo.tcpOutTraffic:type_name -> protocol.MetricsInfo.RateInfo - 95, // 87: protocol.MetricsInfo.NetInfo.disconnectionDetail:type_name -> protocol.MetricsInfo.NetInfo.DisconnectionDetailInfo - 90, // 88: protocol.MetricsInfo.NetInfo.udpInTraffic:type_name -> protocol.MetricsInfo.RateInfo - 90, // 89: protocol.MetricsInfo.NetInfo.udpOutTraffic:type_name -> protocol.MetricsInfo.RateInfo - 96, // 90: protocol.MetricsInfo.NetInfo.latency:type_name -> protocol.MetricsInfo.NetInfo.LatencyInfo - 90, // 91: protocol.MetricsInfo.NetInfo.ApiInfo.qps:type_name -> protocol.MetricsInfo.RateInfo - 90, // 92: protocol.MetricsInfo.NetInfo.ApiInfo.failQps:type_name -> protocol.MetricsInfo.RateInfo - 90, // 93: protocol.MetricsInfo.NetInfo.ApiInfo.outTraffic:type_name -> protocol.MetricsInfo.RateInfo - 97, // 94: protocol.MetricsInfo.NetInfo.ApiInfo.detail:type_name -> protocol.MetricsInfo.NetInfo.ApiInfo.ApiDetailInfo - 98, // 95: protocol.MetricsInfo.NetInfo.LatencyInfo.detail:type_name -> protocol.MetricsInfo.NetInfo.LatencyInfo.LatencyDetailInfo - 90, // 96: protocol.MetricsInfo.NetInfo.ApiInfo.ApiDetailInfo.qps:type_name -> protocol.MetricsInfo.RateInfo - 90, // 97: protocol.MetricsInfo.NetInfo.ApiInfo.ApiDetailInfo.failQps:type_name -> protocol.MetricsInfo.RateInfo - 90, // 98: protocol.MetricsInfo.NetInfo.ApiInfo.ApiDetailInfo.outTraffic:type_name -> protocol.MetricsInfo.RateInfo - 12, // 99: protocol.PBFTMessage.Raw.msg_type:type_name -> protocol.PBFTMessage.MsgType - 13, // 100: protocol.PBFTMessage.Raw.data_type:type_name -> protocol.PBFTMessage.DataType - 101, // [101:101] is the sub-list for method output_type - 101, // [101:101] is the sub-list for method input_type - 101, // [101:101] is the sub-list for extension type_name - 101, // [101:101] is the sub-list for extension extendee - 0, // [0:101] is the sub-list for field type_name + 75, // 75: protocol.Transaction.Result.cancel_unfreezeV2_amount:type_name -> protocol.Transaction.Result.CancelUnfreezeV2AmountEntry + 30, // 76: protocol.Transaction.raw.auths:type_name -> protocol.authority + 72, // 77: protocol.Transaction.raw.contract:type_name -> protocol.Transaction.Contract + 87, // 78: protocol.NodeInfo.MachineInfo.memoryDescInfoList:type_name -> protocol.NodeInfo.MachineInfo.MemoryDescInfo + 88, // 79: protocol.NodeInfo.MachineInfo.deadLockThreadInfoList:type_name -> protocol.NodeInfo.MachineInfo.DeadLockThreadInfo + 91, // 80: protocol.MetricsInfo.BlockChainInfo.blockProcessTime:type_name -> protocol.MetricsInfo.RateInfo + 91, // 81: protocol.MetricsInfo.BlockChainInfo.tps:type_name -> protocol.MetricsInfo.RateInfo + 91, // 82: protocol.MetricsInfo.BlockChainInfo.missedTransaction:type_name -> protocol.MetricsInfo.RateInfo + 93, // 83: protocol.MetricsInfo.BlockChainInfo.witnesses:type_name -> protocol.MetricsInfo.BlockChainInfo.Witness + 94, // 84: protocol.MetricsInfo.BlockChainInfo.dupWitness:type_name -> protocol.MetricsInfo.BlockChainInfo.DupWitness + 95, // 85: protocol.MetricsInfo.NetInfo.api:type_name -> protocol.MetricsInfo.NetInfo.ApiInfo + 91, // 86: protocol.MetricsInfo.NetInfo.tcpInTraffic:type_name -> protocol.MetricsInfo.RateInfo + 91, // 87: protocol.MetricsInfo.NetInfo.tcpOutTraffic:type_name -> protocol.MetricsInfo.RateInfo + 96, // 88: protocol.MetricsInfo.NetInfo.disconnectionDetail:type_name -> protocol.MetricsInfo.NetInfo.DisconnectionDetailInfo + 91, // 89: protocol.MetricsInfo.NetInfo.udpInTraffic:type_name -> protocol.MetricsInfo.RateInfo + 91, // 90: protocol.MetricsInfo.NetInfo.udpOutTraffic:type_name -> protocol.MetricsInfo.RateInfo + 97, // 91: protocol.MetricsInfo.NetInfo.latency:type_name -> protocol.MetricsInfo.NetInfo.LatencyInfo + 91, // 92: protocol.MetricsInfo.NetInfo.ApiInfo.qps:type_name -> protocol.MetricsInfo.RateInfo + 91, // 93: protocol.MetricsInfo.NetInfo.ApiInfo.failQps:type_name -> protocol.MetricsInfo.RateInfo + 91, // 94: protocol.MetricsInfo.NetInfo.ApiInfo.outTraffic:type_name -> protocol.MetricsInfo.RateInfo + 98, // 95: protocol.MetricsInfo.NetInfo.ApiInfo.detail:type_name -> protocol.MetricsInfo.NetInfo.ApiInfo.ApiDetailInfo + 99, // 96: protocol.MetricsInfo.NetInfo.LatencyInfo.detail:type_name -> protocol.MetricsInfo.NetInfo.LatencyInfo.LatencyDetailInfo + 91, // 97: protocol.MetricsInfo.NetInfo.ApiInfo.ApiDetailInfo.qps:type_name -> protocol.MetricsInfo.RateInfo + 91, // 98: protocol.MetricsInfo.NetInfo.ApiInfo.ApiDetailInfo.failQps:type_name -> protocol.MetricsInfo.RateInfo + 91, // 99: protocol.MetricsInfo.NetInfo.ApiInfo.ApiDetailInfo.outTraffic:type_name -> protocol.MetricsInfo.RateInfo + 12, // 100: protocol.PBFTMessage.Raw.msg_type:type_name -> protocol.PBFTMessage.MsgType + 13, // 101: protocol.PBFTMessage.Raw.data_type:type_name -> protocol.PBFTMessage.DataType + 102, // [102:102] is the sub-list for method output_type + 102, // [102:102] is the sub-list for method input_type + 102, // [102:102] is the sub-list for extension type_name + 102, // [102:102] is the sub-list for extension extendee + 0, // [0:102] is the sub-list for field type_name } func init() { file_core_Tron_proto_init() } @@ -9133,7 +9145,7 @@ func file_core_Tron_proto_init() { return } file_core_Discover_proto_init() - file_core_common_proto_init() + file_core_contract_common_proto_init() if !protoimpl.UnsafeEnabled { file_core_Tron_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AccountId); i { @@ -9484,18 +9496,6 @@ func file_core_Tron_proto_init() { } } file_core_Tron_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionSign); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BlockHeader); i { case 0: return &v.state @@ -9507,7 +9507,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Block); i { case 0: return &v.state @@ -9519,7 +9519,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ChainInventory); i { case 0: return &v.state @@ -9531,7 +9531,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BlockInventory); i { case 0: return &v.state @@ -9543,7 +9543,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Inventory); i { case 0: return &v.state @@ -9555,7 +9555,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Items); i { case 0: return &v.state @@ -9567,7 +9567,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DynamicProperties); i { case 0: return &v.state @@ -9579,7 +9579,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DisconnectMessage); i { case 0: return &v.state @@ -9591,7 +9591,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*HelloMessage); i { case 0: return &v.state @@ -9603,7 +9603,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*InternalTransaction); i { case 0: return &v.state @@ -9615,7 +9615,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DelegatedResourceAccountIndex); i { case 0: return &v.state @@ -9627,7 +9627,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NodeInfo); i { case 0: return &v.state @@ -9639,7 +9639,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MetricsInfo); i { case 0: return &v.state @@ -9651,7 +9651,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PBFTMessage); i { case 0: return &v.state @@ -9663,7 +9663,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PBFTCommitResult); i { case 0: return &v.state @@ -9675,7 +9675,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SRL); i { case 0: return &v.state @@ -9687,7 +9687,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ChainParameters_ChainParameter); i { case 0: return &v.state @@ -9699,7 +9699,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Account_Frozen); i { case 0: return &v.state @@ -9711,7 +9711,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Account_AccountResource); i { case 0: return &v.state @@ -9723,7 +9723,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Account_FreezeV2); i { case 0: return &v.state @@ -9735,7 +9735,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Account_UnFreezeV2); i { case 0: return &v.state @@ -9747,7 +9747,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TXInputRaw); i { case 0: return &v.state @@ -9759,7 +9759,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Transaction_Contract); i { case 0: return &v.state @@ -9771,7 +9771,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Transaction_Result); i { case 0: return &v.state @@ -9783,7 +9783,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TransactionRaw); i { case 0: return &v.state @@ -9807,7 +9807,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BlockHeaderRaw); i { case 0: return &v.state @@ -9819,7 +9819,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ChainInventory_BlockId); i { case 0: return &v.state @@ -9831,7 +9831,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BlockInventory_BlockId); i { case 0: return &v.state @@ -9843,7 +9843,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*HelloMessage_BlockId); i { case 0: return &v.state @@ -9855,7 +9855,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*InternalTransaction_CallValueInfo); i { case 0: return &v.state @@ -9867,7 +9867,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NodeInfo_PeerInfo); i { case 0: return &v.state @@ -9879,7 +9879,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NodeInfo_ConfigNodeInfo); i { case 0: return &v.state @@ -9891,7 +9891,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NodeInfo_MachineInfo); i { case 0: return &v.state @@ -9903,7 +9903,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NodeInfo_MachineInfo_MemoryDescInfo); i { case 0: return &v.state @@ -9915,7 +9915,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*NodeInfo_MachineInfo_DeadLockThreadInfo); i { case 0: return &v.state @@ -9927,7 +9927,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MetricsInfo_NodeInfo); i { case 0: return &v.state @@ -9939,7 +9939,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MetricsInfo_BlockChainInfo); i { case 0: return &v.state @@ -9951,7 +9951,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MetricsInfo_RateInfo); i { case 0: return &v.state @@ -9963,7 +9963,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MetricsInfo_NetInfo); i { case 0: return &v.state @@ -9975,7 +9975,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MetricsInfo_BlockChainInfo_Witness); i { case 0: return &v.state @@ -9987,7 +9987,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MetricsInfo_BlockChainInfo_DupWitness); i { case 0: return &v.state @@ -9999,7 +9999,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MetricsInfo_NetInfo_ApiInfo); i { case 0: return &v.state @@ -10011,7 +10011,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MetricsInfo_NetInfo_DisconnectionDetailInfo); i { case 0: return &v.state @@ -10023,7 +10023,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MetricsInfo_NetInfo_LatencyInfo); i { case 0: return &v.state @@ -10035,7 +10035,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo); i { case 0: return &v.state @@ -10047,7 +10047,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo); i { case 0: return &v.state @@ -10059,7 +10059,7 @@ func file_core_Tron_proto_init() { return nil } } - file_core_Tron_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { + file_core_Tron_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PBFTMessage_Raw); i { case 0: return &v.state @@ -10078,7 +10078,7 @@ func file_core_Tron_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_core_Tron_proto_rawDesc, NumEnums: 14, - NumMessages: 86, + NumMessages: 87, NumExtensions: 0, NumServices: 0, }, diff --git a/pkg/proto/core/TronInventoryItems.pb.go b/pkg/proto/core/TronInventoryItems.pb.go index d60a72324..dc8da6caa 100644 --- a/pkg/proto/core/TronInventoryItems.pb.go +++ b/pkg/proto/core/TronInventoryItems.pb.go @@ -84,13 +84,12 @@ var file_core_TronInventoryItems_proto_rawDesc = []byte{ 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x05, - 0x69, 0x74, 0x65, 0x6d, 0x73, 0x42, 0x56, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, + 0x69, 0x74, 0x65, 0x6d, 0x73, 0x42, 0x50, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x42, 0x12, 0x54, 0x72, 0x6f, 0x6e, 0x49, 0x6e, - 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x5a, 0x2f, 0x67, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, 0x72, 0x65, - 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x70, - 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x5a, 0x29, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, + 0x61, 0x79, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/pkg/proto/core/account_contract.pb.go b/pkg/proto/core/account_contract.pb.go index 17c435882..fd220e573 100644 --- a/pkg/proto/core/account_contract.pb.go +++ b/pkg/proto/core/account_contract.pb.go @@ -47,7 +47,7 @@ type AccountCreateContract struct { func (x *AccountCreateContract) Reset() { *x = AccountCreateContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_account_contract_proto_msgTypes[0] + mi := &file_core_contract_account_contract_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -60,7 +60,7 @@ func (x *AccountCreateContract) String() string { func (*AccountCreateContract) ProtoMessage() {} func (x *AccountCreateContract) ProtoReflect() protoreflect.Message { - mi := &file_core_account_contract_proto_msgTypes[0] + mi := &file_core_contract_account_contract_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -73,7 +73,7 @@ func (x *AccountCreateContract) ProtoReflect() protoreflect.Message { // Deprecated: Use AccountCreateContract.ProtoReflect.Descriptor instead. func (*AccountCreateContract) Descriptor() ([]byte, []int) { - return file_core_account_contract_proto_rawDescGZIP(), []int{0} + return file_core_contract_account_contract_proto_rawDescGZIP(), []int{0} } func (x *AccountCreateContract) GetOwnerAddress() []byte { @@ -110,7 +110,7 @@ type AccountUpdateContract struct { func (x *AccountUpdateContract) Reset() { *x = AccountUpdateContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_account_contract_proto_msgTypes[1] + mi := &file_core_contract_account_contract_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -123,7 +123,7 @@ func (x *AccountUpdateContract) String() string { func (*AccountUpdateContract) ProtoMessage() {} func (x *AccountUpdateContract) ProtoReflect() protoreflect.Message { - mi := &file_core_account_contract_proto_msgTypes[1] + mi := &file_core_contract_account_contract_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -136,7 +136,7 @@ func (x *AccountUpdateContract) ProtoReflect() protoreflect.Message { // Deprecated: Use AccountUpdateContract.ProtoReflect.Descriptor instead. func (*AccountUpdateContract) Descriptor() ([]byte, []int) { - return file_core_account_contract_proto_rawDescGZIP(), []int{1} + return file_core_contract_account_contract_proto_rawDescGZIP(), []int{1} } func (x *AccountUpdateContract) GetAccountName() []byte { @@ -166,7 +166,7 @@ type SetAccountIdContract struct { func (x *SetAccountIdContract) Reset() { *x = SetAccountIdContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_account_contract_proto_msgTypes[2] + mi := &file_core_contract_account_contract_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -179,7 +179,7 @@ func (x *SetAccountIdContract) String() string { func (*SetAccountIdContract) ProtoMessage() {} func (x *SetAccountIdContract) ProtoReflect() protoreflect.Message { - mi := &file_core_account_contract_proto_msgTypes[2] + mi := &file_core_contract_account_contract_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -192,7 +192,7 @@ func (x *SetAccountIdContract) ProtoReflect() protoreflect.Message { // Deprecated: Use SetAccountIdContract.ProtoReflect.Descriptor instead. func (*SetAccountIdContract) Descriptor() ([]byte, []int) { - return file_core_account_contract_proto_rawDescGZIP(), []int{2} + return file_core_contract_account_contract_proto_rawDescGZIP(), []int{2} } func (x *SetAccountIdContract) GetAccountId() []byte { @@ -223,7 +223,7 @@ type AccountPermissionUpdateContract struct { func (x *AccountPermissionUpdateContract) Reset() { *x = AccountPermissionUpdateContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_account_contract_proto_msgTypes[3] + mi := &file_core_contract_account_contract_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -236,7 +236,7 @@ func (x *AccountPermissionUpdateContract) String() string { func (*AccountPermissionUpdateContract) ProtoMessage() {} func (x *AccountPermissionUpdateContract) ProtoReflect() protoreflect.Message { - mi := &file_core_account_contract_proto_msgTypes[3] + mi := &file_core_contract_account_contract_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -249,7 +249,7 @@ func (x *AccountPermissionUpdateContract) ProtoReflect() protoreflect.Message { // Deprecated: Use AccountPermissionUpdateContract.ProtoReflect.Descriptor instead. func (*AccountPermissionUpdateContract) Descriptor() ([]byte, []int) { - return file_core_account_contract_proto_rawDescGZIP(), []int{3} + return file_core_contract_account_contract_proto_rawDescGZIP(), []int{3} } func (x *AccountPermissionUpdateContract) GetOwnerAddress() []byte { @@ -280,69 +280,69 @@ func (x *AccountPermissionUpdateContract) GetActives() []*Permission { return nil } -var File_core_account_contract_proto protoreflect.FileDescriptor - -var file_core_account_contract_proto_rawDesc = []byte{ - 0x0a, 0x1b, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x1a, 0x0f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x54, 0x72, - 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x90, 0x01, 0x0a, 0x15, 0x41, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x12, 0x29, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x5f, 0x0a, 0x15, 0x41, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x5a, 0x0a, 0x14, - 0x53, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xd2, 0x01, 0x0a, 0x1f, 0x41, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, +var File_core_contract_account_contract_proto protoreflect.FileDescriptor + +var file_core_contract_account_contract_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x1a, 0x0f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x54, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x90, 0x01, 0x0a, 0x15, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x22, 0x5f, 0x0a, 0x15, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x21, 0x0a, + 0x0c, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x5a, 0x0a, 0x14, 0x53, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x49, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x1d, 0x0a, + 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x2a, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, - 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x2e, 0x0a, - 0x07, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x2e, 0x0a, - 0x07, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x73, 0x42, 0x4b, 0x0a, - 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, - 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, 0x72, 0x65, 0x69, 0x72, 0x61, - 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x6b, 0x67, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x73, 0x22, 0xd2, 0x01, 0x0a, 0x1f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x65, 0x72, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2a, 0x0a, 0x05, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, + 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x2e, 0x0a, 0x07, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, + 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x77, + 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x2e, 0x0a, 0x07, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x61, + 0x63, 0x74, 0x69, 0x76, 0x65, 0x73, 0x42, 0x45, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, + 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, + 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, + 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_core_account_contract_proto_rawDescOnce sync.Once - file_core_account_contract_proto_rawDescData = file_core_account_contract_proto_rawDesc + file_core_contract_account_contract_proto_rawDescOnce sync.Once + file_core_contract_account_contract_proto_rawDescData = file_core_contract_account_contract_proto_rawDesc ) -func file_core_account_contract_proto_rawDescGZIP() []byte { - file_core_account_contract_proto_rawDescOnce.Do(func() { - file_core_account_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_account_contract_proto_rawDescData) +func file_core_contract_account_contract_proto_rawDescGZIP() []byte { + file_core_contract_account_contract_proto_rawDescOnce.Do(func() { + file_core_contract_account_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_account_contract_proto_rawDescData) }) - return file_core_account_contract_proto_rawDescData + return file_core_contract_account_contract_proto_rawDescData } -var file_core_account_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_core_account_contract_proto_goTypes = []interface{}{ +var file_core_contract_account_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_core_contract_account_contract_proto_goTypes = []interface{}{ (*AccountCreateContract)(nil), // 0: protocol.AccountCreateContract (*AccountUpdateContract)(nil), // 1: protocol.AccountUpdateContract (*SetAccountIdContract)(nil), // 2: protocol.SetAccountIdContract @@ -350,7 +350,7 @@ var file_core_account_contract_proto_goTypes = []interface{}{ (AccountType)(0), // 4: protocol.AccountType (*Permission)(nil), // 5: protocol.Permission } -var file_core_account_contract_proto_depIdxs = []int32{ +var file_core_contract_account_contract_proto_depIdxs = []int32{ 4, // 0: protocol.AccountCreateContract.type:type_name -> protocol.AccountType 5, // 1: protocol.AccountPermissionUpdateContract.owner:type_name -> protocol.Permission 5, // 2: protocol.AccountPermissionUpdateContract.witness:type_name -> protocol.Permission @@ -362,14 +362,14 @@ var file_core_account_contract_proto_depIdxs = []int32{ 0, // [0:4] is the sub-list for field type_name } -func init() { file_core_account_contract_proto_init() } -func file_core_account_contract_proto_init() { - if File_core_account_contract_proto != nil { +func init() { file_core_contract_account_contract_proto_init() } +func file_core_contract_account_contract_proto_init() { + if File_core_contract_account_contract_proto != nil { return } file_core_Tron_proto_init() if !protoimpl.UnsafeEnabled { - file_core_account_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_account_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AccountCreateContract); i { case 0: return &v.state @@ -381,7 +381,7 @@ func file_core_account_contract_proto_init() { return nil } } - file_core_account_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_account_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AccountUpdateContract); i { case 0: return &v.state @@ -393,7 +393,7 @@ func file_core_account_contract_proto_init() { return nil } } - file_core_account_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_account_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SetAccountIdContract); i { case 0: return &v.state @@ -405,7 +405,7 @@ func file_core_account_contract_proto_init() { return nil } } - file_core_account_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_account_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AccountPermissionUpdateContract); i { case 0: return &v.state @@ -422,18 +422,18 @@ func file_core_account_contract_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_core_account_contract_proto_rawDesc, + RawDescriptor: file_core_contract_account_contract_proto_rawDesc, NumEnums: 0, NumMessages: 4, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_core_account_contract_proto_goTypes, - DependencyIndexes: file_core_account_contract_proto_depIdxs, - MessageInfos: file_core_account_contract_proto_msgTypes, + GoTypes: file_core_contract_account_contract_proto_goTypes, + DependencyIndexes: file_core_contract_account_contract_proto_depIdxs, + MessageInfos: file_core_contract_account_contract_proto_msgTypes, }.Build() - File_core_account_contract_proto = out.File - file_core_account_contract_proto_rawDesc = nil - file_core_account_contract_proto_goTypes = nil - file_core_account_contract_proto_depIdxs = nil + File_core_contract_account_contract_proto = out.File + file_core_contract_account_contract_proto_rawDesc = nil + file_core_contract_account_contract_proto_goTypes = nil + file_core_contract_account_contract_proto_depIdxs = nil } diff --git a/pkg/proto/core/asset_issue_contract.pb.go b/pkg/proto/core/asset_issue_contract.pb.go index d35cb2e2c..ce4c492ea 100644 --- a/pkg/proto/core/asset_issue_contract.pb.go +++ b/pkg/proto/core/asset_issue_contract.pb.go @@ -49,7 +49,7 @@ type AssetIssueContract struct { func (x *AssetIssueContract) Reset() { *x = AssetIssueContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_asset_issue_contract_proto_msgTypes[0] + mi := &file_core_contract_asset_issue_contract_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -62,7 +62,7 @@ func (x *AssetIssueContract) String() string { func (*AssetIssueContract) ProtoMessage() {} func (x *AssetIssueContract) ProtoReflect() protoreflect.Message { - mi := &file_core_asset_issue_contract_proto_msgTypes[0] + mi := &file_core_contract_asset_issue_contract_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -75,7 +75,7 @@ func (x *AssetIssueContract) ProtoReflect() protoreflect.Message { // Deprecated: Use AssetIssueContract.ProtoReflect.Descriptor instead. func (*AssetIssueContract) Descriptor() ([]byte, []int) { - return file_core_asset_issue_contract_proto_rawDescGZIP(), []int{0} + return file_core_contract_asset_issue_contract_proto_rawDescGZIP(), []int{0} } func (x *AssetIssueContract) GetId() string { @@ -225,7 +225,7 @@ type TransferAssetContract struct { func (x *TransferAssetContract) Reset() { *x = TransferAssetContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_asset_issue_contract_proto_msgTypes[1] + mi := &file_core_contract_asset_issue_contract_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -238,7 +238,7 @@ func (x *TransferAssetContract) String() string { func (*TransferAssetContract) ProtoMessage() {} func (x *TransferAssetContract) ProtoReflect() protoreflect.Message { - mi := &file_core_asset_issue_contract_proto_msgTypes[1] + mi := &file_core_contract_asset_issue_contract_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -251,7 +251,7 @@ func (x *TransferAssetContract) ProtoReflect() protoreflect.Message { // Deprecated: Use TransferAssetContract.ProtoReflect.Descriptor instead. func (*TransferAssetContract) Descriptor() ([]byte, []int) { - return file_core_asset_issue_contract_proto_rawDescGZIP(), []int{1} + return file_core_contract_asset_issue_contract_proto_rawDescGZIP(), []int{1} } func (x *TransferAssetContract) GetAssetName() []byte { @@ -293,7 +293,7 @@ type UnfreezeAssetContract struct { func (x *UnfreezeAssetContract) Reset() { *x = UnfreezeAssetContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_asset_issue_contract_proto_msgTypes[2] + mi := &file_core_contract_asset_issue_contract_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -306,7 +306,7 @@ func (x *UnfreezeAssetContract) String() string { func (*UnfreezeAssetContract) ProtoMessage() {} func (x *UnfreezeAssetContract) ProtoReflect() protoreflect.Message { - mi := &file_core_asset_issue_contract_proto_msgTypes[2] + mi := &file_core_contract_asset_issue_contract_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -319,7 +319,7 @@ func (x *UnfreezeAssetContract) ProtoReflect() protoreflect.Message { // Deprecated: Use UnfreezeAssetContract.ProtoReflect.Descriptor instead. func (*UnfreezeAssetContract) Descriptor() ([]byte, []int) { - return file_core_asset_issue_contract_proto_rawDescGZIP(), []int{2} + return file_core_contract_asset_issue_contract_proto_rawDescGZIP(), []int{2} } func (x *UnfreezeAssetContract) GetOwnerAddress() []byte { @@ -344,7 +344,7 @@ type UpdateAssetContract struct { func (x *UpdateAssetContract) Reset() { *x = UpdateAssetContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_asset_issue_contract_proto_msgTypes[3] + mi := &file_core_contract_asset_issue_contract_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -357,7 +357,7 @@ func (x *UpdateAssetContract) String() string { func (*UpdateAssetContract) ProtoMessage() {} func (x *UpdateAssetContract) ProtoReflect() protoreflect.Message { - mi := &file_core_asset_issue_contract_proto_msgTypes[3] + mi := &file_core_contract_asset_issue_contract_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -370,7 +370,7 @@ func (x *UpdateAssetContract) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateAssetContract.ProtoReflect.Descriptor instead. func (*UpdateAssetContract) Descriptor() ([]byte, []int) { - return file_core_asset_issue_contract_proto_rawDescGZIP(), []int{3} + return file_core_contract_asset_issue_contract_proto_rawDescGZIP(), []int{3} } func (x *UpdateAssetContract) GetOwnerAddress() []byte { @@ -422,7 +422,7 @@ type ParticipateAssetIssueContract struct { func (x *ParticipateAssetIssueContract) Reset() { *x = ParticipateAssetIssueContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_asset_issue_contract_proto_msgTypes[4] + mi := &file_core_contract_asset_issue_contract_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -435,7 +435,7 @@ func (x *ParticipateAssetIssueContract) String() string { func (*ParticipateAssetIssueContract) ProtoMessage() {} func (x *ParticipateAssetIssueContract) ProtoReflect() protoreflect.Message { - mi := &file_core_asset_issue_contract_proto_msgTypes[4] + mi := &file_core_contract_asset_issue_contract_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -448,7 +448,7 @@ func (x *ParticipateAssetIssueContract) ProtoReflect() protoreflect.Message { // Deprecated: Use ParticipateAssetIssueContract.ProtoReflect.Descriptor instead. func (*ParticipateAssetIssueContract) Descriptor() ([]byte, []int) { - return file_core_asset_issue_contract_proto_rawDescGZIP(), []int{4} + return file_core_contract_asset_issue_contract_proto_rawDescGZIP(), []int{4} } func (x *ParticipateAssetIssueContract) GetOwnerAddress() []byte { @@ -491,7 +491,7 @@ type AssetIssueContract_FrozenSupply struct { func (x *AssetIssueContract_FrozenSupply) Reset() { *x = AssetIssueContract_FrozenSupply{} if protoimpl.UnsafeEnabled { - mi := &file_core_asset_issue_contract_proto_msgTypes[5] + mi := &file_core_contract_asset_issue_contract_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -504,7 +504,7 @@ func (x *AssetIssueContract_FrozenSupply) String() string { func (*AssetIssueContract_FrozenSupply) ProtoMessage() {} func (x *AssetIssueContract_FrozenSupply) ProtoReflect() protoreflect.Message { - mi := &file_core_asset_issue_contract_proto_msgTypes[5] + mi := &file_core_contract_asset_issue_contract_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -517,7 +517,7 @@ func (x *AssetIssueContract_FrozenSupply) ProtoReflect() protoreflect.Message { // Deprecated: Use AssetIssueContract_FrozenSupply.ProtoReflect.Descriptor instead. func (*AssetIssueContract_FrozenSupply) Descriptor() ([]byte, []int) { - return file_core_asset_issue_contract_proto_rawDescGZIP(), []int{0, 0} + return file_core_contract_asset_issue_contract_proto_rawDescGZIP(), []int{0, 0} } func (x *AssetIssueContract_FrozenSupply) GetFrozenAmount() int64 { @@ -534,117 +534,117 @@ func (x *AssetIssueContract_FrozenSupply) GetFrozenDays() int64 { return 0 } -var File_core_asset_issue_contract_proto protoreflect.FileDescriptor - -var file_core_asset_issue_contract_proto_rawDesc = []byte{ - 0x0a, 0x1f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x73, 0x73, - 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0x91, 0x06, 0x0a, 0x12, - 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x29, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x61, - 0x62, 0x62, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x61, 0x62, 0x62, 0x72, 0x12, - 0x21, 0x0a, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x75, 0x70, 0x70, - 0x6c, 0x79, 0x12, 0x4e, 0x0a, 0x0d, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x73, 0x75, 0x70, - 0x70, 0x6c, 0x79, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x53, 0x75, - 0x70, 0x70, 0x6c, 0x79, 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x53, 0x75, 0x70, 0x70, - 0x6c, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x72, 0x78, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x72, 0x78, 0x4e, 0x75, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x70, - 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, - 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x75, 0x6d, - 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 0x73, - 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, - 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x6e, - 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x0b, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x76, - 0x6f, 0x74, 0x65, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x09, 0x76, 0x6f, 0x74, 0x65, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, - 0x75, 0x72, 0x6c, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x2f, - 0x0a, 0x14, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x65, 0x74, - 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x66, 0x72, - 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, - 0x3c, 0x0a, 0x1b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x61, - 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x65, 0x74, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x17, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x46, 0x72, 0x65, 0x65, - 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x3c, 0x0a, - 0x1b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x61, 0x73, 0x73, - 0x65, 0x74, 0x5f, 0x6e, 0x65, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x18, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x17, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x46, 0x72, 0x65, 0x65, 0x41, 0x73, - 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x3c, 0x0a, 0x1b, 0x70, - 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x66, 0x72, 0x65, - 0x65, 0x5f, 0x6e, 0x65, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x19, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x17, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x46, 0x72, - 0x65, 0x65, 0x4e, 0x65, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x1a, 0x54, 0x0a, 0x0c, 0x46, 0x72, 0x6f, - 0x7a, 0x65, 0x6e, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x72, 0x6f, - 0x7a, 0x65, 0x6e, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, - 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x64, 0x61, 0x79, 0x73, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0a, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x44, 0x61, 0x79, 0x73, 0x22, - 0x92, 0x01, 0x0a, 0x15, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, - 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x73, 0x73, - 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x61, - 0x73, 0x73, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, - 0x0a, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, - 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x61, 0x6d, - 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x3c, 0x0a, 0x15, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, - 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, - 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x22, 0xb5, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, - 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, - 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, - 0x75, 0x72, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x65, 0x77, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x4c, 0x69, 0x6d, 0x69, 0x74, - 0x12, 0x28, 0x0a, 0x10, 0x6e, 0x65, 0x77, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6c, - 0x69, 0x6d, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x6e, 0x65, 0x77, 0x50, - 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x9a, 0x01, 0x0a, 0x1d, 0x50, - 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, - 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x4b, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, - 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, - 0x66, 0x62, 0x73, 0x6f, 0x62, 0x72, 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, - 0x6e, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, - 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +var File_core_contract_asset_issue_contract_proto protoreflect.FileDescriptor + +var file_core_contract_asset_issue_contract_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, + 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0x91, 0x06, 0x0a, 0x12, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, + 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x29, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x62, 0x62, 0x72, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x04, 0x61, 0x62, 0x62, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x6f, 0x74, 0x61, + 0x6c, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, + 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x4e, 0x0a, 0x0d, 0x66, + 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x18, 0x05, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, + 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x2e, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x0c, 0x66, + 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x74, + 0x72, 0x78, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x72, + 0x78, 0x4e, 0x75, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, + 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, + 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x75, 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x03, 0x6e, 0x75, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, + 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, + 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6f, + 0x72, 0x64, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x73, 0x63, 0x6f, + 0x72, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x76, 0x6f, 0x74, 0x65, 0x53, 0x63, + 0x6f, 0x72, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x15, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x2f, 0x0a, 0x14, 0x66, 0x72, 0x65, 0x65, 0x5f, + 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x65, 0x74, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, + 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x66, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, + 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x3c, 0x0a, 0x1b, 0x70, 0x75, 0x62, 0x6c, + 0x69, 0x63, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x65, + 0x74, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x17, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x70, + 0x75, 0x62, 0x6c, 0x69, 0x63, 0x46, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, + 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x3c, 0x0a, 0x1b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, + 0x5f, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x65, 0x74, 0x5f, + 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x70, 0x75, 0x62, + 0x6c, 0x69, 0x63, 0x46, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, + 0x73, 0x61, 0x67, 0x65, 0x12, 0x3c, 0x0a, 0x1b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6c, + 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x6e, 0x65, 0x74, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x18, 0x19, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x70, 0x75, 0x62, 0x6c, 0x69, + 0x63, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x46, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x54, 0x69, + 0x6d, 0x65, 0x1a, 0x54, 0x0a, 0x0c, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x53, 0x75, 0x70, 0x70, + 0x6c, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x61, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x7a, 0x65, + 0x6e, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x7a, 0x65, + 0x6e, 0x5f, 0x64, 0x61, 0x79, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x66, 0x72, + 0x6f, 0x7a, 0x65, 0x6e, 0x44, 0x61, 0x79, 0x73, 0x22, 0x92, 0x01, 0x0a, 0x15, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x6f, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x3c, 0x0a, + 0x15, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xb5, 0x01, 0x0a, 0x13, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, + 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x64, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, + 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1b, 0x0a, 0x09, + 0x6e, 0x65, 0x77, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x08, 0x6e, 0x65, 0x77, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x6e, 0x65, 0x77, + 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0e, 0x6e, 0x65, 0x77, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4c, 0x69, + 0x6d, 0x69, 0x74, 0x22, 0x9a, 0x01, 0x0a, 0x1d, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, + 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, + 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, + 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x73, 0x73, + 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x61, + 0x73, 0x73, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x42, 0x45, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x29, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, + 0x61, 0x79, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_core_asset_issue_contract_proto_rawDescOnce sync.Once - file_core_asset_issue_contract_proto_rawDescData = file_core_asset_issue_contract_proto_rawDesc + file_core_contract_asset_issue_contract_proto_rawDescOnce sync.Once + file_core_contract_asset_issue_contract_proto_rawDescData = file_core_contract_asset_issue_contract_proto_rawDesc ) -func file_core_asset_issue_contract_proto_rawDescGZIP() []byte { - file_core_asset_issue_contract_proto_rawDescOnce.Do(func() { - file_core_asset_issue_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_asset_issue_contract_proto_rawDescData) +func file_core_contract_asset_issue_contract_proto_rawDescGZIP() []byte { + file_core_contract_asset_issue_contract_proto_rawDescOnce.Do(func() { + file_core_contract_asset_issue_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_asset_issue_contract_proto_rawDescData) }) - return file_core_asset_issue_contract_proto_rawDescData + return file_core_contract_asset_issue_contract_proto_rawDescData } -var file_core_asset_issue_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_core_asset_issue_contract_proto_goTypes = []interface{}{ +var file_core_contract_asset_issue_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_core_contract_asset_issue_contract_proto_goTypes = []interface{}{ (*AssetIssueContract)(nil), // 0: protocol.AssetIssueContract (*TransferAssetContract)(nil), // 1: protocol.TransferAssetContract (*UnfreezeAssetContract)(nil), // 2: protocol.UnfreezeAssetContract @@ -652,7 +652,7 @@ var file_core_asset_issue_contract_proto_goTypes = []interface{}{ (*ParticipateAssetIssueContract)(nil), // 4: protocol.ParticipateAssetIssueContract (*AssetIssueContract_FrozenSupply)(nil), // 5: protocol.AssetIssueContract.FrozenSupply } -var file_core_asset_issue_contract_proto_depIdxs = []int32{ +var file_core_contract_asset_issue_contract_proto_depIdxs = []int32{ 5, // 0: protocol.AssetIssueContract.frozen_supply:type_name -> protocol.AssetIssueContract.FrozenSupply 1, // [1:1] is the sub-list for method output_type 1, // [1:1] is the sub-list for method input_type @@ -661,13 +661,13 @@ var file_core_asset_issue_contract_proto_depIdxs = []int32{ 0, // [0:1] is the sub-list for field type_name } -func init() { file_core_asset_issue_contract_proto_init() } -func file_core_asset_issue_contract_proto_init() { - if File_core_asset_issue_contract_proto != nil { +func init() { file_core_contract_asset_issue_contract_proto_init() } +func file_core_contract_asset_issue_contract_proto_init() { + if File_core_contract_asset_issue_contract_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_core_asset_issue_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_asset_issue_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AssetIssueContract); i { case 0: return &v.state @@ -679,7 +679,7 @@ func file_core_asset_issue_contract_proto_init() { return nil } } - file_core_asset_issue_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_asset_issue_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TransferAssetContract); i { case 0: return &v.state @@ -691,7 +691,7 @@ func file_core_asset_issue_contract_proto_init() { return nil } } - file_core_asset_issue_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_asset_issue_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UnfreezeAssetContract); i { case 0: return &v.state @@ -703,7 +703,7 @@ func file_core_asset_issue_contract_proto_init() { return nil } } - file_core_asset_issue_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_asset_issue_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateAssetContract); i { case 0: return &v.state @@ -715,7 +715,7 @@ func file_core_asset_issue_contract_proto_init() { return nil } } - file_core_asset_issue_contract_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_asset_issue_contract_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ParticipateAssetIssueContract); i { case 0: return &v.state @@ -727,7 +727,7 @@ func file_core_asset_issue_contract_proto_init() { return nil } } - file_core_asset_issue_contract_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_asset_issue_contract_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AssetIssueContract_FrozenSupply); i { case 0: return &v.state @@ -744,18 +744,18 @@ func file_core_asset_issue_contract_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_core_asset_issue_contract_proto_rawDesc, + RawDescriptor: file_core_contract_asset_issue_contract_proto_rawDesc, NumEnums: 0, NumMessages: 6, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_core_asset_issue_contract_proto_goTypes, - DependencyIndexes: file_core_asset_issue_contract_proto_depIdxs, - MessageInfos: file_core_asset_issue_contract_proto_msgTypes, + GoTypes: file_core_contract_asset_issue_contract_proto_goTypes, + DependencyIndexes: file_core_contract_asset_issue_contract_proto_depIdxs, + MessageInfos: file_core_contract_asset_issue_contract_proto_msgTypes, }.Build() - File_core_asset_issue_contract_proto = out.File - file_core_asset_issue_contract_proto_rawDesc = nil - file_core_asset_issue_contract_proto_goTypes = nil - file_core_asset_issue_contract_proto_depIdxs = nil + File_core_contract_asset_issue_contract_proto = out.File + file_core_contract_asset_issue_contract_proto_rawDesc = nil + file_core_contract_asset_issue_contract_proto_goTypes = nil + file_core_contract_asset_issue_contract_proto_depIdxs = nil } diff --git a/pkg/proto/core/balance_contract.pb.go b/pkg/proto/core/balance_contract.pb.go index 91bfda3fe..8f825f703 100644 --- a/pkg/proto/core/balance_contract.pb.go +++ b/pkg/proto/core/balance_contract.pb.go @@ -35,7 +35,7 @@ type FreezeBalanceContract struct { func (x *FreezeBalanceContract) Reset() { *x = FreezeBalanceContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_balance_contract_proto_msgTypes[0] + mi := &file_core_contract_balance_contract_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -48,7 +48,7 @@ func (x *FreezeBalanceContract) String() string { func (*FreezeBalanceContract) ProtoMessage() {} func (x *FreezeBalanceContract) ProtoReflect() protoreflect.Message { - mi := &file_core_balance_contract_proto_msgTypes[0] + mi := &file_core_contract_balance_contract_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -61,7 +61,7 @@ func (x *FreezeBalanceContract) ProtoReflect() protoreflect.Message { // Deprecated: Use FreezeBalanceContract.ProtoReflect.Descriptor instead. func (*FreezeBalanceContract) Descriptor() ([]byte, []int) { - return file_core_balance_contract_proto_rawDescGZIP(), []int{0} + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{0} } func (x *FreezeBalanceContract) GetOwnerAddress() []byte { @@ -112,7 +112,7 @@ type UnfreezeBalanceContract struct { func (x *UnfreezeBalanceContract) Reset() { *x = UnfreezeBalanceContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_balance_contract_proto_msgTypes[1] + mi := &file_core_contract_balance_contract_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -125,7 +125,7 @@ func (x *UnfreezeBalanceContract) String() string { func (*UnfreezeBalanceContract) ProtoMessage() {} func (x *UnfreezeBalanceContract) ProtoReflect() protoreflect.Message { - mi := &file_core_balance_contract_proto_msgTypes[1] + mi := &file_core_contract_balance_contract_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -138,7 +138,7 @@ func (x *UnfreezeBalanceContract) ProtoReflect() protoreflect.Message { // Deprecated: Use UnfreezeBalanceContract.ProtoReflect.Descriptor instead. func (*UnfreezeBalanceContract) Descriptor() ([]byte, []int) { - return file_core_balance_contract_proto_rawDescGZIP(), []int{1} + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{1} } func (x *UnfreezeBalanceContract) GetOwnerAddress() []byte { @@ -173,7 +173,7 @@ type WithdrawBalanceContract struct { func (x *WithdrawBalanceContract) Reset() { *x = WithdrawBalanceContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_balance_contract_proto_msgTypes[2] + mi := &file_core_contract_balance_contract_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -186,7 +186,7 @@ func (x *WithdrawBalanceContract) String() string { func (*WithdrawBalanceContract) ProtoMessage() {} func (x *WithdrawBalanceContract) ProtoReflect() protoreflect.Message { - mi := &file_core_balance_contract_proto_msgTypes[2] + mi := &file_core_contract_balance_contract_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -199,7 +199,7 @@ func (x *WithdrawBalanceContract) ProtoReflect() protoreflect.Message { // Deprecated: Use WithdrawBalanceContract.ProtoReflect.Descriptor instead. func (*WithdrawBalanceContract) Descriptor() ([]byte, []int) { - return file_core_balance_contract_proto_rawDescGZIP(), []int{2} + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{2} } func (x *WithdrawBalanceContract) GetOwnerAddress() []byte { @@ -222,7 +222,7 @@ type TransferContract struct { func (x *TransferContract) Reset() { *x = TransferContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_balance_contract_proto_msgTypes[3] + mi := &file_core_contract_balance_contract_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -235,7 +235,7 @@ func (x *TransferContract) String() string { func (*TransferContract) ProtoMessage() {} func (x *TransferContract) ProtoReflect() protoreflect.Message { - mi := &file_core_balance_contract_proto_msgTypes[3] + mi := &file_core_contract_balance_contract_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -248,7 +248,7 @@ func (x *TransferContract) ProtoReflect() protoreflect.Message { // Deprecated: Use TransferContract.ProtoReflect.Descriptor instead. func (*TransferContract) Descriptor() ([]byte, []int) { - return file_core_balance_contract_proto_rawDescGZIP(), []int{3} + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{3} } func (x *TransferContract) GetOwnerAddress() []byte { @@ -286,7 +286,7 @@ type TransactionBalanceTrace struct { func (x *TransactionBalanceTrace) Reset() { *x = TransactionBalanceTrace{} if protoimpl.UnsafeEnabled { - mi := &file_core_balance_contract_proto_msgTypes[4] + mi := &file_core_contract_balance_contract_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -299,7 +299,7 @@ func (x *TransactionBalanceTrace) String() string { func (*TransactionBalanceTrace) ProtoMessage() {} func (x *TransactionBalanceTrace) ProtoReflect() protoreflect.Message { - mi := &file_core_balance_contract_proto_msgTypes[4] + mi := &file_core_contract_balance_contract_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -312,7 +312,7 @@ func (x *TransactionBalanceTrace) ProtoReflect() protoreflect.Message { // Deprecated: Use TransactionBalanceTrace.ProtoReflect.Descriptor instead. func (*TransactionBalanceTrace) Descriptor() ([]byte, []int) { - return file_core_balance_contract_proto_rawDescGZIP(), []int{4} + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{4} } func (x *TransactionBalanceTrace) GetTransactionIdentifier() []byte { @@ -356,7 +356,7 @@ type BlockBalanceTrace struct { func (x *BlockBalanceTrace) Reset() { *x = BlockBalanceTrace{} if protoimpl.UnsafeEnabled { - mi := &file_core_balance_contract_proto_msgTypes[5] + mi := &file_core_contract_balance_contract_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -369,7 +369,7 @@ func (x *BlockBalanceTrace) String() string { func (*BlockBalanceTrace) ProtoMessage() {} func (x *BlockBalanceTrace) ProtoReflect() protoreflect.Message { - mi := &file_core_balance_contract_proto_msgTypes[5] + mi := &file_core_contract_balance_contract_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -382,7 +382,7 @@ func (x *BlockBalanceTrace) ProtoReflect() protoreflect.Message { // Deprecated: Use BlockBalanceTrace.ProtoReflect.Descriptor instead. func (*BlockBalanceTrace) Descriptor() ([]byte, []int) { - return file_core_balance_contract_proto_rawDescGZIP(), []int{5} + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{5} } func (x *BlockBalanceTrace) GetBlockIdentifier() *BlockBalanceTrace_BlockIdentifier { @@ -418,7 +418,7 @@ type AccountTrace struct { func (x *AccountTrace) Reset() { *x = AccountTrace{} if protoimpl.UnsafeEnabled { - mi := &file_core_balance_contract_proto_msgTypes[6] + mi := &file_core_contract_balance_contract_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -431,7 +431,7 @@ func (x *AccountTrace) String() string { func (*AccountTrace) ProtoMessage() {} func (x *AccountTrace) ProtoReflect() protoreflect.Message { - mi := &file_core_balance_contract_proto_msgTypes[6] + mi := &file_core_contract_balance_contract_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -444,7 +444,7 @@ func (x *AccountTrace) ProtoReflect() protoreflect.Message { // Deprecated: Use AccountTrace.ProtoReflect.Descriptor instead. func (*AccountTrace) Descriptor() ([]byte, []int) { - return file_core_balance_contract_proto_rawDescGZIP(), []int{6} + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{6} } func (x *AccountTrace) GetBalance() int64 { @@ -472,7 +472,7 @@ type AccountIdentifier struct { func (x *AccountIdentifier) Reset() { *x = AccountIdentifier{} if protoimpl.UnsafeEnabled { - mi := &file_core_balance_contract_proto_msgTypes[7] + mi := &file_core_contract_balance_contract_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -485,7 +485,7 @@ func (x *AccountIdentifier) String() string { func (*AccountIdentifier) ProtoMessage() {} func (x *AccountIdentifier) ProtoReflect() protoreflect.Message { - mi := &file_core_balance_contract_proto_msgTypes[7] + mi := &file_core_contract_balance_contract_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -498,7 +498,7 @@ func (x *AccountIdentifier) ProtoReflect() protoreflect.Message { // Deprecated: Use AccountIdentifier.ProtoReflect.Descriptor instead. func (*AccountIdentifier) Descriptor() ([]byte, []int) { - return file_core_balance_contract_proto_rawDescGZIP(), []int{7} + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{7} } func (x *AccountIdentifier) GetAddress() []byte { @@ -520,7 +520,7 @@ type AccountBalanceRequest struct { func (x *AccountBalanceRequest) Reset() { *x = AccountBalanceRequest{} if protoimpl.UnsafeEnabled { - mi := &file_core_balance_contract_proto_msgTypes[8] + mi := &file_core_contract_balance_contract_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -533,7 +533,7 @@ func (x *AccountBalanceRequest) String() string { func (*AccountBalanceRequest) ProtoMessage() {} func (x *AccountBalanceRequest) ProtoReflect() protoreflect.Message { - mi := &file_core_balance_contract_proto_msgTypes[8] + mi := &file_core_contract_balance_contract_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -546,7 +546,7 @@ func (x *AccountBalanceRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use AccountBalanceRequest.ProtoReflect.Descriptor instead. func (*AccountBalanceRequest) Descriptor() ([]byte, []int) { - return file_core_balance_contract_proto_rawDescGZIP(), []int{8} + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{8} } func (x *AccountBalanceRequest) GetAccountIdentifier() *AccountIdentifier { @@ -575,7 +575,7 @@ type AccountBalanceResponse struct { func (x *AccountBalanceResponse) Reset() { *x = AccountBalanceResponse{} if protoimpl.UnsafeEnabled { - mi := &file_core_balance_contract_proto_msgTypes[9] + mi := &file_core_contract_balance_contract_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -588,7 +588,7 @@ func (x *AccountBalanceResponse) String() string { func (*AccountBalanceResponse) ProtoMessage() {} func (x *AccountBalanceResponse) ProtoReflect() protoreflect.Message { - mi := &file_core_balance_contract_proto_msgTypes[9] + mi := &file_core_contract_balance_contract_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -601,7 +601,7 @@ func (x *AccountBalanceResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use AccountBalanceResponse.ProtoReflect.Descriptor instead. func (*AccountBalanceResponse) Descriptor() ([]byte, []int) { - return file_core_balance_contract_proto_rawDescGZIP(), []int{9} + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{9} } func (x *AccountBalanceResponse) GetBalance() int64 { @@ -631,7 +631,7 @@ type FreezeBalanceV2Contract struct { func (x *FreezeBalanceV2Contract) Reset() { *x = FreezeBalanceV2Contract{} if protoimpl.UnsafeEnabled { - mi := &file_core_balance_contract_proto_msgTypes[10] + mi := &file_core_contract_balance_contract_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -644,7 +644,7 @@ func (x *FreezeBalanceV2Contract) String() string { func (*FreezeBalanceV2Contract) ProtoMessage() {} func (x *FreezeBalanceV2Contract) ProtoReflect() protoreflect.Message { - mi := &file_core_balance_contract_proto_msgTypes[10] + mi := &file_core_contract_balance_contract_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -657,7 +657,7 @@ func (x *FreezeBalanceV2Contract) ProtoReflect() protoreflect.Message { // Deprecated: Use FreezeBalanceV2Contract.ProtoReflect.Descriptor instead. func (*FreezeBalanceV2Contract) Descriptor() ([]byte, []int) { - return file_core_balance_contract_proto_rawDescGZIP(), []int{10} + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{10} } func (x *FreezeBalanceV2Contract) GetOwnerAddress() []byte { @@ -694,7 +694,7 @@ type UnfreezeBalanceV2Contract struct { func (x *UnfreezeBalanceV2Contract) Reset() { *x = UnfreezeBalanceV2Contract{} if protoimpl.UnsafeEnabled { - mi := &file_core_balance_contract_proto_msgTypes[11] + mi := &file_core_contract_balance_contract_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -707,7 +707,7 @@ func (x *UnfreezeBalanceV2Contract) String() string { func (*UnfreezeBalanceV2Contract) ProtoMessage() {} func (x *UnfreezeBalanceV2Contract) ProtoReflect() protoreflect.Message { - mi := &file_core_balance_contract_proto_msgTypes[11] + mi := &file_core_contract_balance_contract_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -720,7 +720,7 @@ func (x *UnfreezeBalanceV2Contract) ProtoReflect() protoreflect.Message { // Deprecated: Use UnfreezeBalanceV2Contract.ProtoReflect.Descriptor instead. func (*UnfreezeBalanceV2Contract) Descriptor() ([]byte, []int) { - return file_core_balance_contract_proto_rawDescGZIP(), []int{11} + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{11} } func (x *UnfreezeBalanceV2Contract) GetOwnerAddress() []byte { @@ -755,7 +755,7 @@ type WithdrawExpireUnfreezeContract struct { func (x *WithdrawExpireUnfreezeContract) Reset() { *x = WithdrawExpireUnfreezeContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_balance_contract_proto_msgTypes[12] + mi := &file_core_contract_balance_contract_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -768,7 +768,7 @@ func (x *WithdrawExpireUnfreezeContract) String() string { func (*WithdrawExpireUnfreezeContract) ProtoMessage() {} func (x *WithdrawExpireUnfreezeContract) ProtoReflect() protoreflect.Message { - mi := &file_core_balance_contract_proto_msgTypes[12] + mi := &file_core_contract_balance_contract_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -781,7 +781,7 @@ func (x *WithdrawExpireUnfreezeContract) ProtoReflect() protoreflect.Message { // Deprecated: Use WithdrawExpireUnfreezeContract.ProtoReflect.Descriptor instead. func (*WithdrawExpireUnfreezeContract) Descriptor() ([]byte, []int) { - return file_core_balance_contract_proto_rawDescGZIP(), []int{12} + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{12} } func (x *WithdrawExpireUnfreezeContract) GetOwnerAddress() []byte { @@ -801,12 +801,13 @@ type DelegateResourceContract struct { Balance int64 `protobuf:"varint,3,opt,name=balance,proto3" json:"balance,omitempty"` ReceiverAddress []byte `protobuf:"bytes,4,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"` Lock bool `protobuf:"varint,5,opt,name=lock,proto3" json:"lock,omitempty"` + LockPeriod int64 `protobuf:"varint,6,opt,name=lock_period,json=lockPeriod,proto3" json:"lock_period,omitempty"` } func (x *DelegateResourceContract) Reset() { *x = DelegateResourceContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_balance_contract_proto_msgTypes[13] + mi := &file_core_contract_balance_contract_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -819,7 +820,7 @@ func (x *DelegateResourceContract) String() string { func (*DelegateResourceContract) ProtoMessage() {} func (x *DelegateResourceContract) ProtoReflect() protoreflect.Message { - mi := &file_core_balance_contract_proto_msgTypes[13] + mi := &file_core_contract_balance_contract_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -832,7 +833,7 @@ func (x *DelegateResourceContract) ProtoReflect() protoreflect.Message { // Deprecated: Use DelegateResourceContract.ProtoReflect.Descriptor instead. func (*DelegateResourceContract) Descriptor() ([]byte, []int) { - return file_core_balance_contract_proto_rawDescGZIP(), []int{13} + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{13} } func (x *DelegateResourceContract) GetOwnerAddress() []byte { @@ -870,6 +871,13 @@ func (x *DelegateResourceContract) GetLock() bool { return false } +func (x *DelegateResourceContract) GetLockPeriod() int64 { + if x != nil { + return x.LockPeriod + } + return 0 +} + type UnDelegateResourceContract struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -884,7 +892,7 @@ type UnDelegateResourceContract struct { func (x *UnDelegateResourceContract) Reset() { *x = UnDelegateResourceContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_balance_contract_proto_msgTypes[14] + mi := &file_core_contract_balance_contract_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -897,7 +905,7 @@ func (x *UnDelegateResourceContract) String() string { func (*UnDelegateResourceContract) ProtoMessage() {} func (x *UnDelegateResourceContract) ProtoReflect() protoreflect.Message { - mi := &file_core_balance_contract_proto_msgTypes[14] + mi := &file_core_contract_balance_contract_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -910,7 +918,7 @@ func (x *UnDelegateResourceContract) ProtoReflect() protoreflect.Message { // Deprecated: Use UnDelegateResourceContract.ProtoReflect.Descriptor instead. func (*UnDelegateResourceContract) Descriptor() ([]byte, []int) { - return file_core_balance_contract_proto_rawDescGZIP(), []int{14} + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{14} } func (x *UnDelegateResourceContract) GetOwnerAddress() []byte { @@ -941,6 +949,53 @@ func (x *UnDelegateResourceContract) GetReceiverAddress() []byte { return nil } +type CancelAllUnfreezeV2Contract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` +} + +func (x *CancelAllUnfreezeV2Contract) Reset() { + *x = CancelAllUnfreezeV2Contract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_balance_contract_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CancelAllUnfreezeV2Contract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CancelAllUnfreezeV2Contract) ProtoMessage() {} + +func (x *CancelAllUnfreezeV2Contract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_balance_contract_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CancelAllUnfreezeV2Contract.ProtoReflect.Descriptor instead. +func (*CancelAllUnfreezeV2Contract) Descriptor() ([]byte, []int) { + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{15} +} + +func (x *CancelAllUnfreezeV2Contract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + type TransactionBalanceTrace_Operation struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -954,7 +1009,7 @@ type TransactionBalanceTrace_Operation struct { func (x *TransactionBalanceTrace_Operation) Reset() { *x = TransactionBalanceTrace_Operation{} if protoimpl.UnsafeEnabled { - mi := &file_core_balance_contract_proto_msgTypes[15] + mi := &file_core_contract_balance_contract_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -967,7 +1022,7 @@ func (x *TransactionBalanceTrace_Operation) String() string { func (*TransactionBalanceTrace_Operation) ProtoMessage() {} func (x *TransactionBalanceTrace_Operation) ProtoReflect() protoreflect.Message { - mi := &file_core_balance_contract_proto_msgTypes[15] + mi := &file_core_contract_balance_contract_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -980,7 +1035,7 @@ func (x *TransactionBalanceTrace_Operation) ProtoReflect() protoreflect.Message // Deprecated: Use TransactionBalanceTrace_Operation.ProtoReflect.Descriptor instead. func (*TransactionBalanceTrace_Operation) Descriptor() ([]byte, []int) { - return file_core_balance_contract_proto_rawDescGZIP(), []int{4, 0} + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{4, 0} } func (x *TransactionBalanceTrace_Operation) GetOperationIdentifier() int64 { @@ -1016,7 +1071,7 @@ type BlockBalanceTrace_BlockIdentifier struct { func (x *BlockBalanceTrace_BlockIdentifier) Reset() { *x = BlockBalanceTrace_BlockIdentifier{} if protoimpl.UnsafeEnabled { - mi := &file_core_balance_contract_proto_msgTypes[16] + mi := &file_core_contract_balance_contract_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1029,7 +1084,7 @@ func (x *BlockBalanceTrace_BlockIdentifier) String() string { func (*BlockBalanceTrace_BlockIdentifier) ProtoMessage() {} func (x *BlockBalanceTrace_BlockIdentifier) ProtoReflect() protoreflect.Message { - mi := &file_core_balance_contract_proto_msgTypes[16] + mi := &file_core_contract_balance_contract_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1042,7 +1097,7 @@ func (x *BlockBalanceTrace_BlockIdentifier) ProtoReflect() protoreflect.Message // Deprecated: Use BlockBalanceTrace_BlockIdentifier.ProtoReflect.Descriptor instead. func (*BlockBalanceTrace_BlockIdentifier) Descriptor() ([]byte, []int) { - return file_core_balance_contract_proto_rawDescGZIP(), []int{5, 0} + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{5, 0} } func (x *BlockBalanceTrace_BlockIdentifier) GetHash() []byte { @@ -1059,186 +1114,193 @@ func (x *BlockBalanceTrace_BlockIdentifier) GetNumber() int64 { return 0 } -var File_core_balance_contract_proto protoreflect.FileDescriptor - -var file_core_balance_contract_proto_rawDesc = []byte{ - 0x0a, 0x1b, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x1a, 0x11, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xeb, 0x01, 0x0a, 0x15, 0x46, - 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, - 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x66, 0x72, 0x6f, - 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0d, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, - 0x12, 0x27, 0x0a, 0x0f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x66, 0x72, 0x6f, 0x7a, 0x65, - 0x6e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x08, 0x72, 0x65, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, - 0x6f, 0x64, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x29, 0x0a, - 0x10, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, - 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x9d, 0x01, 0x0a, 0x17, 0x55, 0x6e, 0x66, - 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, - 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x32, 0x0a, 0x08, 0x72, 0x65, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, - 0x6f, 0x64, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x29, 0x0a, - 0x10, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, - 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x3e, 0x0a, 0x17, 0x57, 0x69, 0x74, 0x68, - 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x6e, 0x0a, 0x10, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x66, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 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, 0xb9, 0x02, 0x0a, 0x17, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, - 0x72, 0x61, 0x63, 0x65, 0x12, 0x35, 0x0a, 0x16, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x15, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x49, 0x0a, 0x09, 0x6f, - 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x63, - 0x65, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x1a, 0x70, 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x31, 0x0a, 0x14, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x6f, - 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, - 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 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, 0xa7, 0x02, 0x0a, 0x11, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x12, 0x56, 0x0a, 0x10, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x63, - 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, - 0x72, 0x52, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, - 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, - 0x12, 0x5d, 0x0a, 0x19, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, - 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, +var File_core_contract_balance_contract_proto protoreflect.FileDescriptor + +var file_core_contract_balance_contract_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, + 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x1a, 0x1a, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, + 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xeb, 0x01, 0x0a, + 0x15, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x66, + 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0d, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x64, 0x75, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x66, 0x72, 0x6f, + 0x7a, 0x65, 0x6e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x08, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, + 0x29, 0x0a, 0x10, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x65, 0x69, + 0x76, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x9d, 0x01, 0x0a, 0x17, 0x55, + 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x32, 0x0a, 0x08, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, + 0x29, 0x0a, 0x10, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x65, 0x69, + 0x76, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x3e, 0x0a, 0x17, 0x57, 0x69, + 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x6e, 0x0a, 0x10, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, + 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 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, 0xb9, 0x02, 0x0a, 0x17, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, - 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x52, 0x17, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x1a, - 0x3d, 0x0a, 0x0f, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, - 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x4a, - 0x0a, 0x0c, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x72, 0x61, 0x63, 0x65, 0x12, 0x18, - 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x63, - 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x63, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x70, - 0x6c, 0x61, 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x22, 0x2d, 0x0a, 0x11, 0x41, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, - 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xbb, 0x01, 0x0a, 0x15, 0x41, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x12, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x11, 0x61, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, - 0x56, 0x0a, 0x10, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, - 0x69, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, - 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x65, 0x6e, - 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x22, 0x8a, 0x01, 0x0a, 0x16, 0x41, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x56, 0x0a, 0x10, + 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x12, 0x35, 0x0a, 0x16, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x15, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x49, 0x0a, + 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, + 0x61, 0x63, 0x65, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x1a, 0x70, 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x31, 0x0a, 0x14, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x13, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x66, 0x69, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 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, 0xa7, 0x02, 0x0a, 0x11, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x12, 0x56, 0x0a, 0x10, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x66, 0x69, 0x65, 0x72, 0x22, 0x99, 0x01, 0x0a, 0x17, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, - 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, - 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x66, - 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x32, 0x0a, 0x08, - 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x22, 0x9f, 0x01, 0x0a, 0x19, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, - 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, - 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x5f, - 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x75, - 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x32, + 0x66, 0x69, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x12, 0x5d, 0x0a, 0x19, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x61, 0x6c, 0x61, + 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x52, 0x17, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x63, + 0x65, 0x1a, 0x3d, 0x0a, 0x0f, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x66, 0x69, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, + 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, + 0x22, 0x4a, 0x0a, 0x0c, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x72, 0x61, 0x63, 0x65, + 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x6c, + 0x61, 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x63, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0b, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x22, 0x2d, 0x0a, 0x11, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, + 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xbb, 0x01, 0x0a, 0x15, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x12, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x11, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, + 0x72, 0x12, 0x56, 0x0a, 0x10, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x61, 0x6c, 0x61, + 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x22, 0x8a, 0x01, 0x0a, 0x16, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x56, + 0x0a, 0x10, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, + 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, + 0x54, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x22, 0x99, 0x01, 0x0a, 0x17, 0x46, 0x72, 0x65, 0x65, 0x7a, + 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x66, 0x72, 0x6f, 0x7a, 0x65, + 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0d, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x32, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x22, 0x45, 0x0a, 0x1e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x45, 0x78, - 0x70, 0x69, 0x72, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, - 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xcc, 0x01, 0x0a, 0x18, 0x44, 0x65, - 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, + 0x63, 0x65, 0x22, 0x9f, 0x01, 0x0a, 0x19, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, + 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, + 0x65, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0f, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, + 0x12, 0x32, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x22, 0x45, 0x0a, 0x1e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, + 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x32, 0x0a, 0x08, 0x72, - 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 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, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x63, - 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x04, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0xba, 0x01, 0x0a, 0x1a, 0x55, 0x6e, 0x44, - 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, + 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xed, 0x01, 0x0a, 0x18, + 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, + 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x32, 0x0a, + 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 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, 0x29, 0x0a, 0x10, 0x72, + 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, + 0x63, 0x6b, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0a, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x22, 0xba, 0x01, 0x0a, 0x1a, + 0x55, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, + 0x32, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 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, 0x29, 0x0a, + 0x10, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, + 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x42, 0x0a, 0x1b, 0x43, 0x61, 0x6e, 0x63, + 0x65, 0x6c, 0x41, 0x6c, 0x6c, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x32, 0x0a, 0x08, - 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 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, 0x29, 0x0a, 0x10, 0x72, 0x65, - 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x4b, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, - 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, - 0x73, 0x6f, 0x62, 0x72, 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, - 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, - 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x45, 0x0a, 0x18, + 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x63, + 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_core_balance_contract_proto_rawDescOnce sync.Once - file_core_balance_contract_proto_rawDescData = file_core_balance_contract_proto_rawDesc + file_core_contract_balance_contract_proto_rawDescOnce sync.Once + file_core_contract_balance_contract_proto_rawDescData = file_core_contract_balance_contract_proto_rawDesc ) -func file_core_balance_contract_proto_rawDescGZIP() []byte { - file_core_balance_contract_proto_rawDescOnce.Do(func() { - file_core_balance_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_balance_contract_proto_rawDescData) +func file_core_contract_balance_contract_proto_rawDescGZIP() []byte { + file_core_contract_balance_contract_proto_rawDescOnce.Do(func() { + file_core_contract_balance_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_balance_contract_proto_rawDescData) }) - return file_core_balance_contract_proto_rawDescData + return file_core_contract_balance_contract_proto_rawDescData } -var file_core_balance_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 17) -var file_core_balance_contract_proto_goTypes = []interface{}{ +var file_core_contract_balance_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 18) +var file_core_contract_balance_contract_proto_goTypes = []interface{}{ (*FreezeBalanceContract)(nil), // 0: protocol.FreezeBalanceContract (*UnfreezeBalanceContract)(nil), // 1: protocol.UnfreezeBalanceContract (*WithdrawBalanceContract)(nil), // 2: protocol.WithdrawBalanceContract @@ -1254,23 +1316,24 @@ var file_core_balance_contract_proto_goTypes = []interface{}{ (*WithdrawExpireUnfreezeContract)(nil), // 12: protocol.WithdrawExpireUnfreezeContract (*DelegateResourceContract)(nil), // 13: protocol.DelegateResourceContract (*UnDelegateResourceContract)(nil), // 14: protocol.UnDelegateResourceContract - (*TransactionBalanceTrace_Operation)(nil), // 15: protocol.TransactionBalanceTrace.Operation - (*BlockBalanceTrace_BlockIdentifier)(nil), // 16: protocol.BlockBalanceTrace.BlockIdentifier - (ResourceCode)(0), // 17: protocol.ResourceCode -} -var file_core_balance_contract_proto_depIdxs = []int32{ - 17, // 0: protocol.FreezeBalanceContract.resource:type_name -> protocol.ResourceCode - 17, // 1: protocol.UnfreezeBalanceContract.resource:type_name -> protocol.ResourceCode - 15, // 2: protocol.TransactionBalanceTrace.operation:type_name -> protocol.TransactionBalanceTrace.Operation - 16, // 3: protocol.BlockBalanceTrace.block_identifier:type_name -> protocol.BlockBalanceTrace.BlockIdentifier + (*CancelAllUnfreezeV2Contract)(nil), // 15: protocol.CancelAllUnfreezeV2Contract + (*TransactionBalanceTrace_Operation)(nil), // 16: protocol.TransactionBalanceTrace.Operation + (*BlockBalanceTrace_BlockIdentifier)(nil), // 17: protocol.BlockBalanceTrace.BlockIdentifier + (ResourceCode)(0), // 18: protocol.ResourceCode +} +var file_core_contract_balance_contract_proto_depIdxs = []int32{ + 18, // 0: protocol.FreezeBalanceContract.resource:type_name -> protocol.ResourceCode + 18, // 1: protocol.UnfreezeBalanceContract.resource:type_name -> protocol.ResourceCode + 16, // 2: protocol.TransactionBalanceTrace.operation:type_name -> protocol.TransactionBalanceTrace.Operation + 17, // 3: protocol.BlockBalanceTrace.block_identifier:type_name -> protocol.BlockBalanceTrace.BlockIdentifier 4, // 4: protocol.BlockBalanceTrace.transaction_balance_trace:type_name -> protocol.TransactionBalanceTrace 7, // 5: protocol.AccountBalanceRequest.account_identifier:type_name -> protocol.AccountIdentifier - 16, // 6: protocol.AccountBalanceRequest.block_identifier:type_name -> protocol.BlockBalanceTrace.BlockIdentifier - 16, // 7: protocol.AccountBalanceResponse.block_identifier:type_name -> protocol.BlockBalanceTrace.BlockIdentifier - 17, // 8: protocol.FreezeBalanceV2Contract.resource:type_name -> protocol.ResourceCode - 17, // 9: protocol.UnfreezeBalanceV2Contract.resource:type_name -> protocol.ResourceCode - 17, // 10: protocol.DelegateResourceContract.resource:type_name -> protocol.ResourceCode - 17, // 11: protocol.UnDelegateResourceContract.resource:type_name -> protocol.ResourceCode + 17, // 6: protocol.AccountBalanceRequest.block_identifier:type_name -> protocol.BlockBalanceTrace.BlockIdentifier + 17, // 7: protocol.AccountBalanceResponse.block_identifier:type_name -> protocol.BlockBalanceTrace.BlockIdentifier + 18, // 8: protocol.FreezeBalanceV2Contract.resource:type_name -> protocol.ResourceCode + 18, // 9: protocol.UnfreezeBalanceV2Contract.resource:type_name -> protocol.ResourceCode + 18, // 10: protocol.DelegateResourceContract.resource:type_name -> protocol.ResourceCode + 18, // 11: protocol.UnDelegateResourceContract.resource:type_name -> protocol.ResourceCode 12, // [12:12] is the sub-list for method output_type 12, // [12:12] is the sub-list for method input_type 12, // [12:12] is the sub-list for extension type_name @@ -1278,14 +1341,14 @@ var file_core_balance_contract_proto_depIdxs = []int32{ 0, // [0:12] is the sub-list for field type_name } -func init() { file_core_balance_contract_proto_init() } -func file_core_balance_contract_proto_init() { - if File_core_balance_contract_proto != nil { +func init() { file_core_contract_balance_contract_proto_init() } +func file_core_contract_balance_contract_proto_init() { + if File_core_contract_balance_contract_proto != nil { return } - file_core_common_proto_init() + file_core_contract_common_proto_init() if !protoimpl.UnsafeEnabled { - file_core_balance_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_balance_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FreezeBalanceContract); i { case 0: return &v.state @@ -1297,7 +1360,7 @@ func file_core_balance_contract_proto_init() { return nil } } - file_core_balance_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_balance_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UnfreezeBalanceContract); i { case 0: return &v.state @@ -1309,7 +1372,7 @@ func file_core_balance_contract_proto_init() { return nil } } - file_core_balance_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_balance_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WithdrawBalanceContract); i { case 0: return &v.state @@ -1321,7 +1384,7 @@ func file_core_balance_contract_proto_init() { return nil } } - file_core_balance_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_balance_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TransferContract); i { case 0: return &v.state @@ -1333,7 +1396,7 @@ func file_core_balance_contract_proto_init() { return nil } } - file_core_balance_contract_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_balance_contract_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TransactionBalanceTrace); i { case 0: return &v.state @@ -1345,7 +1408,7 @@ func file_core_balance_contract_proto_init() { return nil } } - file_core_balance_contract_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_balance_contract_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BlockBalanceTrace); i { case 0: return &v.state @@ -1357,7 +1420,7 @@ func file_core_balance_contract_proto_init() { return nil } } - file_core_balance_contract_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_balance_contract_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AccountTrace); i { case 0: return &v.state @@ -1369,7 +1432,7 @@ func file_core_balance_contract_proto_init() { return nil } } - file_core_balance_contract_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_balance_contract_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AccountIdentifier); i { case 0: return &v.state @@ -1381,7 +1444,7 @@ func file_core_balance_contract_proto_init() { return nil } } - file_core_balance_contract_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_balance_contract_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AccountBalanceRequest); i { case 0: return &v.state @@ -1393,7 +1456,7 @@ func file_core_balance_contract_proto_init() { return nil } } - file_core_balance_contract_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_balance_contract_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AccountBalanceResponse); i { case 0: return &v.state @@ -1405,7 +1468,7 @@ func file_core_balance_contract_proto_init() { return nil } } - file_core_balance_contract_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_balance_contract_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FreezeBalanceV2Contract); i { case 0: return &v.state @@ -1417,7 +1480,7 @@ func file_core_balance_contract_proto_init() { return nil } } - file_core_balance_contract_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_balance_contract_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UnfreezeBalanceV2Contract); i { case 0: return &v.state @@ -1429,7 +1492,7 @@ func file_core_balance_contract_proto_init() { return nil } } - file_core_balance_contract_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_balance_contract_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WithdrawExpireUnfreezeContract); i { case 0: return &v.state @@ -1441,7 +1504,7 @@ func file_core_balance_contract_proto_init() { return nil } } - file_core_balance_contract_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_balance_contract_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DelegateResourceContract); i { case 0: return &v.state @@ -1453,7 +1516,7 @@ func file_core_balance_contract_proto_init() { return nil } } - file_core_balance_contract_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_balance_contract_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UnDelegateResourceContract); i { case 0: return &v.state @@ -1465,7 +1528,19 @@ func file_core_balance_contract_proto_init() { return nil } } - file_core_balance_contract_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_balance_contract_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CancelAllUnfreezeV2Contract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_balance_contract_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TransactionBalanceTrace_Operation); i { case 0: return &v.state @@ -1477,7 +1552,7 @@ func file_core_balance_contract_proto_init() { return nil } } - file_core_balance_contract_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_balance_contract_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BlockBalanceTrace_BlockIdentifier); i { case 0: return &v.state @@ -1494,18 +1569,18 @@ func file_core_balance_contract_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_core_balance_contract_proto_rawDesc, + RawDescriptor: file_core_contract_balance_contract_proto_rawDesc, NumEnums: 0, - NumMessages: 17, + NumMessages: 18, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_core_balance_contract_proto_goTypes, - DependencyIndexes: file_core_balance_contract_proto_depIdxs, - MessageInfos: file_core_balance_contract_proto_msgTypes, + GoTypes: file_core_contract_balance_contract_proto_goTypes, + DependencyIndexes: file_core_contract_balance_contract_proto_depIdxs, + MessageInfos: file_core_contract_balance_contract_proto_msgTypes, }.Build() - File_core_balance_contract_proto = out.File - file_core_balance_contract_proto_rawDesc = nil - file_core_balance_contract_proto_goTypes = nil - file_core_balance_contract_proto_depIdxs = nil + File_core_contract_balance_contract_proto = out.File + file_core_contract_balance_contract_proto_rawDesc = nil + file_core_contract_balance_contract_proto_goTypes = nil + file_core_contract_balance_contract_proto_depIdxs = nil } diff --git a/pkg/proto/core/common.pb.go b/pkg/proto/core/common.pb.go index 248a7d80e..2a902352e 100644 --- a/pkg/proto/core/common.pb.go +++ b/pkg/proto/core/common.pb.go @@ -53,11 +53,11 @@ func (x ResourceCode) String() string { } func (ResourceCode) Descriptor() protoreflect.EnumDescriptor { - return file_core_common_proto_enumTypes[0].Descriptor() + return file_core_contract_common_proto_enumTypes[0].Descriptor() } func (ResourceCode) Type() protoreflect.EnumType { - return &file_core_common_proto_enumTypes[0] + return &file_core_contract_common_proto_enumTypes[0] } func (x ResourceCode) Number() protoreflect.EnumNumber { @@ -66,42 +66,42 @@ func (x ResourceCode) Number() protoreflect.EnumNumber { // Deprecated: Use ResourceCode.Descriptor instead. func (ResourceCode) EnumDescriptor() ([]byte, []int) { - return file_core_common_proto_rawDescGZIP(), []int{0} + return file_core_contract_common_proto_rawDescGZIP(), []int{0} } -var File_core_common_proto protoreflect.FileDescriptor - -var file_core_common_proto_rawDesc = []byte{ - 0x0a, 0x11, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2a, 0x39, 0x0a, - 0x0c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x0d, 0x0a, - 0x09, 0x42, 0x41, 0x4e, 0x44, 0x57, 0x49, 0x44, 0x54, 0x48, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, - 0x45, 0x4e, 0x45, 0x52, 0x47, 0x59, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x52, 0x4f, 0x4e, - 0x5f, 0x50, 0x4f, 0x57, 0x45, 0x52, 0x10, 0x02, 0x42, 0x4b, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, - 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, 0x72, 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, - 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +var File_core_contract_common_proto protoreflect.FileDescriptor + +var file_core_contract_common_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, + 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2a, 0x39, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x0d, 0x0a, 0x09, 0x42, 0x41, 0x4e, 0x44, 0x57, 0x49, + 0x44, 0x54, 0x48, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x45, 0x4e, 0x45, 0x52, 0x47, 0x59, 0x10, + 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x52, 0x4f, 0x4e, 0x5f, 0x50, 0x4f, 0x57, 0x45, 0x52, 0x10, + 0x02, 0x42, 0x45, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x29, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, + 0x77, 0x61, 0x79, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_core_common_proto_rawDescOnce sync.Once - file_core_common_proto_rawDescData = file_core_common_proto_rawDesc + file_core_contract_common_proto_rawDescOnce sync.Once + file_core_contract_common_proto_rawDescData = file_core_contract_common_proto_rawDesc ) -func file_core_common_proto_rawDescGZIP() []byte { - file_core_common_proto_rawDescOnce.Do(func() { - file_core_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_common_proto_rawDescData) +func file_core_contract_common_proto_rawDescGZIP() []byte { + file_core_contract_common_proto_rawDescOnce.Do(func() { + file_core_contract_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_common_proto_rawDescData) }) - return file_core_common_proto_rawDescData + return file_core_contract_common_proto_rawDescData } -var file_core_common_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_core_common_proto_goTypes = []interface{}{ +var file_core_contract_common_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_core_contract_common_proto_goTypes = []interface{}{ (ResourceCode)(0), // 0: protocol.ResourceCode } -var file_core_common_proto_depIdxs = []int32{ +var file_core_contract_common_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 @@ -109,27 +109,27 @@ var file_core_common_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for field type_name } -func init() { file_core_common_proto_init() } -func file_core_common_proto_init() { - if File_core_common_proto != nil { +func init() { file_core_contract_common_proto_init() } +func file_core_contract_common_proto_init() { + if File_core_contract_common_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_core_common_proto_rawDesc, + RawDescriptor: file_core_contract_common_proto_rawDesc, NumEnums: 1, NumMessages: 0, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_core_common_proto_goTypes, - DependencyIndexes: file_core_common_proto_depIdxs, - EnumInfos: file_core_common_proto_enumTypes, + GoTypes: file_core_contract_common_proto_goTypes, + DependencyIndexes: file_core_contract_common_proto_depIdxs, + EnumInfos: file_core_contract_common_proto_enumTypes, }.Build() - File_core_common_proto = out.File - file_core_common_proto_rawDesc = nil - file_core_common_proto_goTypes = nil - file_core_common_proto_depIdxs = nil + File_core_contract_common_proto = out.File + file_core_contract_common_proto_rawDesc = nil + file_core_contract_common_proto_goTypes = nil + file_core_contract_common_proto_depIdxs = nil } diff --git a/pkg/proto/core/exchange_contract.pb.go b/pkg/proto/core/exchange_contract.pb.go index d857d517d..4bf470216 100644 --- a/pkg/proto/core/exchange_contract.pb.go +++ b/pkg/proto/core/exchange_contract.pb.go @@ -35,7 +35,7 @@ type ExchangeCreateContract struct { func (x *ExchangeCreateContract) Reset() { *x = ExchangeCreateContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_exchange_contract_proto_msgTypes[0] + mi := &file_core_contract_exchange_contract_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -48,7 +48,7 @@ func (x *ExchangeCreateContract) String() string { func (*ExchangeCreateContract) ProtoMessage() {} func (x *ExchangeCreateContract) ProtoReflect() protoreflect.Message { - mi := &file_core_exchange_contract_proto_msgTypes[0] + mi := &file_core_contract_exchange_contract_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -61,7 +61,7 @@ func (x *ExchangeCreateContract) ProtoReflect() protoreflect.Message { // Deprecated: Use ExchangeCreateContract.ProtoReflect.Descriptor instead. func (*ExchangeCreateContract) Descriptor() ([]byte, []int) { - return file_core_exchange_contract_proto_rawDescGZIP(), []int{0} + return file_core_contract_exchange_contract_proto_rawDescGZIP(), []int{0} } func (x *ExchangeCreateContract) GetOwnerAddress() []byte { @@ -113,7 +113,7 @@ type ExchangeInjectContract struct { func (x *ExchangeInjectContract) Reset() { *x = ExchangeInjectContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_exchange_contract_proto_msgTypes[1] + mi := &file_core_contract_exchange_contract_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -126,7 +126,7 @@ func (x *ExchangeInjectContract) String() string { func (*ExchangeInjectContract) ProtoMessage() {} func (x *ExchangeInjectContract) ProtoReflect() protoreflect.Message { - mi := &file_core_exchange_contract_proto_msgTypes[1] + mi := &file_core_contract_exchange_contract_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -139,7 +139,7 @@ func (x *ExchangeInjectContract) ProtoReflect() protoreflect.Message { // Deprecated: Use ExchangeInjectContract.ProtoReflect.Descriptor instead. func (*ExchangeInjectContract) Descriptor() ([]byte, []int) { - return file_core_exchange_contract_proto_rawDescGZIP(), []int{1} + return file_core_contract_exchange_contract_proto_rawDescGZIP(), []int{1} } func (x *ExchangeInjectContract) GetOwnerAddress() []byte { @@ -184,7 +184,7 @@ type ExchangeWithdrawContract struct { func (x *ExchangeWithdrawContract) Reset() { *x = ExchangeWithdrawContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_exchange_contract_proto_msgTypes[2] + mi := &file_core_contract_exchange_contract_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -197,7 +197,7 @@ func (x *ExchangeWithdrawContract) String() string { func (*ExchangeWithdrawContract) ProtoMessage() {} func (x *ExchangeWithdrawContract) ProtoReflect() protoreflect.Message { - mi := &file_core_exchange_contract_proto_msgTypes[2] + mi := &file_core_contract_exchange_contract_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -210,7 +210,7 @@ func (x *ExchangeWithdrawContract) ProtoReflect() protoreflect.Message { // Deprecated: Use ExchangeWithdrawContract.ProtoReflect.Descriptor instead. func (*ExchangeWithdrawContract) Descriptor() ([]byte, []int) { - return file_core_exchange_contract_proto_rawDescGZIP(), []int{2} + return file_core_contract_exchange_contract_proto_rawDescGZIP(), []int{2} } func (x *ExchangeWithdrawContract) GetOwnerAddress() []byte { @@ -256,7 +256,7 @@ type ExchangeTransactionContract struct { func (x *ExchangeTransactionContract) Reset() { *x = ExchangeTransactionContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_exchange_contract_proto_msgTypes[3] + mi := &file_core_contract_exchange_contract_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -269,7 +269,7 @@ func (x *ExchangeTransactionContract) String() string { func (*ExchangeTransactionContract) ProtoMessage() {} func (x *ExchangeTransactionContract) ProtoReflect() protoreflect.Message { - mi := &file_core_exchange_contract_proto_msgTypes[3] + mi := &file_core_contract_exchange_contract_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -282,7 +282,7 @@ func (x *ExchangeTransactionContract) ProtoReflect() protoreflect.Message { // Deprecated: Use ExchangeTransactionContract.ProtoReflect.Descriptor instead. func (*ExchangeTransactionContract) Descriptor() ([]byte, []int) { - return file_core_exchange_contract_proto_rawDescGZIP(), []int{3} + return file_core_contract_exchange_contract_proto_rawDescGZIP(), []int{3} } func (x *ExchangeTransactionContract) GetOwnerAddress() []byte { @@ -320,37 +320,47 @@ func (x *ExchangeTransactionContract) GetExpected() int64 { return 0 } -var File_core_exchange_contract_proto protoreflect.FileDescriptor - -var file_core_exchange_contract_proto_rawDesc = []byte{ - 0x0a, 0x1c, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, - 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0xed, 0x01, 0x0a, 0x16, 0x45, 0x78, 0x63, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x69, 0x72, 0x73, - 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x0c, 0x66, 0x69, 0x72, 0x73, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x2e, - 0x0a, 0x13, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x62, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x66, 0x69, 0x72, - 0x73, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x26, - 0x0a, 0x0f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, - 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x54, - 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, - 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x54, 0x6f, 0x6b, 0x65, - 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x8f, 0x01, 0x0a, 0x16, 0x45, 0x78, 0x63, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x63, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, - 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x6b, - 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x6f, 0x6b, - 0x65, 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x22, 0x91, 0x01, 0x0a, 0x18, 0x45, - 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x43, +var File_core_contract_exchange_contract_proto protoreflect.FileDescriptor + +var file_core_contract_exchange_contract_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, + 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x22, 0xed, 0x01, 0x0a, 0x16, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x66, 0x69, 0x72, 0x73, 0x74, + 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x66, 0x69, 0x72, 0x73, 0x74, + 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x66, 0x69, 0x72, 0x73, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, + 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x65, 0x63, 0x6f, 0x6e, + 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0d, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, + 0x30, 0x0a, 0x14, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, + 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x73, + 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x22, 0x8f, 0x01, 0x0a, 0x16, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, + 0x6a, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, + 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x71, 0x75, + 0x61, 0x6e, 0x74, 0x22, 0x91, 0x01, 0x0a, 0x18, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x63, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, + 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, + 0x64, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x22, 0xb0, 0x01, 0x0a, 0x1b, 0x45, 0x78, 0x63, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, @@ -358,46 +368,36 @@ var file_core_exchange_contract_proto_rawDesc = []byte{ 0x03, 0x52, 0x0a, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x61, 0x6e, - 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x22, 0xb0, - 0x01, 0x0a, 0x1b, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, - 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, - 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, - 0x67, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, - 0x14, 0x0a, 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, - 0x71, 0x75, 0x61, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, - 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, - 0x64, 0x42, 0x4b, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x2f, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, 0x72, - 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, 0x2f, - 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x12, 0x1a, + 0x0a, 0x08, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x08, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x45, 0x0a, 0x18, 0x6f, 0x72, + 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, + 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x63, 0x6f, 0x72, + 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_core_exchange_contract_proto_rawDescOnce sync.Once - file_core_exchange_contract_proto_rawDescData = file_core_exchange_contract_proto_rawDesc + file_core_contract_exchange_contract_proto_rawDescOnce sync.Once + file_core_contract_exchange_contract_proto_rawDescData = file_core_contract_exchange_contract_proto_rawDesc ) -func file_core_exchange_contract_proto_rawDescGZIP() []byte { - file_core_exchange_contract_proto_rawDescOnce.Do(func() { - file_core_exchange_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_exchange_contract_proto_rawDescData) +func file_core_contract_exchange_contract_proto_rawDescGZIP() []byte { + file_core_contract_exchange_contract_proto_rawDescOnce.Do(func() { + file_core_contract_exchange_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_exchange_contract_proto_rawDescData) }) - return file_core_exchange_contract_proto_rawDescData + return file_core_contract_exchange_contract_proto_rawDescData } -var file_core_exchange_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_core_exchange_contract_proto_goTypes = []interface{}{ +var file_core_contract_exchange_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_core_contract_exchange_contract_proto_goTypes = []interface{}{ (*ExchangeCreateContract)(nil), // 0: protocol.ExchangeCreateContract (*ExchangeInjectContract)(nil), // 1: protocol.ExchangeInjectContract (*ExchangeWithdrawContract)(nil), // 2: protocol.ExchangeWithdrawContract (*ExchangeTransactionContract)(nil), // 3: protocol.ExchangeTransactionContract } -var file_core_exchange_contract_proto_depIdxs = []int32{ +var file_core_contract_exchange_contract_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 @@ -405,13 +405,13 @@ var file_core_exchange_contract_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for field type_name } -func init() { file_core_exchange_contract_proto_init() } -func file_core_exchange_contract_proto_init() { - if File_core_exchange_contract_proto != nil { +func init() { file_core_contract_exchange_contract_proto_init() } +func file_core_contract_exchange_contract_proto_init() { + if File_core_contract_exchange_contract_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_core_exchange_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_exchange_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ExchangeCreateContract); i { case 0: return &v.state @@ -423,7 +423,7 @@ func file_core_exchange_contract_proto_init() { return nil } } - file_core_exchange_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_exchange_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ExchangeInjectContract); i { case 0: return &v.state @@ -435,7 +435,7 @@ func file_core_exchange_contract_proto_init() { return nil } } - file_core_exchange_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_exchange_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ExchangeWithdrawContract); i { case 0: return &v.state @@ -447,7 +447,7 @@ func file_core_exchange_contract_proto_init() { return nil } } - file_core_exchange_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_exchange_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ExchangeTransactionContract); i { case 0: return &v.state @@ -464,18 +464,18 @@ func file_core_exchange_contract_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_core_exchange_contract_proto_rawDesc, + RawDescriptor: file_core_contract_exchange_contract_proto_rawDesc, NumEnums: 0, NumMessages: 4, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_core_exchange_contract_proto_goTypes, - DependencyIndexes: file_core_exchange_contract_proto_depIdxs, - MessageInfos: file_core_exchange_contract_proto_msgTypes, + GoTypes: file_core_contract_exchange_contract_proto_goTypes, + DependencyIndexes: file_core_contract_exchange_contract_proto_depIdxs, + MessageInfos: file_core_contract_exchange_contract_proto_msgTypes, }.Build() - File_core_exchange_contract_proto = out.File - file_core_exchange_contract_proto_rawDesc = nil - file_core_exchange_contract_proto_goTypes = nil - file_core_exchange_contract_proto_depIdxs = nil + File_core_contract_exchange_contract_proto = out.File + file_core_contract_exchange_contract_proto_rawDesc = nil + file_core_contract_exchange_contract_proto_goTypes = nil + file_core_contract_exchange_contract_proto_depIdxs = nil } diff --git a/pkg/proto/core/market_contract.pb.go b/pkg/proto/core/market_contract.pb.go index 57aef1e6b..510efe4c8 100644 --- a/pkg/proto/core/market_contract.pb.go +++ b/pkg/proto/core/market_contract.pb.go @@ -35,7 +35,7 @@ type MarketSellAssetContract struct { func (x *MarketSellAssetContract) Reset() { *x = MarketSellAssetContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_market_contract_proto_msgTypes[0] + mi := &file_core_contract_market_contract_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -48,7 +48,7 @@ func (x *MarketSellAssetContract) String() string { func (*MarketSellAssetContract) ProtoMessage() {} func (x *MarketSellAssetContract) ProtoReflect() protoreflect.Message { - mi := &file_core_market_contract_proto_msgTypes[0] + mi := &file_core_contract_market_contract_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -61,7 +61,7 @@ func (x *MarketSellAssetContract) ProtoReflect() protoreflect.Message { // Deprecated: Use MarketSellAssetContract.ProtoReflect.Descriptor instead. func (*MarketSellAssetContract) Descriptor() ([]byte, []int) { - return file_core_market_contract_proto_rawDescGZIP(), []int{0} + return file_core_contract_market_contract_proto_rawDescGZIP(), []int{0} } func (x *MarketSellAssetContract) GetOwnerAddress() []byte { @@ -111,7 +111,7 @@ type MarketCancelOrderContract struct { func (x *MarketCancelOrderContract) Reset() { *x = MarketCancelOrderContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_market_contract_proto_msgTypes[1] + mi := &file_core_contract_market_contract_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -124,7 +124,7 @@ func (x *MarketCancelOrderContract) String() string { func (*MarketCancelOrderContract) ProtoMessage() {} func (x *MarketCancelOrderContract) ProtoReflect() protoreflect.Message { - mi := &file_core_market_contract_proto_msgTypes[1] + mi := &file_core_contract_market_contract_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -137,7 +137,7 @@ func (x *MarketCancelOrderContract) ProtoReflect() protoreflect.Message { // Deprecated: Use MarketCancelOrderContract.ProtoReflect.Descriptor instead. func (*MarketCancelOrderContract) Descriptor() ([]byte, []int) { - return file_core_market_contract_proto_rawDescGZIP(), []int{1} + return file_core_contract_market_contract_proto_rawDescGZIP(), []int{1} } func (x *MarketCancelOrderContract) GetOwnerAddress() []byte { @@ -154,57 +154,57 @@ func (x *MarketCancelOrderContract) GetOrderId() []byte { return nil } -var File_core_market_contract_proto protoreflect.FileDescriptor +var File_core_contract_market_contract_proto protoreflect.FileDescriptor -var file_core_market_contract_proto_rawDesc = []byte{ - 0x0a, 0x1a, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x63, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0xe2, 0x01, 0x0a, 0x17, 0x4d, 0x61, 0x72, 0x6b, 0x65, - 0x74, 0x53, 0x65, 0x6c, 0x6c, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x65, 0x6c, 0x6c, 0x5f, - 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, - 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x73, - 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, - 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x20, 0x0a, 0x0c, 0x62, - 0x75, 0x79, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x0a, 0x62, 0x75, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x2c, 0x0a, - 0x12, 0x62, 0x75, 0x79, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, - 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x62, 0x75, 0x79, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x22, 0x5b, 0x0a, 0x19, 0x4d, - 0x61, 0x72, 0x6b, 0x65, 0x74, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x19, 0x0a, - 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x42, 0x4b, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, - 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, 0x72, 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, - 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +var file_core_contract_market_contract_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, + 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, + 0xe2, 0x01, 0x0a, 0x17, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x6c, 0x41, 0x73, + 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, + 0x65, 0x6e, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x11, 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x51, 0x75, 0x61, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x12, 0x20, 0x0a, 0x0c, 0x62, 0x75, 0x79, 0x5f, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x62, 0x75, 0x79, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x62, 0x75, 0x79, 0x5f, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x10, 0x62, 0x75, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x51, 0x75, 0x61, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x22, 0x5b, 0x0a, 0x19, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x43, 0x61, + 0x6e, 0x63, 0x65, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, + 0x64, 0x42, 0x45, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x29, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, + 0x77, 0x61, 0x79, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_core_market_contract_proto_rawDescOnce sync.Once - file_core_market_contract_proto_rawDescData = file_core_market_contract_proto_rawDesc + file_core_contract_market_contract_proto_rawDescOnce sync.Once + file_core_contract_market_contract_proto_rawDescData = file_core_contract_market_contract_proto_rawDesc ) -func file_core_market_contract_proto_rawDescGZIP() []byte { - file_core_market_contract_proto_rawDescOnce.Do(func() { - file_core_market_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_market_contract_proto_rawDescData) +func file_core_contract_market_contract_proto_rawDescGZIP() []byte { + file_core_contract_market_contract_proto_rawDescOnce.Do(func() { + file_core_contract_market_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_market_contract_proto_rawDescData) }) - return file_core_market_contract_proto_rawDescData + return file_core_contract_market_contract_proto_rawDescData } -var file_core_market_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_core_market_contract_proto_goTypes = []interface{}{ +var file_core_contract_market_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_core_contract_market_contract_proto_goTypes = []interface{}{ (*MarketSellAssetContract)(nil), // 0: protocol.MarketSellAssetContract (*MarketCancelOrderContract)(nil), // 1: protocol.MarketCancelOrderContract } -var file_core_market_contract_proto_depIdxs = []int32{ +var file_core_contract_market_contract_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 @@ -212,13 +212,13 @@ var file_core_market_contract_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for field type_name } -func init() { file_core_market_contract_proto_init() } -func file_core_market_contract_proto_init() { - if File_core_market_contract_proto != nil { +func init() { file_core_contract_market_contract_proto_init() } +func file_core_contract_market_contract_proto_init() { + if File_core_contract_market_contract_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_core_market_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_market_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MarketSellAssetContract); i { case 0: return &v.state @@ -230,7 +230,7 @@ func file_core_market_contract_proto_init() { return nil } } - file_core_market_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_market_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MarketCancelOrderContract); i { case 0: return &v.state @@ -247,18 +247,18 @@ func file_core_market_contract_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_core_market_contract_proto_rawDesc, + RawDescriptor: file_core_contract_market_contract_proto_rawDesc, NumEnums: 0, NumMessages: 2, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_core_market_contract_proto_goTypes, - DependencyIndexes: file_core_market_contract_proto_depIdxs, - MessageInfos: file_core_market_contract_proto_msgTypes, + GoTypes: file_core_contract_market_contract_proto_goTypes, + DependencyIndexes: file_core_contract_market_contract_proto_depIdxs, + MessageInfos: file_core_contract_market_contract_proto_msgTypes, }.Build() - File_core_market_contract_proto = out.File - file_core_market_contract_proto_rawDesc = nil - file_core_market_contract_proto_goTypes = nil - file_core_market_contract_proto_depIdxs = nil + File_core_contract_market_contract_proto = out.File + file_core_contract_market_contract_proto_rawDesc = nil + file_core_contract_market_contract_proto_goTypes = nil + file_core_contract_market_contract_proto_depIdxs = nil } diff --git a/pkg/proto/core/proposal_contract.pb.go b/pkg/proto/core/proposal_contract.pb.go index 987595bf2..dcb77a152 100644 --- a/pkg/proto/core/proposal_contract.pb.go +++ b/pkg/proto/core/proposal_contract.pb.go @@ -33,7 +33,7 @@ type ProposalApproveContract struct { func (x *ProposalApproveContract) Reset() { *x = ProposalApproveContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_proposal_contract_proto_msgTypes[0] + mi := &file_core_contract_proposal_contract_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -46,7 +46,7 @@ func (x *ProposalApproveContract) String() string { func (*ProposalApproveContract) ProtoMessage() {} func (x *ProposalApproveContract) ProtoReflect() protoreflect.Message { - mi := &file_core_proposal_contract_proto_msgTypes[0] + mi := &file_core_contract_proposal_contract_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -59,7 +59,7 @@ func (x *ProposalApproveContract) ProtoReflect() protoreflect.Message { // Deprecated: Use ProposalApproveContract.ProtoReflect.Descriptor instead. func (*ProposalApproveContract) Descriptor() ([]byte, []int) { - return file_core_proposal_contract_proto_rawDescGZIP(), []int{0} + return file_core_contract_proposal_contract_proto_rawDescGZIP(), []int{0} } func (x *ProposalApproveContract) GetOwnerAddress() []byte { @@ -95,7 +95,7 @@ type ProposalCreateContract struct { func (x *ProposalCreateContract) Reset() { *x = ProposalCreateContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_proposal_contract_proto_msgTypes[1] + mi := &file_core_contract_proposal_contract_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -108,7 +108,7 @@ func (x *ProposalCreateContract) String() string { func (*ProposalCreateContract) ProtoMessage() {} func (x *ProposalCreateContract) ProtoReflect() protoreflect.Message { - mi := &file_core_proposal_contract_proto_msgTypes[1] + mi := &file_core_contract_proposal_contract_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -121,7 +121,7 @@ func (x *ProposalCreateContract) ProtoReflect() protoreflect.Message { // Deprecated: Use ProposalCreateContract.ProtoReflect.Descriptor instead. func (*ProposalCreateContract) Descriptor() ([]byte, []int) { - return file_core_proposal_contract_proto_rawDescGZIP(), []int{1} + return file_core_contract_proposal_contract_proto_rawDescGZIP(), []int{1} } func (x *ProposalCreateContract) GetOwnerAddress() []byte { @@ -150,7 +150,7 @@ type ProposalDeleteContract struct { func (x *ProposalDeleteContract) Reset() { *x = ProposalDeleteContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_proposal_contract_proto_msgTypes[2] + mi := &file_core_contract_proposal_contract_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -163,7 +163,7 @@ func (x *ProposalDeleteContract) String() string { func (*ProposalDeleteContract) ProtoMessage() {} func (x *ProposalDeleteContract) ProtoReflect() protoreflect.Message { - mi := &file_core_proposal_contract_proto_msgTypes[2] + mi := &file_core_contract_proposal_contract_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -176,7 +176,7 @@ func (x *ProposalDeleteContract) ProtoReflect() protoreflect.Message { // Deprecated: Use ProposalDeleteContract.ProtoReflect.Descriptor instead. func (*ProposalDeleteContract) Descriptor() ([]byte, []int) { - return file_core_proposal_contract_proto_rawDescGZIP(), []int{2} + return file_core_contract_proposal_contract_proto_rawDescGZIP(), []int{2} } func (x *ProposalDeleteContract) GetOwnerAddress() []byte { @@ -193,67 +193,67 @@ func (x *ProposalDeleteContract) GetProposalId() int64 { return 0 } -var File_core_proposal_contract_proto protoreflect.FileDescriptor - -var file_core_proposal_contract_proto_rawDesc = []byte{ - 0x0a, 0x1c, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, - 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0x87, 0x01, 0x0a, 0x17, 0x50, 0x72, 0x6f, - 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, - 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x6f, - 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, - 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x69, 0x73, - 0x5f, 0x61, 0x64, 0x64, 0x5f, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, 0x41, 0x64, 0x64, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, - 0x61, 0x6c, 0x22, 0xce, 0x01, 0x0a, 0x16, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, - 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x12, 0x50, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, - 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, - 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, - 0x74, 0x65, 0x72, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, - 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, - 0x02, 0x38, 0x01, 0x22, 0x5e, 0x0a, 0x16, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, +var File_core_contract_proposal_contract_proto protoreflect.FileDescriptor + +var file_core_contract_proposal_contract_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, + 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x22, 0x87, 0x01, 0x0a, 0x17, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x41, 0x70, + 0x70, 0x72, 0x6f, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, - 0x6c, 0x49, 0x64, 0x42, 0x4b, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, - 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, 0x6f, - 0x62, 0x72, 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, 0x64, - 0x6b, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x72, 0x65, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6c, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x69, 0x73, 0x5f, 0x61, 0x64, 0x64, 0x5f, 0x61, 0x70, + 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, + 0x41, 0x64, 0x64, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x22, 0xce, 0x01, 0x0a, 0x16, + 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x50, 0x0a, 0x0a, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x30, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, + 0x73, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x3d, 0x0a, + 0x0f, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5e, 0x0a, 0x16, + 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x70, + 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x64, 0x42, 0x45, 0x0a, 0x18, + 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x63, + 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_core_proposal_contract_proto_rawDescOnce sync.Once - file_core_proposal_contract_proto_rawDescData = file_core_proposal_contract_proto_rawDesc + file_core_contract_proposal_contract_proto_rawDescOnce sync.Once + file_core_contract_proposal_contract_proto_rawDescData = file_core_contract_proposal_contract_proto_rawDesc ) -func file_core_proposal_contract_proto_rawDescGZIP() []byte { - file_core_proposal_contract_proto_rawDescOnce.Do(func() { - file_core_proposal_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_proposal_contract_proto_rawDescData) +func file_core_contract_proposal_contract_proto_rawDescGZIP() []byte { + file_core_contract_proposal_contract_proto_rawDescOnce.Do(func() { + file_core_contract_proposal_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_proposal_contract_proto_rawDescData) }) - return file_core_proposal_contract_proto_rawDescData + return file_core_contract_proposal_contract_proto_rawDescData } -var file_core_proposal_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_core_proposal_contract_proto_goTypes = []interface{}{ +var file_core_contract_proposal_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_core_contract_proposal_contract_proto_goTypes = []interface{}{ (*ProposalApproveContract)(nil), // 0: protocol.ProposalApproveContract (*ProposalCreateContract)(nil), // 1: protocol.ProposalCreateContract (*ProposalDeleteContract)(nil), // 2: protocol.ProposalDeleteContract nil, // 3: protocol.ProposalCreateContract.ParametersEntry } -var file_core_proposal_contract_proto_depIdxs = []int32{ +var file_core_contract_proposal_contract_proto_depIdxs = []int32{ 3, // 0: protocol.ProposalCreateContract.parameters:type_name -> protocol.ProposalCreateContract.ParametersEntry 1, // [1:1] is the sub-list for method output_type 1, // [1:1] is the sub-list for method input_type @@ -262,13 +262,13 @@ var file_core_proposal_contract_proto_depIdxs = []int32{ 0, // [0:1] is the sub-list for field type_name } -func init() { file_core_proposal_contract_proto_init() } -func file_core_proposal_contract_proto_init() { - if File_core_proposal_contract_proto != nil { +func init() { file_core_contract_proposal_contract_proto_init() } +func file_core_contract_proposal_contract_proto_init() { + if File_core_contract_proposal_contract_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_core_proposal_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_proposal_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ProposalApproveContract); i { case 0: return &v.state @@ -280,7 +280,7 @@ func file_core_proposal_contract_proto_init() { return nil } } - file_core_proposal_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_proposal_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ProposalCreateContract); i { case 0: return &v.state @@ -292,7 +292,7 @@ func file_core_proposal_contract_proto_init() { return nil } } - file_core_proposal_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_proposal_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ProposalDeleteContract); i { case 0: return &v.state @@ -309,18 +309,18 @@ func file_core_proposal_contract_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_core_proposal_contract_proto_rawDesc, + RawDescriptor: file_core_contract_proposal_contract_proto_rawDesc, NumEnums: 0, NumMessages: 4, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_core_proposal_contract_proto_goTypes, - DependencyIndexes: file_core_proposal_contract_proto_depIdxs, - MessageInfos: file_core_proposal_contract_proto_msgTypes, + GoTypes: file_core_contract_proposal_contract_proto_goTypes, + DependencyIndexes: file_core_contract_proposal_contract_proto_depIdxs, + MessageInfos: file_core_contract_proposal_contract_proto_msgTypes, }.Build() - File_core_proposal_contract_proto = out.File - file_core_proposal_contract_proto_rawDesc = nil - file_core_proposal_contract_proto_goTypes = nil - file_core_proposal_contract_proto_depIdxs = nil + File_core_contract_proposal_contract_proto = out.File + file_core_contract_proposal_contract_proto_rawDesc = nil + file_core_contract_proposal_contract_proto_goTypes = nil + file_core_contract_proposal_contract_proto_depIdxs = nil } diff --git a/pkg/proto/core/shield_contract.pb.go b/pkg/proto/core/shield_contract.pb.go index 71359cdbe..9c2696207 100644 --- a/pkg/proto/core/shield_contract.pb.go +++ b/pkg/proto/core/shield_contract.pb.go @@ -31,7 +31,7 @@ type AuthenticationPath struct { func (x *AuthenticationPath) Reset() { *x = AuthenticationPath{} if protoimpl.UnsafeEnabled { - mi := &file_core_shield_contract_proto_msgTypes[0] + mi := &file_core_contract_shield_contract_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -44,7 +44,7 @@ func (x *AuthenticationPath) String() string { func (*AuthenticationPath) ProtoMessage() {} func (x *AuthenticationPath) ProtoReflect() protoreflect.Message { - mi := &file_core_shield_contract_proto_msgTypes[0] + mi := &file_core_contract_shield_contract_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -57,7 +57,7 @@ func (x *AuthenticationPath) ProtoReflect() protoreflect.Message { // Deprecated: Use AuthenticationPath.ProtoReflect.Descriptor instead. func (*AuthenticationPath) Descriptor() ([]byte, []int) { - return file_core_shield_contract_proto_rawDescGZIP(), []int{0} + return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{0} } func (x *AuthenticationPath) GetValue() []bool { @@ -80,7 +80,7 @@ type MerklePath struct { func (x *MerklePath) Reset() { *x = MerklePath{} if protoimpl.UnsafeEnabled { - mi := &file_core_shield_contract_proto_msgTypes[1] + mi := &file_core_contract_shield_contract_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -93,7 +93,7 @@ func (x *MerklePath) String() string { func (*MerklePath) ProtoMessage() {} func (x *MerklePath) ProtoReflect() protoreflect.Message { - mi := &file_core_shield_contract_proto_msgTypes[1] + mi := &file_core_contract_shield_contract_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -106,7 +106,7 @@ func (x *MerklePath) ProtoReflect() protoreflect.Message { // Deprecated: Use MerklePath.ProtoReflect.Descriptor instead. func (*MerklePath) Descriptor() ([]byte, []int) { - return file_core_shield_contract_proto_rawDescGZIP(), []int{1} + return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{1} } func (x *MerklePath) GetAuthenticationPaths() []*AuthenticationPath { @@ -142,7 +142,7 @@ type OutputPoint struct { func (x *OutputPoint) Reset() { *x = OutputPoint{} if protoimpl.UnsafeEnabled { - mi := &file_core_shield_contract_proto_msgTypes[2] + mi := &file_core_contract_shield_contract_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -155,7 +155,7 @@ func (x *OutputPoint) String() string { func (*OutputPoint) ProtoMessage() {} func (x *OutputPoint) ProtoReflect() protoreflect.Message { - mi := &file_core_shield_contract_proto_msgTypes[2] + mi := &file_core_contract_shield_contract_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -168,7 +168,7 @@ func (x *OutputPoint) ProtoReflect() protoreflect.Message { // Deprecated: Use OutputPoint.ProtoReflect.Descriptor instead. func (*OutputPoint) Descriptor() ([]byte, []int) { - return file_core_shield_contract_proto_rawDescGZIP(), []int{2} + return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{2} } func (x *OutputPoint) GetHash() []byte { @@ -197,7 +197,7 @@ type OutputPointInfo struct { func (x *OutputPointInfo) Reset() { *x = OutputPointInfo{} if protoimpl.UnsafeEnabled { - mi := &file_core_shield_contract_proto_msgTypes[3] + mi := &file_core_contract_shield_contract_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -210,7 +210,7 @@ func (x *OutputPointInfo) String() string { func (*OutputPointInfo) ProtoMessage() {} func (x *OutputPointInfo) ProtoReflect() protoreflect.Message { - mi := &file_core_shield_contract_proto_msgTypes[3] + mi := &file_core_contract_shield_contract_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -223,7 +223,7 @@ func (x *OutputPointInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use OutputPointInfo.ProtoReflect.Descriptor instead. func (*OutputPointInfo) Descriptor() ([]byte, []int) { - return file_core_shield_contract_proto_rawDescGZIP(), []int{3} + return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{3} } func (x *OutputPointInfo) GetOutPoints() []*OutputPoint { @@ -251,7 +251,7 @@ type PedersenHash struct { func (x *PedersenHash) Reset() { *x = PedersenHash{} if protoimpl.UnsafeEnabled { - mi := &file_core_shield_contract_proto_msgTypes[4] + mi := &file_core_contract_shield_contract_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -264,7 +264,7 @@ func (x *PedersenHash) String() string { func (*PedersenHash) ProtoMessage() {} func (x *PedersenHash) ProtoReflect() protoreflect.Message { - mi := &file_core_shield_contract_proto_msgTypes[4] + mi := &file_core_contract_shield_contract_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -277,7 +277,7 @@ func (x *PedersenHash) ProtoReflect() protoreflect.Message { // Deprecated: Use PedersenHash.ProtoReflect.Descriptor instead. func (*PedersenHash) Descriptor() ([]byte, []int) { - return file_core_shield_contract_proto_rawDescGZIP(), []int{4} + return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{4} } func (x *PedersenHash) GetContent() []byte { @@ -300,7 +300,7 @@ type IncrementalMerkleTree struct { func (x *IncrementalMerkleTree) Reset() { *x = IncrementalMerkleTree{} if protoimpl.UnsafeEnabled { - mi := &file_core_shield_contract_proto_msgTypes[5] + mi := &file_core_contract_shield_contract_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -313,7 +313,7 @@ func (x *IncrementalMerkleTree) String() string { func (*IncrementalMerkleTree) ProtoMessage() {} func (x *IncrementalMerkleTree) ProtoReflect() protoreflect.Message { - mi := &file_core_shield_contract_proto_msgTypes[5] + mi := &file_core_contract_shield_contract_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -326,7 +326,7 @@ func (x *IncrementalMerkleTree) ProtoReflect() protoreflect.Message { // Deprecated: Use IncrementalMerkleTree.ProtoReflect.Descriptor instead. func (*IncrementalMerkleTree) Descriptor() ([]byte, []int) { - return file_core_shield_contract_proto_rawDescGZIP(), []int{5} + return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{5} } func (x *IncrementalMerkleTree) GetLeft() *PedersenHash { @@ -366,7 +366,7 @@ type IncrementalMerkleVoucher struct { func (x *IncrementalMerkleVoucher) Reset() { *x = IncrementalMerkleVoucher{} if protoimpl.UnsafeEnabled { - mi := &file_core_shield_contract_proto_msgTypes[6] + mi := &file_core_contract_shield_contract_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -379,7 +379,7 @@ func (x *IncrementalMerkleVoucher) String() string { func (*IncrementalMerkleVoucher) ProtoMessage() {} func (x *IncrementalMerkleVoucher) ProtoReflect() protoreflect.Message { - mi := &file_core_shield_contract_proto_msgTypes[6] + mi := &file_core_contract_shield_contract_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -392,7 +392,7 @@ func (x *IncrementalMerkleVoucher) ProtoReflect() protoreflect.Message { // Deprecated: Use IncrementalMerkleVoucher.ProtoReflect.Descriptor instead. func (*IncrementalMerkleVoucher) Descriptor() ([]byte, []int) { - return file_core_shield_contract_proto_rawDescGZIP(), []int{6} + return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{6} } func (x *IncrementalMerkleVoucher) GetTree() *IncrementalMerkleTree { @@ -449,7 +449,7 @@ type IncrementalMerkleVoucherInfo struct { func (x *IncrementalMerkleVoucherInfo) Reset() { *x = IncrementalMerkleVoucherInfo{} if protoimpl.UnsafeEnabled { - mi := &file_core_shield_contract_proto_msgTypes[7] + mi := &file_core_contract_shield_contract_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -462,7 +462,7 @@ func (x *IncrementalMerkleVoucherInfo) String() string { func (*IncrementalMerkleVoucherInfo) ProtoMessage() {} func (x *IncrementalMerkleVoucherInfo) ProtoReflect() protoreflect.Message { - mi := &file_core_shield_contract_proto_msgTypes[7] + mi := &file_core_contract_shield_contract_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -475,7 +475,7 @@ func (x *IncrementalMerkleVoucherInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use IncrementalMerkleVoucherInfo.ProtoReflect.Descriptor instead. func (*IncrementalMerkleVoucherInfo) Descriptor() ([]byte, []int) { - return file_core_shield_contract_proto_rawDescGZIP(), []int{7} + return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{7} } func (x *IncrementalMerkleVoucherInfo) GetVouchers() []*IncrementalMerkleVoucher { @@ -508,7 +508,7 @@ type SpendDescription struct { func (x *SpendDescription) Reset() { *x = SpendDescription{} if protoimpl.UnsafeEnabled { - mi := &file_core_shield_contract_proto_msgTypes[8] + mi := &file_core_contract_shield_contract_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -521,7 +521,7 @@ func (x *SpendDescription) String() string { func (*SpendDescription) ProtoMessage() {} func (x *SpendDescription) ProtoReflect() protoreflect.Message { - mi := &file_core_shield_contract_proto_msgTypes[8] + mi := &file_core_contract_shield_contract_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -534,7 +534,7 @@ func (x *SpendDescription) ProtoReflect() protoreflect.Message { // Deprecated: Use SpendDescription.ProtoReflect.Descriptor instead. func (*SpendDescription) Descriptor() ([]byte, []int) { - return file_core_shield_contract_proto_rawDescGZIP(), []int{8} + return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{8} } func (x *SpendDescription) GetValueCommitment() []byte { @@ -595,7 +595,7 @@ type ReceiveDescription struct { func (x *ReceiveDescription) Reset() { *x = ReceiveDescription{} if protoimpl.UnsafeEnabled { - mi := &file_core_shield_contract_proto_msgTypes[9] + mi := &file_core_contract_shield_contract_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -608,7 +608,7 @@ func (x *ReceiveDescription) String() string { func (*ReceiveDescription) ProtoMessage() {} func (x *ReceiveDescription) ProtoReflect() protoreflect.Message { - mi := &file_core_shield_contract_proto_msgTypes[9] + mi := &file_core_contract_shield_contract_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -621,7 +621,7 @@ func (x *ReceiveDescription) ProtoReflect() protoreflect.Message { // Deprecated: Use ReceiveDescription.ProtoReflect.Descriptor instead. func (*ReceiveDescription) Descriptor() ([]byte, []int) { - return file_core_shield_contract_proto_rawDescGZIP(), []int{9} + return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{9} } func (x *ReceiveDescription) GetValueCommitment() []byte { @@ -683,7 +683,7 @@ type ShieldedTransferContract struct { func (x *ShieldedTransferContract) Reset() { *x = ShieldedTransferContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_shield_contract_proto_msgTypes[10] + mi := &file_core_contract_shield_contract_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -696,7 +696,7 @@ func (x *ShieldedTransferContract) String() string { func (*ShieldedTransferContract) ProtoMessage() {} func (x *ShieldedTransferContract) ProtoReflect() protoreflect.Message { - mi := &file_core_shield_contract_proto_msgTypes[10] + mi := &file_core_contract_shield_contract_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -709,7 +709,7 @@ func (x *ShieldedTransferContract) ProtoReflect() protoreflect.Message { // Deprecated: Use ShieldedTransferContract.ProtoReflect.Descriptor instead. func (*ShieldedTransferContract) Descriptor() ([]byte, []int) { - return file_core_shield_contract_proto_rawDescGZIP(), []int{10} + return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{10} } func (x *ShieldedTransferContract) GetTransparentFromAddress() []byte { @@ -761,144 +761,144 @@ func (x *ShieldedTransferContract) GetToAmount() int64 { return 0 } -var File_core_shield_contract_proto protoreflect.FileDescriptor - -var file_core_shield_contract_proto_rawDesc = []byte{ - 0x0a, 0x1a, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x63, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0x2a, 0x0a, 0x12, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, - 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, 0x12, 0x14, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x22, 0x83, 0x01, 0x0a, 0x0a, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x50, 0x61, 0x74, - 0x68, 0x12, 0x4f, 0x0a, 0x14, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x65, - 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, 0x52, 0x13, 0x61, - 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, - 0x68, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x08, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x0e, 0x0a, 0x02, 0x72, 0x74, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x72, 0x74, 0x22, 0x37, 0x0a, 0x0b, 0x4f, 0x75, 0x74, 0x70, - 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x69, - 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, - 0x78, 0x22, 0x64, 0x0a, 0x0f, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, - 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x34, 0x0a, 0x0a, 0x6f, 0x75, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, - 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, - 0x09, 0x6f, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x62, - 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x22, 0x28, 0x0a, 0x0c, 0x50, 0x65, 0x64, 0x65, 0x72, - 0x73, 0x65, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, - 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, - 0x74, 0x22, 0xa3, 0x01, 0x0a, 0x15, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, - 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, 0x65, 0x65, 0x12, 0x2a, 0x0a, 0x04, 0x6c, - 0x65, 0x66, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x64, 0x65, 0x72, 0x73, 0x65, 0x6e, 0x48, 0x61, 0x73, - 0x68, 0x52, 0x04, 0x6c, 0x65, 0x66, 0x74, 0x12, 0x2c, 0x0a, 0x05, 0x72, 0x69, 0x67, 0x68, 0x74, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x50, 0x65, 0x64, 0x65, 0x72, 0x73, 0x65, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x05, - 0x72, 0x69, 0x67, 0x68, 0x74, 0x12, 0x30, 0x0a, 0x07, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x73, - 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x50, 0x65, 0x64, 0x65, 0x72, 0x73, 0x65, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x07, - 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xa5, 0x02, 0x0a, 0x18, 0x49, 0x6e, 0x63, 0x72, - 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, - 0x63, 0x68, 0x65, 0x72, 0x12, 0x33, 0x0a, 0x04, 0x74, 0x72, 0x65, 0x65, 0x18, 0x01, 0x20, 0x01, +var File_core_contract_shield_contract_proto protoreflect.FileDescriptor + +var file_core_contract_shield_contract_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, + 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, + 0x2a, 0x0a, 0x12, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x50, 0x61, 0x74, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x83, 0x01, 0x0a, 0x0a, + 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x4f, 0x0a, 0x14, 0x61, 0x75, + 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x74, + 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, 0x52, 0x13, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x03, 0x28, 0x08, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x12, 0x0e, 0x0a, 0x02, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x72, + 0x74, 0x22, 0x37, 0x0a, 0x0b, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, + 0x68, 0x61, 0x73, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x64, 0x0a, 0x0f, 0x4f, 0x75, + 0x74, 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x34, 0x0a, + 0x0a, 0x6f, 0x75, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x09, 0x6f, 0x75, 0x74, 0x50, 0x6f, 0x69, + 0x6e, 0x74, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, + 0x22, 0x28, 0x0a, 0x0c, 0x50, 0x65, 0x64, 0x65, 0x72, 0x73, 0x65, 0x6e, 0x48, 0x61, 0x73, 0x68, + 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0xa3, 0x01, 0x0a, 0x15, 0x49, + 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, + 0x54, 0x72, 0x65, 0x65, 0x12, 0x2a, 0x0a, 0x04, 0x6c, 0x65, 0x66, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, + 0x64, 0x65, 0x72, 0x73, 0x65, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x04, 0x6c, 0x65, 0x66, 0x74, + 0x12, 0x2c, 0x0a, 0x05, 0x72, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x64, 0x65, 0x72, + 0x73, 0x65, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x05, 0x72, 0x69, 0x67, 0x68, 0x74, 0x12, 0x30, + 0x0a, 0x07, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x64, 0x65, 0x72, + 0x73, 0x65, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x07, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x73, + 0x22, 0xa5, 0x02, 0x0a, 0x18, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, + 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x12, 0x33, 0x0a, + 0x04, 0x74, 0x72, 0x65, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, + 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, 0x65, 0x65, 0x52, 0x04, 0x74, 0x72, + 0x65, 0x65, 0x12, 0x2e, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, + 0x64, 0x65, 0x72, 0x73, 0x65, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x6c, + 0x65, 0x64, 0x12, 0x37, 0x0a, 0x06, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, - 0x72, 0x65, 0x65, 0x52, 0x04, 0x74, 0x72, 0x65, 0x65, 0x12, 0x2e, 0x0a, 0x06, 0x66, 0x69, 0x6c, - 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x64, 0x65, 0x72, 0x73, 0x65, 0x6e, 0x48, 0x61, 0x73, - 0x68, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x12, 0x37, 0x0a, 0x06, 0x63, 0x75, 0x72, - 0x73, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, - 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, 0x65, 0x65, 0x52, 0x06, 0x63, 0x75, 0x72, 0x73, - 0x6f, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x5f, 0x64, 0x65, 0x70, - 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, - 0x44, 0x65, 0x70, 0x74, 0x68, 0x12, 0x0e, 0x0a, 0x02, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x02, 0x72, 0x74, 0x12, 0x38, 0x0a, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, - 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, - 0x6e, 0x74, 0x52, 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x22, - 0x74, 0x0a, 0x1c, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, - 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, - 0x3e, 0x0a, 0x08, 0x76, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, - 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, - 0x75, 0x63, 0x68, 0x65, 0x72, 0x52, 0x08, 0x76, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x73, 0x12, - 0x14, 0x0a, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x05, - 0x70, 0x61, 0x74, 0x68, 0x73, 0x22, 0xd9, 0x01, 0x0a, 0x10, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x44, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x12, 0x1c, 0x0a, - 0x09, 0x6e, 0x75, 0x6c, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x09, 0x6e, 0x75, 0x6c, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x72, - 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x72, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x7a, - 0x6b, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x7a, 0x6b, - 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x3a, 0x0a, 0x19, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x61, - 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, - 0x72, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x17, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x41, - 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, - 0x65, 0x22, 0xbe, 0x01, 0x0a, 0x12, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x44, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x0f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, - 0x65, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6e, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, - 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x6e, 0x6f, - 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, - 0x65, 0x70, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x65, 0x70, 0x6b, 0x12, 0x13, - 0x0a, 0x05, 0x63, 0x5f, 0x65, 0x6e, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x63, - 0x45, 0x6e, 0x63, 0x12, 0x13, 0x0a, 0x05, 0x63, 0x5f, 0x6f, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x04, 0x63, 0x4f, 0x75, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x7a, 0x6b, 0x70, 0x72, - 0x6f, 0x6f, 0x66, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x7a, 0x6b, 0x70, 0x72, 0x6f, - 0x6f, 0x66, 0x22, 0x8d, 0x03, 0x0a, 0x18, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, - 0x38, 0x0a, 0x18, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x66, - 0x72, 0x6f, 0x6d, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x16, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x72, - 0x6f, 0x6d, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, - 0x6d, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, - 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x11, 0x73, 0x70, - 0x65, 0x6e, 0x64, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x10, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x4d, 0x0a, 0x13, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x64, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x63, 0x65, - 0x69, 0x76, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, - 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x11, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x69, - 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x62, - 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, - 0x34, 0x0a, 0x16, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, - 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x61, 0x6d, 0x6f, 0x75, - 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, - 0x6e, 0x74, 0x42, 0x4b, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x2f, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, - 0x72, 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, - 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x72, 0x65, 0x65, 0x52, 0x06, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, + 0x75, 0x72, 0x73, 0x6f, 0x72, 0x5f, 0x64, 0x65, 0x70, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0b, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x44, 0x65, 0x70, 0x74, 0x68, 0x12, 0x0e, + 0x0a, 0x02, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x72, 0x74, 0x12, 0x38, + 0x0a, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x0b, 0x6f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x22, 0x74, 0x0a, 0x1c, 0x49, 0x6e, 0x63, 0x72, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, + 0x63, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3e, 0x0a, 0x08, 0x76, 0x6f, 0x75, 0x63, + 0x68, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, + 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x52, 0x08, + 0x76, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x74, 0x68, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x22, 0xd9, + 0x01, 0x0a, 0x10, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x16, + 0x0a, 0x06, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, + 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x75, 0x6c, 0x6c, 0x69, 0x66, + 0x69, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x6e, 0x75, 0x6c, 0x6c, 0x69, + 0x66, 0x69, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x72, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x02, 0x72, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x7a, 0x6b, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x7a, 0x6b, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x3a, + 0x0a, 0x19, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, + 0x79, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x17, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, + 0x79, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0xbe, 0x01, 0x0a, 0x12, 0x52, + 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0f, + 0x6e, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x6e, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x70, 0x6b, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x03, 0x65, 0x70, 0x6b, 0x12, 0x13, 0x0a, 0x05, 0x63, 0x5f, 0x65, 0x6e, 0x63, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x63, 0x45, 0x6e, 0x63, 0x12, 0x13, 0x0a, 0x05, + 0x63, 0x5f, 0x6f, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x63, 0x4f, 0x75, + 0x74, 0x12, 0x18, 0x0a, 0x07, 0x7a, 0x6b, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x07, 0x7a, 0x6b, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x22, 0x8d, 0x03, 0x0a, 0x18, + 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x38, 0x0a, 0x18, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x16, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x11, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x64, 0x65, 0x73, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x44, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x73, 0x70, 0x65, 0x6e, + 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4d, 0x0a, 0x13, + 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x44, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, + 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x11, 0x62, + 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, + 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, + 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b, + 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x45, 0x0a, 0x18, 0x6f, + 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x63, 0x6f, + 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_core_shield_contract_proto_rawDescOnce sync.Once - file_core_shield_contract_proto_rawDescData = file_core_shield_contract_proto_rawDesc + file_core_contract_shield_contract_proto_rawDescOnce sync.Once + file_core_contract_shield_contract_proto_rawDescData = file_core_contract_shield_contract_proto_rawDesc ) -func file_core_shield_contract_proto_rawDescGZIP() []byte { - file_core_shield_contract_proto_rawDescOnce.Do(func() { - file_core_shield_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_shield_contract_proto_rawDescData) +func file_core_contract_shield_contract_proto_rawDescGZIP() []byte { + file_core_contract_shield_contract_proto_rawDescOnce.Do(func() { + file_core_contract_shield_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_shield_contract_proto_rawDescData) }) - return file_core_shield_contract_proto_rawDescData + return file_core_contract_shield_contract_proto_rawDescData } -var file_core_shield_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_core_shield_contract_proto_goTypes = []interface{}{ +var file_core_contract_shield_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 11) +var file_core_contract_shield_contract_proto_goTypes = []interface{}{ (*AuthenticationPath)(nil), // 0: protocol.AuthenticationPath (*MerklePath)(nil), // 1: protocol.MerklePath (*OutputPoint)(nil), // 2: protocol.OutputPoint @@ -911,7 +911,7 @@ var file_core_shield_contract_proto_goTypes = []interface{}{ (*ReceiveDescription)(nil), // 9: protocol.ReceiveDescription (*ShieldedTransferContract)(nil), // 10: protocol.ShieldedTransferContract } -var file_core_shield_contract_proto_depIdxs = []int32{ +var file_core_contract_shield_contract_proto_depIdxs = []int32{ 0, // 0: protocol.MerklePath.authentication_paths:type_name -> protocol.AuthenticationPath 2, // 1: protocol.OutputPointInfo.out_points:type_name -> protocol.OutputPoint 4, // 2: protocol.IncrementalMerkleTree.left:type_name -> protocol.PedersenHash @@ -931,13 +931,13 @@ var file_core_shield_contract_proto_depIdxs = []int32{ 0, // [0:12] is the sub-list for field type_name } -func init() { file_core_shield_contract_proto_init() } -func file_core_shield_contract_proto_init() { - if File_core_shield_contract_proto != nil { +func init() { file_core_contract_shield_contract_proto_init() } +func file_core_contract_shield_contract_proto_init() { + if File_core_contract_shield_contract_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_core_shield_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_shield_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AuthenticationPath); i { case 0: return &v.state @@ -949,7 +949,7 @@ func file_core_shield_contract_proto_init() { return nil } } - file_core_shield_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_shield_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MerklePath); i { case 0: return &v.state @@ -961,7 +961,7 @@ func file_core_shield_contract_proto_init() { return nil } } - file_core_shield_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_shield_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*OutputPoint); i { case 0: return &v.state @@ -973,7 +973,7 @@ func file_core_shield_contract_proto_init() { return nil } } - file_core_shield_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_shield_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*OutputPointInfo); i { case 0: return &v.state @@ -985,7 +985,7 @@ func file_core_shield_contract_proto_init() { return nil } } - file_core_shield_contract_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_shield_contract_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PedersenHash); i { case 0: return &v.state @@ -997,7 +997,7 @@ func file_core_shield_contract_proto_init() { return nil } } - file_core_shield_contract_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_shield_contract_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*IncrementalMerkleTree); i { case 0: return &v.state @@ -1009,7 +1009,7 @@ func file_core_shield_contract_proto_init() { return nil } } - file_core_shield_contract_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_shield_contract_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*IncrementalMerkleVoucher); i { case 0: return &v.state @@ -1021,7 +1021,7 @@ func file_core_shield_contract_proto_init() { return nil } } - file_core_shield_contract_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_shield_contract_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*IncrementalMerkleVoucherInfo); i { case 0: return &v.state @@ -1033,7 +1033,7 @@ func file_core_shield_contract_proto_init() { return nil } } - file_core_shield_contract_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_shield_contract_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SpendDescription); i { case 0: return &v.state @@ -1045,7 +1045,7 @@ func file_core_shield_contract_proto_init() { return nil } } - file_core_shield_contract_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_shield_contract_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ReceiveDescription); i { case 0: return &v.state @@ -1057,7 +1057,7 @@ func file_core_shield_contract_proto_init() { return nil } } - file_core_shield_contract_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_shield_contract_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ShieldedTransferContract); i { case 0: return &v.state @@ -1074,18 +1074,18 @@ func file_core_shield_contract_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_core_shield_contract_proto_rawDesc, + RawDescriptor: file_core_contract_shield_contract_proto_rawDesc, NumEnums: 0, NumMessages: 11, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_core_shield_contract_proto_goTypes, - DependencyIndexes: file_core_shield_contract_proto_depIdxs, - MessageInfos: file_core_shield_contract_proto_msgTypes, + GoTypes: file_core_contract_shield_contract_proto_goTypes, + DependencyIndexes: file_core_contract_shield_contract_proto_depIdxs, + MessageInfos: file_core_contract_shield_contract_proto_msgTypes, }.Build() - File_core_shield_contract_proto = out.File - file_core_shield_contract_proto_rawDesc = nil - file_core_shield_contract_proto_goTypes = nil - file_core_shield_contract_proto_depIdxs = nil + File_core_contract_shield_contract_proto = out.File + file_core_contract_shield_contract_proto_rawDesc = nil + file_core_contract_shield_contract_proto_goTypes = nil + file_core_contract_shield_contract_proto_depIdxs = nil } diff --git a/pkg/proto/core/smart_contract.pb.go b/pkg/proto/core/smart_contract.pb.go index 3311c2ff5..51a46fc1a 100644 --- a/pkg/proto/core/smart_contract.pb.go +++ b/pkg/proto/core/smart_contract.pb.go @@ -65,11 +65,11 @@ func (x SmartContract_ABI_Entry_EntryType) String() string { } func (SmartContract_ABI_Entry_EntryType) Descriptor() protoreflect.EnumDescriptor { - return file_core_smart_contract_proto_enumTypes[0].Descriptor() + return file_core_contract_smart_contract_proto_enumTypes[0].Descriptor() } func (SmartContract_ABI_Entry_EntryType) Type() protoreflect.EnumType { - return &file_core_smart_contract_proto_enumTypes[0] + return &file_core_contract_smart_contract_proto_enumTypes[0] } func (x SmartContract_ABI_Entry_EntryType) Number() protoreflect.EnumNumber { @@ -78,7 +78,7 @@ func (x SmartContract_ABI_Entry_EntryType) Number() protoreflect.EnumNumber { // Deprecated: Use SmartContract_ABI_Entry_EntryType.Descriptor instead. func (SmartContract_ABI_Entry_EntryType) EnumDescriptor() ([]byte, []int) { - return file_core_smart_contract_proto_rawDescGZIP(), []int{0, 0, 0, 0} + return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{0, 0, 0, 0} } type SmartContract_ABI_Entry_StateMutabilityType int32 @@ -120,11 +120,11 @@ func (x SmartContract_ABI_Entry_StateMutabilityType) String() string { } func (SmartContract_ABI_Entry_StateMutabilityType) Descriptor() protoreflect.EnumDescriptor { - return file_core_smart_contract_proto_enumTypes[1].Descriptor() + return file_core_contract_smart_contract_proto_enumTypes[1].Descriptor() } func (SmartContract_ABI_Entry_StateMutabilityType) Type() protoreflect.EnumType { - return &file_core_smart_contract_proto_enumTypes[1] + return &file_core_contract_smart_contract_proto_enumTypes[1] } func (x SmartContract_ABI_Entry_StateMutabilityType) Number() protoreflect.EnumNumber { @@ -133,7 +133,7 @@ func (x SmartContract_ABI_Entry_StateMutabilityType) Number() protoreflect.EnumN // Deprecated: Use SmartContract_ABI_Entry_StateMutabilityType.Descriptor instead. func (SmartContract_ABI_Entry_StateMutabilityType) EnumDescriptor() ([]byte, []int) { - return file_core_smart_contract_proto_rawDescGZIP(), []int{0, 0, 0, 1} + return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{0, 0, 0, 1} } type SmartContract struct { @@ -157,7 +157,7 @@ type SmartContract struct { func (x *SmartContract) Reset() { *x = SmartContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_smart_contract_proto_msgTypes[0] + mi := &file_core_contract_smart_contract_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -170,7 +170,7 @@ func (x *SmartContract) String() string { func (*SmartContract) ProtoMessage() {} func (x *SmartContract) ProtoReflect() protoreflect.Message { - mi := &file_core_smart_contract_proto_msgTypes[0] + mi := &file_core_contract_smart_contract_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -183,7 +183,7 @@ func (x *SmartContract) ProtoReflect() protoreflect.Message { // Deprecated: Use SmartContract.ProtoReflect.Descriptor instead. func (*SmartContract) Descriptor() ([]byte, []int) { - return file_core_smart_contract_proto_rawDescGZIP(), []int{0} + return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{0} } func (x *SmartContract) GetOriginAddress() []byte { @@ -276,7 +276,7 @@ type ContractState struct { func (x *ContractState) Reset() { *x = ContractState{} if protoimpl.UnsafeEnabled { - mi := &file_core_smart_contract_proto_msgTypes[1] + mi := &file_core_contract_smart_contract_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -289,7 +289,7 @@ func (x *ContractState) String() string { func (*ContractState) ProtoMessage() {} func (x *ContractState) ProtoReflect() protoreflect.Message { - mi := &file_core_smart_contract_proto_msgTypes[1] + mi := &file_core_contract_smart_contract_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -302,7 +302,7 @@ func (x *ContractState) ProtoReflect() protoreflect.Message { // Deprecated: Use ContractState.ProtoReflect.Descriptor instead. func (*ContractState) Descriptor() ([]byte, []int) { - return file_core_smart_contract_proto_rawDescGZIP(), []int{1} + return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{1} } func (x *ContractState) GetEnergyUsage() int64 { @@ -340,7 +340,7 @@ type CreateSmartContract struct { func (x *CreateSmartContract) Reset() { *x = CreateSmartContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_smart_contract_proto_msgTypes[2] + mi := &file_core_contract_smart_contract_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -353,7 +353,7 @@ func (x *CreateSmartContract) String() string { func (*CreateSmartContract) ProtoMessage() {} func (x *CreateSmartContract) ProtoReflect() protoreflect.Message { - mi := &file_core_smart_contract_proto_msgTypes[2] + mi := &file_core_contract_smart_contract_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -366,7 +366,7 @@ func (x *CreateSmartContract) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateSmartContract.ProtoReflect.Descriptor instead. func (*CreateSmartContract) Descriptor() ([]byte, []int) { - return file_core_smart_contract_proto_rawDescGZIP(), []int{2} + return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{2} } func (x *CreateSmartContract) GetOwnerAddress() []byte { @@ -413,7 +413,7 @@ type TriggerSmartContract struct { func (x *TriggerSmartContract) Reset() { *x = TriggerSmartContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_smart_contract_proto_msgTypes[3] + mi := &file_core_contract_smart_contract_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -426,7 +426,7 @@ func (x *TriggerSmartContract) String() string { func (*TriggerSmartContract) ProtoMessage() {} func (x *TriggerSmartContract) ProtoReflect() protoreflect.Message { - mi := &file_core_smart_contract_proto_msgTypes[3] + mi := &file_core_contract_smart_contract_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -439,7 +439,7 @@ func (x *TriggerSmartContract) ProtoReflect() protoreflect.Message { // Deprecated: Use TriggerSmartContract.ProtoReflect.Descriptor instead. func (*TriggerSmartContract) Descriptor() ([]byte, []int) { - return file_core_smart_contract_proto_rawDescGZIP(), []int{3} + return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{3} } func (x *TriggerSmartContract) GetOwnerAddress() []byte { @@ -496,7 +496,7 @@ type ClearABIContract struct { func (x *ClearABIContract) Reset() { *x = ClearABIContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_smart_contract_proto_msgTypes[4] + mi := &file_core_contract_smart_contract_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -509,7 +509,7 @@ func (x *ClearABIContract) String() string { func (*ClearABIContract) ProtoMessage() {} func (x *ClearABIContract) ProtoReflect() protoreflect.Message { - mi := &file_core_smart_contract_proto_msgTypes[4] + mi := &file_core_contract_smart_contract_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -522,7 +522,7 @@ func (x *ClearABIContract) ProtoReflect() protoreflect.Message { // Deprecated: Use ClearABIContract.ProtoReflect.Descriptor instead. func (*ClearABIContract) Descriptor() ([]byte, []int) { - return file_core_smart_contract_proto_rawDescGZIP(), []int{4} + return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{4} } func (x *ClearABIContract) GetOwnerAddress() []byte { @@ -552,7 +552,7 @@ type UpdateSettingContract struct { func (x *UpdateSettingContract) Reset() { *x = UpdateSettingContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_smart_contract_proto_msgTypes[5] + mi := &file_core_contract_smart_contract_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -565,7 +565,7 @@ func (x *UpdateSettingContract) String() string { func (*UpdateSettingContract) ProtoMessage() {} func (x *UpdateSettingContract) ProtoReflect() protoreflect.Message { - mi := &file_core_smart_contract_proto_msgTypes[5] + mi := &file_core_contract_smart_contract_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -578,7 +578,7 @@ func (x *UpdateSettingContract) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateSettingContract.ProtoReflect.Descriptor instead. func (*UpdateSettingContract) Descriptor() ([]byte, []int) { - return file_core_smart_contract_proto_rawDescGZIP(), []int{5} + return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{5} } func (x *UpdateSettingContract) GetOwnerAddress() []byte { @@ -615,7 +615,7 @@ type UpdateEnergyLimitContract struct { func (x *UpdateEnergyLimitContract) Reset() { *x = UpdateEnergyLimitContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_smart_contract_proto_msgTypes[6] + mi := &file_core_contract_smart_contract_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -628,7 +628,7 @@ func (x *UpdateEnergyLimitContract) String() string { func (*UpdateEnergyLimitContract) ProtoMessage() {} func (x *UpdateEnergyLimitContract) ProtoReflect() protoreflect.Message { - mi := &file_core_smart_contract_proto_msgTypes[6] + mi := &file_core_contract_smart_contract_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -641,7 +641,7 @@ func (x *UpdateEnergyLimitContract) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateEnergyLimitContract.ProtoReflect.Descriptor instead. func (*UpdateEnergyLimitContract) Descriptor() ([]byte, []int) { - return file_core_smart_contract_proto_rawDescGZIP(), []int{6} + return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{6} } func (x *UpdateEnergyLimitContract) GetOwnerAddress() []byte { @@ -678,7 +678,7 @@ type SmartContractDataWrapper struct { func (x *SmartContractDataWrapper) Reset() { *x = SmartContractDataWrapper{} if protoimpl.UnsafeEnabled { - mi := &file_core_smart_contract_proto_msgTypes[7] + mi := &file_core_contract_smart_contract_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -691,7 +691,7 @@ func (x *SmartContractDataWrapper) String() string { func (*SmartContractDataWrapper) ProtoMessage() {} func (x *SmartContractDataWrapper) ProtoReflect() protoreflect.Message { - mi := &file_core_smart_contract_proto_msgTypes[7] + mi := &file_core_contract_smart_contract_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -704,7 +704,7 @@ func (x *SmartContractDataWrapper) ProtoReflect() protoreflect.Message { // Deprecated: Use SmartContractDataWrapper.ProtoReflect.Descriptor instead. func (*SmartContractDataWrapper) Descriptor() ([]byte, []int) { - return file_core_smart_contract_proto_rawDescGZIP(), []int{7} + return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{7} } func (x *SmartContractDataWrapper) GetSmartContract() *SmartContract { @@ -739,7 +739,7 @@ type SmartContract_ABI struct { func (x *SmartContract_ABI) Reset() { *x = SmartContract_ABI{} if protoimpl.UnsafeEnabled { - mi := &file_core_smart_contract_proto_msgTypes[8] + mi := &file_core_contract_smart_contract_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -752,7 +752,7 @@ func (x *SmartContract_ABI) String() string { func (*SmartContract_ABI) ProtoMessage() {} func (x *SmartContract_ABI) ProtoReflect() protoreflect.Message { - mi := &file_core_smart_contract_proto_msgTypes[8] + mi := &file_core_contract_smart_contract_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -765,7 +765,7 @@ func (x *SmartContract_ABI) ProtoReflect() protoreflect.Message { // Deprecated: Use SmartContract_ABI.ProtoReflect.Descriptor instead. func (*SmartContract_ABI) Descriptor() ([]byte, []int) { - return file_core_smart_contract_proto_rawDescGZIP(), []int{0, 0} + return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{0, 0} } func (x *SmartContract_ABI) GetEntrys() []*SmartContract_ABI_Entry { @@ -793,7 +793,7 @@ type SmartContract_ABI_Entry struct { func (x *SmartContract_ABI_Entry) Reset() { *x = SmartContract_ABI_Entry{} if protoimpl.UnsafeEnabled { - mi := &file_core_smart_contract_proto_msgTypes[9] + mi := &file_core_contract_smart_contract_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -806,7 +806,7 @@ func (x *SmartContract_ABI_Entry) String() string { func (*SmartContract_ABI_Entry) ProtoMessage() {} func (x *SmartContract_ABI_Entry) ProtoReflect() protoreflect.Message { - mi := &file_core_smart_contract_proto_msgTypes[9] + mi := &file_core_contract_smart_contract_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -819,7 +819,7 @@ func (x *SmartContract_ABI_Entry) ProtoReflect() protoreflect.Message { // Deprecated: Use SmartContract_ABI_Entry.ProtoReflect.Descriptor instead. func (*SmartContract_ABI_Entry) Descriptor() ([]byte, []int) { - return file_core_smart_contract_proto_rawDescGZIP(), []int{0, 0, 0} + return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{0, 0, 0} } func (x *SmartContract_ABI_Entry) GetAnonymous() bool { @@ -891,7 +891,7 @@ type SmartContract_ABI_Entry_Param struct { func (x *SmartContract_ABI_Entry_Param) Reset() { *x = SmartContract_ABI_Entry_Param{} if protoimpl.UnsafeEnabled { - mi := &file_core_smart_contract_proto_msgTypes[10] + mi := &file_core_contract_smart_contract_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -904,7 +904,7 @@ func (x *SmartContract_ABI_Entry_Param) String() string { func (*SmartContract_ABI_Entry_Param) ProtoMessage() {} func (x *SmartContract_ABI_Entry_Param) ProtoReflect() protoreflect.Message { - mi := &file_core_smart_contract_proto_msgTypes[10] + mi := &file_core_contract_smart_contract_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -917,7 +917,7 @@ func (x *SmartContract_ABI_Entry_Param) ProtoReflect() protoreflect.Message { // Deprecated: Use SmartContract_ABI_Entry_Param.ProtoReflect.Descriptor instead. func (*SmartContract_ABI_Entry_Param) Descriptor() ([]byte, []int) { - return file_core_smart_contract_proto_rawDescGZIP(), []int{0, 0, 0, 0} + return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{0, 0, 0, 0} } func (x *SmartContract_ABI_Entry_Param) GetIndexed() bool { @@ -941,182 +941,182 @@ func (x *SmartContract_ABI_Entry_Param) GetType() string { return "" } -var File_core_smart_contract_proto protoreflect.FileDescriptor - -var file_core_smart_contract_proto_rawDesc = []byte{ - 0x0a, 0x19, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x73, 0x6d, 0x61, 0x72, 0x74, 0x5f, 0x63, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x1a, 0x0f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x54, 0x72, 0x6f, 0x6e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa0, 0x09, 0x0a, 0x0d, 0x53, 0x6d, 0x61, 0x72, 0x74, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x72, 0x69, 0x67, - 0x69, 0x6e, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x0d, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, - 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2d, 0x0a, 0x03, 0x61, 0x62, - 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x2e, 0x41, 0x42, 0x49, 0x52, 0x03, 0x61, 0x62, 0x69, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x79, 0x74, - 0x65, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x62, 0x79, 0x74, - 0x65, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x12, 0x41, 0x0a, 0x1d, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x5f, - 0x75, 0x73, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x65, - 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1a, 0x63, 0x6f, 0x6e, - 0x73, 0x75, 0x6d, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x6f, - 0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x6c, 0x69, 0x6d, - 0x69, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, - 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, - 0x6f, 0x64, 0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, - 0x63, 0x6f, 0x64, 0x65, 0x48, 0x61, 0x73, 0x68, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x78, 0x5f, - 0x68, 0x61, 0x73, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x72, 0x78, 0x48, - 0x61, 0x73, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0b, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0xf9, 0x05, - 0x0a, 0x03, 0x41, 0x42, 0x49, 0x12, 0x39, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x41, - 0x42, 0x49, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x73, - 0x1a, 0xb6, 0x05, 0x0a, 0x05, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x6e, - 0x6f, 0x6e, 0x79, 0x6d, 0x6f, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x61, - 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x6f, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x73, - 0x74, 0x61, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x73, - 0x74, 0x61, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, - 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x2e, 0x41, 0x42, 0x49, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x41, 0x0a, 0x07, 0x6f, 0x75, 0x74, - 0x70, 0x75, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x2e, 0x41, 0x42, 0x49, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x3f, 0x0a, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x2e, 0x41, 0x42, 0x49, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, - 0x07, 0x70, 0x61, 0x79, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, - 0x70, 0x61, 0x79, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x5f, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x74, 0x65, - 0x4d, 0x75, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x35, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, - 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x41, 0x42, 0x49, 0x2e, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x75, 0x74, 0x61, 0x62, 0x69, 0x6c, - 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x75, - 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x1a, 0x49, 0x0a, 0x05, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x22, 0x71, 0x0a, 0x09, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x14, 0x0a, 0x10, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x54, 0x79, 0x70, 0x65, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x6f, 0x72, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x75, 0x6e, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x10, 0x03, - 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x10, 0x04, 0x12, 0x0b, - 0x0a, 0x07, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x10, 0x05, 0x12, 0x09, 0x0a, 0x05, 0x45, - 0x72, 0x72, 0x6f, 0x72, 0x10, 0x06, 0x22, 0x61, 0x0a, 0x13, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4d, - 0x75, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, - 0x15, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x4d, 0x75, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, - 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x75, 0x72, 0x65, - 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x56, 0x69, 0x65, 0x77, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, - 0x4e, 0x6f, 0x6e, 0x70, 0x61, 0x79, 0x61, 0x62, 0x6c, 0x65, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, - 0x50, 0x61, 0x79, 0x61, 0x62, 0x6c, 0x65, 0x10, 0x04, 0x22, 0x7a, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x6e, - 0x65, 0x72, 0x67, 0x79, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0b, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x23, 0x0a, - 0x0d, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x46, 0x61, 0x63, 0x74, - 0x6f, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x79, 0x63, - 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x43, 0x79, 0x63, 0x6c, 0x65, 0x22, 0xbb, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, - 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x12, 0x3a, 0x0a, 0x0c, 0x6e, 0x65, 0x77, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x52, 0x0b, 0x6e, 0x65, 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x28, - 0x0a, 0x10, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x63, 0x61, 0x6c, 0x6c, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x6b, 0x65, - 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, - 0x6e, 0x49, 0x64, 0x22, 0xde, 0x01, 0x0a, 0x14, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, - 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, +var File_core_contract_smart_contract_proto protoreflect.FileDescriptor + +var file_core_contract_smart_contract_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, + 0x73, 0x6d, 0x61, 0x72, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x1a, 0x0f, + 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x54, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xa0, 0x09, 0x0a, 0x0d, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x6f, 0x72, 0x69, 0x67, 0x69, + 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x2d, 0x0a, 0x03, 0x61, 0x62, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, + 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x41, 0x42, 0x49, 0x52, 0x03, 0x61, + 0x62, 0x69, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x79, 0x74, 0x65, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x62, 0x79, 0x74, 0x65, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, + 0x0a, 0x0a, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x41, 0x0a, + 0x1d, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x1a, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x55, 0x73, 0x65, + 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x65, + 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x11, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, + 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x68, 0x61, 0x73, + 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x63, 0x6f, 0x64, 0x65, 0x48, 0x61, 0x73, + 0x68, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x72, 0x78, 0x48, 0x61, 0x73, 0x68, 0x12, 0x18, 0x0a, 0x07, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0xf9, 0x05, 0x0a, 0x03, 0x41, 0x42, 0x49, 0x12, 0x39, + 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x41, 0x42, 0x49, 0x2e, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x06, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x73, 0x1a, 0xb6, 0x05, 0x0a, 0x05, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x6f, 0x75, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x61, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x6f, 0x75, + 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x12, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x3f, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, + 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x41, 0x42, 0x49, 0x2e, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, + 0x74, 0x73, 0x12, 0x41, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x05, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, + 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x41, 0x42, 0x49, + 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x07, 0x6f, 0x75, + 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x3f, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, + 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x41, 0x42, 0x49, + 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x61, 0x62, 0x6c, + 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x61, 0x79, 0x61, 0x62, 0x6c, 0x65, + 0x12, 0x5f, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x75, 0x74, 0x61, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x35, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x2e, 0x41, 0x42, 0x49, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x4d, 0x75, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x0f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x75, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x1a, 0x49, 0x0a, 0x05, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x6e, 0x64, + 0x65, 0x78, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x71, 0x0a, 0x09, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x55, 0x6e, 0x6b, + 0x6e, 0x6f, 0x77, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x10, 0x00, 0x12, + 0x0f, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x6f, 0x72, 0x10, 0x01, + 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0x02, 0x12, 0x09, + 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x61, 0x6c, + 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x10, 0x04, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x65, 0x63, 0x65, 0x69, + 0x76, 0x65, 0x10, 0x05, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x06, 0x22, + 0x61, 0x0a, 0x13, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x75, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, + 0x6e, 0x4d, 0x75, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x10, + 0x00, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x75, 0x72, 0x65, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x56, + 0x69, 0x65, 0x77, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x6f, 0x6e, 0x70, 0x61, 0x79, 0x61, + 0x62, 0x6c, 0x65, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x61, 0x79, 0x61, 0x62, 0x6c, 0x65, + 0x10, 0x04, 0x22, 0x7a, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x75, 0x73, + 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x65, 0x6e, 0x65, 0x72, 0x67, + 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, + 0x5f, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x65, + 0x6e, 0x65, 0x72, 0x67, 0x79, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x75, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x79, 0x63, 0x6c, 0x65, 0x22, 0xbb, + 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x3a, 0x0a, 0x0c, 0x6e, + 0x65, 0x77, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, + 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x0b, 0x6e, 0x65, 0x77, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x63, 0x61, 0x6c, 0x6c, 0x5f, + 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0e, 0x63, 0x61, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x22, 0xde, 0x01, 0x0a, + 0x14, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x28, 0x0a, 0x10, 0x63, 0x61, 0x6c, 0x6c, + 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0e, 0x63, 0x61, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x22, 0x62, 0x0a, + 0x10, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x41, 0x42, 0x49, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x22, 0xaa, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74, + 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x41, 0x0a, 0x1d, 0x63, + 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x1a, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x22, 0x9b, + 0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, + 0x69, 0x6d, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, - 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, - 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, - 0x28, 0x0a, 0x10, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x63, 0x61, 0x6c, 0x6c, 0x54, - 0x6f, 0x6b, 0x65, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x6b, - 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x74, 0x6f, 0x6b, - 0x65, 0x6e, 0x49, 0x64, 0x22, 0x62, 0x0a, 0x10, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x41, 0x42, 0x49, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, - 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xaa, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x12, 0x41, 0x0a, 0x1d, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x5f, 0x75, 0x73, - 0x65, 0x72, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x63, - 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1a, 0x63, 0x6f, 0x6e, 0x73, 0x75, - 0x6d, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x65, - 0x72, 0x63, 0x65, 0x6e, 0x74, 0x22, 0x9b, 0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x65, 0x6e, - 0x65, 0x72, 0x67, 0x79, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x11, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, - 0x6d, 0x69, 0x74, 0x22, 0xbc, 0x01, 0x0a, 0x18, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, - 0x12, 0x3e, 0x0a, 0x0e, 0x73, 0x6d, 0x61, 0x72, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x52, 0x0d, 0x73, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x63, 0x6f, 0x64, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x63, 0x6f, - 0x64, 0x65, 0x12, 0x3e, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x73, - 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x42, 0x4b, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x2f, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, - 0x72, 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, - 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2e, 0x0a, 0x13, + 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x6c, 0x69, + 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x6f, 0x72, 0x69, 0x67, 0x69, + 0x6e, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0xbc, 0x01, 0x0a, + 0x18, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x44, 0x61, + 0x74, 0x61, 0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x12, 0x3e, 0x0a, 0x0e, 0x73, 0x6d, 0x61, + 0x72, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, + 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x0d, 0x73, 0x6d, 0x61, 0x72, + 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x75, 0x6e, + 0x74, 0x69, 0x6d, 0x65, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, + 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x3e, 0x0a, 0x0e, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0d, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x45, 0x0a, 0x18, 0x6f, + 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x63, 0x6f, + 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_core_smart_contract_proto_rawDescOnce sync.Once - file_core_smart_contract_proto_rawDescData = file_core_smart_contract_proto_rawDesc + file_core_contract_smart_contract_proto_rawDescOnce sync.Once + file_core_contract_smart_contract_proto_rawDescData = file_core_contract_smart_contract_proto_rawDesc ) -func file_core_smart_contract_proto_rawDescGZIP() []byte { - file_core_smart_contract_proto_rawDescOnce.Do(func() { - file_core_smart_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_smart_contract_proto_rawDescData) +func file_core_contract_smart_contract_proto_rawDescGZIP() []byte { + file_core_contract_smart_contract_proto_rawDescOnce.Do(func() { + file_core_contract_smart_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_smart_contract_proto_rawDescData) }) - return file_core_smart_contract_proto_rawDescData + return file_core_contract_smart_contract_proto_rawDescData } -var file_core_smart_contract_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_core_smart_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_core_smart_contract_proto_goTypes = []interface{}{ +var file_core_contract_smart_contract_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_core_contract_smart_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 11) +var file_core_contract_smart_contract_proto_goTypes = []interface{}{ (SmartContract_ABI_Entry_EntryType)(0), // 0: protocol.SmartContract.ABI.Entry.EntryType (SmartContract_ABI_Entry_StateMutabilityType)(0), // 1: protocol.SmartContract.ABI.Entry.StateMutabilityType (*SmartContract)(nil), // 2: protocol.SmartContract @@ -1131,7 +1131,7 @@ var file_core_smart_contract_proto_goTypes = []interface{}{ (*SmartContract_ABI_Entry)(nil), // 11: protocol.SmartContract.ABI.Entry (*SmartContract_ABI_Entry_Param)(nil), // 12: protocol.SmartContract.ABI.Entry.Param } -var file_core_smart_contract_proto_depIdxs = []int32{ +var file_core_contract_smart_contract_proto_depIdxs = []int32{ 10, // 0: protocol.SmartContract.abi:type_name -> protocol.SmartContract.ABI 2, // 1: protocol.CreateSmartContract.new_contract:type_name -> protocol.SmartContract 2, // 2: protocol.SmartContractDataWrapper.smart_contract:type_name -> protocol.SmartContract @@ -1148,14 +1148,14 @@ var file_core_smart_contract_proto_depIdxs = []int32{ 0, // [0:9] is the sub-list for field type_name } -func init() { file_core_smart_contract_proto_init() } -func file_core_smart_contract_proto_init() { - if File_core_smart_contract_proto != nil { +func init() { file_core_contract_smart_contract_proto_init() } +func file_core_contract_smart_contract_proto_init() { + if File_core_contract_smart_contract_proto != nil { return } file_core_Tron_proto_init() if !protoimpl.UnsafeEnabled { - file_core_smart_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_smart_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SmartContract); i { case 0: return &v.state @@ -1167,7 +1167,7 @@ func file_core_smart_contract_proto_init() { return nil } } - file_core_smart_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_smart_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ContractState); i { case 0: return &v.state @@ -1179,7 +1179,7 @@ func file_core_smart_contract_proto_init() { return nil } } - file_core_smart_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_smart_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateSmartContract); i { case 0: return &v.state @@ -1191,7 +1191,7 @@ func file_core_smart_contract_proto_init() { return nil } } - file_core_smart_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_smart_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TriggerSmartContract); i { case 0: return &v.state @@ -1203,7 +1203,7 @@ func file_core_smart_contract_proto_init() { return nil } } - file_core_smart_contract_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_smart_contract_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ClearABIContract); i { case 0: return &v.state @@ -1215,7 +1215,7 @@ func file_core_smart_contract_proto_init() { return nil } } - file_core_smart_contract_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_smart_contract_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateSettingContract); i { case 0: return &v.state @@ -1227,7 +1227,7 @@ func file_core_smart_contract_proto_init() { return nil } } - file_core_smart_contract_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_smart_contract_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateEnergyLimitContract); i { case 0: return &v.state @@ -1239,7 +1239,7 @@ func file_core_smart_contract_proto_init() { return nil } } - file_core_smart_contract_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_smart_contract_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SmartContractDataWrapper); i { case 0: return &v.state @@ -1251,7 +1251,7 @@ func file_core_smart_contract_proto_init() { return nil } } - file_core_smart_contract_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_smart_contract_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SmartContract_ABI); i { case 0: return &v.state @@ -1263,7 +1263,7 @@ func file_core_smart_contract_proto_init() { return nil } } - file_core_smart_contract_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_smart_contract_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SmartContract_ABI_Entry); i { case 0: return &v.state @@ -1275,7 +1275,7 @@ func file_core_smart_contract_proto_init() { return nil } } - file_core_smart_contract_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_smart_contract_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SmartContract_ABI_Entry_Param); i { case 0: return &v.state @@ -1292,19 +1292,19 @@ func file_core_smart_contract_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_core_smart_contract_proto_rawDesc, + RawDescriptor: file_core_contract_smart_contract_proto_rawDesc, NumEnums: 2, NumMessages: 11, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_core_smart_contract_proto_goTypes, - DependencyIndexes: file_core_smart_contract_proto_depIdxs, - EnumInfos: file_core_smart_contract_proto_enumTypes, - MessageInfos: file_core_smart_contract_proto_msgTypes, + GoTypes: file_core_contract_smart_contract_proto_goTypes, + DependencyIndexes: file_core_contract_smart_contract_proto_depIdxs, + EnumInfos: file_core_contract_smart_contract_proto_enumTypes, + MessageInfos: file_core_contract_smart_contract_proto_msgTypes, }.Build() - File_core_smart_contract_proto = out.File - file_core_smart_contract_proto_rawDesc = nil - file_core_smart_contract_proto_goTypes = nil - file_core_smart_contract_proto_depIdxs = nil + File_core_contract_smart_contract_proto = out.File + file_core_contract_smart_contract_proto_rawDesc = nil + file_core_contract_smart_contract_proto_goTypes = nil + file_core_contract_smart_contract_proto_depIdxs = nil } diff --git a/pkg/proto/core/storage_contract.pb.go b/pkg/proto/core/storage_contract.pb.go index 82d0b03b7..495e42b28 100644 --- a/pkg/proto/core/storage_contract.pb.go +++ b/pkg/proto/core/storage_contract.pb.go @@ -32,7 +32,7 @@ type BuyStorageBytesContract struct { func (x *BuyStorageBytesContract) Reset() { *x = BuyStorageBytesContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_storage_contract_proto_msgTypes[0] + mi := &file_core_contract_storage_contract_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -45,7 +45,7 @@ func (x *BuyStorageBytesContract) String() string { func (*BuyStorageBytesContract) ProtoMessage() {} func (x *BuyStorageBytesContract) ProtoReflect() protoreflect.Message { - mi := &file_core_storage_contract_proto_msgTypes[0] + mi := &file_core_contract_storage_contract_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -58,7 +58,7 @@ func (x *BuyStorageBytesContract) ProtoReflect() protoreflect.Message { // Deprecated: Use BuyStorageBytesContract.ProtoReflect.Descriptor instead. func (*BuyStorageBytesContract) Descriptor() ([]byte, []int) { - return file_core_storage_contract_proto_rawDescGZIP(), []int{0} + return file_core_contract_storage_contract_proto_rawDescGZIP(), []int{0} } func (x *BuyStorageBytesContract) GetOwnerAddress() []byte { @@ -87,7 +87,7 @@ type BuyStorageContract struct { func (x *BuyStorageContract) Reset() { *x = BuyStorageContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_storage_contract_proto_msgTypes[1] + mi := &file_core_contract_storage_contract_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -100,7 +100,7 @@ func (x *BuyStorageContract) String() string { func (*BuyStorageContract) ProtoMessage() {} func (x *BuyStorageContract) ProtoReflect() protoreflect.Message { - mi := &file_core_storage_contract_proto_msgTypes[1] + mi := &file_core_contract_storage_contract_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -113,7 +113,7 @@ func (x *BuyStorageContract) ProtoReflect() protoreflect.Message { // Deprecated: Use BuyStorageContract.ProtoReflect.Descriptor instead. func (*BuyStorageContract) Descriptor() ([]byte, []int) { - return file_core_storage_contract_proto_rawDescGZIP(), []int{1} + return file_core_contract_storage_contract_proto_rawDescGZIP(), []int{1} } func (x *BuyStorageContract) GetOwnerAddress() []byte { @@ -142,7 +142,7 @@ type SellStorageContract struct { func (x *SellStorageContract) Reset() { *x = SellStorageContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_storage_contract_proto_msgTypes[2] + mi := &file_core_contract_storage_contract_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -155,7 +155,7 @@ func (x *SellStorageContract) String() string { func (*SellStorageContract) ProtoMessage() {} func (x *SellStorageContract) ProtoReflect() protoreflect.Message { - mi := &file_core_storage_contract_proto_msgTypes[2] + mi := &file_core_contract_storage_contract_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -168,7 +168,7 @@ func (x *SellStorageContract) ProtoReflect() protoreflect.Message { // Deprecated: Use SellStorageContract.ProtoReflect.Descriptor instead. func (*SellStorageContract) Descriptor() ([]byte, []int) { - return file_core_storage_contract_proto_rawDescGZIP(), []int{2} + return file_core_contract_storage_contract_proto_rawDescGZIP(), []int{2} } func (x *SellStorageContract) GetOwnerAddress() []byte { @@ -197,7 +197,7 @@ type UpdateBrokerageContract struct { func (x *UpdateBrokerageContract) Reset() { *x = UpdateBrokerageContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_storage_contract_proto_msgTypes[3] + mi := &file_core_contract_storage_contract_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -210,7 +210,7 @@ func (x *UpdateBrokerageContract) String() string { func (*UpdateBrokerageContract) ProtoMessage() {} func (x *UpdateBrokerageContract) ProtoReflect() protoreflect.Message { - mi := &file_core_storage_contract_proto_msgTypes[3] + mi := &file_core_contract_storage_contract_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -223,7 +223,7 @@ func (x *UpdateBrokerageContract) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateBrokerageContract.ProtoReflect.Descriptor instead. func (*UpdateBrokerageContract) Descriptor() ([]byte, []int) { - return file_core_storage_contract_proto_rawDescGZIP(), []int{3} + return file_core_contract_storage_contract_proto_rawDescGZIP(), []int{3} } func (x *UpdateBrokerageContract) GetOwnerAddress() []byte { @@ -240,62 +240,62 @@ func (x *UpdateBrokerageContract) GetBrokerage() int32 { return 0 } -var File_core_storage_contract_proto protoreflect.FileDescriptor - -var file_core_storage_contract_proto_rawDesc = []byte{ - 0x0a, 0x1b, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0x54, 0x0a, 0x17, 0x42, 0x75, 0x79, 0x53, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x22, 0x4f, 0x0a, - 0x12, 0x42, 0x75, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, +var File_core_contract_storage_contract_proto protoreflect.FileDescriptor + +var file_core_contract_storage_contract_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x22, 0x54, 0x0a, 0x17, 0x42, 0x75, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x42, 0x79, + 0x74, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x12, 0x14, 0x0a, 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x22, 0x4f, 0x0a, 0x12, 0x42, 0x75, 0x79, 0x53, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x22, 0x5f, 0x0a, 0x13, 0x53, 0x65, 0x6c, 0x6c, 0x53, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, + 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x62, + 0x79, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, 0x5c, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x61, 0x6e, - 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x22, 0x5f, - 0x0a, 0x13, 0x53, 0x65, 0x6c, 0x6c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, - 0x5c, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x61, - 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, - 0x1c, 0x0a, 0x09, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x09, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x61, 0x67, 0x65, 0x42, 0x4b, 0x0a, - 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, - 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, 0x72, 0x65, 0x69, 0x72, 0x61, - 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x6b, 0x67, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x62, 0x72, 0x6f, 0x6b, + 0x65, 0x72, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x62, 0x72, 0x6f, + 0x6b, 0x65, 0x72, 0x61, 0x67, 0x65, 0x42, 0x45, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, + 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, + 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, + 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_core_storage_contract_proto_rawDescOnce sync.Once - file_core_storage_contract_proto_rawDescData = file_core_storage_contract_proto_rawDesc + file_core_contract_storage_contract_proto_rawDescOnce sync.Once + file_core_contract_storage_contract_proto_rawDescData = file_core_contract_storage_contract_proto_rawDesc ) -func file_core_storage_contract_proto_rawDescGZIP() []byte { - file_core_storage_contract_proto_rawDescOnce.Do(func() { - file_core_storage_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_storage_contract_proto_rawDescData) +func file_core_contract_storage_contract_proto_rawDescGZIP() []byte { + file_core_contract_storage_contract_proto_rawDescOnce.Do(func() { + file_core_contract_storage_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_storage_contract_proto_rawDescData) }) - return file_core_storage_contract_proto_rawDescData + return file_core_contract_storage_contract_proto_rawDescData } -var file_core_storage_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_core_storage_contract_proto_goTypes = []interface{}{ +var file_core_contract_storage_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_core_contract_storage_contract_proto_goTypes = []interface{}{ (*BuyStorageBytesContract)(nil), // 0: protocol.BuyStorageBytesContract (*BuyStorageContract)(nil), // 1: protocol.BuyStorageContract (*SellStorageContract)(nil), // 2: protocol.SellStorageContract (*UpdateBrokerageContract)(nil), // 3: protocol.UpdateBrokerageContract } -var file_core_storage_contract_proto_depIdxs = []int32{ +var file_core_contract_storage_contract_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 @@ -303,13 +303,13 @@ var file_core_storage_contract_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for field type_name } -func init() { file_core_storage_contract_proto_init() } -func file_core_storage_contract_proto_init() { - if File_core_storage_contract_proto != nil { +func init() { file_core_contract_storage_contract_proto_init() } +func file_core_contract_storage_contract_proto_init() { + if File_core_contract_storage_contract_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_core_storage_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_storage_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BuyStorageBytesContract); i { case 0: return &v.state @@ -321,7 +321,7 @@ func file_core_storage_contract_proto_init() { return nil } } - file_core_storage_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_storage_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BuyStorageContract); i { case 0: return &v.state @@ -333,7 +333,7 @@ func file_core_storage_contract_proto_init() { return nil } } - file_core_storage_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_storage_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SellStorageContract); i { case 0: return &v.state @@ -345,7 +345,7 @@ func file_core_storage_contract_proto_init() { return nil } } - file_core_storage_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_storage_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateBrokerageContract); i { case 0: return &v.state @@ -362,18 +362,18 @@ func file_core_storage_contract_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_core_storage_contract_proto_rawDesc, + RawDescriptor: file_core_contract_storage_contract_proto_rawDesc, NumEnums: 0, NumMessages: 4, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_core_storage_contract_proto_goTypes, - DependencyIndexes: file_core_storage_contract_proto_depIdxs, - MessageInfos: file_core_storage_contract_proto_msgTypes, + GoTypes: file_core_contract_storage_contract_proto_goTypes, + DependencyIndexes: file_core_contract_storage_contract_proto_depIdxs, + MessageInfos: file_core_contract_storage_contract_proto_msgTypes, }.Build() - File_core_storage_contract_proto = out.File - file_core_storage_contract_proto_rawDesc = nil - file_core_storage_contract_proto_goTypes = nil - file_core_storage_contract_proto_depIdxs = nil + File_core_contract_storage_contract_proto = out.File + file_core_contract_storage_contract_proto_rawDesc = nil + file_core_contract_storage_contract_proto_goTypes = nil + file_core_contract_storage_contract_proto_depIdxs = nil } diff --git a/pkg/proto/core/vote_asset_contract.pb.go b/pkg/proto/core/vote_asset_contract.pb.go index 7471721ef..0c51168fe 100644 --- a/pkg/proto/core/vote_asset_contract.pb.go +++ b/pkg/proto/core/vote_asset_contract.pb.go @@ -34,7 +34,7 @@ type VoteAssetContract struct { func (x *VoteAssetContract) Reset() { *x = VoteAssetContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_vote_asset_contract_proto_msgTypes[0] + mi := &file_core_contract_vote_asset_contract_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -47,7 +47,7 @@ func (x *VoteAssetContract) String() string { func (*VoteAssetContract) ProtoMessage() {} func (x *VoteAssetContract) ProtoReflect() protoreflect.Message { - mi := &file_core_vote_asset_contract_proto_msgTypes[0] + mi := &file_core_contract_vote_asset_contract_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -60,7 +60,7 @@ func (x *VoteAssetContract) ProtoReflect() protoreflect.Message { // Deprecated: Use VoteAssetContract.ProtoReflect.Descriptor instead. func (*VoteAssetContract) Descriptor() ([]byte, []int) { - return file_core_vote_asset_contract_proto_rawDescGZIP(), []int{0} + return file_core_contract_vote_asset_contract_proto_rawDescGZIP(), []int{0} } func (x *VoteAssetContract) GetOwnerAddress() []byte { @@ -91,45 +91,45 @@ func (x *VoteAssetContract) GetCount() int32 { return 0 } -var File_core_vote_asset_contract_proto protoreflect.FileDescriptor - -var file_core_vote_asset_contract_proto_rawDesc = []byte{ - 0x0a, 0x1e, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, - 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0x8b, 0x01, 0x0a, 0x11, 0x56, - 0x6f, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0b, 0x76, 0x6f, 0x74, - 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x70, 0x70, - 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x70, 0x70, 0x6f, - 0x72, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x4b, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, - 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, 0x72, 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, - 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +var File_core_contract_vote_asset_contract_proto protoreflect.FileDescriptor + +var file_core_contract_vote_asset_contract_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, + 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x22, 0x8b, 0x01, 0x0a, 0x11, 0x56, 0x6f, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, + 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, + 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x21, + 0x0a, 0x0c, 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0b, 0x76, 0x6f, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x42, 0x45, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x29, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, + 0x77, 0x61, 0x79, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_core_vote_asset_contract_proto_rawDescOnce sync.Once - file_core_vote_asset_contract_proto_rawDescData = file_core_vote_asset_contract_proto_rawDesc + file_core_contract_vote_asset_contract_proto_rawDescOnce sync.Once + file_core_contract_vote_asset_contract_proto_rawDescData = file_core_contract_vote_asset_contract_proto_rawDesc ) -func file_core_vote_asset_contract_proto_rawDescGZIP() []byte { - file_core_vote_asset_contract_proto_rawDescOnce.Do(func() { - file_core_vote_asset_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_vote_asset_contract_proto_rawDescData) +func file_core_contract_vote_asset_contract_proto_rawDescGZIP() []byte { + file_core_contract_vote_asset_contract_proto_rawDescOnce.Do(func() { + file_core_contract_vote_asset_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_vote_asset_contract_proto_rawDescData) }) - return file_core_vote_asset_contract_proto_rawDescData + return file_core_contract_vote_asset_contract_proto_rawDescData } -var file_core_vote_asset_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_core_vote_asset_contract_proto_goTypes = []interface{}{ +var file_core_contract_vote_asset_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_core_contract_vote_asset_contract_proto_goTypes = []interface{}{ (*VoteAssetContract)(nil), // 0: protocol.VoteAssetContract } -var file_core_vote_asset_contract_proto_depIdxs = []int32{ +var file_core_contract_vote_asset_contract_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 @@ -137,13 +137,13 @@ var file_core_vote_asset_contract_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for field type_name } -func init() { file_core_vote_asset_contract_proto_init() } -func file_core_vote_asset_contract_proto_init() { - if File_core_vote_asset_contract_proto != nil { +func init() { file_core_contract_vote_asset_contract_proto_init() } +func file_core_contract_vote_asset_contract_proto_init() { + if File_core_contract_vote_asset_contract_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_core_vote_asset_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_vote_asset_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*VoteAssetContract); i { case 0: return &v.state @@ -160,18 +160,18 @@ func file_core_vote_asset_contract_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_core_vote_asset_contract_proto_rawDesc, + RawDescriptor: file_core_contract_vote_asset_contract_proto_rawDesc, NumEnums: 0, NumMessages: 1, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_core_vote_asset_contract_proto_goTypes, - DependencyIndexes: file_core_vote_asset_contract_proto_depIdxs, - MessageInfos: file_core_vote_asset_contract_proto_msgTypes, + GoTypes: file_core_contract_vote_asset_contract_proto_goTypes, + DependencyIndexes: file_core_contract_vote_asset_contract_proto_depIdxs, + MessageInfos: file_core_contract_vote_asset_contract_proto_msgTypes, }.Build() - File_core_vote_asset_contract_proto = out.File - file_core_vote_asset_contract_proto_rawDesc = nil - file_core_vote_asset_contract_proto_goTypes = nil - file_core_vote_asset_contract_proto_depIdxs = nil + File_core_contract_vote_asset_contract_proto = out.File + file_core_contract_vote_asset_contract_proto_rawDesc = nil + file_core_contract_vote_asset_contract_proto_goTypes = nil + file_core_contract_vote_asset_contract_proto_depIdxs = nil } diff --git a/pkg/proto/core/witness_contract.pb.go b/pkg/proto/core/witness_contract.pb.go index 0d5d9b89b..39674ccd8 100644 --- a/pkg/proto/core/witness_contract.pb.go +++ b/pkg/proto/core/witness_contract.pb.go @@ -32,7 +32,7 @@ type WitnessCreateContract struct { func (x *WitnessCreateContract) Reset() { *x = WitnessCreateContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_witness_contract_proto_msgTypes[0] + mi := &file_core_contract_witness_contract_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -45,7 +45,7 @@ func (x *WitnessCreateContract) String() string { func (*WitnessCreateContract) ProtoMessage() {} func (x *WitnessCreateContract) ProtoReflect() protoreflect.Message { - mi := &file_core_witness_contract_proto_msgTypes[0] + mi := &file_core_contract_witness_contract_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -58,7 +58,7 @@ func (x *WitnessCreateContract) ProtoReflect() protoreflect.Message { // Deprecated: Use WitnessCreateContract.ProtoReflect.Descriptor instead. func (*WitnessCreateContract) Descriptor() ([]byte, []int) { - return file_core_witness_contract_proto_rawDescGZIP(), []int{0} + return file_core_contract_witness_contract_proto_rawDescGZIP(), []int{0} } func (x *WitnessCreateContract) GetOwnerAddress() []byte { @@ -87,7 +87,7 @@ type WitnessUpdateContract struct { func (x *WitnessUpdateContract) Reset() { *x = WitnessUpdateContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_witness_contract_proto_msgTypes[1] + mi := &file_core_contract_witness_contract_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -100,7 +100,7 @@ func (x *WitnessUpdateContract) String() string { func (*WitnessUpdateContract) ProtoMessage() {} func (x *WitnessUpdateContract) ProtoReflect() protoreflect.Message { - mi := &file_core_witness_contract_proto_msgTypes[1] + mi := &file_core_contract_witness_contract_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -113,7 +113,7 @@ func (x *WitnessUpdateContract) ProtoReflect() protoreflect.Message { // Deprecated: Use WitnessUpdateContract.ProtoReflect.Descriptor instead. func (*WitnessUpdateContract) Descriptor() ([]byte, []int) { - return file_core_witness_contract_proto_rawDescGZIP(), []int{1} + return file_core_contract_witness_contract_proto_rawDescGZIP(), []int{1} } func (x *WitnessUpdateContract) GetOwnerAddress() []byte { @@ -143,7 +143,7 @@ type VoteWitnessContract struct { func (x *VoteWitnessContract) Reset() { *x = VoteWitnessContract{} if protoimpl.UnsafeEnabled { - mi := &file_core_witness_contract_proto_msgTypes[2] + mi := &file_core_contract_witness_contract_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -156,7 +156,7 @@ func (x *VoteWitnessContract) String() string { func (*VoteWitnessContract) ProtoMessage() {} func (x *VoteWitnessContract) ProtoReflect() protoreflect.Message { - mi := &file_core_witness_contract_proto_msgTypes[2] + mi := &file_core_contract_witness_contract_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -169,7 +169,7 @@ func (x *VoteWitnessContract) ProtoReflect() protoreflect.Message { // Deprecated: Use VoteWitnessContract.ProtoReflect.Descriptor instead. func (*VoteWitnessContract) Descriptor() ([]byte, []int) { - return file_core_witness_contract_proto_rawDescGZIP(), []int{2} + return file_core_contract_witness_contract_proto_rawDescGZIP(), []int{2} } func (x *VoteWitnessContract) GetOwnerAddress() []byte { @@ -205,7 +205,7 @@ type VoteWitnessContract_Vote struct { func (x *VoteWitnessContract_Vote) Reset() { *x = VoteWitnessContract_Vote{} if protoimpl.UnsafeEnabled { - mi := &file_core_witness_contract_proto_msgTypes[3] + mi := &file_core_contract_witness_contract_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -218,7 +218,7 @@ func (x *VoteWitnessContract_Vote) String() string { func (*VoteWitnessContract_Vote) ProtoMessage() {} func (x *VoteWitnessContract_Vote) ProtoReflect() protoreflect.Message { - mi := &file_core_witness_contract_proto_msgTypes[3] + mi := &file_core_contract_witness_contract_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -231,7 +231,7 @@ func (x *VoteWitnessContract_Vote) ProtoReflect() protoreflect.Message { // Deprecated: Use VoteWitnessContract_Vote.ProtoReflect.Descriptor instead. func (*VoteWitnessContract_Vote) Descriptor() ([]byte, []int) { - return file_core_witness_contract_proto_rawDescGZIP(), []int{2, 0} + return file_core_contract_witness_contract_proto_rawDescGZIP(), []int{2, 0} } func (x *VoteWitnessContract_Vote) GetVoteAddress() []byte { @@ -248,64 +248,64 @@ func (x *VoteWitnessContract_Vote) GetVoteCount() int64 { return 0 } -var File_core_witness_contract_proto protoreflect.FileDescriptor - -var file_core_witness_contract_proto_rawDesc = []byte{ - 0x0a, 0x1b, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0x4e, 0x0a, 0x15, 0x57, 0x69, 0x74, 0x6e, 0x65, - 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0x5b, 0x0a, 0x15, 0x57, 0x69, 0x74, 0x6e, 0x65, - 0x73, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, - 0x75, 0x72, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x55, 0x72, 0x6c, 0x22, 0xd8, 0x01, 0x0a, 0x13, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, - 0x6e, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x38, 0x0a, 0x05, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x74, 0x65, - 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, - 0x56, 0x6f, 0x74, 0x65, 0x52, 0x05, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, - 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, - 0x70, 0x70, 0x6f, 0x72, 0x74, 0x1a, 0x48, 0x0a, 0x04, 0x56, 0x6f, 0x74, 0x65, 0x12, 0x21, 0x0a, - 0x0c, 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x76, 0x6f, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x76, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, - 0x4b, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x2f, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, 0x6f, 0x62, 0x72, 0x65, 0x69, - 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x6b, - 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, +var File_core_contract_witness_contract_proto protoreflect.FileDescriptor + +var file_core_contract_witness_contract_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, + 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x22, 0x4e, 0x0a, 0x15, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, + 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x10, + 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x75, 0x72, 0x6c, + 0x22, 0x5b, 0x0a, 0x15, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, + 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, + 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x72, 0x6c, 0x22, 0xd8, 0x01, + 0x0a, 0x13, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x38, 0x0a, 0x05, 0x76, 0x6f, + 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x52, 0x05, 0x76, + 0x6f, 0x74, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x1a, 0x48, + 0x0a, 0x04, 0x56, 0x6f, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x76, 0x6f, + 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x74, + 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x76, + 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x45, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, + 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x72, + 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_core_witness_contract_proto_rawDescOnce sync.Once - file_core_witness_contract_proto_rawDescData = file_core_witness_contract_proto_rawDesc + file_core_contract_witness_contract_proto_rawDescOnce sync.Once + file_core_contract_witness_contract_proto_rawDescData = file_core_contract_witness_contract_proto_rawDesc ) -func file_core_witness_contract_proto_rawDescGZIP() []byte { - file_core_witness_contract_proto_rawDescOnce.Do(func() { - file_core_witness_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_witness_contract_proto_rawDescData) +func file_core_contract_witness_contract_proto_rawDescGZIP() []byte { + file_core_contract_witness_contract_proto_rawDescOnce.Do(func() { + file_core_contract_witness_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_witness_contract_proto_rawDescData) }) - return file_core_witness_contract_proto_rawDescData + return file_core_contract_witness_contract_proto_rawDescData } -var file_core_witness_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_core_witness_contract_proto_goTypes = []interface{}{ +var file_core_contract_witness_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_core_contract_witness_contract_proto_goTypes = []interface{}{ (*WitnessCreateContract)(nil), // 0: protocol.WitnessCreateContract (*WitnessUpdateContract)(nil), // 1: protocol.WitnessUpdateContract (*VoteWitnessContract)(nil), // 2: protocol.VoteWitnessContract (*VoteWitnessContract_Vote)(nil), // 3: protocol.VoteWitnessContract.Vote } -var file_core_witness_contract_proto_depIdxs = []int32{ +var file_core_contract_witness_contract_proto_depIdxs = []int32{ 3, // 0: protocol.VoteWitnessContract.votes:type_name -> protocol.VoteWitnessContract.Vote 1, // [1:1] is the sub-list for method output_type 1, // [1:1] is the sub-list for method input_type @@ -314,13 +314,13 @@ var file_core_witness_contract_proto_depIdxs = []int32{ 0, // [0:1] is the sub-list for field type_name } -func init() { file_core_witness_contract_proto_init() } -func file_core_witness_contract_proto_init() { - if File_core_witness_contract_proto != nil { +func init() { file_core_contract_witness_contract_proto_init() } +func file_core_contract_witness_contract_proto_init() { + if File_core_contract_witness_contract_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_core_witness_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_witness_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WitnessCreateContract); i { case 0: return &v.state @@ -332,7 +332,7 @@ func file_core_witness_contract_proto_init() { return nil } } - file_core_witness_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_witness_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WitnessUpdateContract); i { case 0: return &v.state @@ -344,7 +344,7 @@ func file_core_witness_contract_proto_init() { return nil } } - file_core_witness_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_witness_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*VoteWitnessContract); i { case 0: return &v.state @@ -356,7 +356,7 @@ func file_core_witness_contract_proto_init() { return nil } } - file_core_witness_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_core_contract_witness_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*VoteWitnessContract_Vote); i { case 0: return &v.state @@ -373,18 +373,18 @@ func file_core_witness_contract_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_core_witness_contract_proto_rawDesc, + RawDescriptor: file_core_contract_witness_contract_proto_rawDesc, NumEnums: 0, NumMessages: 4, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_core_witness_contract_proto_goTypes, - DependencyIndexes: file_core_witness_contract_proto_depIdxs, - MessageInfos: file_core_witness_contract_proto_msgTypes, + GoTypes: file_core_contract_witness_contract_proto_goTypes, + DependencyIndexes: file_core_contract_witness_contract_proto_depIdxs, + MessageInfos: file_core_contract_witness_contract_proto_msgTypes, }.Build() - File_core_witness_contract_proto = out.File - file_core_witness_contract_proto_rawDesc = nil - file_core_witness_contract_proto_goTypes = nil - file_core_witness_contract_proto_depIdxs = nil + File_core_contract_witness_contract_proto = out.File + file_core_contract_witness_contract_proto_rawDesc = nil + file_core_contract_witness_contract_proto_goTypes = nil + file_core_contract_witness_contract_proto_depIdxs = nil } diff --git a/proto/tron b/proto/tron index 393732abc..244c8353b 160000 --- a/proto/tron +++ b/proto/tron @@ -1 +1 @@ -Subproject commit 393732abcb359cea591d06a6179ee4bfca8662bd +Subproject commit 244c8353b9c1368049f83110c33325ace5c55bdf From a6734d0f98885f901b9179a635ea0eaec00ab421 Mon Sep 17 00:00:00 2001 From: Gavin Xu Date: Wed, 6 Sep 2023 19:37:02 +0000 Subject: [PATCH 33/53] lockPeriod (#91) --- pkg/client/resources.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/client/resources.go b/pkg/client/resources.go index 4ae055c5a..4fef5c3bc 100644 --- a/pkg/client/resources.go +++ b/pkg/client/resources.go @@ -105,7 +105,7 @@ func (g *GrpcClient) GetCanDelegatedMaxSize(address string, resource int32) (*ap } // DelegateResource from BASE58 address -func (g *GrpcClient) DelegateResource(from, to string, resource core.ResourceCode, delegateBalance int64, lock bool) (*api.TransactionExtention, error) { +func (g *GrpcClient) DelegateResource(from, to string, resource core.ResourceCode, delegateBalance int64, lock bool, lockPeriod int64) (*api.TransactionExtention, error) { addrFromBytes, err := common.DecodeCheck(from) if err != nil { return nil, err @@ -126,6 +126,7 @@ func (g *GrpcClient) DelegateResource(from, to string, resource core.ResourceCod contract.ReceiverAddress = addrToBytes contract.Balance = delegateBalance contract.Lock = lock + contract.LockPeriod = lockPeriod response, err := g.Client.DelegateResource(ctx, contract) if err != nil { From 1e824406fe8ce02f2fec4c96629d122560a3598f Mon Sep 17 00:00:00 2001 From: Fernando Sobreira Date: Thu, 7 Sep 2023 09:12:16 -0400 Subject: [PATCH 34/53] Chore/windows build (#100) * check erro on git version * random pk and address from pk cli * mnemonic to privatekey example/test * ETH recover not implemented for windows build * add windows xbuild * update readme * update go-ethereum v1.12.2 --- Makefile | 8 +++- README.md | 9 ++++- cmd/subcommands/keys.go | 54 +++++++++++++++++++++++++-- cmd/subcommands/root.go | 12 ++++-- go.mod | 25 +++++++------ go.sum | 67 +++++++++++++++++++--------------- pkg/keys/mnemonic_test.go | 18 +++++++++ pkg/keystore/account.go | 20 ---------- pkg/keystore/recover.go | 28 ++++++++++++++ pkg/keystore/recover_window.go | 14 +++++++ 10 files changed, 183 insertions(+), 72 deletions(-) create mode 100644 pkg/keys/mnemonic_test.go create mode 100644 pkg/keystore/recover.go create mode 100644 pkg/keystore/recover_window.go diff --git a/Makefile b/Makefile index 760e50496..c3cd220c0 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,12 @@ env := GO111MODULE=on all: $(env) go build -o $(cli) -ldflags="$(ldflags)" cmd/main.go +windows: + $(env) GOOS=windows GOARCH=amd64 go build -o $(cli).exe -ldflags="$(ldflags)" cmd/main.go + +run: + $(env) go run -ldflags="$(ldflags)" cmd/main.go + debug: $(env) go build $(flags) -o $(cli) -ldflags="$(ldflags)" cmd/main.go @@ -24,4 +30,4 @@ install:all clean: @rm -f $(cli) - @rm -rf ./bin \ No newline at end of file + @rm -rf ./bin diff --git a/README.md b/README.md index 5921de932..3bbca9e69 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,11 @@ $ git pull -r origin master $ make ``` +### cross build for windows +``` +make windows +``` + # Usage & Examples # bash completions @@ -70,8 +75,8 @@ TLS credentials can also be set persistent in config file: `withTLS: true` # Trongrid API Key -To set trongrid API Key first create you api key at `www.trongrid.io` and use parameter +To set trongrid API Key first create you api key at `www.trongrid.io` and use parameter `--apiKey=25f66928-0b70-48cd-9ac6-da6f8247c663` (replace with your API key) Trongrid API Key can also be set persistent in config file: `apiKey: 25f66928-0b70-48cd-9ac6-da6f8247c663` (replace with your API key) -OS environment variable `TRONGRID_APIKEY` will overwrite any prior API key configuration if set. \ No newline at end of file +OS environment variable `TRONGRID_APIKEY` will overwrite any prior API key configuration if set. diff --git a/cmd/subcommands/keys.go b/cmd/subcommands/keys.go index 735d7eda9..400f969aa 100644 --- a/cmd/subcommands/keys.go +++ b/cmd/subcommands/keys.go @@ -2,12 +2,17 @@ package cmd import ( "bufio" + "encoding/hex" "fmt" "os" + "github.com/btcsuite/btcd/btcec/v2" "github.com/fatih/color" "github.com/fbsobreira/gotron-sdk/pkg/account" + "github.com/fbsobreira/gotron-sdk/pkg/address" + "github.com/fbsobreira/gotron-sdk/pkg/common" c "github.com/fbsobreira/gotron-sdk/pkg/common" + "golang.org/x/crypto/ssh/terminal" "github.com/fbsobreira/gotron-sdk/pkg/ledger" "github.com/fbsobreira/gotron-sdk/pkg/mnemonic" @@ -25,9 +30,6 @@ var ( quietImport bool recoverFromMnemonic bool passphrase string - blsFilePath string - blsShardID uint32 - blsCount uint32 ppPrompt = fmt.Sprintf( "prompt for passphrase, otherwise use default passphrase: \"`%s`\"", c.DefaultPassphrase, ) @@ -228,8 +230,52 @@ func keysSub() []*cobra.Command { }, } + randomPrivateKey := &cobra.Command{ + Use: "random-pk", + Short: "export a random private key", + Args: cobra.NoArgs, + RunE: func(cmd *cobra.Command, args []string) error { + key, err := bip39.NewEntropy(256) + if err != nil { + return err + } + fmt.Println(hex.EncodeToString(key)) + return nil + }, + } + + addressFromPrivateKey := &cobra.Command{ + Use: "address-pk", + Short: "export address from private key", + Args: cobra.NoArgs, + RunE: func(cmd *cobra.Command, args []string) error { + fmt.Println("Enter privete key hex format:") + data, err := terminal.ReadPassword(int(os.Stdin.Fd())) + if err != nil { + return err + } + + // decode hex + privateKeyBytes, err := hex.DecodeString(string(data)) + if err != nil { + return err + } + + if len(privateKeyBytes) != common.Secp256k1PrivateKeyBytesLength { + return common.ErrBadKeyLength + } + + // btcec.PrivKeyFromBytes only returns a secret key and public key + sk, _ := btcec.PrivKeyFromBytes(privateKeyBytes) + + addr := address.PubkeyToAddress(*sk.PubKey().ToECDSA()) + fmt.Println(addr) + return nil + }, + } + return []*cobra.Command{cmdList, cmdLocation, cmdAdd, cmdRemove, cmdMnemonic, cmdRecoverMnemonic, cmdImportKS, cmdImportPK, - cmdExportKS, cmdExportPK} + cmdExportKS, cmdExportPK, randomPrivateKey, addressFromPrivateKey} } func init() { diff --git a/cmd/subcommands/root.go b/cmd/subcommands/root.go index a352d47b9..23fda0832 100644 --- a/cmd/subcommands/root.go +++ b/cmd/subcommands/root.go @@ -155,7 +155,7 @@ var ( versionFormat = regexp.MustCompile("v[0-9]+-[a-z0-9]{7}") ) -//GitHubReleaseAssets json struct +// GitHubReleaseAssets json struct type GitHubReleaseAssets struct { ID json.Number `json:"id"` Name string `json:"name"` @@ -163,7 +163,7 @@ type GitHubReleaseAssets struct { URL string `json:"browser_download_url"` } -//GitHubRelease json struct +// GitHubRelease json struct type GitHubRelease struct { Prerelease bool `json:"prerelease"` TagName string `json:"tag_name"` @@ -172,7 +172,7 @@ type GitHubRelease struct { Assets []GitHubReleaseAssets `json:"assets"` } -//GitHubTag json struct +// GitHubTag json struct type GitHubTag struct { Ref string `json:"ref"` NodeID string `json:"node_id"` @@ -183,7 +183,11 @@ type GitHubTag struct { } func getGitVersion() (string, error) { - resp, _ := http.Get(versionLink) + resp, err := http.Get(versionLink) + if err != nil { + return "", err + } + defer resp.Body.Close() // if error, no op if resp != nil && resp.StatusCode == 200 { diff --git a/go.mod b/go.mod index 3e4534c4d..9bb22bd75 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/araddon/dateparse v0.0.0-20200409225146-d820a6159ab1 github.com/btcsuite/btcd/btcec/v2 v2.2.0 github.com/deckarep/golang-set v1.8.0 - github.com/ethereum/go-ethereum v1.10.26 + github.com/ethereum/go-ethereum v1.12.2 github.com/fatih/color v1.9.0 github.com/fatih/structs v1.1.0 github.com/mitchellh/go-homedir v1.1.0 @@ -15,11 +15,11 @@ require ( github.com/rjeczalik/notify v0.9.3 github.com/shengdoushi/base58 v1.0.0 github.com/spf13/cobra v1.0.0 - github.com/stretchr/testify v1.7.2 - github.com/tyler-smith/go-bip39 v1.0.2 + github.com/stretchr/testify v1.8.1 + github.com/tyler-smith/go-bip39 v1.1.0 github.com/zondax/hid v0.9.1 go.uber.org/zap v1.15.0 - golang.org/x/crypto v0.7.0 + golang.org/x/crypto v0.9.0 google.golang.org/genproto v0.0.0-20200825200019-8632dd797987 google.golang.org/grpc v1.37.0 google.golang.org/protobuf v1.28.1 @@ -30,20 +30,21 @@ require ( github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect - github.com/go-stack/stack v1.8.0 // indirect + github.com/go-stack/stack v1.8.1 // indirect github.com/golang/protobuf v1.5.2 // indirect - github.com/google/uuid v1.2.0 // indirect + github.com/google/uuid v1.3.0 // indirect + github.com/holiman/uint256 v1.2.3 // indirect github.com/inconshreveable/mousetrap v1.0.0 // indirect - github.com/mattn/go-colorable v0.1.8 // indirect - github.com/mattn/go-isatty v0.0.12 // indirect + github.com/mattn/go-colorable v0.1.13 // indirect + github.com/mattn/go-isatty v0.0.16 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/russross/blackfriday/v2 v2.1.0 // indirect github.com/spf13/pflag v1.0.3 // indirect go.uber.org/atomic v1.6.0 // indirect go.uber.org/multierr v1.5.0 // indirect - golang.org/x/net v0.8.0 // indirect - golang.org/x/sys v0.6.0 // indirect - golang.org/x/term v0.6.0 // indirect - golang.org/x/text v0.8.0 // indirect + golang.org/x/net v0.10.0 // indirect + golang.org/x/sys v0.9.0 // indirect + golang.org/x/term v0.8.0 // indirect + golang.org/x/text v0.9.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/go.sum b/go.sum index c82279fed..486198dc0 100644 --- a/go.sum +++ b/go.sum @@ -39,8 +39,8 @@ github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymF github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/ethereum/go-ethereum v1.10.26 h1:i/7d9RBBwiXCEuyduBQzJw/mKmnvzsN14jqBmytw72s= -github.com/ethereum/go-ethereum v1.10.26/go.mod h1:EYFyF19u3ezGLD4RqOkLq+ZCXzYbLoNDdZlMt7kyKFg= +github.com/ethereum/go-ethereum v1.12.2 h1:eGHJ4ij7oyVqUQn48LBz3B7pvQ8sV0wGJiIE6gDq/6Y= +github.com/ethereum/go-ethereum v1.12.2/go.mod h1:1cRAEV+rp/xX0zraSCBnu9Py3HQ+geRMj3HdR+k0wfI= github.com/fatih/color v1.9.0 h1:8xPHl4/q1VyqGIPif1F+1V3Y3lSmrq01EabUW3CoW5s= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= github.com/fatih/structs v1.1.0 h1:Q7juDM0QtcnhCpeyLGQKyg4TOIghuNXrkL32pHAUMxo= @@ -50,8 +50,9 @@ github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeME github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= -github.com/go-stack/stack v1.8.0 h1:5SgMzNM5HxrEjV0ww2lTmX6E2Izsfxas4+YHWRs3Lsk= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= +github.com/go-stack/stack v1.8.1 h1:ntEHSVwIt7PNXNpgPmVfMrNhLtgjlmnZha2kOpuRiDw= +github.com/go-stack/stack v1.8.1/go.mod h1:dcoOX6HbPZSZptuspn9bctJ+N/CnF5gGygcUP3XYfe4= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= @@ -81,13 +82,15 @@ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.2.0 h1:qJYtXnJRWmpe7m/3XlyhrsLrEURqHRM2kxzoxXqyUDs= -github.com/google/uuid v1.2.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= +github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= +github.com/holiman/uint256 v1.2.3 h1:K8UWO1HUJpRMXBxbmaY1Y8IAMZC/RsKB+ArEnnK4l5o= +github.com/holiman/uint256 v1.2.3/go.mod h1:SC8Ryt4n+UBbPbIBKaG9zbbDlp4jOru9xFZmPzLUTxw= github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= @@ -96,19 +99,19 @@ github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvW github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= -github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= -github.com/mattn/go-colorable v0.1.8 h1:c1ghPdyEDarC70ftn0y+A/Ee++9zz8ljHG1b13eJ0s8= -github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= +github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= +github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= -github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY= -github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= +github.com/mattn/go-isatty v0.0.16 h1:bq3VjFmv/sOjHtdEhmkEV4x1AJtvUvOJ2PFAZ5+peKQ= +github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= @@ -138,6 +141,7 @@ github.com/rjeczalik/notify v0.9.3 h1:6rJAzHTGKXGj76sbRgDiDcYj/HniypXmSJo1SWakZe github.com/rjeczalik/notify v0.9.3/go.mod h1:gF3zSOrafR9DQEWSE8TjfI9NkooDxbyT4UgRGKZA0lc= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= +github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= @@ -157,15 +161,19 @@ github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnIn github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= +github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/stretchr/testify v1.7.2 h1:4jaiDzPyXQvSd7D0EjG45355tLlV3VOECpq10pLC+8s= -github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= +github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= +github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= +github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/tyler-smith/go-bip39 v1.0.2 h1:+t3w+KwLXO6154GNJY+qUtIxLTmFjfUmpguQT1OlOT8= -github.com/tyler-smith/go-bip39 v1.0.2/go.mod h1:sJ5fKU0s6JVwZjjcUEX2zFOnvq0ASQ2K9Zr6cf67kNs= +github.com/tyler-smith/go-bip39 v1.1.0 h1:5eUemwrMargf3BSLRRCalXT93Ns6pQJIjYQN2nyfOP8= +github.com/tyler-smith/go-bip39 v1.1.0/go.mod h1:gUYDtqQw1JS3ZJ8UWVcGTGqqr6YIN3CWg+kkNaLt55U= github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= @@ -186,8 +194,9 @@ go.uber.org/zap v1.15.0/go.mod h1:Mb2vm2krFEG5DV0W9qcHBYFtp/Wku1cvYaqPsS/WYfc= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.7.0 h1:AvwMYaRytfdeVt3u6mLaxYtErKYjxA2OXjJ1HHq6t3A= -golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU= +golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.9.0 h1:LF6fAI+IutBocDJ2OT0Q1g8plpYljMZ4+lty+dsqw3g= +golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= @@ -195,7 +204,7 @@ golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHl golang.org/x/lint v0.0.0-20190930215403-16217165b5de h1:5hukYrvBGR8/eNkX5mdUezrA6JiaEZDtJb9Ei+1LlBs= golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= -golang.org/x/mod v0.8.0 h1:LUYupSeNrTNCGzR/hVBk2NHZO4hXcVaW1k4Qx7rjPx8= +golang.org/x/mod v0.11.0 h1:bUO06HqtnRcc/7l71XBe4WcqTZ+3AH1J59zWDDwLKgU= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -205,8 +214,8 @@ golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.8.0 h1:Zrh2ngAOFYneWTAIAPethzeaQLuHwhuBkuV6ZiRnUaQ= -golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= +golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M= +golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -221,15 +230,14 @@ golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5h golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.6.0 h1:MVltZSvRTcU2ljQOhs94SXPftV6DCNnZViHeQps87pQ= -golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/term v0.6.0 h1:clScbb1cHjoCkyRbWwBEUZ5H/tIFu5TAXIqaZD0Gcjw= -golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= +golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.9.0 h1:KS/R3tvhPqvJvwcKfnBHJwwthS11LRhmM5D59eEXa0s= +golang.org/x/sys v0.9.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/term v0.8.0 h1:n5xxQn2i3PC0yLAbjTpNT85q/Kgzcr2gIoX9OrJUols= +golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.8.0 h1:57P1ETyNKtuIjB4SRd15iJxuhj8Gc416Y78H3qgMh68= -golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/text v0.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE= +golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -239,7 +247,7 @@ golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBn golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.6.0 h1:BOw41kyTf3PuCW1pVQf8+Cyg8pMlkYB1oo9iJ6D/lKM= +golang.org/x/tools v0.9.1 h1:8WMNJAz3zrtPmnYC7ISf5dEn3MT0gY7jBJfw27yrrLo= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df h1:5Pf6pFKu98ODmgnpvkJ3kFUOQGGLIzLIkbzUHp47618= @@ -282,6 +290,7 @@ gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= diff --git a/pkg/keys/mnemonic_test.go b/pkg/keys/mnemonic_test.go new file mode 100644 index 000000000..3260a12f1 --- /dev/null +++ b/pkg/keys/mnemonic_test.go @@ -0,0 +1,18 @@ +package keys_test + +import ( + "encoding/hex" + "testing" + + "github.com/fbsobreira/gotron-sdk/pkg/keys" + "github.com/stretchr/testify/assert" +) + +func Test_mnemonic_to_pk(t *testing.T) { + // Hardcoded index of 0 for brandnew account. + private, _ := keys.FromMnemonicSeedAndPassphrase("abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about", "", 0) + pk_bytes := private.Serialize() + + println("Privatekey: ", hex.EncodeToString(pk_bytes)) + assert.Equal(t, hex.EncodeToString(pk_bytes), "b5a4cea271ff424d7c31dc12a3e43e401df7a40d7412a15750f3f0b6b5449a28") +} diff --git a/pkg/keystore/account.go b/pkg/keystore/account.go index f31cd73aa..a29793170 100644 --- a/pkg/keystore/account.go +++ b/pkg/keystore/account.go @@ -6,7 +6,6 @@ import ( "fmt" "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/crypto/secp256k1" "github.com/fbsobreira/gotron-sdk/pkg/address" "github.com/fbsobreira/gotron-sdk/pkg/common" "github.com/fbsobreira/gotron-sdk/pkg/proto/core" @@ -174,22 +173,3 @@ func UnmarshalPublic(pbk []byte) (*ecdsa.PublicKey, error) { return &ecdsa.PublicKey{Curve: crypto.S256(), X: x, Y: y}, nil } - -func RecoverPubkey(hash []byte, signature []byte) (address.Address, error) { - - if signature[64] >= 27 { - signature[64] -= 27 - } - - sigPublicKey, err := secp256k1.RecoverPubkey(hash, signature) - if err != nil { - return nil, err - } - pubKey, err := UnmarshalPublic(sigPublicKey) - if err != nil { - return nil, err - } - - addr := address.PubkeyToAddress(*pubKey) - return addr, nil -} diff --git a/pkg/keystore/recover.go b/pkg/keystore/recover.go new file mode 100644 index 000000000..ae274bcd0 --- /dev/null +++ b/pkg/keystore/recover.go @@ -0,0 +1,28 @@ +//go:build !windows +// +build !windows + +package keystore + +import ( + "github.com/ethereum/go-ethereum/crypto/secp256k1" + "github.com/fbsobreira/gotron-sdk/pkg/address" +) + +func RecoverPubkey(hash []byte, signature []byte) (address.Address, error) { + + if signature[64] >= 27 { + signature[64] -= 27 + } + + sigPublicKey, err := secp256k1.RecoverPubkey(hash, signature) + if err != nil { + return nil, err + } + pubKey, err := UnmarshalPublic(sigPublicKey) + if err != nil { + return nil, err + } + + addr := address.PubkeyToAddress(*pubKey) + return addr, nil +} diff --git a/pkg/keystore/recover_window.go b/pkg/keystore/recover_window.go new file mode 100644 index 000000000..0810d2001 --- /dev/null +++ b/pkg/keystore/recover_window.go @@ -0,0 +1,14 @@ +//go:build windows +// +build windows + +package keystore + +import ( + "fmt" + + "github.com/fbsobreira/gotron-sdk/pkg/address" +) + +func RecoverPubkey(hash []byte, signature []byte) (address.Address, error) { + return nil, fmt.Errorf("not implemented") +} From 5f7c89ca4cc7c45b03be26eeec48b409a597bba2 Mon Sep 17 00:00:00 2001 From: asce Date: Fri, 28 Mar 2025 21:11:21 +0400 Subject: [PATCH 35/53] fix(keystore): support for build without cgo (#135) --- pkg/keystore/recover.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/keystore/recover.go b/pkg/keystore/recover.go index ae274bcd0..2c71f5ed8 100644 --- a/pkg/keystore/recover.go +++ b/pkg/keystore/recover.go @@ -4,7 +4,8 @@ package keystore import ( - "github.com/ethereum/go-ethereum/crypto/secp256k1" + "github.com/ethereum/go-ethereum/crypto" + "github.com/fbsobreira/gotron-sdk/pkg/address" ) @@ -14,7 +15,7 @@ func RecoverPubkey(hash []byte, signature []byte) (address.Address, error) { signature[64] -= 27 } - sigPublicKey, err := secp256k1.RecoverPubkey(hash, signature) + sigPublicKey, err := crypto.Ecrecover(hash, signature) if err != nil { return nil, err } From 5b98b16e9cd8d8f4f99ef127c54b286ea10bf6c8 Mon Sep 17 00:00:00 2001 From: wxf4150 Date: Sat, 29 Mar 2025 01:22:03 +0800 Subject: [PATCH 36/53] add TRC20TransferFrom (#124) --- pkg/client/trc20.go | 35 ++++++++++++++++++++++++++++------- 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/pkg/client/trc20.go b/pkg/client/trc20.go index bfd7ba2c3..fccae8f80 100644 --- a/pkg/client/trc20.go +++ b/pkg/client/trc20.go @@ -14,13 +14,14 @@ import ( ) const ( - trc20TransferMethodSignature = "0xa9059cbb" - trc20ApproveMethodSignature = "0x095ea7b3" - trc20TransferEventSignature = "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef" - trc20NameSignature = "0x06fdde03" - trc20SymbolSignature = "0x95d89b41" - trc20DecimalsSignature = "0x313ce567" - trc20BalanceOf = "0x70a08231" + trc20TransferMethodSignature = "0xa9059cbb" + trc20ApproveMethodSignature = "0x095ea7b3" + trc20TransferEventSignature = "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef" + trc20NameSignature = "0x06fdde03" + trc20SymbolSignature = "0x95d89b41" + trc20DecimalsSignature = "0x313ce567" + trc20BalanceOf = "0x70a08231" + trc20TransferFromMethodSignature = "0x23b872dd" ) // TRC20Call make cosntant calll @@ -178,6 +179,26 @@ func (g *GrpcClient) TRC20Send(from, to, contract string, amount *big.Int, feeLi return g.TRC20Call(from, contract, req, false, feeLimit) } +/* +parameter:owner is who will sign the tx +*/ +func (g *GrpcClient) TRC20TransferFrom(owner, from, to, contract string, amount *big.Int, feeLimit int64) (*api.TransactionExtention, error) { + addrA, err := address.Base58ToAddress(from) + if err != nil { + return nil, err + } + addrB, err := address.Base58ToAddress(to) + if err != nil { + return nil, err + } + ab := common.LeftPadBytes(amount.Bytes(), 32) + req := "0x23b872dd" + + "0000000000000000000000000000000000000000000000000000000000000000"[len(addrA.Hex())-4:] + addrA.Hex()[4:] + + "0000000000000000000000000000000000000000000000000000000000000000"[len(addrB.Hex())-4:] + addrB.Hex()[4:] + req += common.Bytes2Hex(ab) + return g.TRC20Call(owner, contract, req, false, feeLimit) +} + // TRC20Approve approve token to address func (g *GrpcClient) TRC20Approve(from, to, contract string, amount *big.Int, feeLimit int64) (*api.TransactionExtention, error) { addrB, err := address.Base58ToAddress(to) From 2943ce8c759b065d5bc61b1f87e93b021f4f5098 Mon Sep 17 00:00:00 2001 From: Fernando Sobreira Date: Thu, 3 Apr 2025 04:30:53 -0400 Subject: [PATCH 37/53] Git workflow && Tron proto updates (#145) * update go version * update dependencies * add GitHub Actions workflow for running tests * fix tests * enhance gen-proto script && update tron proto * fix grpc insecure deprecated Dial * refactor command help handling and improve error handling in config saving * refactor error handling and replace ioutil with os package functions * refactor tests to remove unnecessary gRPC connection setup and improve error assertions * remove unused writeKeyFile function and delete plain keystore implementation * update go.mod, crypto.UnmarshalPubkey, add signature length validation * add CI targets for testing and linting in Makefile * add GitHub Actions workflows for build, format, and test processes * ci: add Git hooks for commit message validation and pre-commit checks * chore: add issue and pull requests templates * fix: install goimport in workflow * ci: update golangci-lint installation method in format workflow * feat: add methods to retrieve energy, bandwidth, and memo fee #134 - Tron TIP-586 * fix: remove unused parameter from UnDelegateResource method #109 --- .githooks/commit-msg | 33 + .githooks/install.sh | 34 + .githooks/pre-commit | 61 + .githooks/prepare-commit-msg | 38 + .github/ISSUE_TEMPLATE/SECURITY.md | 33 + .github/ISSUE_TEMPLATE/bug_report.md | 0 .github/ISSUE_TEMPLATE/config.yml | 8 + .github/ISSUE_TEMPLATE/feature_request.md | 32 + .github/ISSUE_TEMPLATE/question.md | 28 + .github/PULL_REQUEST_TEMPLATE.md | 42 + .github/workflows/build.yaml | 43 + .github/workflows/format.yaml | 46 + .github/workflows/test.yaml | 36 + .gitignore | 27 +- Makefile | 38 +- cmd/subcommands/account.go | 3 +- cmd/subcommands/bc.go | 3 +- cmd/subcommands/completion.go | 3 +- cmd/subcommands/config.go | 12 +- cmd/subcommands/contract.go | 11 +- cmd/subcommands/exchange.go | 3 +- cmd/subcommands/keys.go | 13 +- cmd/subcommands/proposal.go | 3 +- cmd/subcommands/root.go | 55 +- cmd/subcommands/sr.go | 3 +- cmd/subcommands/trc10.go | 5 +- cmd/subcommands/trc20.go | 3 +- cmd/subcommands/utility.go | 3 +- e2e/keystore_test.go | 11 - gen-proto.sh | 106 +- go.mod | 57 +- go.sum | 347 +- pkg/abi/abi.go | 6 +- pkg/abi/abi_test.go | 9 +- pkg/account/import.go | 34 +- pkg/address/address.go | 2 +- pkg/client/account.go | 2 +- pkg/client/account_test.go | 23 +- pkg/client/client.go | 6 +- pkg/client/client_test.go | 5 +- pkg/client/contracts.go | 4 +- pkg/client/contracts_test.go | 28 +- pkg/client/network.go | 30 + pkg/client/resources.go | 2 +- pkg/client/transaction/controller.go | 2 +- pkg/client/trc20.go | 2 +- pkg/client/trc20_test.go | 5 +- pkg/common/hexutils.go | 2 +- pkg/common/numeric/numeric.go | 15 +- pkg/common/values.go | 8 +- pkg/keys/keys.go | 6 +- pkg/keys/mnemonic_test.go | 3 +- pkg/keystore/account.go | 8 +- pkg/keystore/account_cache.go | 4 +- pkg/keystore/file_cache.go | 10 +- pkg/keystore/key.go | 11 +- pkg/keystore/passphrase.go | 3 +- pkg/keystore/plain.go | 62 - pkg/keystore/recover.go | 6 +- pkg/keystore/recover_test.go | 17 + pkg/keystore/url.go | 7 +- pkg/keystore/watch.go | 4 +- pkg/ledger/hw_wallet.go | 2 +- pkg/ledger/nano_S_driver.go | 6 +- pkg/proto/api/api.pb.go | 6670 +++++++-------------- pkg/proto/api/api_grpc.pb.go | 1511 +++-- pkg/proto/api/zksnark.pb.go | 130 +- pkg/proto/api/zksnark_grpc.pb.go | 36 +- pkg/proto/core/Discover.pb.go | 295 +- pkg/proto/core/Tron.pb.go | 4955 +++++---------- pkg/proto/core/TronInventoryItems.pb.go | 68 +- pkg/proto/core/account_contract.pb.go | 216 +- pkg/proto/core/asset_issue_contract.pb.go | 363 +- pkg/proto/core/balance_contract.pb.go | 845 +-- pkg/proto/core/common.pb.go | 39 +- pkg/proto/core/exchange_contract.pb.go | 248 +- pkg/proto/core/market_contract.pb.go | 132 +- pkg/proto/core/proposal_contract.pb.go | 172 +- pkg/proto/core/shield_contract.pb.go | 580 +- pkg/proto/core/smart_contract.pb.go | 645 +- pkg/proto/core/storage_contract.pb.go | 191 +- pkg/proto/core/vote_asset_contract.pb.go | 81 +- pkg/proto/core/witness_contract.pb.go | 198 +- pkg/proto/util/completeTx.pb.go | 96 +- pkg/store/local.go | 31 +- proto/tron | 2 +- proto/util/completeTx.proto | 2 +- 87 files changed, 7030 insertions(+), 11950 deletions(-) create mode 100755 .githooks/commit-msg create mode 100644 .githooks/install.sh create mode 100755 .githooks/pre-commit create mode 100755 .githooks/prepare-commit-msg create mode 100644 .github/ISSUE_TEMPLATE/SECURITY.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/question.md create mode 100644 .github/PULL_REQUEST_TEMPLATE.md create mode 100644 .github/workflows/build.yaml create mode 100644 .github/workflows/format.yaml create mode 100644 .github/workflows/test.yaml delete mode 100644 e2e/keystore_test.go delete mode 100644 pkg/keystore/plain.go create mode 100644 pkg/keystore/recover_test.go diff --git a/.githooks/commit-msg b/.githooks/commit-msg new file mode 100755 index 000000000..0e138ea10 --- /dev/null +++ b/.githooks/commit-msg @@ -0,0 +1,33 @@ +#!/bin/bash +set -e + +# Colors for output +RED='\033[0;31m' +GREEN='\033[0;32m' +YELLOW='\033[0;33m' +NC='\033[0m' # No Color + +COMMIT_MSG_FILE=$1 +COMMIT_MSG=$(cat $COMMIT_MSG_FILE) + +# Define regex patterns for commit message +CONVENTIONAL_PATTERN='^(feat|fix|docs|style|refactor|perf|test|build|ci|chore|revert)(\(.+\))?: .{1,100}' +TICKET_PATTERN='(TRON-[0-9]+)' + +# Check if commit message follows conventional commits pattern +if ! [[ $COMMIT_MSG =~ $CONVENTIONAL_PATTERN ]]; then + echo -e "${RED}Error:${NC} Commit message does not follow conventional commits format." + echo -e "${YELLOW}Format:${NC} type(scope): description" + echo -e "${YELLOW}Example:${NC} feat(cli): add new transaction command" + echo -e "${YELLOW}Types:${NC} feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert" + exit 1 +fi + +# Warn if no ticket number is found (but don't block commit) +if ! [[ $COMMIT_MSG =~ $TICKET_PATTERN ]]; then + echo -e "${YELLOW}Warning:${NC} No TRON-XXX ticket number found in commit message." + echo -e "${YELLOW}Consider:${NC} Including ticket number like TRON-123 in description or scope" +fi + +echo -e "${GREEN}✓${NC} Commit message format is valid" +exit 0 \ No newline at end of file diff --git a/.githooks/install.sh b/.githooks/install.sh new file mode 100644 index 000000000..1709e45e1 --- /dev/null +++ b/.githooks/install.sh @@ -0,0 +1,34 @@ +#!/bin/bash +set -e + +HOOK_DIR=$(git rev-parse --git-path hooks) +REPO_ROOT=$(git rev-parse --show-toplevel) +HOOKS_DIR="$REPO_ROOT/.githooks" + +# Make sure hooks are executable +chmod +x "$HOOKS_DIR/pre-commit" +chmod +x "$HOOKS_DIR/commit-msg" +chmod +x "$HOOKS_DIR/prepare-commit-msg" + +# Create symlinks to hooks +ln -sf "$HOOKS_DIR/pre-commit" "$HOOK_DIR/pre-commit" +ln -sf "$HOOKS_DIR/commit-msg" "$HOOK_DIR/commit-msg" +ln -sf "$HOOKS_DIR/prepare-commit-msg" "$HOOK_DIR/prepare-commit-msg" + +echo "✅ Git hooks installed successfully!" +echo "Pre-commit hook will run: format, lint and test on staged files" +echo "Commit-msg hook will enforce conventional commit format" +echo "Prepare-commit-msg hook will provide a commit message template" + +# Check for required tools +echo "Checking required tools..." + +if ! command -v goimports &> /dev/null; then + echo "⚠️ goimports not found. Please install with:" + echo " go install golang.org/x/tools/cmd/goimports@latest" +fi + +if ! command -v golangci-lint &> /dev/null; then + echo "⚠️ golangci-lint not found. Please install with:" + echo " curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin" +fi \ No newline at end of file diff --git a/.githooks/pre-commit b/.githooks/pre-commit new file mode 100755 index 000000000..c178e2f27 --- /dev/null +++ b/.githooks/pre-commit @@ -0,0 +1,61 @@ +#!/bin/bash +set -e + +echo "==> Running pre-commit checks..." + +# Get staged Go files +STAGED_GO_FILES=$(git diff --cached --name-only --diff-filter=ACM | grep '\.go$' | grep -v '\.pb\.go$' || true) + +# Skip if no Go files are staged +if [ -z "$STAGED_GO_FILES" ]; then + echo "No Go files staged. Skipping pre-commit checks." + exit 0 +fi + +# Check for goimports +if ! command -v goimports &> /dev/null; then + echo "goimports not found! Please install with:" + echo "go install golang.org/x/tools/cmd/goimports@latest" + exit 1 +fi + +# Check for golangci-lint +if ! command -v golangci-lint &> /dev/null; then + echo "golangci-lint not found! Please install with:" + echo "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin" + exit 1 +fi + +# Format imports +echo "Running goimports..." +make goimports + +# Run go mod tidy +echo "Checking go.mod and go.sum..." +go mod tidy +if [ -n "$(git status --porcelain go.mod go.sum)" ]; then + echo "go.mod or go.sum was modified. Please stage the changes." + git status --porcelain go.mod go.sum + exit 1 +fi + +# Run linter on staged files +echo "Running linter on staged files..." +STAGED_FILES_ARGS=$(echo "$STAGED_GO_FILES" | tr '\n' ' ') +golangci-lint run --fast $STAGED_FILES_ARGS + +# Run tests affected by staged files +echo "Running relevant tests..." +# Parse package names from staged files +STAGED_PACKAGES=$(echo "$STAGED_GO_FILES" | xargs -I{} dirname {} | sort -u) + +# Run tests only for affected packages +for pkg in $STAGED_PACKAGES; do + if [ -n "$(find $pkg -name '*_test.go' -type f | head -1)" ]; then + echo "Testing package: $pkg" + go test -race ./$pkg + fi +done + +echo "✅ Pre-commit checks passed" +exit 0 \ No newline at end of file diff --git a/.githooks/prepare-commit-msg b/.githooks/prepare-commit-msg new file mode 100755 index 000000000..4b13dc667 --- /dev/null +++ b/.githooks/prepare-commit-msg @@ -0,0 +1,38 @@ +#!/bin/bash + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +# Only add template if this is not from a merge, amend, etc. +if [ -z "$COMMIT_SOURCE" ]; then + # Check if the commit message already has content (non-commented lines) + if ! grep -q '^[^#]' "$COMMIT_MSG_FILE"; then + # Get the current branch name + BRANCH_NAME=$(git symbolic-ref --short HEAD 2>/dev/null) + + # Extract ticket number from branch name if it follows pattern like feature/TRON-123-description + TICKET="" + if [[ $BRANCH_NAME =~ (TRON-[0-9]+) ]]; then + TICKET=${BASH_REMATCH[1]} + fi + + # Add commit message template + cat > "$COMMIT_MSG_FILE" << EOF +# Select commit type and add optional scope and description +# Format: type(scope): description +# Example: feat(cli): add new transaction feature +# Types: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert +# +# If applicable, include the TRON ticket number in scope or description +# Current branch: $BRANCH_NAME +EOF + + # If we found a ticket number in the branch name, add it to the template + if [ -n "$TICKET" ]; then + echo "feat($TICKET): " > "$COMMIT_MSG_FILE.tmp" + cat "$COMMIT_MSG_FILE" >> "$COMMIT_MSG_FILE.tmp" + mv "$COMMIT_MSG_FILE.tmp" "$COMMIT_MSG_FILE" + fi + fi +fi \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/SECURITY.md b/.github/ISSUE_TEMPLATE/SECURITY.md new file mode 100644 index 000000000..851b4d96d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/SECURITY.md @@ -0,0 +1,33 @@ +# Security Policy + +## Supported Versions + +The following versions of gotron-sdk are currently being supported with security updates: + +| Version | Supported | +| ------- | ------------------ | +| 2.3.x | :white_check_mark: | +| 2.2.x | :white_check_mark: | +| 2.1.x | :x: | +| < 2.0 | :x: | + +## Reporting a Vulnerability + +We take the security of gotron-sdk seriously. If you believe you've found a security vulnerability, please follow these steps: + +1. **Do not disclose the vulnerability publicly** +2. **Email us directly** at security@cryptochain.network +3. **Include the following information**: + - A description of the vulnerability + - Steps to reproduce the issue + - Potential impact of the vulnerability + - If possible, a suggested fix or mitigation + +## What to expect + +- We will acknowledge receipt of your vulnerability report within 3 business days +- We will provide an initial assessment of the report within 10 business days +- We will keep you informed about our progress throughout the process +- We will notify you when the issue is fixed + +Thank you for helping keep gotron-sdk and its users safe! \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 000000000..e69de29bb diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..a7634aa50 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: false +contact_links: + - name: TRON SDK Documentation + url: https://github.com/fbsobreira/gotron-sdk/wiki + about: Check if your question is answered in the documentation. + - name: TRON Network Documentation + url: https://developers.tron.network/ + about: Learn more about TRON network specifications and APIs. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 000000000..045ee3faf --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,32 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '[FEATURE] ' +labels: enhancement +assignees: '' +--- + +## Is your feature request related to a problem? Please describe. + + +## Describe the solution you'd like + + +## Describe alternatives you've considered + + +## API Design (if applicable) + +```go +// Example API design +func NewFeature(param1 string, param2 int) (Result, error) { + // Description of what this would do +} +``` + +## Ticket + +TRON- + +## Additional context + \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md new file mode 100644 index 000000000..4541c460f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.md @@ -0,0 +1,28 @@ +--- +name: Question +about: Ask a question about using this SDK +title: '[QUESTION] ' +labels: question +assignees: '' +--- + +## Question + + +## Context + + +## Environment + - OS: [e.g. Ubuntu 22.04, macOS 13.0, Windows 11] + - Go version: [e.g. 1.20.4] + - TRON node version: + - SDK version: [e.g. v2.3.0] + +## Code Example + +```go +// Your code here +``` + +## Additional Information + \ No newline at end of file diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 000000000..744244e24 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,42 @@ +## Description + + + + +Fixes # (issue) + +## Type of change + + + +- [ ] Bug fix (non-breaking change which fixes an issue) +- [ ] New feature (non-breaking change which adds functionality) +- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) +- [ ] This change requires a documentation update +- [ ] Refactoring (no functional changes, no API changes) +- [ ] Performance improvement + +## Ticket + + +TRON- + +## How Has This Been Tested? + + + + +- [ ] Unit tests +- [ ] Integration tests +- [ ] Manual tests (please describe below) + +## Checklist: + +- [ ] My code follows the style guidelines of this project +- [ ] I have performed a self-review of my code +- [ ] I have commented my code, particularly in hard-to-understand areas +- [ ] I have made corresponding changes to the documentation +- [ ] My changes generate no new warnings +- [ ] I have added tests that prove my fix is effective or that my feature works +- [ ] New and existing unit tests pass locally with my changes +- [ ] Any dependent changes have been merged and published diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 000000000..f0af2d1b5 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,43 @@ +name: Build + +on: + push: + branches: [ master, develop ] + pull_request: + branches: [ master, develop ] + + +jobs: + build: + name: Build + runs-on: ubuntu-latest + steps: + - name: Check out code + uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version-file: 'go.mod' + cache: true + + - name: Get dependencies + run: go mod download + + - name: Check build + run: go vet ./... + + - name: Build CLI + run: | + make build + make build-windows + + - name: Save artifacts + uses: actions/upload-artifact@v4 + with: + name: build + path: | + bin/tronctl + bin/tronctl.exe + + \ No newline at end of file diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml new file mode 100644 index 000000000..caf9c00f1 --- /dev/null +++ b/.github/workflows/format.yaml @@ -0,0 +1,46 @@ +name: Format and Tidy Check + +on: + push: + branches: [ master, develop ] + pull_request: + branches: [ master, develop ] + +jobs: + format-tidy: + name: Format and Tidy Check + runs-on: ubuntu-latest + steps: + - name: Check out code + uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version-file: 'go.mod' + cache: true + + - name: Install goimports + run: go install golang.org/x/tools/cmd/goimports@latest + + - name: Check goimports + run: | + make goimports + if [ -n "$(git status --porcelain)" ]; then + echo "goimports has modified files. Please run 'make goimports' and commit changes." + exit 1 + fi + + - name: Check go mod tidy + run: | + go mod tidy + if [ -n "$(git status --porcelain go.mod go.sum)" ]; then + echo "go.mod or go.sum is not tidy. Please run 'go mod tidy' and commit changes." + exit 1 + fi + + - name: Install golangci-lint + run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest + + - name: Check golangci-lint + run: make lint diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 000000000..348a71f3e --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,36 @@ +name: Tests + +on: + push: + branches: [ master, develop ] + pull_request: + branches: [ master, develop ] + + +jobs: + test: + name: Test + runs-on: ubuntu-latest + steps: + - name: Check out code + uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version-file: 'go.mod' + cache: true + + - name: Get dependencies + run: go mod download + + - name: Run tests + run: go test -race -coverprofile=coverage.out -covermode=atomic ./... + + - name: Upload coverage results + uses: actions/upload-artifact@v4 + with: + name: coverage-results + path: coverage.out + retention-days: 1 + overwrite: true \ No newline at end of file diff --git a/.gitignore b/.gitignore index 1217cbab3..90753a59d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,24 @@ +# Go binaries +*.exe +*.exe~ +*.dll +*.so tronctl -tonctl-docs -bin -.idea/ -*.key +tronctl-docs +bin/ +# scripts scripts/* -.DS_Store \ No newline at end of file +# keys +*.pem +*.key +# Go test binary, build with `go test -c` +*.out +# dotenv environment variable files +.env +.env.test +# Mac system files +.DS_Store +# VS Code settings +.vscode/ +# JetBrains IDEs +.idea/ diff --git a/Makefile b/Makefile index c3cd220c0..1211f8d58 100644 --- a/Makefile +++ b/Makefile @@ -11,12 +11,14 @@ ldflags += -X main.builtAt=${built_at} -X main.builtBy=${built_by} cli := ./bin/${BUILD_TARGET} uname := $(shell uname) -env := GO111MODULE=on +.PHONY: all build build-windows run debug install clean test lint goimports tidy hooks -all: +all: build + +build: $(env) go build -o $(cli) -ldflags="$(ldflags)" cmd/main.go -windows: +build-windows: $(env) GOOS=windows GOARCH=amd64 go build -o $(cli).exe -ldflags="$(ldflags)" cmd/main.go run: @@ -25,9 +27,37 @@ run: debug: $(env) go build $(flags) -o $(cli) -ldflags="$(ldflags)" cmd/main.go -install:all +install: all cp $(cli) ~/.local/bin clean: @rm -f $(cli) @rm -rf ./bin + +# Test target for CI +test: + $(env) go test -race -coverprofile=coverage.out -covermode=atomic ./... + +# Lint target for CI +lint: + @golangci-lint run --timeout=5m + +# Format check target (using goimports via golangci-lint) +goimports: + @goimports -w -d $(shell find . -type f -name '*.go' \ + ! -name '*.pb.go' \ + ! -path "./vendor/*") + +# Go mod tidy check +tidy: + $(env) go mod tidy + @if [ -n "$$(git status --porcelain go.mod go.sum)" ]; then \ + echo "go.mod or go.sum is not tidy. Please run 'go mod tidy'"; \ + exit 1; \ + else \ + echo "go.mod and go.sum are tidy."; \ + fi + +# Install git hooks +hooks: + @bash .githooks/install.sh \ No newline at end of file diff --git a/cmd/subcommands/account.go b/cmd/subcommands/account.go index 8f628538a..61d310a77 100644 --- a/cmd/subcommands/account.go +++ b/cmd/subcommands/account.go @@ -698,8 +698,7 @@ func init() { Use: "account", Short: "Account Actions", RunE: func(cmd *cobra.Command, args []string) error { - cmd.Help() - return nil + return cmd.Help() }, } diff --git a/cmd/subcommands/bc.go b/cmd/subcommands/bc.go index 51a07a87b..c09e7e707 100644 --- a/cmd/subcommands/bc.go +++ b/cmd/subcommands/bc.go @@ -242,8 +242,7 @@ func init() { Use: "bc", Short: "Blockchain Actions", RunE: func(cmd *cobra.Command, args []string) error { - cmd.Help() - return nil + return cmd.Help() }, } diff --git a/cmd/subcommands/completion.go b/cmd/subcommands/completion.go index b3a8d8e34..a3ff9277e 100644 --- a/cmd/subcommands/completion.go +++ b/cmd/subcommands/completion.go @@ -17,8 +17,7 @@ func init() { Add the line to your ~/.bashrc to enable completion for each bash session. `, RunE: func(cmd *cobra.Command, args []string) error { - RootCmd.GenBashCompletion(os.Stdout) - return nil + return RootCmd.GenBashCompletion(os.Stdout) }, } RootCmd.AddCommand(cmdCompletion) diff --git a/cmd/subcommands/config.go b/cmd/subcommands/config.go index 3497b7017..9475b67b5 100644 --- a/cmd/subcommands/config.go +++ b/cmd/subcommands/config.go @@ -3,7 +3,6 @@ package cmd import ( "encoding/json" "fmt" - "io/ioutil" "os" "strconv" "strings" @@ -18,8 +17,7 @@ func init() { Use: "config", Short: "update default config", RunE: func(cmd *cobra.Command, args []string) error { - cmd.Help() - return nil + return cmd.Help() }, } @@ -108,7 +106,9 @@ func initConfig() { config.NoPretty = false config.APIKey = "" config.WithTLS = false - SaveConfig(config) + if err = SaveConfig(config); err != nil { + panic(fmt.Sprintf("Failed to write to config file %s.", DefaultConfigFile)) + } } else { panic(err.Error()) } @@ -117,7 +117,7 @@ func initConfig() { // LoadConfig loads config file in yaml format func LoadConfig() (*Config, error) { - in, err := ioutil.ReadFile(DefaultConfigFile) + in, err := os.ReadFile(DefaultConfigFile) readConfig := &Config{} if err == nil { if err := yaml.Unmarshal(in, readConfig); err != nil { @@ -133,7 +133,7 @@ func SaveConfig(conf *Config) error { if err != nil { return err } - if err := ioutil.WriteFile(DefaultConfigFile, out, 0600); err != nil { + if err := os.WriteFile(DefaultConfigFile, out, 0600); err != nil { panic(fmt.Sprintf("Failed to write to config file %s.", DefaultConfigFile)) } return nil diff --git a/cmd/subcommands/contract.go b/cmd/subcommands/contract.go index 16e54d2d3..1e647c1e8 100644 --- a/cmd/subcommands/contract.go +++ b/cmd/subcommands/contract.go @@ -3,8 +3,8 @@ package cmd import ( "encoding/json" "fmt" - "io/ioutil" "math" + "os" "github.com/fbsobreira/gotron-sdk/pkg/address" "github.com/fbsobreira/gotron-sdk/pkg/client/transaction" @@ -39,7 +39,7 @@ func contractSub() []*cobra.Command { if abiSTR == "" { if abiFile != "" { - abiBytes, err := ioutil.ReadFile(abiFile) + abiBytes, err := os.ReadFile(abiFile) if err != nil { return fmt.Errorf("cannot read ABI file: %s %v", abiFile, err) } @@ -55,7 +55,7 @@ func contractSub() []*cobra.Command { if bcSTR == "" { if bcFile != "" { - bcBytes, err := ioutil.ReadFile(bcFile) + bcBytes, err := os.ReadFile(bcFile) if err != nil { return fmt.Errorf("cannot read Bytecode file: %s %v", bcFile, err) } @@ -165,7 +165,7 @@ func contractSub() []*cobra.Command { result := make(map[string]interface{}) //TODO: parse based on contract ABI - result["Result"] = common.ToHex(cResult[0]) + result["Result"] = common.BytesToHexString(cResult[0]) asJSON, _ := json.Marshal(result) fmt.Println(common.JSONPrettyFormat(string(asJSON))) @@ -308,8 +308,7 @@ func init() { Use: "contract", Short: "SmartContract actions", RunE: func(cmd *cobra.Command, args []string) error { - cmd.Help() - return nil + return cmd.Help() }, } diff --git a/cmd/subcommands/exchange.go b/cmd/subcommands/exchange.go index 6fb76da71..87a47d06a 100644 --- a/cmd/subcommands/exchange.go +++ b/cmd/subcommands/exchange.go @@ -463,8 +463,7 @@ func init() { Use: "exchange", Short: "Bancos Exchange Actions", RunE: func(cmd *cobra.Command, args []string) error { - cmd.Help() - return nil + return cmd.Help() }, } diff --git a/cmd/subcommands/keys.go b/cmd/subcommands/keys.go index 400f969aa..881f02218 100644 --- a/cmd/subcommands/keys.go +++ b/cmd/subcommands/keys.go @@ -10,15 +10,13 @@ import ( "github.com/fatih/color" "github.com/fbsobreira/gotron-sdk/pkg/account" "github.com/fbsobreira/gotron-sdk/pkg/address" - "github.com/fbsobreira/gotron-sdk/pkg/common" c "github.com/fbsobreira/gotron-sdk/pkg/common" - "golang.org/x/crypto/ssh/terminal" - "github.com/fbsobreira/gotron-sdk/pkg/ledger" "github.com/fbsobreira/gotron-sdk/pkg/mnemonic" "github.com/fbsobreira/gotron-sdk/pkg/store" "github.com/spf13/cobra" "github.com/tyler-smith/go-bip39" + "golang.org/x/term" ) const ( @@ -250,7 +248,7 @@ func keysSub() []*cobra.Command { Args: cobra.NoArgs, RunE: func(cmd *cobra.Command, args []string) error { fmt.Println("Enter privete key hex format:") - data, err := terminal.ReadPassword(int(os.Stdin.Fd())) + data, err := term.ReadPassword(int(os.Stdin.Fd())) if err != nil { return err } @@ -261,8 +259,8 @@ func keysSub() []*cobra.Command { return err } - if len(privateKeyBytes) != common.Secp256k1PrivateKeyBytesLength { - return common.ErrBadKeyLength + if len(privateKeyBytes) != c.Secp256k1PrivateKeyBytesLength { + return c.ErrBadKeyLength } // btcec.PrivKeyFromBytes only returns a secret key and public key @@ -284,8 +282,7 @@ func init() { Short: "Add or view local private keys", Long: "Manage your local keys", RunE: func(cmd *cobra.Command, args []string) error { - cmd.Help() - return nil + return cmd.Help() }, } diff --git a/cmd/subcommands/proposal.go b/cmd/subcommands/proposal.go index 815eece00..8fb6a3ee8 100644 --- a/cmd/subcommands/proposal.go +++ b/cmd/subcommands/proposal.go @@ -271,8 +271,7 @@ func init() { Use: "proposal", Short: "Network upgrade proposal", RunE: func(cmd *cobra.Command, args []string) error { - cmd.Help() - return nil + return cmd.Help() }, } diff --git a/cmd/subcommands/root.go b/cmd/subcommands/root.go index 23fda0832..1e9987fed 100644 --- a/cmd/subcommands/root.go +++ b/cmd/subcommands/root.go @@ -4,24 +4,21 @@ import ( "bytes" "encoding/json" "fmt" - "io/ioutil" "net/http" "os" "path" - "regexp" "strings" "time" color "github.com/fatih/color" "github.com/fbsobreira/gotron-sdk/pkg/client" "github.com/fbsobreira/gotron-sdk/pkg/client/transaction" - "github.com/fbsobreira/gotron-sdk/pkg/common" c "github.com/fbsobreira/gotron-sdk/pkg/common" "github.com/fbsobreira/gotron-sdk/pkg/store" "github.com/pkg/errors" "github.com/spf13/cobra" "github.com/spf13/cobra/doc" - "golang.org/x/crypto/ssh/terminal" + "golang.org/x/term" "google.golang.org/grpc" "google.golang.org/grpc/credentials" ) @@ -39,7 +36,6 @@ var ( passphraseFilePath string defaultKeystoreDir string node string - keyStoreDir string givenFilePath string timeout uint32 withTLS bool @@ -52,7 +48,7 @@ var ( SilenceUsage: true, PersistentPreRunE: func(cmd *cobra.Command, args []string) error { if verbose { - common.EnableAllVerbose() + c.EnableAllVerbose() } switch URLcomponents := strings.Split(node, ":"); len(URLcomponents) { case 1: @@ -65,7 +61,7 @@ var ( if withTLS { opts = append(opts, grpc.WithTransportCredentials(credentials.NewTLS(nil))) } else { - opts = append(opts, grpc.WithInsecure()) + opts = append(opts, client.GRPCInsecure()) } // check for env API Key @@ -73,7 +69,9 @@ var ( apiKey = trongridKey } // set API - conn.SetAPIKey(apiKey) + if err := conn.SetAPIKey(apiKey); err != nil { + return err + } if err := conn.Start(opts...); err != nil { return err @@ -104,8 +102,7 @@ CLI interface to Tron blockchain %s`, g("type 'tronclt --help' for details")), RunE: func(cmd *cobra.Command, args []string) error { - cmd.Help() - return nil + return cmd.Help() }, } ) @@ -140,8 +137,11 @@ func init() { RunE: func(cmd *cobra.Command, args []string) error { cwd, _ := os.Getwd() docDir := path.Join(cwd, tronctlDocsDir) - os.Mkdir(docDir, 0700) - err := doc.GenMarkdownTree(RootCmd, docDir) + err := os.Mkdir(docDir, 0700) + if err != nil && !os.IsExist(err) { + return fmt.Errorf("could not create %s directory: %v", tronctlDocsDir, err) + } + err = doc.GenMarkdownTree(RootCmd, docDir) return err }, }) @@ -152,7 +152,6 @@ var ( VersionWrapDump = "" versionLink = "https://api.github.com/repos/fbsobreira/gotron-sdk/releases/latest" versionTagLink = "https://api.github.com/repos/fbsobreira/gotron-sdk/git/ref/tags/" - versionFormat = regexp.MustCompile("v[0-9]+-[a-z0-9]{7}") ) // GitHubReleaseAssets json struct @@ -188,11 +187,16 @@ func getGitVersion() (string, error) { return "", err } - defer resp.Body.Close() + if resp != nil { + defer resp.Body.Close() + } // if error, no op if resp != nil && resp.StatusCode == 200 { buf := new(bytes.Buffer) - buf.ReadFrom(resp.Body) + _, err = buf.ReadFrom(resp.Body) + if err != nil { + return "", err + } release := &GitHubRelease{} if err := json.Unmarshal(buf.Bytes(), release); err != nil { return "", err @@ -203,7 +207,10 @@ func getGitVersion() (string, error) { // if error, no op if respTag != nil && respTag.StatusCode == 200 { buf.Reset() - buf.ReadFrom(respTag.Body) + _, err := buf.ReadFrom(respTag.Body) + if err != nil { + return "", err + } releaseTag := &GitHubTag{} if err := json.Unmarshal(buf.Bytes(), releaseTag); err != nil { @@ -213,8 +220,8 @@ func getGitVersion() (string, error) { if releaseTag.DATA.SHA[:8] != commit[1] { warnMsg := fmt.Sprintf("Warning: Using outdated version. Redownload to upgrade to %s\n", release.TagName) - fmt.Fprintf(os.Stderr, color.RedString(warnMsg)) - return release.TagName, fmt.Errorf(warnMsg) + fmt.Fprintf(os.Stderr, "%s", color.RedString(warnMsg)) + return release.TagName, fmt.Errorf("%s", warnMsg) } return release.TagName, nil } @@ -230,7 +237,7 @@ func Execute() { VersionWrapDump += ":" + tag } errMsg := errors.Wrapf(err, "commit: %s, error", VersionWrapDump).Error() - fmt.Fprintf(os.Stderr, errMsg+"\n") + fmt.Fprintf(os.Stderr, "%s\n", errMsg) fmt.Fprintf(os.Stderr, "try adding a `--help` flag\n") os.Exit(1) } @@ -278,7 +285,7 @@ func getPassphrase() (string, error) { if _, err := os.Stat(passphraseFilePath); os.IsNotExist(err) { return "", fmt.Errorf("passphrase file not found at `%s`", passphraseFilePath) } - dat, err := ioutil.ReadFile(passphraseFilePath) + dat, err := os.ReadFile(passphraseFilePath) if err != nil { return "", err } @@ -286,7 +293,7 @@ func getPassphrase() (string, error) { return pw, nil } else if userProvidesPassphrase { fmt.Println("Enter passphrase:") - pass, err := terminal.ReadPassword(int(os.Stdin.Fd())) + pass, err := term.ReadPassword(int(os.Stdin.Fd())) if err != nil { return "", err } @@ -304,7 +311,7 @@ func getPassphraseWithConfirm() (string, error) { if _, err := os.Stat(passphraseFilePath); os.IsNotExist(err) { return "", fmt.Errorf("passphrase file not found at `%s`", passphraseFilePath) } - dat, err := ioutil.ReadFile(passphraseFilePath) + dat, err := os.ReadFile(passphraseFilePath) if err != nil { return "", err } @@ -312,12 +319,12 @@ func getPassphraseWithConfirm() (string, error) { return pw, nil } else if userProvidesPassphrase { fmt.Println("Enter passphrase:") - pass, err := terminal.ReadPassword(int(os.Stdin.Fd())) + pass, err := term.ReadPassword(int(os.Stdin.Fd())) if err != nil { return "", err } fmt.Println("Repeat the passphrase:") - repeatPass, err := terminal.ReadPassword(int(os.Stdin.Fd())) + repeatPass, err := term.ReadPassword(int(os.Stdin.Fd())) if err != nil { return "", err } diff --git a/cmd/subcommands/sr.go b/cmd/subcommands/sr.go index 0b835bca6..a3c2be4b3 100644 --- a/cmd/subcommands/sr.go +++ b/cmd/subcommands/sr.go @@ -197,8 +197,7 @@ func init() { Use: "sr", Short: "SR Actions", RunE: func(cmd *cobra.Command, args []string) error { - cmd.Help() - return nil + return cmd.Help() }, } diff --git a/cmd/subcommands/trc10.go b/cmd/subcommands/trc10.go index 91b662b17..e7e1d7127 100644 --- a/cmd/subcommands/trc10.go +++ b/cmd/subcommands/trc10.go @@ -36,7 +36,7 @@ func trc10Sub() []*cobra.Command { return fmt.Errorf("no signer specified") } - trxNum := int64(1) + var trxNum int64 tokenNum := int64(1) t, err := dateparse.ParseAny(issueStartDate) if err != nil { @@ -450,8 +450,7 @@ func init() { Use: "trc10", Short: "Assets Manager", RunE: func(cmd *cobra.Command, args []string) error { - cmd.Help() - return nil + return cmd.Help() }, } diff --git a/cmd/subcommands/trc20.go b/cmd/subcommands/trc20.go index 891b63be1..8965db9cd 100644 --- a/cmd/subcommands/trc20.go +++ b/cmd/subcommands/trc20.go @@ -145,8 +145,7 @@ func init() { Use: "trc20", Short: "TRC20 Manager", RunE: func(cmd *cobra.Command, args []string) error { - cmd.Help() - return nil + return cmd.Help() }, } diff --git a/cmd/subcommands/utility.go b/cmd/subcommands/utility.go index ff912c947..11009d66a 100644 --- a/cmd/subcommands/utility.go +++ b/cmd/subcommands/utility.go @@ -12,8 +12,7 @@ func init() { Use: "utility", Short: "common tron utilities", RunE: func(cmd *cobra.Command, args []string) error { - cmd.Help() - return nil + return cmd.Help() }, } diff --git a/e2e/keystore_test.go b/e2e/keystore_test.go deleted file mode 100644 index ae38b91c5..000000000 --- a/e2e/keystore_test.go +++ /dev/null @@ -1,11 +0,0 @@ -package keys - -import ( - "fmt" - "testing" -) - -func TestKeyStore(t *testing.T) { - fmt.Println("Hello world") - t.Errorf("Testing pipeline") -} diff --git a/gen-proto.sh b/gen-proto.sh index 86c59da38..f071f97e8 100755 --- a/gen-proto.sh +++ b/gen-proto.sh @@ -1,8 +1,104 @@ #!/bin/bash -INCLUDES="-I=./proto/tron -I/usr/lib -I./proto/googleapis" -FLAGS="--go_out=./pkg/proto --go_opt paths=source_relative --go-grpc_out=./pkg/proto --go-grpc_opt=paths=source_relative" +# Script to process proto files for Tron SDK -protoc ${INCLUDES} ${FLAGS} ./proto/tron/core/*.proto ./proto/tron/core/contract/*.proto ./proto/tron/api/*.proto -mkdir -p ./pkg/proto/util -protoc ${INCLUDES} -I=./proto/util --go_out=./pkg/proto/util --go_opt paths=source_relative ./proto/util/*.proto \ No newline at end of file +set -e # Exit on any error + +# Colors for output +GREEN='\033[0;32m' +YELLOW='\033[1;33m' +NC='\033[0m' # No Color + +# Function to print colored messages +print_msg() { + echo -e "${GREEN}$1${NC}" +} + +print_warn() { + echo -e "${YELLOW}$1${NC}" +} + +# Check if necessary tools are installed +if ! command -v protoc &> /dev/null; then + echo "Error: protoc is not installed. Please install Protocol Buffers." + exit 1 +fi + +# Set up directories +PROTO_SRC_DIR="./proto/tron" +PROTO_BACKUP_DIR="./proto/tron_backup" +PROTO_OUT_DIR="./pkg/proto" + +# Create the output directory if it doesn't exist +mkdir -p "$PROTO_OUT_DIR" + +# Backup original .proto files if needed +if [ -d "$PROTO_SRC_DIR" ]; then + print_msg "⚠️ Creating proto backup..." + # Remove existing backup if it exists + if [ -d "$PROTO_BACKUP_DIR" ]; then + rm -rf "$PROTO_BACKUP_DIR" + fi + cp -r "$PROTO_SRC_DIR" "$PROTO_BACKUP_DIR" +else + print_warn "⚠️ No .proto files found to copy. Please check your source files." + exit 1 +fi + +# Modify import references in all .proto files +print_msg "🔄 Updating import references in .proto files..." +find "$PROTO_SRC_DIR" -name "*.proto" -type f -exec sed -i.bak 's|github.com/tronprotocol/grpc-gateway|github.com/fbsobreira/gotron-sdk/pkg/proto|g' {} \; + +# Remove .bak files on macOS (sed behaves differently) +find "$PROTO_SRC_DIR" -name "*.bak" -type f -delete +# Ensure the required directories exist +mkdir -p "$PROTO_OUT_DIR/core" +mkdir -p "$PROTO_OUT_DIR/api" +mkdir -p "$PROTO_OUT_DIR/util" + +# --- Includes and protoc flags --- +INCLUDES=( + -I="$PROTO_SRC_DIR" + -I=./proto/googleapis + -I=/usr/lib +) + +FLAGS=( + --go_out="$PROTO_OUT_DIR" + --go_opt=paths=source_relative + --go-grpc_out="$PROTO_OUT_DIR" + --go-grpc_opt=paths=source_relative +) + +# --- Run protoc --- +print_msg "📦 Generating proto files..." +protoc "${INCLUDES[@]}" "${FLAGS[@]}" \ + $PROTO_SRC_DIR/core/*.proto \ + $PROTO_SRC_DIR/core/contract/*.proto \ + $PROTO_SRC_DIR/api/*.proto + +# --- Build util protos --- +print_msg "🛠 Generating util protos..." +protoc "${INCLUDES[@]}" -I=./proto/util \ + --go_out="$PROTO_OUT_DIR/util" \ + --go_opt=paths=source_relative \ + ./proto/util/*.proto + +# --- Restore original .proto files --- +print_msg "🔄 Restoring original .proto files..." +if [ -d "$PROTO_BACKUP_DIR" ]; then + rm -rf "$PROTO_SRC_DIR" + mv "$PROTO_BACKUP_DIR" "$PROTO_SRC_DIR" +fi + +# --- Move files from core/contract to core --- +if [ -d "$PROTO_OUT_DIR/core/contract" ]; then + print_msg "📂 Moving files from core/contract to core..." + mv "$PROTO_OUT_DIR/core/contract"/* "$PROTO_OUT_DIR/core/" + # Remove the empty directory + rmdir "$PROTO_OUT_DIR/core/contract" +else + print_warn "⚠️ Directory $PROTO_OUT_DIR/core/contract does not exist, nothing to move." +fi + +print_msg "✅ All operations completed successfully!" \ No newline at end of file diff --git a/go.mod b/go.mod index 9bb22bd75..b21461f58 100644 --- a/go.mod +++ b/go.mod @@ -1,50 +1,49 @@ module github.com/fbsobreira/gotron-sdk -go 1.19 +go 1.24 require ( - github.com/araddon/dateparse v0.0.0-20200409225146-d820a6159ab1 - github.com/btcsuite/btcd/btcec/v2 v2.2.0 + github.com/araddon/dateparse v0.0.0-20210429162001-6b43995a97de + github.com/btcsuite/btcd/btcec/v2 v2.3.4 github.com/deckarep/golang-set v1.8.0 - github.com/ethereum/go-ethereum v1.12.2 - github.com/fatih/color v1.9.0 + github.com/ethereum/go-ethereum v1.15.6 + github.com/fatih/color v1.18.0 github.com/fatih/structs v1.1.0 github.com/mitchellh/go-homedir v1.1.0 github.com/pborman/uuid v1.2.1 github.com/pkg/errors v0.9.1 github.com/rjeczalik/notify v0.9.3 github.com/shengdoushi/base58 v1.0.0 - github.com/spf13/cobra v1.0.0 - github.com/stretchr/testify v1.8.1 + github.com/spf13/cobra v1.9.1 + github.com/stretchr/testify v1.10.0 github.com/tyler-smith/go-bip39 v1.1.0 - github.com/zondax/hid v0.9.1 - go.uber.org/zap v1.15.0 - golang.org/x/crypto v0.9.0 - google.golang.org/genproto v0.0.0-20200825200019-8632dd797987 - google.golang.org/grpc v1.37.0 - google.golang.org/protobuf v1.28.1 + github.com/zondax/hid v0.9.2 + go.uber.org/zap v1.27.0 + golang.org/x/crypto v0.36.0 + golang.org/x/term v0.30.0 + google.golang.org/genproto/googleapis/api v0.0.0-20250227231956-55c901821b1e + google.golang.org/grpc v1.71.0 + google.golang.org/protobuf v1.36.6 gopkg.in/yaml.v2 v2.4.0 ) require ( - github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect + github.com/cpuguy83/go-md2man/v2 v2.0.6 // indirect github.com/davecgh/go-spew v1.1.1 // indirect - github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect - github.com/go-stack/stack v1.8.1 // indirect - github.com/golang/protobuf v1.5.2 // indirect - github.com/google/uuid v1.3.0 // indirect - github.com/holiman/uint256 v1.2.3 // indirect - github.com/inconshreveable/mousetrap v1.0.0 // indirect - github.com/mattn/go-colorable v0.1.13 // indirect - github.com/mattn/go-isatty v0.0.16 // indirect + github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.0 // indirect + github.com/google/uuid v1.6.0 // indirect + github.com/holiman/uint256 v1.3.2 // indirect + github.com/inconshreveable/mousetrap v1.1.0 // indirect + github.com/mattn/go-colorable v0.1.14 // indirect + github.com/mattn/go-isatty v0.0.20 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/russross/blackfriday/v2 v2.1.0 // indirect - github.com/spf13/pflag v1.0.3 // indirect - go.uber.org/atomic v1.6.0 // indirect - go.uber.org/multierr v1.5.0 // indirect - golang.org/x/net v0.10.0 // indirect - golang.org/x/sys v0.9.0 // indirect - golang.org/x/term v0.8.0 // indirect - golang.org/x/text v0.9.0 // indirect + github.com/spf13/pflag v1.0.6 // indirect + go.uber.org/multierr v1.11.0 // indirect + golang.org/x/net v0.38.0 // indirect + golang.org/x/sys v0.31.0 // indirect + golang.org/x/text v0.23.0 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20250227231956-55c901821b1e // indirect + gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/go.sum b/go.sum index 486198dc0..7b1702ea2 100644 --- a/go.sum +++ b/go.sum @@ -1,299 +1,132 @@ -cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= -github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= -github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/araddon/dateparse v0.0.0-20200409225146-d820a6159ab1 h1:TEBmxO80TM04L8IuMWk77SGL1HomBmKTdzdJLLWznxI= -github.com/araddon/dateparse v0.0.0-20200409225146-d820a6159ab1/go.mod h1:SLqhdZcd+dF3TEVL2RMoob5bBP5R1P1qkox+HtCBgGI= -github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= -github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= -github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= -github.com/btcsuite/btcd/btcec/v2 v2.2.0 h1:fzn1qaOt32TuLjFlkzYSsBC35Q3KUjT1SwPxiMSCF5k= -github.com/btcsuite/btcd/btcec/v2 v2.2.0/go.mod h1:U7MHm051Al6XmscBQ0BoNydpOTsFAn707034b5nY8zU= -github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 h1:q0rUy8C/TYNBQS1+CGKw68tLOFYSNEs0TFnxxnS9+4U= -github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= -github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= -github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= -github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= -github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= -github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= -github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= -github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= -github.com/cpuguy83/go-md2man/v2 v2.0.2 h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w= -github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/araddon/dateparse v0.0.0-20210429162001-6b43995a97de h1:FxWPpzIjnTlhPwqqXc4/vE0f7GvRjuAsbW+HOIe8KnA= +github.com/araddon/dateparse v0.0.0-20210429162001-6b43995a97de/go.mod h1:DCaWoUhZrYW9p1lxo/cm8EmUOOzAPSEZNGF2DK1dJgw= +github.com/btcsuite/btcd/btcec/v2 v2.3.4 h1:3EJjcN70HCu/mwqlUsGK8GcNVyLVxFDlWurTXGPFfiQ= +github.com/btcsuite/btcd/btcec/v2 v2.3.4/go.mod h1:zYzJ8etWJQIv1Ogk7OzpWjowwOdXY1W/17j2MW85J04= +github.com/cpuguy83/go-md2man/v2 v2.0.6 h1:XJtiaUW6dEEqVuZiMTn1ldk455QWwEIsMIJlo5vtkx0= +github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/deckarep/golang-set v1.8.0 h1:sk9/l/KqpunDwP7pSjUg0keiOOLEnOBHzykLrsPppp4= github.com/deckarep/golang-set v1.8.0/go.mod h1:5nI87KwE7wgsBU1F4GKAw2Qod7p5kyS383rP6+o6qqo= -github.com/decred/dcrd/crypto/blake256 v1.0.0 h1:/8DMNYp9SGi5f0w7uCm6d6M4OU2rGFK09Y2A4Xv7EE0= -github.com/decred/dcrd/crypto/blake256 v1.0.0/go.mod h1:sQl2p6Y26YV+ZOcSTP6thNdn47hh8kt6rqSlvmrXFAc= -github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 h1:YLtO71vCjJRCBcrPMtQ9nqBsqpA1m5sE92cU+pd5Mcc= -github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1/go.mod h1:hyedUtir6IdtD/7lIxGeCxkaw7y45JueMRL4DIyJDKs= -github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= -github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= -github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= -github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/ethereum/go-ethereum v1.12.2 h1:eGHJ4ij7oyVqUQn48LBz3B7pvQ8sV0wGJiIE6gDq/6Y= -github.com/ethereum/go-ethereum v1.12.2/go.mod h1:1cRAEV+rp/xX0zraSCBnu9Py3HQ+geRMj3HdR+k0wfI= -github.com/fatih/color v1.9.0 h1:8xPHl4/q1VyqGIPif1F+1V3Y3lSmrq01EabUW3CoW5s= -github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= +github.com/decred/dcrd/crypto/blake256 v1.1.0 h1:zPMNGQCm0g4QTY27fOCorQW7EryeQ/U0x++OzVrdms8= +github.com/decred/dcrd/crypto/blake256 v1.1.0/go.mod h1:2OfgNZ5wDpcsFmHmCK5gZTPcCXqlm2ArzUIkw9czNJo= +github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.0 h1:NMZiJj8QnKe1LgsbDayM4UoHwbvwDRwnI3hwNaAHRnc= +github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.0/go.mod h1:ZXNYxsqcloTdSy/rNShjYzMhyjf0LaoftYK0p+A3h40= +github.com/ethereum/go-ethereum v1.15.6 h1:jgLoUM6/pNjp0uEnXyWcWikDwa4j1wZlcqkX8Pm8A+I= +github.com/ethereum/go-ethereum v1.15.6/go.mod h1:+S9k+jFzlyVTNcYGvqFhzN/SFhI6vA+aOY4T5tLSPL0= +github.com/fatih/color v1.18.0 h1:S8gINlzdQ840/4pfAwic/ZE0djQEH3wM94VfqLTZcOM= +github.com/fatih/color v1.18.0/go.mod h1:4FelSpRwEGDpQ12mAdzqdOukCy4u8WUtOY6lkT/6HfU= github.com/fatih/structs v1.1.0 h1:Q7juDM0QtcnhCpeyLGQKyg4TOIghuNXrkL32pHAUMxo= github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M= -github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= -github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= -github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= -github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= -github.com/go-stack/stack v1.8.1 h1:ntEHSVwIt7PNXNpgPmVfMrNhLtgjlmnZha2kOpuRiDw= -github.com/go-stack/stack v1.8.1/go.mod h1:dcoOX6HbPZSZptuspn9bctJ+N/CnF5gGygcUP3XYfe4= -github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= -github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= -github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= -github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= -github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= -github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= -github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= -github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= -github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= -github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= +github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY= +github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= +github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= +github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= +github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= +github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= +github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= -github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= -github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= -github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= -github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= -github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/holiman/uint256 v1.2.3 h1:K8UWO1HUJpRMXBxbmaY1Y8IAMZC/RsKB+ArEnnK4l5o= -github.com/holiman/uint256 v1.2.3/go.mod h1:SC8Ryt4n+UBbPbIBKaG9zbbDlp4jOru9xFZmPzLUTxw= -github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= -github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= -github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= -github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= -github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= -github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= -github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= +github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/holiman/uint256 v1.3.2 h1:a9EgMPSC1AAaj1SZL5zIQD3WbwTuHrMGOerLjGmM/TA= +github.com/holiman/uint256 v1.3.2/go.mod h1:EOMSn4q6Nyt9P6efbI3bueV4e1b3dGlUCXeiRV4ng7E= +github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= +github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= +github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= +github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= -github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= -github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= -github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= -github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= -github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= -github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= -github.com/mattn/go-isatty v0.0.16 h1:bq3VjFmv/sOjHtdEhmkEV4x1AJtvUvOJ2PFAZ5+peKQ= -github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= -github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= +github.com/mattn/go-colorable v0.1.14 h1:9A9LHSqF/7dyVVX6g0U9cwm9pG3kP9gSzcuIPHPsaIE= +github.com/mattn/go-colorable v0.1.14/go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8= +github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= +github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/mattn/go-runewidth v0.0.10/go.mod h1:RAqKPSqVFrSLVXbA8x7dzmKdmGzieGRCM46jaSJTDAk= github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= -github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= -github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= github.com/pborman/uuid v1.2.1 h1:+ZZIw58t/ozdjRaXh/3awHfmWRbzYxJoAdNJxe/3pvw= github.com/pborman/uuid v1.2.1/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= -github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= -github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= -github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= -github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= -github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= -github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= +github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rjeczalik/notify v0.9.3 h1:6rJAzHTGKXGj76sbRgDiDcYj/HniypXmSJo1SWakZeY= github.com/rjeczalik/notify v0.9.3/go.mod h1:gF3zSOrafR9DQEWSE8TjfI9NkooDxbyT4UgRGKZA0lc= -github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= -github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= -github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8= +github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4= github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/scylladb/termtables v0.0.0-20191203121021-c4c0b6d42ff4/go.mod h1:C1a7PQSMz9NShzorzCiG2fk9+xuCgLkPeCvMHYR2OWg= github.com/shengdoushi/base58 v1.0.0 h1:tGe4o6TmdXFJWoI31VoSWvuaKxf0Px3gqa3sUWhAxBs= github.com/shengdoushi/base58 v1.0.0/go.mod h1:m5uIILfzcKMw6238iWAhP4l3s5+uXyF3+bJKUNhAL9I= -github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= -github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= -github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= -github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= -github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= -github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/cobra v1.0.0 h1:6m/oheQuQ13N9ks4hubMG6BnvwOeaJrqSPLahSnczz8= -github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE= -github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= -github.com/spf13/pflag v1.0.3 h1:zPAT6CGy6wXeQ7NtTnaTerfKOsV6V6F8agHXFiazDkg= -github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= -github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE= +github.com/spf13/cobra v1.9.1 h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo= +github.com/spf13/cobra v1.9.1/go.mod h1:nDyEzZ8ogv936Cinf6g1RU9MRY64Ir93oCnqb9wxYW0= +github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o= +github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= -github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= -github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= -github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= -github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= +github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= +github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/tyler-smith/go-bip39 v1.1.0 h1:5eUemwrMargf3BSLRRCalXT93Ns6pQJIjYQN2nyfOP8= github.com/tyler-smith/go-bip39 v1.1.0/go.mod h1:gUYDtqQw1JS3ZJ8UWVcGTGqqr6YIN3CWg+kkNaLt55U= -github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= -github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= -github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= -github.com/zondax/hid v0.9.1 h1:gQe66rtmyZ8VeGFcOpbuH3r7erYtNEAezCAYu8LdkJo= -github.com/zondax/hid v0.9.1/go.mod h1:l5wttcP0jwtdLjqjMMWFVEE7d1zO0jvSPA9OPZxWpEM= -go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= -go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= -go.uber.org/atomic v1.6.0 h1:Ezj3JGmsOnG1MoRWQkPBsKLe9DwWD9QeXzTRzzldNVk= -go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= -go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= -go.uber.org/multierr v1.5.0 h1:KCa4XfM8CWFCpxXRGok+Q0SS/0XBhMDbHHGABQLvD2A= -go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU= -go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee h1:0mgffUl7nfd+FpvXMVz4IDEaUSmT1ysygQC7qYo7sG4= -go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= -go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= -go.uber.org/zap v1.15.0 h1:ZZCA22JRF2gQE5FoNmhmrf7jeJJ2uhqDUNRYKm8dvmM= -go.uber.org/zap v1.15.0/go.mod h1:Mb2vm2krFEG5DV0W9qcHBYFtp/Wku1cvYaqPsS/WYfc= -golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +github.com/zondax/hid v0.9.2 h1:WCJFnEDMiqGF64nlZz28E9qLVZ0KSJ7xpc5DLEyma2U= +github.com/zondax/hid v0.9.2/go.mod h1:l5wttcP0jwtdLjqjMMWFVEE7d1zO0jvSPA9OPZxWpEM= +go.opentelemetry.io/auto/sdk v1.1.0 h1:cH53jehLUN6UFLY71z+NDOiNJqDdPRaXzTel0sJySYA= +go.opentelemetry.io/auto/sdk v1.1.0/go.mod h1:3wSPjt5PWp2RhlCcmmOial7AvC4DQqZb7a7wCow3W8A= +go.opentelemetry.io/otel v1.34.0 h1:zRLXxLCgL1WyKsPVrgbSdMN4c0FMkDAskSTQP+0hdUY= +go.opentelemetry.io/otel v1.34.0/go.mod h1:OWFPOQ+h4G8xpyjgqo4SxJYdDQ/qmRH+wivy7zzx9oI= +go.opentelemetry.io/otel/metric v1.34.0 h1:+eTR3U0MyfWjRDhmFMxe2SsW64QrZ84AOhvqS7Y+PoQ= +go.opentelemetry.io/otel/metric v1.34.0/go.mod h1:CEDrp0fy2D0MvkXE+dPV7cMi8tWZwX3dmaIhwPOaqHE= +go.opentelemetry.io/otel/sdk v1.34.0 h1:95zS4k/2GOy069d321O8jWgYsW3MzVV+KuSPKp7Wr1A= +go.opentelemetry.io/otel/sdk v1.34.0/go.mod h1:0e/pNiaMAqaykJGKbi+tSjWfNNHMTxoC9qANsCzbyxU= +go.opentelemetry.io/otel/sdk/metric v1.34.0 h1:5CeK9ujjbFVL5c1PhLuStg1wxA7vQv7ce1EK0Gyvahk= +go.opentelemetry.io/otel/sdk/metric v1.34.0/go.mod h1:jQ/r8Ze28zRKoNRdkjCZxfs6YvBTG1+YIqyFVFYec5w= +go.opentelemetry.io/otel/trace v1.34.0 h1:+ouXS2V8Rd4hp4580a8q23bg0azF2nI8cqLYnC8mh/k= +go.opentelemetry.io/otel/trace v1.34.0/go.mod h1:Svm7lSjQD7kG7KJ/MUHPVXSDGz2OX4h0M2jHBhmSfRE= +go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= +go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= +go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= +go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= +go.uber.org/zap v1.27.0 h1:aJMhYGrd5QSmlpLMr2MftRKl7t8J8PTZPA732ud/XR8= +go.uber.org/zap v1.27.0/go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.9.0 h1:LF6fAI+IutBocDJ2OT0Q1g8plpYljMZ4+lty+dsqw3g= -golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0= -golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= -golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190930215403-16217165b5de h1:5hukYrvBGR8/eNkX5mdUezrA6JiaEZDtJb9Ei+1LlBs= -golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= -golang.org/x/mod v0.11.0 h1:bUO06HqtnRcc/7l71XBe4WcqTZ+3AH1J59zWDDwLKgU= -golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/crypto v0.36.0 h1:AnAEvhDddvBdpY+uR+MyHmuZzzNqXSe/GvuDeob5L34= +golang.org/x/crypto v0.36.0/go.mod h1:Y4J0ReaxCR1IMaabaSMugxJES1EpwhBHhv2bDHklZvc= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= -golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M= -golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= -golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/net v0.38.0 h1:vRMAPTMaeGqVhG5QyLJHqNDwecKTomGeqbnfZyKlBI8= +golang.org/x/net v0.38.0/go.mod h1:ivrbrMbzFq5J41QOQh0siUuly180yBYtLp+CKbEaFx8= golang.org/x/sys v0.0.0-20180926160741-c2ed4eda69e7/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.9.0 h1:KS/R3tvhPqvJvwcKfnBHJwwthS11LRhmM5D59eEXa0s= -golang.org/x/sys v0.9.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/term v0.8.0 h1:n5xxQn2i3PC0yLAbjTpNT85q/Kgzcr2gIoX9OrJUols= -golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= +golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.31.0 h1:ioabZlmFYtWhL+TRYpcnNlLwhyxaM9kWTDEmfnprqik= +golang.org/x/sys v0.31.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= +golang.org/x/term v0.30.0 h1:PQ39fJZ+mfadBm0y5WlL4vlM7Sx1Hgf13sMIY2+QS9Y= +golang.org/x/term v0.30.0/go.mod h1:NYYFdzHoI5wRh/h5tDMdMqCqPJZEuNqVR5xJLd/n67g= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE= -golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= -golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= -golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.9.1 h1:8WMNJAz3zrtPmnYC7ISf5dEn3MT0gY7jBJfw27yrrLo= -golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df h1:5Pf6pFKu98ODmgnpvkJ3kFUOQGGLIzLIkbzUHp47618= -google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= -google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/genproto v0.0.0-20200825200019-8632dd797987 h1:PDIOdWxZ8eRizhKa1AAvY53xsvLB1cWorMjslvY3VA8= -google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= -google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= -google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.37.0 h1:uSZWeQJX5j11bIQ4AJoj+McDBo29cY1MCoC1wO3ts+c= -google.golang.org/grpc v1.37.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= -google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= -google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= -google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= -google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= -google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= -google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= -google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w= -google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= +golang.org/x/text v0.23.0 h1:D71I7dUrlY+VX0gQShAThNGHFxZ13dGLBHQLVl1mJlY= +golang.org/x/text v0.23.0/go.mod h1:/BLNzu4aZCJ1+kcD0DNRotWKage4q2rGVAg4o22unh4= +google.golang.org/genproto/googleapis/api v0.0.0-20250227231956-55c901821b1e h1:nsxey/MfoGzYNduN0NN/+hqP9iiCIYsrVbXb/8hjFM8= +google.golang.org/genproto/googleapis/api v0.0.0-20250227231956-55c901821b1e/go.mod h1:Xsh8gBVxGCcbV8ZeTB9wI5XPyZ5RvC6V3CTeeplHbiA= +google.golang.org/genproto/googleapis/rpc v0.0.0-20250227231956-55c901821b1e h1:YA5lmSs3zc/5w+xsRcHqpETkaYyK63ivEPzNTcUUlSA= +google.golang.org/genproto/googleapis/rpc v0.0.0-20250227231956-55c901821b1e/go.mod h1:LuRYeWDFV6WOn90g357N17oMCaxpgCnbi/44qJvDn2I= +google.golang.org/grpc v1.71.0 h1:kF77BGdPTQ4/JZWMlb9VpJ5pa25aqvVqogsxNHHdeBg= +google.golang.org/grpc v1.71.0/go.mod h1:H0GRtasmQOh9LkFoCPDu3ZrwUtD1YGE+b2vYBYd/8Ec= +google.golang.org/protobuf v1.36.6 h1:z1NpPI8ku2WgiWnf+t9wTPsn6eP1L7ksHUlkfLvd9xY= +google.golang.org/protobuf v1.36.6/go.mod h1:jduwjTPXsFjZGTmRluh+L6NjiWu7pchiJ2/5YcXBHnY= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= -gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= -gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= -gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.1-2019.2.3 h1:3JgtbtFHMiCmsznwGVTUWbgGov+pVqnlf1dEJTNAXeM= -honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= diff --git a/pkg/abi/abi.go b/pkg/abi/abi.go index cbf3fd385..980b1039d 100644 --- a/pkg/abi/abi.go +++ b/pkg/abi/abi.go @@ -43,11 +43,11 @@ func Signature(method string) []byte { } func convetToAddress(v interface{}) (eCommon.Address, error) { - switch v.(type) { + switch v := v.(type) { case string: - addr, err := address.Base58ToAddress(v.(string)) + addr, err := address.Base58ToAddress(v) if err != nil { - return eCommon.Address{}, fmt.Errorf("invalid address %s: %+v", v.(string), err) + return eCommon.Address{}, fmt.Errorf("invalid address %s: %+v", v, err) } return eCommon.BytesToAddress(addr.Bytes()[len(addr.Bytes())-20:]), nil } diff --git a/pkg/abi/abi_test.go b/pkg/abi/abi_test.go index 8e0431d53..0c1a3b0fd 100644 --- a/pkg/abi/abi_test.go +++ b/pkg/abi/abi_test.go @@ -32,11 +32,12 @@ func TestABIParam(t *testing.T) { } func TestABIParamArray(t *testing.T) { - param, err := LoadFromJSON(fmt.Sprintf(` + param, err := LoadFromJSON(` [ {"address[2]":["TEvHMZWyfjCAdDJEKYxYVL8rRpigddLC1R", "TEvHMZWyfjCAdDJEKYxYVL8rRpigddLC1R"]} ] - `)) + `) + require.Nil(t, err) b, err := GetPaddedParam(param) require.Nil(t, err) assert.Len(t, b, 64, fmt.Sprintf("Wrong length %d/%d", len(b), 64)) @@ -52,11 +53,11 @@ func TestABIParamArrayUint256(t *testing.T) { func TestABIParamArrayBytes(t *testing.T) { - param, err := LoadFromJSON(fmt.Sprintf(` + param, err := LoadFromJSON(` [ {"bytes32": "0001020001020001020001020001020001020001020001020001020001020001"} ] - `)) + `) require.Nil(t, err) b, err := GetPaddedParam(param) require.Nil(t, err) diff --git a/pkg/account/import.go b/pkg/account/import.go index 46ad81d5e..a70516288 100644 --- a/pkg/account/import.go +++ b/pkg/account/import.go @@ -4,7 +4,6 @@ import ( "encoding/hex" "fmt" "io" - "io/ioutil" "os" "path/filepath" "strings" @@ -53,24 +52,19 @@ func generateName() string { for a := range store.LocalAccounts() { existingAccounts.Add(a) } - foundName := false - acct := "" + i := 0 for { - if foundName { - break - } - if i == len(words)-1 { + if i >= len(words) { words = strings.Split(mnemonic.Generate(), " ") + i = 0 } candidate := words[i] if !existingAccounts.Contains(candidate) { - foundName = true - acct = candidate - break + return candidate } + i++ } - return acct } func writeToFile(path string, data string) error { @@ -79,8 +73,15 @@ func writeToFile(path string, data string) error { if err != nil { return err } - os.MkdirAll(filepath.Dir(path), 0777) - os.Chdir(filepath.Dir(path)) + err = os.MkdirAll(filepath.Dir(path), 0777) + if err != nil { + return err + } + err = os.Chdir(filepath.Dir(path)) + if err != nil { + return err + } + file, err := os.Create(filepath.Base(path)) if err != nil { return err @@ -91,7 +92,10 @@ func writeToFile(path string, data string) error { if err != nil { return err } - os.Chdir(currDir) + err = os.Chdir(currDir) + if err != nil { + return err + } return file.Sync() } @@ -101,7 +105,7 @@ func ImportKeyStore(keyPath, name, passphrase string) (string, error) { if err != nil { return "", err } - keyJSON, readError := ioutil.ReadFile(keyPath) + keyJSON, readError := os.ReadFile(keyPath) if readError != nil { return "", readError } diff --git a/pkg/address/address.go b/pkg/address/address.go index e54353bc5..900225360 100644 --- a/pkg/address/address.go +++ b/pkg/address/address.go @@ -33,7 +33,7 @@ func (a Address) Bytes() []byte { // Hex get bytes from address in string func (a Address) Hex() string { - return common.ToHex(a[:]) + return common.BytesToHexString(a[:]) } // BigToAddress returns Address with byte values of b. diff --git a/pkg/client/account.go b/pkg/client/account.go index 889fa47c0..bf4fd49c9 100644 --- a/pkg/client/account.go +++ b/pkg/client/account.go @@ -351,7 +351,7 @@ func makePermission(name string, pType core.Permission_PermissionType, id int32, }) } var bigOP *big.Int - if operations != nil && len(operations) > 0 { + if len(operations) > 0 { bigOP = big.NewInt(0) for k, o := range operations { if o { diff --git a/pkg/client/account_test.go b/pkg/client/account_test.go index 603c7b672..4fd8b89e8 100644 --- a/pkg/client/account_test.go +++ b/pkg/client/account_test.go @@ -16,22 +16,33 @@ var ( apiKey = "622ec85e-7406-431d-9caf-0a19501469a4" tronAddress = "grpc.nile.trongrid.io:50051" accountAddress = "TPpw7soPWEDQWXPCGUMagYPryaWrYR5b3b" - accountAddressWitness = "TGj1Ej1qRzL9feLTLhjwgxXF4Ct6GTWg2U" + accountAddressWitness = "TLyqzVGLV1srkB7dToTAEqgDSfPtXRJZYH" testnetNileAddressExample = "TUoHaVjx7n5xz8LwPRDckgFrDWhMhuSuJM" testnetNileAddressDelegateExample = "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g" ) func TestMain(m *testing.M) { opts := make([]grpc.DialOption, 0) - opts = append(opts, grpc.WithInsecure()) + opts = append(opts, client.GRPCInsecure()) conn = client.NewGrpcClient(tronAddress) + if conn == nil { + fmt.Println("Error creating GRPC Client") + os.Exit(1) + } if err := conn.Start(opts...); err != nil { - _ = fmt.Errorf("Error connecting GRPC Client: %v", err) + fmt.Printf("Error connecting GRPC Client: %v\n", err) + os.Exit(1) } - conn.SetAPIKey(apiKey) + // Set API Key + err := conn.SetAPIKey(apiKey) + if err != nil { + fmt.Printf("Error setting API Key: %v\n", err) + os.Exit(1) + } + defer conn.Stop() exitVal := m.Run() os.Exit(exitVal) @@ -82,7 +93,7 @@ func TestUnfreezeV2(t *testing.T) { func TestDelegate(t *testing.T) { t.Skip() // Only in testnet nile - tx, err := conn.DelegateResource(testnetNileAddressExample, testnetNileAddressDelegateExample, core.ResourceCode_BANDWIDTH, 1000000, false) + tx, err := conn.DelegateResource(testnetNileAddressExample, testnetNileAddressDelegateExample, core.ResourceCode_BANDWIDTH, 1000000, false, 0) require.Nil(t, err) require.NotNil(t, tx.GetTxid()) @@ -90,7 +101,7 @@ func TestDelegate(t *testing.T) { func TestUndelegate(t *testing.T) { t.Skip() // Only in testnet nile - tx, err := conn.UnDelegateResource(testnetNileAddressExample, testnetNileAddressDelegateExample, core.ResourceCode_BANDWIDTH, 1000000, false) + tx, err := conn.UnDelegateResource(testnetNileAddressExample, testnetNileAddressDelegateExample, core.ResourceCode_BANDWIDTH, 1000000) require.Nil(t, err) require.NotNil(t, tx.GetTxid()) diff --git a/pkg/client/client.go b/pkg/client/client.go index e9577a0a0..ed79ec724 100644 --- a/pkg/client/client.go +++ b/pkg/client/client.go @@ -50,8 +50,7 @@ func (g *GrpcClient) Start(opts ...grpc.DialOption) error { g.Address = "grpc.trongrid.io:50051" } g.opts = opts - g.Conn, err = grpc.Dial(g.Address, opts...) - + g.Conn, err = grpc.NewClient(g.Address, opts...) if err != nil { return fmt.Errorf("Connecting GRPC Client: %v", err) } @@ -86,8 +85,7 @@ func (g *GrpcClient) Reconnect(url string) error { if len(url) > 0 { g.Address = url } - g.Start(g.opts...) - return nil + return g.Start(g.opts...) } // GetMessageBytes return grpc message from bytes diff --git a/pkg/client/client_test.go b/pkg/client/client_test.go index c58268710..bc0d745d1 100755 --- a/pkg/client/client_test.go +++ b/pkg/client/client_test.go @@ -9,13 +9,12 @@ import ( "github.com/ethereum/go-ethereum/crypto" "github.com/fbsobreira/gotron-sdk/pkg/client" "github.com/stretchr/testify/require" - "google.golang.org/grpc" "google.golang.org/protobuf/proto" ) func TestTRC20(t *testing.T) { c := client.NewGrpcClient("") - err := c.Start(grpc.WithInsecure()) + err := c.Start(client.GRPCInsecure()) require.Nil(t, err) value, err := c.TRC20GetDecimals("TN7EWmuVWrdehLwKGnU2rk42GWodbAXGUM") @@ -35,7 +34,7 @@ func TestSend(t *testing.T) { privateKeyBytes, _ := hex.DecodeString("ABCD") c := client.NewGrpcClient("") - err := c.Start(grpc.WithInsecure()) + err := c.Start(client.GRPCInsecure()) require.Nil(t, err) tx, err := c.Transfer(fromAddress, toAddress, 1000) require.Nil(t, err) diff --git a/pkg/client/contracts.go b/pkg/client/contracts.go index faa4cef1a..858212c27 100644 --- a/pkg/client/contracts.go +++ b/pkg/client/contracts.go @@ -179,7 +179,7 @@ func (g *GrpcClient) triggerContract(ct *core.TriggerSmartContract, feeLimit int if feeLimit > 0 { tx.Transaction.RawData.FeeLimit = feeLimit // update hash - g.UpdateHash(tx) + err = g.UpdateHash(tx) } return tx, err } @@ -290,7 +290,7 @@ func (g *GrpcClient) DeployContract(from, contractName string, if feeLimit > 0 { tx.Transaction.RawData.FeeLimit = feeLimit // update hash - g.UpdateHash(tx) + err = g.UpdateHash(tx) } return tx, err } diff --git a/pkg/client/contracts_test.go b/pkg/client/contracts_test.go index 4131fe532..1be6c1b94 100755 --- a/pkg/client/contracts_test.go +++ b/pkg/client/contracts_test.go @@ -12,7 +12,6 @@ import ( "github.com/fbsobreira/gotron-sdk/pkg/proto/core" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "google.golang.org/grpc" "google.golang.org/protobuf/proto" ) @@ -21,20 +20,19 @@ func TestProtoParse(t *testing.T) { mb, _ := hex.DecodeString("0a020cd222081e6d180d0ea1be1340c082fc94c22e5a8e01081f1289010a31747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e54726967676572536d617274436f6e747261637412540a15419df085719e7e0bd5bf4fd1b2a6aed6afd2b8416d121541157a629d8e8d7d43218b83240afaa02e8c300b36222497a5d5b50000000000000000000000009df085719e7e0bd5bf4fd1b2a6aed6afd2b8416d7085c1f894c22e") - proto.Unmarshal(mb, raw) + err := proto.Unmarshal(mb, raw) + require.Nil(t, err) + fmt.Printf("Raw: %+v\n", raw) c := raw.GetContract()[0] trig := &core.TriggerSmartContract{} // recover - err := c.GetParameter().UnmarshalTo(trig) + err = c.GetParameter().UnmarshalTo(trig) require.Nil(t, err) assert.Equal(t, hex.EncodeToString(trig.Data), "97a5d5b50000000000000000000000009df085719e7e0bd5bf4fd1b2a6aed6afd2b8416d") } func TestProtoParseR(t *testing.T) { - conn := client.NewGrpcClient("grpc.trongrid.io:50051") - err := conn.Start(grpc.WithInsecure()) - require.Nil(t, err) block, err := conn.GetBlockByNum(48763870) require.Nil(t, err) @@ -54,10 +52,6 @@ func TestProtoParseR(t *testing.T) { } func TestEstimateEnergy(t *testing.T) { - conn := client.NewGrpcClient("grpc.nile.trongrid.io:50051") - err := conn.Start(grpc.WithInsecure()) - require.Nil(t, err) - estimate, err := conn.EstimateEnergy( "TTGhREx2pDSxFX555NWz1YwGpiBVPvQA7e", "TVSvjZdyDSNocHm7dP3jvCmMNsCnMTPa5W", @@ -67,12 +61,12 @@ func TestEstimateEnergy(t *testing.T) { ) require.Nil(t, err) assert.True(t, estimate.Result.Result) - assert.Equal(t, estimate.EnergyRequired, int64(14910)) + assert.Equal(t, int64(16567), estimate.EnergyRequired) } func TestGetAccount(t *testing.T) { conn := client.NewGrpcClient("grpc.trongrid.io:50051") - err := conn.Start(grpc.WithInsecure()) + err := conn.Start(client.GRPCInsecure()) require.Nil(t, err) tx, err := conn.TriggerConstantContract("", @@ -98,18 +92,14 @@ func TestGetAccount(t *testing.T) { } func TestGetAccount2(t *testing.T) { - conn := client.NewGrpcClient("grpc.trongrid.io:50051") - err := conn.Start(grpc.WithInsecure()) - require.Nil(t, err) - - tx, err := conn.GetAccountDetailed("TPpw7soPWEDQWXPCGUMagYPryaWrYR5b3b") + acc, err := conn.GetAccountDetailed("TPpw7soPWEDQWXPCGUMagYPryaWrYR5b3b") require.Nil(t, err) - fmt.Printf("%v", tx) + fmt.Printf("%+v", acc) } func TestGetAccountMigrationContract(t *testing.T) { conn := client.NewGrpcClient("grpc.trongrid.io:50051") - err := conn.Start(grpc.WithInsecure()) + err := conn.Start(client.GRPCInsecure()) require.Nil(t, err) tx, err := conn.TriggerConstantContract("TX8h6Df74VpJsXF6sTDz1QJsq3Ec8dABc3", diff --git a/pkg/client/network.go b/pkg/client/network.go index d4f79d7fe..89c6d73c5 100644 --- a/pkg/client/network.go +++ b/pkg/client/network.go @@ -8,6 +8,8 @@ import ( "github.com/fbsobreira/gotron-sdk/pkg/proto/api" "github.com/fbsobreira/gotron-sdk/pkg/proto/core" "go.uber.org/zap" + "google.golang.org/grpc" + "google.golang.org/grpc/credentials/insecure" "google.golang.org/protobuf/proto" ) @@ -111,3 +113,31 @@ func (g *GrpcClient) GetNodeInfo() (*core.NodeInfo, error) { return g.Client.GetNodeInfo(ctx, new(api.EmptyMessage)) } + +// GetEnergyPrices returns energy prices +func (g *GrpcClient) GetEnergyPrices() (*api.PricesResponseMessage, error) { + ctx, cancel := g.getContext() + defer cancel() + + return g.Client.GetEnergyPrices(ctx, new(api.EmptyMessage)) +} + +// GetBandwidthPrices returns bandwidth prices +func (g *GrpcClient) GetBandwidthPrices() (*api.PricesResponseMessage, error) { + ctx, cancel := g.getContext() + defer cancel() + + return g.Client.GetBandwidthPrices(ctx, new(api.EmptyMessage)) +} + +// GetMemoFee returns memo fee +func (g *GrpcClient) GetMemoFee() (*api.PricesResponseMessage, error) { + ctx, cancel := g.getContext() + defer cancel() + + return g.Client.GetMemoFee(ctx, new(api.EmptyMessage)) +} + +func GRPCInsecure() grpc.DialOption { + return grpc.WithTransportCredentials(insecure.NewCredentials()) +} diff --git a/pkg/client/resources.go b/pkg/client/resources.go index 4fef5c3bc..1b7e545d2 100644 --- a/pkg/client/resources.go +++ b/pkg/client/resources.go @@ -138,7 +138,7 @@ func (g *GrpcClient) DelegateResource(from, to string, resource core.ResourceCod } // UnDelegateResource from BASE58 address -func (g *GrpcClient) UnDelegateResource(owner, receiver string, resource core.ResourceCode, delegateBalance int64, lock bool) (*api.TransactionExtention, error) { +func (g *GrpcClient) UnDelegateResource(owner, receiver string, resource core.ResourceCode, delegateBalance int64) (*api.TransactionExtention, error) { addrOwnerBytes, err := common.DecodeCheck(owner) if err != nil { return nil, err diff --git a/pkg/client/transaction/controller.go b/pkg/client/transaction/controller.go index d602d9495..ec5d97fad 100644 --- a/pkg/client/transaction/controller.go +++ b/pkg/client/transaction/controller.go @@ -118,7 +118,7 @@ func (C *Controller) TransactionHash() (string, error) { h256h := sha256.New() h256h.Write(rawData) hash := h256h.Sum(nil) - return common.ToHex(hash), nil + return common.BytesToHexString(hash), nil } func (C *Controller) txConfirmation() { diff --git a/pkg/client/trc20.go b/pkg/client/trc20.go index fccae8f80..03a7f3836 100644 --- a/pkg/client/trc20.go +++ b/pkg/client/trc20.go @@ -57,7 +57,7 @@ func (g *GrpcClient) TRC20Call(from, contractAddress, data string, constant bool return nil, err } if result.Result.Code > 0 { - return result, fmt.Errorf(string(result.Result.Message)) + return result, fmt.Errorf("%s", string(result.Result.Message)) } return result, nil diff --git a/pkg/client/trc20_test.go b/pkg/client/trc20_test.go index 7690b6da5..ab363d1d5 100644 --- a/pkg/client/trc20_test.go +++ b/pkg/client/trc20_test.go @@ -6,7 +6,6 @@ import ( "github.com/fbsobreira/gotron-sdk/pkg/client" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "google.golang.org/grpc" ) func TestTRC20_Balance(t *testing.T) { @@ -14,10 +13,10 @@ func TestTRC20_Balance(t *testing.T) { address := "TMuA6YqfCeX8EhbfYEg5y7S4DqzSJireY9" conn := client.NewGrpcClient("grpc.trongrid.io:50051") - err := conn.Start(grpc.WithInsecure()) + err := conn.Start(client.GRPCInsecure()) require.Nil(t, err) balance, err := conn.TRC20ContractBalance(address, trc20Contract) - assert.Nil(t, err) + require.Nil(t, err) assert.Greater(t, balance.Int64(), int64(0)) } diff --git a/pkg/common/hexutils.go b/pkg/common/hexutils.go index e94336cdf..8ed04fca4 100644 --- a/pkg/common/hexutils.go +++ b/pkg/common/hexutils.go @@ -88,7 +88,7 @@ func isHexCharacter(c byte) bool { } // isHex validates whether each byte is valid hexadecimal string. -func isHex(str string) bool { +func IsHex(str string) bool { if len(str)%2 != 0 { return false } diff --git a/pkg/common/numeric/numeric.go b/pkg/common/numeric/numeric.go index db590bbd5..51eca89af 100644 --- a/pkg/common/numeric/numeric.go +++ b/pkg/common/numeric/numeric.go @@ -120,12 +120,15 @@ func NewDecFromIntWithPrec(i *big.Int, prec int64) Dec { // NewDecFromStr creates a decimal from an input decimal string. // valid must come in the form: -// (-) whole integers (.) decimal integers +// +// (-) whole integers (.) decimal integers +// // examples of acceptable input include: -// -123.456 -// 456.7890 -// 345 -// -456789 +// +// -123.456 +// 456.7890 +// 345 +// -456789 // // NOTE - An error will return if more decimal places // are provided in the string than the constant Precision. @@ -608,7 +611,7 @@ func MaxDec(d1, d2 Dec) Dec { } var ( - pattern, _ = regexp.Compile("[0-9]+\\.{0,1}[0-9]*e-{0,1}[0-9]+") + pattern, _ = regexp.Compile(`[0-9]+\.{0,1}[0-9]*e-{0,1}[0-9]+`) ) // Pow calcs power of numeric with int diff --git a/pkg/common/values.go b/pkg/common/values.go index bdb9cd3e4..14e053775 100644 --- a/pkg/common/values.go +++ b/pkg/common/values.go @@ -22,18 +22,18 @@ var ( DebugGRPC = false DebugTransaction = false ErrNotAbsPath = errors.New("keypath is not absolute path") - ErrBadKeyLength = errors.New("Invalid private key (wrong length)") + ErrBadKeyLength = errors.New("ivalid private key (wrong length)") ErrFoundNoPass = errors.New("found no passphrase file") ) func init() { - if _, enabled := os.LookupEnv("TRONCTL_GRPC_DEBUG"); enabled != false { + if _, enabled := os.LookupEnv("TRONCTL_GRPC_DEBUG"); enabled { DebugGRPC = true } - if _, enabled := os.LookupEnv("TRONCTL_TX_DEBUG"); enabled != false { + if _, enabled := os.LookupEnv("TRONCTL_TX_DEBUG"); enabled { DebugTransaction = true } - if _, enabled := os.LookupEnv("TRONCTL_ALL_DEBUG"); enabled != false { + if _, enabled := os.LookupEnv("TRONCTL_ALL_DEBUG"); enabled { EnableAllVerbose() } } diff --git a/pkg/keys/keys.go b/pkg/keys/keys.go index 9a56f276b..0b57d5ff0 100644 --- a/pkg/keys/keys.go +++ b/pkg/keys/keys.go @@ -19,7 +19,11 @@ func checkAndMakeKeyDirIfNeeded() string { tronCTLDir := path.Join(userDir, ".tronctl", "keystore") if _, err := os.Stat(tronCTLDir); os.IsNotExist(err) { // Double check with Leo what is right file persmission - os.Mkdir(tronCTLDir, 0700) + err := os.Mkdir(tronCTLDir, 0700) + if err != nil { + fmt.Printf("create keystore dir error: %v\n", err) + return "" + } } return tronCTLDir diff --git a/pkg/keys/mnemonic_test.go b/pkg/keys/mnemonic_test.go index 3260a12f1..d28b4f922 100644 --- a/pkg/keys/mnemonic_test.go +++ b/pkg/keys/mnemonic_test.go @@ -2,6 +2,7 @@ package keys_test import ( "encoding/hex" + "fmt" "testing" "github.com/fbsobreira/gotron-sdk/pkg/keys" @@ -13,6 +14,6 @@ func Test_mnemonic_to_pk(t *testing.T) { private, _ := keys.FromMnemonicSeedAndPassphrase("abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about", "", 0) pk_bytes := private.Serialize() - println("Privatekey: ", hex.EncodeToString(pk_bytes)) + fmt.Println("Privatekey: ", hex.EncodeToString(pk_bytes)) assert.Equal(t, hex.EncodeToString(pk_bytes), "b5a4cea271ff424d7c31dc12a3e43e401df7a40d7412a15750f3f0b6b5449a28") } diff --git a/pkg/keystore/account.go b/pkg/keystore/account.go index a29793170..e00bc5c48 100644 --- a/pkg/keystore/account.go +++ b/pkg/keystore/account.go @@ -2,7 +2,6 @@ package keystore import ( "crypto/ecdsa" - "crypto/elliptic" "fmt" "github.com/ethereum/go-ethereum/crypto" @@ -166,10 +165,5 @@ func TextAndHash(data []byte, useFixedLength ...bool) ([]byte, string) { } func UnmarshalPublic(pbk []byte) (*ecdsa.PublicKey, error) { - x, y := elliptic.Unmarshal(crypto.S256(), pbk) - if x == nil { - return nil, fmt.Errorf("invalid publickey") - } - - return &ecdsa.PublicKey{Curve: crypto.S256(), X: x, Y: y}, nil + return crypto.UnmarshalPubkey(pbk) } diff --git a/pkg/keystore/account_cache.go b/pkg/keystore/account_cache.go index 1d6d7ee1f..a8e2a033d 100644 --- a/pkg/keystore/account_cache.go +++ b/pkg/keystore/account_cache.go @@ -214,7 +214,9 @@ func (ac *accountCache) maybeReload() { ac.watcher.start() ac.throttle.Reset(minReloadInterval) ac.mu.Unlock() - ac.scanAccounts() + if err := ac.scanAccounts(); err != nil { + zap.L().Error("Failed to scan accounts", zap.Error(err)) + } } func (ac *accountCache) close() { diff --git a/pkg/keystore/file_cache.go b/pkg/keystore/file_cache.go index 12db7a4b1..2854f8698 100644 --- a/pkg/keystore/file_cache.go +++ b/pkg/keystore/file_cache.go @@ -17,7 +17,6 @@ package keystore import ( - "io/ioutil" "os" "path/filepath" "strings" @@ -41,7 +40,7 @@ func (fc *fileCache) scan(keyDir string) (mapset.Set, mapset.Set, mapset.Set, er t0 := time.Now() // List all the failes from the keystore folder - files, err := ioutil.ReadDir(keyDir) + files, err := os.ReadDir(keyDir) if err != nil { return nil, nil, nil, err } @@ -55,7 +54,12 @@ func (fc *fileCache) scan(keyDir string) (mapset.Set, mapset.Set, mapset.Set, er mods := mapset.NewThreadUnsafeSet() var newLastMod time.Time - for _, fi := range files { + for _, fid := range files { + fi, err := fid.Info() + if err != nil { + zap.L().Error("Error reading file info", zap.String("path", fid.Name()), zap.Error(err)) + continue + } path := filepath.Join(keyDir, fi.Name()) // Skip any non-key files from the folder if nonKeyFile(fi) { diff --git a/pkg/keystore/key.go b/pkg/keystore/key.go index 3b05e41b0..e127cbddb 100644 --- a/pkg/keystore/key.go +++ b/pkg/keystore/key.go @@ -23,7 +23,6 @@ import ( "encoding/json" "fmt" "io" - "io/ioutil" "os" "path/filepath" "strings" @@ -194,7 +193,7 @@ func writeTemporaryKeyFile(file string, content []byte) (string, error) { } // Atomic write: create a temporary hidden file first // then move it into place. TempFile assigns mode 0600. - f, err := ioutil.TempFile(filepath.Dir(file), "."+filepath.Base(file)+".tmp") + f, err := os.CreateTemp(filepath.Dir(file), "."+filepath.Base(file)+".tmp") if err != nil { return "", err } @@ -207,14 +206,6 @@ func writeTemporaryKeyFile(file string, content []byte) (string, error) { return f.Name(), nil } -func writeKeyFile(file string, content []byte) error { - name, err := writeTemporaryKeyFile(file, content) - if err != nil { - return err - } - return os.Rename(name, file) -} - // keyFileName implements the naming convention for keyfiles: // UTC---
func keyFileName(keyAddr address.Address) string { diff --git a/pkg/keystore/passphrase.go b/pkg/keystore/passphrase.go index 493a4d94c..6dcb0f8ab 100644 --- a/pkg/keystore/passphrase.go +++ b/pkg/keystore/passphrase.go @@ -34,7 +34,6 @@ import ( "encoding/json" "fmt" "io" - "io/ioutil" "os" "path/filepath" @@ -81,7 +80,7 @@ type keyStorePassphrase struct { func (ks keyStorePassphrase) GetKey(addr address.Address, filename, auth string) (*Key, error) { // Load the key from the keystore and decrypt its contents - keyjson, err := ioutil.ReadFile(filename) + keyjson, err := os.ReadFile(filename) if err != nil { return nil, err } diff --git a/pkg/keystore/plain.go b/pkg/keystore/plain.go deleted file mode 100644 index 21c5d442c..000000000 --- a/pkg/keystore/plain.go +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2015 The go-ethereum Authors -// This file is part of the go-ethereum library. -// -// The go-ethereum library is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// The go-ethereum library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public License -// along with the go-ethereum library. If not, see . - -package keystore - -import ( - "bytes" - "encoding/json" - "fmt" - "os" - "path/filepath" - - "github.com/fbsobreira/gotron-sdk/pkg/address" -) - -type keyStorePlain struct { - keysDirPath string -} - -func (ks keyStorePlain) GetKey(addr address.Address, filename, auth string) (*Key, error) { - fd, err := os.Open(filename) - if err != nil { - return nil, err - } - defer fd.Close() - key := new(Key) - if err := json.NewDecoder(fd).Decode(key); err != nil { - return nil, err - } - if !bytes.Equal(key.Address, addr) { - return nil, fmt.Errorf("key content mismatch: have address %x, want %x", key.Address, addr) - } - return key, nil -} - -func (ks keyStorePlain) StoreKey(filename string, key *Key, auth string) error { - content, err := json.Marshal(key) - if err != nil { - return err - } - return writeKeyFile(filename, content) -} - -func (ks keyStorePlain) JoinPath(filename string) string { - if filepath.IsAbs(filename) { - return filename - } - return filepath.Join(ks.keysDirPath, filename) -} diff --git a/pkg/keystore/recover.go b/pkg/keystore/recover.go index 2c71f5ed8..36227e55b 100644 --- a/pkg/keystore/recover.go +++ b/pkg/keystore/recover.go @@ -4,13 +4,17 @@ package keystore import ( + "fmt" + "github.com/ethereum/go-ethereum/crypto" "github.com/fbsobreira/gotron-sdk/pkg/address" ) func RecoverPubkey(hash []byte, signature []byte) (address.Address, error) { - + if len(signature) != 65 { + return nil, fmt.Errorf("invalid signature length: %d/65", len(signature)) + } if signature[64] >= 27 { signature[64] -= 27 } diff --git a/pkg/keystore/recover_test.go b/pkg/keystore/recover_test.go new file mode 100644 index 000000000..522b2b51c --- /dev/null +++ b/pkg/keystore/recover_test.go @@ -0,0 +1,17 @@ +package keystore + +import ( + "encoding/hex" + "testing" + + "github.com/stretchr/testify/assert" +) + +func Test_Recover(t *testing.T) { + owner := "TA49kZ26Ky44NXEA6zFJ46XjzmZXGtvEdw" + hash, _ := hex.DecodeString("bb5ca6345a3d199e66a2c63fec8abdc3fad602d57aefdc4621fd5f5b33658491") + signature, _ := hex.DecodeString("c1d046315acb9334bce1183f5f40b7e356e07451191f82c7ab182898d4e81752359304ad42dbb737ab7f7b9540ec6170052f274dcb49d3e42f8d8c1e05727b4500") + pubKey, err := RecoverPubkey(hash, signature) + assert.Nil(t, err) + assert.Equal(t, owner, pubKey.String()) +} diff --git a/pkg/keystore/url.go b/pkg/keystore/url.go index cc7fe6812..9890a960d 100644 --- a/pkg/keystore/url.go +++ b/pkg/keystore/url.go @@ -92,10 +92,9 @@ func (u *URL) UnmarshalJSON(input []byte) error { // Cmp compares x and y and returns: // -// -1 if x < y -// 0 if x == y -// +1 if x > y -// +// -1 if x < y +// 0 if x == y +// +1 if x > y func (u URL) Cmp(url URL) int { if u.Scheme == url.Scheme { return strings.Compare(u.Path, url.Path) diff --git a/pkg/keystore/watch.go b/pkg/keystore/watch.go index 76c711452..904e3ed76 100644 --- a/pkg/keystore/watch.go +++ b/pkg/keystore/watch.go @@ -102,7 +102,9 @@ func (w *watcher) loop() { rescanTriggered = true } case <-debounce.C: - w.ac.scanAccounts() + if err := w.ac.scanAccounts(); err != nil { + logger.Error("Failed to reload keystore contents", "err", err) + } rescanTriggered = false } } diff --git a/pkg/ledger/hw_wallet.go b/pkg/ledger/hw_wallet.go index 744a2904f..723530f5a 100644 --- a/pkg/ledger/hw_wallet.go +++ b/pkg/ledger/hw_wallet.go @@ -41,7 +41,7 @@ func GetAddress() string { return addr } -//ProcessAddressCommand list the address associated with Ledger Nano S +// ProcessAddressCommand list the address associated with Ledger Nano S func ProcessAddressCommand() { n := getLedger() addr, err := n.GetAddress() diff --git a/pkg/ledger/nano_S_driver.go b/pkg/ledger/nano_S_driver.go index 2ba3a4d77..e2422a536 100644 --- a/pkg/ledger/nano_S_driver.go +++ b/pkg/ledger/nano_S_driver.go @@ -57,7 +57,11 @@ func (hf *hidFramer) Write(p []byte) (int, error) { chunk[2] = 0x05 var seq uint16 buf := new(bytes.Buffer) - binary.Write(buf, binary.BigEndian, uint16(len(p))) + err := binary.Write(buf, binary.BigEndian, uint16(len(p))) + if err != nil { + return 0, err + } + buf.Write(p) for buf.Len() > 0 { binary.BigEndian.PutUint16(chunk[3:5], seq) diff --git a/pkg/proto/api/api.pb.go b/pkg/proto/api/api.pb.go index 3ae13dc98..0e69c64a2 100644 --- a/pkg/proto/api/api.pb.go +++ b/pkg/proto/api/api.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 -// protoc v3.21.12 +// protoc-gen-go v1.36.6 +// protoc v5.29.3 // source: api/api.proto package api @@ -13,6 +13,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -37,6 +38,7 @@ const ( Return_SERVER_BUSY ReturnResponseCode = 9 Return_NO_CONNECTION ReturnResponseCode = 10 Return_NOT_ENOUGH_EFFECTIVE_CONNECTION ReturnResponseCode = 11 + Return_BLOCK_UNSOLIDIFIED ReturnResponseCode = 12 Return_OTHER_ERROR ReturnResponseCode = 20 ) @@ -55,6 +57,7 @@ var ( 9: "SERVER_BUSY", 10: "NO_CONNECTION", 11: "NOT_ENOUGH_EFFECTIVE_CONNECTION", + 12: "BLOCK_UNSOLIDIFIED", 20: "OTHER_ERROR", } ReturnResponseCode_value = map[string]int32{ @@ -70,6 +73,7 @@ var ( "SERVER_BUSY": 9, "NO_CONNECTION": 10, "NOT_ENOUGH_EFFECTIVE_CONNECTION": 11, + "BLOCK_UNSOLIDIFIED": 12, "OTHER_ERROR": 20, } ) @@ -156,7 +160,7 @@ func (x TransactionSignWeight_ResultResponseCode) Number() protoreflect.EnumNumb // Deprecated: Use TransactionSignWeight_ResultResponseCode.Descriptor instead. func (TransactionSignWeight_ResultResponseCode) EnumDescriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{38, 0, 0} + return file_api_api_proto_rawDescGZIP(), []int{39, 0, 0} } type TransactionApprovedList_ResultResponseCode int32 @@ -208,26 +212,23 @@ func (x TransactionApprovedList_ResultResponseCode) Number() protoreflect.EnumNu // Deprecated: Use TransactionApprovedList_ResultResponseCode.Descriptor instead. func (TransactionApprovedList_ResultResponseCode) EnumDescriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{39, 0, 0} + return file_api_api_proto_rawDescGZIP(), []int{40, 0, 0} } type Return struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` + Code ReturnResponseCode `protobuf:"varint,2,opt,name=code,proto3,enum=protocol.ReturnResponseCode" json:"code,omitempty"` + Message []byte `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields - - Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` - Code ReturnResponseCode `protobuf:"varint,2,opt,name=code,proto3,enum=protocol.ReturnResponseCode" json:"code,omitempty"` - Message []byte `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Return) Reset() { *x = Return{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Return) String() string { @@ -238,7 +239,7 @@ func (*Return) ProtoMessage() {} func (x *Return) ProtoReflect() protoreflect.Message { mi := &file_api_api_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) @@ -275,21 +276,18 @@ func (x *Return) GetMessage() []byte { } type BlockReference struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + BlockNum int64 `protobuf:"varint,1,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"` + BlockHash []byte `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` unknownFields protoimpl.UnknownFields - - BlockNum int64 `protobuf:"varint,1,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"` - BlockHash []byte `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` + sizeCache protoimpl.SizeCache } func (x *BlockReference) Reset() { *x = BlockReference{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BlockReference) String() string { @@ -300,7 +298,7 @@ func (*BlockReference) ProtoMessage() {} func (x *BlockReference) ProtoReflect() protoreflect.Message { mi := &file_api_api_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) @@ -330,20 +328,17 @@ func (x *BlockReference) GetBlockHash() []byte { } type WitnessList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Witnesses []*core.Witness `protobuf:"bytes,1,rep,name=witnesses,proto3" json:"witnesses,omitempty"` unknownFields protoimpl.UnknownFields - - Witnesses []*core.Witness `protobuf:"bytes,1,rep,name=witnesses,proto3" json:"witnesses,omitempty"` + sizeCache protoimpl.SizeCache } func (x *WitnessList) Reset() { *x = WitnessList{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WitnessList) String() string { @@ -354,7 +349,7 @@ func (*WitnessList) ProtoMessage() {} func (x *WitnessList) ProtoReflect() protoreflect.Message { mi := &file_api_api_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) @@ -377,20 +372,17 @@ func (x *WitnessList) GetWitnesses() []*core.Witness { } type ProposalList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Proposals []*core.Proposal `protobuf:"bytes,1,rep,name=proposals,proto3" json:"proposals,omitempty"` unknownFields protoimpl.UnknownFields - - Proposals []*core.Proposal `protobuf:"bytes,1,rep,name=proposals,proto3" json:"proposals,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ProposalList) Reset() { *x = ProposalList{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProposalList) String() string { @@ -401,7 +393,7 @@ func (*ProposalList) ProtoMessage() {} func (x *ProposalList) ProtoReflect() protoreflect.Message { mi := &file_api_api_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) @@ -424,20 +416,17 @@ func (x *ProposalList) GetProposals() []*core.Proposal { } type ExchangeList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Exchanges []*core.Exchange `protobuf:"bytes,1,rep,name=exchanges,proto3" json:"exchanges,omitempty"` unknownFields protoimpl.UnknownFields - - Exchanges []*core.Exchange `protobuf:"bytes,1,rep,name=exchanges,proto3" json:"exchanges,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ExchangeList) Reset() { *x = ExchangeList{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExchangeList) String() string { @@ -448,7 +437,7 @@ func (*ExchangeList) ProtoMessage() {} func (x *ExchangeList) ProtoReflect() protoreflect.Message { mi := &file_api_api_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) @@ -471,20 +460,17 @@ func (x *ExchangeList) GetExchanges() []*core.Exchange { } type AssetIssueList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + AssetIssue []*core.AssetIssueContract `protobuf:"bytes,1,rep,name=assetIssue,proto3" json:"assetIssue,omitempty"` unknownFields protoimpl.UnknownFields - - AssetIssue []*core.AssetIssueContract `protobuf:"bytes,1,rep,name=assetIssue,proto3" json:"assetIssue,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AssetIssueList) Reset() { *x = AssetIssueList{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AssetIssueList) String() string { @@ -495,7 +481,7 @@ func (*AssetIssueList) ProtoMessage() {} func (x *AssetIssueList) ProtoReflect() protoreflect.Message { mi := &file_api_api_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) @@ -518,20 +504,17 @@ func (x *AssetIssueList) GetAssetIssue() []*core.AssetIssueContract { } type BlockList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Block []*core.Block `protobuf:"bytes,1,rep,name=block,proto3" json:"block,omitempty"` unknownFields protoimpl.UnknownFields - - Block []*core.Block `protobuf:"bytes,1,rep,name=block,proto3" json:"block,omitempty"` + sizeCache protoimpl.SizeCache } func (x *BlockList) Reset() { *x = BlockList{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BlockList) String() string { @@ -542,7 +525,7 @@ func (*BlockList) ProtoMessage() {} func (x *BlockList) ProtoReflect() protoreflect.Message { mi := &file_api_api_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) @@ -565,20 +548,17 @@ func (x *BlockList) GetBlock() []*core.Block { } type TransactionList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Transaction []*core.Transaction `protobuf:"bytes,1,rep,name=transaction,proto3" json:"transaction,omitempty"` unknownFields protoimpl.UnknownFields - - Transaction []*core.Transaction `protobuf:"bytes,1,rep,name=transaction,proto3" json:"transaction,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TransactionList) Reset() { *x = TransactionList{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransactionList) String() string { @@ -589,7 +569,7 @@ func (*TransactionList) ProtoMessage() {} func (x *TransactionList) ProtoReflect() protoreflect.Message { mi := &file_api_api_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) @@ -612,20 +592,17 @@ func (x *TransactionList) GetTransaction() []*core.Transaction { } type TransactionIdList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TxId []string `protobuf:"bytes,1,rep,name=txId,proto3" json:"txId,omitempty"` unknownFields protoimpl.UnknownFields - - TxId []string `protobuf:"bytes,1,rep,name=txId,proto3" json:"txId,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TransactionIdList) Reset() { *x = TransactionIdList{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransactionIdList) String() string { @@ -636,7 +613,7 @@ func (*TransactionIdList) ProtoMessage() {} func (x *TransactionIdList) ProtoReflect() protoreflect.Message { mi := &file_api_api_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) @@ -659,21 +636,18 @@ func (x *TransactionIdList) GetTxId() []string { } type DelegatedResourceMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + FromAddress []byte `protobuf:"bytes,1,opt,name=fromAddress,proto3" json:"fromAddress,omitempty"` + ToAddress []byte `protobuf:"bytes,2,opt,name=toAddress,proto3" json:"toAddress,omitempty"` unknownFields protoimpl.UnknownFields - - FromAddress []byte `protobuf:"bytes,1,opt,name=fromAddress,proto3" json:"fromAddress,omitempty"` - ToAddress []byte `protobuf:"bytes,2,opt,name=toAddress,proto3" json:"toAddress,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DelegatedResourceMessage) Reset() { *x = DelegatedResourceMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DelegatedResourceMessage) String() string { @@ -684,7 +658,7 @@ func (*DelegatedResourceMessage) ProtoMessage() {} func (x *DelegatedResourceMessage) ProtoReflect() protoreflect.Message { mi := &file_api_api_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) @@ -714,20 +688,17 @@ func (x *DelegatedResourceMessage) GetToAddress() []byte { } type DelegatedResourceList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` DelegatedResource []*core.DelegatedResource `protobuf:"bytes,1,rep,name=delegatedResource,proto3" json:"delegatedResource,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DelegatedResourceList) Reset() { *x = DelegatedResourceList{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DelegatedResourceList) String() string { @@ -738,7 +709,7 @@ func (*DelegatedResourceList) ProtoMessage() {} func (x *DelegatedResourceList) ProtoReflect() protoreflect.Message { mi := &file_api_api_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) @@ -761,20 +732,17 @@ func (x *DelegatedResourceList) GetDelegatedResource() []*core.DelegatedResource } type GetAvailableUnfreezeCountRequestMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetAvailableUnfreezeCountRequestMessage) Reset() { *x = GetAvailableUnfreezeCountRequestMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetAvailableUnfreezeCountRequestMessage) String() string { @@ -785,7 +753,7 @@ func (*GetAvailableUnfreezeCountRequestMessage) ProtoMessage() {} func (x *GetAvailableUnfreezeCountRequestMessage) ProtoReflect() protoreflect.Message { mi := &file_api_api_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) @@ -808,20 +776,17 @@ func (x *GetAvailableUnfreezeCountRequestMessage) GetOwnerAddress() []byte { } type GetAvailableUnfreezeCountResponseMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` unknownFields protoimpl.UnknownFields - - Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetAvailableUnfreezeCountResponseMessage) Reset() { *x = GetAvailableUnfreezeCountResponseMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetAvailableUnfreezeCountResponseMessage) String() string { @@ -832,7 +797,7 @@ func (*GetAvailableUnfreezeCountResponseMessage) ProtoMessage() {} func (x *GetAvailableUnfreezeCountResponseMessage) ProtoReflect() protoreflect.Message { mi := &file_api_api_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) @@ -855,21 +820,18 @@ func (x *GetAvailableUnfreezeCountResponseMessage) GetCount() int64 { } type CanDelegatedMaxSizeRequestMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` + OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` unknownFields protoimpl.UnknownFields - - Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` - OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CanDelegatedMaxSizeRequestMessage) Reset() { *x = CanDelegatedMaxSizeRequestMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CanDelegatedMaxSizeRequestMessage) String() string { @@ -880,7 +842,7 @@ func (*CanDelegatedMaxSizeRequestMessage) ProtoMessage() {} func (x *CanDelegatedMaxSizeRequestMessage) ProtoReflect() protoreflect.Message { mi := &file_api_api_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) @@ -910,20 +872,17 @@ func (x *CanDelegatedMaxSizeRequestMessage) GetOwnerAddress() []byte { } type CanDelegatedMaxSizeResponseMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + MaxSize int64 `protobuf:"varint,1,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"` unknownFields protoimpl.UnknownFields - - MaxSize int64 `protobuf:"varint,1,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CanDelegatedMaxSizeResponseMessage) Reset() { *x = CanDelegatedMaxSizeResponseMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CanDelegatedMaxSizeResponseMessage) String() string { @@ -934,7 +893,7 @@ func (*CanDelegatedMaxSizeResponseMessage) ProtoMessage() {} func (x *CanDelegatedMaxSizeResponseMessage) ProtoReflect() protoreflect.Message { mi := &file_api_api_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) @@ -957,21 +916,18 @@ func (x *CanDelegatedMaxSizeResponseMessage) GetMaxSize() int64 { } type CanWithdrawUnfreezeAmountRequestMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CanWithdrawUnfreezeAmountRequestMessage) Reset() { *x = CanWithdrawUnfreezeAmountRequestMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CanWithdrawUnfreezeAmountRequestMessage) String() string { @@ -982,7 +938,7 @@ func (*CanWithdrawUnfreezeAmountRequestMessage) ProtoMessage() {} func (x *CanWithdrawUnfreezeAmountRequestMessage) ProtoReflect() protoreflect.Message { mi := &file_api_api_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) @@ -1012,20 +968,17 @@ func (x *CanWithdrawUnfreezeAmountRequestMessage) GetTimestamp() int64 { } type CanWithdrawUnfreezeAmountResponseMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Amount int64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` unknownFields protoimpl.UnknownFields - - Amount int64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CanWithdrawUnfreezeAmountResponseMessage) Reset() { *x = CanWithdrawUnfreezeAmountResponseMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CanWithdrawUnfreezeAmountResponseMessage) String() string { @@ -1036,7 +989,7 @@ func (*CanWithdrawUnfreezeAmountResponseMessage) ProtoMessage() {} func (x *CanWithdrawUnfreezeAmountResponseMessage) ProtoReflect() protoreflect.Message { mi := &file_api_api_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) @@ -1058,22 +1011,63 @@ func (x *CanWithdrawUnfreezeAmountResponseMessage) GetAmount() int64 { return 0 } +type PricesResponseMessage struct { + state protoimpl.MessageState `protogen:"open.v1"` + Prices string `protobuf:"bytes,1,opt,name=prices,proto3" json:"prices,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PricesResponseMessage) Reset() { + *x = PricesResponseMessage{} + mi := &file_api_api_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PricesResponseMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PricesResponseMessage) ProtoMessage() {} + +func (x *PricesResponseMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[17] + 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 PricesResponseMessage.ProtoReflect.Descriptor instead. +func (*PricesResponseMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{17} +} + +func (x *PricesResponseMessage) GetPrices() string { + if x != nil { + return x.Prices + } + return "" +} + // Gossip node list type NodeList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` unknownFields protoimpl.UnknownFields - - Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` + sizeCache protoimpl.SizeCache } func (x *NodeList) Reset() { *x = NodeList{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeList) String() string { @@ -1083,8 +1077,8 @@ func (x *NodeList) String() string { func (*NodeList) ProtoMessage() {} func (x *NodeList) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[18] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1096,7 +1090,7 @@ func (x *NodeList) ProtoReflect() protoreflect.Message { // Deprecated: Use NodeList.ProtoReflect.Descriptor instead. func (*NodeList) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{17} + return file_api_api_proto_rawDescGZIP(), []int{18} } func (x *NodeList) GetNodes() []*Node { @@ -1108,20 +1102,17 @@ func (x *NodeList) GetNodes() []*Node { // Gossip node type Node struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Address *Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` unknownFields protoimpl.UnknownFields - - Address *Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Node) Reset() { *x = Node{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Node) String() string { @@ -1131,8 +1122,8 @@ func (x *Node) String() string { func (*Node) ProtoMessage() {} func (x *Node) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[19] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1144,7 +1135,7 @@ func (x *Node) ProtoReflect() protoreflect.Message { // Deprecated: Use Node.ProtoReflect.Descriptor instead. func (*Node) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{18} + return file_api_api_proto_rawDescGZIP(), []int{19} } func (x *Node) GetAddress() *Address { @@ -1156,21 +1147,18 @@ func (x *Node) GetAddress() *Address { // Gossip node address type Address struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Host []byte `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` + Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` unknownFields protoimpl.UnknownFields - - Host []byte `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` - Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Address) Reset() { *x = Address{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Address) String() string { @@ -1180,8 +1168,8 @@ func (x *Address) String() string { func (*Address) ProtoMessage() {} func (x *Address) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[20] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1193,7 +1181,7 @@ func (x *Address) ProtoReflect() protoreflect.Message { // Deprecated: Use Address.ProtoReflect.Descriptor instead. func (*Address) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{19} + return file_api_api_proto_rawDescGZIP(), []int{20} } func (x *Address) GetHost() []byte { @@ -1211,18 +1199,16 @@ func (x *Address) GetPort() int32 { } type EmptyMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EmptyMessage) Reset() { *x = EmptyMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EmptyMessage) String() string { @@ -1232,8 +1218,8 @@ func (x *EmptyMessage) String() string { func (*EmptyMessage) ProtoMessage() {} func (x *EmptyMessage) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[21] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1245,24 +1231,21 @@ func (x *EmptyMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use EmptyMessage.ProtoReflect.Descriptor instead. func (*EmptyMessage) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{20} + return file_api_api_proto_rawDescGZIP(), []int{21} } type NumberMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Num int64 `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"` unknownFields protoimpl.UnknownFields - - Num int64 `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"` + sizeCache protoimpl.SizeCache } func (x *NumberMessage) Reset() { *x = NumberMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NumberMessage) String() string { @@ -1272,8 +1255,8 @@ func (x *NumberMessage) String() string { func (*NumberMessage) ProtoMessage() {} func (x *NumberMessage) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[22] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1285,7 +1268,7 @@ func (x *NumberMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use NumberMessage.ProtoReflect.Descriptor instead. func (*NumberMessage) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{21} + return file_api_api_proto_rawDescGZIP(), []int{22} } func (x *NumberMessage) GetNum() int64 { @@ -1296,20 +1279,17 @@ func (x *NumberMessage) GetNum() int64 { } type BytesMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` unknownFields protoimpl.UnknownFields - - Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + sizeCache protoimpl.SizeCache } func (x *BytesMessage) Reset() { *x = BytesMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BytesMessage) String() string { @@ -1319,8 +1299,8 @@ func (x *BytesMessage) String() string { func (*BytesMessage) ProtoMessage() {} func (x *BytesMessage) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[23] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1332,7 +1312,7 @@ func (x *BytesMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use BytesMessage.ProtoReflect.Descriptor instead. func (*BytesMessage) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{22} + return file_api_api_proto_rawDescGZIP(), []int{23} } func (x *BytesMessage) GetValue() []byte { @@ -1343,21 +1323,18 @@ func (x *BytesMessage) GetValue() []byte { } type TimeMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - BeginInMilliseconds int64 `protobuf:"varint,1,opt,name=beginInMilliseconds,proto3" json:"beginInMilliseconds,omitempty"` - EndInMilliseconds int64 `protobuf:"varint,2,opt,name=endInMilliseconds,proto3" json:"endInMilliseconds,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + BeginInMilliseconds int64 `protobuf:"varint,1,opt,name=beginInMilliseconds,proto3" json:"beginInMilliseconds,omitempty"` + EndInMilliseconds int64 `protobuf:"varint,2,opt,name=endInMilliseconds,proto3" json:"endInMilliseconds,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TimeMessage) Reset() { *x = TimeMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimeMessage) String() string { @@ -1367,8 +1344,8 @@ func (x *TimeMessage) String() string { func (*TimeMessage) ProtoMessage() {} func (x *TimeMessage) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[24] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1380,7 +1357,7 @@ func (x *TimeMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use TimeMessage.ProtoReflect.Descriptor instead. func (*TimeMessage) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{23} + return file_api_api_proto_rawDescGZIP(), []int{24} } func (x *TimeMessage) GetBeginInMilliseconds() int64 { @@ -1398,21 +1375,18 @@ func (x *TimeMessage) GetEndInMilliseconds() int64 { } type BlockReq struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + IdOrNum string `protobuf:"bytes,1,opt,name=id_or_num,json=idOrNum,proto3" json:"id_or_num,omitempty"` + Detail bool `protobuf:"varint,2,opt,name=detail,proto3" json:"detail,omitempty"` unknownFields protoimpl.UnknownFields - - IdOrNum string `protobuf:"bytes,1,opt,name=id_or_num,json=idOrNum,proto3" json:"id_or_num,omitempty"` - Detail bool `protobuf:"varint,2,opt,name=detail,proto3" json:"detail,omitempty"` + sizeCache protoimpl.SizeCache } func (x *BlockReq) Reset() { *x = BlockReq{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BlockReq) String() string { @@ -1422,8 +1396,8 @@ func (x *BlockReq) String() string { func (*BlockReq) ProtoMessage() {} func (x *BlockReq) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[25] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1435,7 +1409,7 @@ func (x *BlockReq) ProtoReflect() protoreflect.Message { // Deprecated: Use BlockReq.ProtoReflect.Descriptor instead. func (*BlockReq) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{24} + return file_api_api_proto_rawDescGZIP(), []int{25} } func (x *BlockReq) GetIdOrNum() string { @@ -1453,21 +1427,18 @@ func (x *BlockReq) GetDetail() bool { } type BlockLimit struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + StartNum int64 `protobuf:"varint,1,opt,name=startNum,proto3" json:"startNum,omitempty"` + EndNum int64 `protobuf:"varint,2,opt,name=endNum,proto3" json:"endNum,omitempty"` unknownFields protoimpl.UnknownFields - - StartNum int64 `protobuf:"varint,1,opt,name=startNum,proto3" json:"startNum,omitempty"` - EndNum int64 `protobuf:"varint,2,opt,name=endNum,proto3" json:"endNum,omitempty"` + sizeCache protoimpl.SizeCache } func (x *BlockLimit) Reset() { *x = BlockLimit{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BlockLimit) String() string { @@ -1477,8 +1448,8 @@ func (x *BlockLimit) String() string { func (*BlockLimit) ProtoMessage() {} func (x *BlockLimit) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[26] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1490,7 +1461,7 @@ func (x *BlockLimit) ProtoReflect() protoreflect.Message { // Deprecated: Use BlockLimit.ProtoReflect.Descriptor instead. func (*BlockLimit) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{25} + return file_api_api_proto_rawDescGZIP(), []int{26} } func (x *BlockLimit) GetStartNum() int64 { @@ -1508,21 +1479,18 @@ func (x *BlockLimit) GetEndNum() int64 { } type TransactionLimit struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TransactionId []byte `protobuf:"bytes,1,opt,name=transactionId,proto3" json:"transactionId,omitempty"` + LimitNum int64 `protobuf:"varint,2,opt,name=limitNum,proto3" json:"limitNum,omitempty"` unknownFields protoimpl.UnknownFields - - TransactionId []byte `protobuf:"bytes,1,opt,name=transactionId,proto3" json:"transactionId,omitempty"` - LimitNum int64 `protobuf:"varint,2,opt,name=limitNum,proto3" json:"limitNum,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TransactionLimit) Reset() { *x = TransactionLimit{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransactionLimit) String() string { @@ -1532,8 +1500,8 @@ func (x *TransactionLimit) String() string { func (*TransactionLimit) ProtoMessage() {} func (x *TransactionLimit) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[27] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1545,7 +1513,7 @@ func (x *TransactionLimit) ProtoReflect() protoreflect.Message { // Deprecated: Use TransactionLimit.ProtoReflect.Descriptor instead. func (*TransactionLimit) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{26} + return file_api_api_proto_rawDescGZIP(), []int{27} } func (x *TransactionLimit) GetTransactionId() []byte { @@ -1563,22 +1531,19 @@ func (x *TransactionLimit) GetLimitNum() int64 { } type AccountPaginated struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Account *core.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` + Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` + Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` unknownFields protoimpl.UnknownFields - - Account *core.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` - Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` - Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AccountPaginated) Reset() { *x = AccountPaginated{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AccountPaginated) String() string { @@ -1588,8 +1553,8 @@ func (x *AccountPaginated) String() string { func (*AccountPaginated) ProtoMessage() {} func (x *AccountPaginated) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[28] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1601,7 +1566,7 @@ func (x *AccountPaginated) ProtoReflect() protoreflect.Message { // Deprecated: Use AccountPaginated.ProtoReflect.Descriptor instead. func (*AccountPaginated) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{27} + return file_api_api_proto_rawDescGZIP(), []int{28} } func (x *AccountPaginated) GetAccount() *core.Account { @@ -1626,22 +1591,19 @@ func (x *AccountPaginated) GetLimit() int64 { } type TimePaginatedMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TimeMessage *TimeMessage `protobuf:"bytes,1,opt,name=timeMessage,proto3" json:"timeMessage,omitempty"` + Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` + Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` unknownFields protoimpl.UnknownFields - - TimeMessage *TimeMessage `protobuf:"bytes,1,opt,name=timeMessage,proto3" json:"timeMessage,omitempty"` - Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` - Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TimePaginatedMessage) Reset() { *x = TimePaginatedMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TimePaginatedMessage) String() string { @@ -1651,8 +1613,8 @@ func (x *TimePaginatedMessage) String() string { func (*TimePaginatedMessage) ProtoMessage() {} func (x *TimePaginatedMessage) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[29] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1664,7 +1626,7 @@ func (x *TimePaginatedMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use TimePaginatedMessage.ProtoReflect.Descriptor instead. func (*TimePaginatedMessage) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{28} + return file_api_api_proto_rawDescGZIP(), []int{29} } func (x *TimePaginatedMessage) GetTimeMessage() *TimeMessage { @@ -1688,29 +1650,26 @@ func (x *TimePaginatedMessage) GetLimit() int64 { return 0 } -//deprecated +// deprecated type AccountNetMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FreeNetUsed int64 `protobuf:"varint,1,opt,name=freeNetUsed,proto3" json:"freeNetUsed,omitempty"` - FreeNetLimit int64 `protobuf:"varint,2,opt,name=freeNetLimit,proto3" json:"freeNetLimit,omitempty"` - NetUsed int64 `protobuf:"varint,3,opt,name=NetUsed,proto3" json:"NetUsed,omitempty"` - NetLimit int64 `protobuf:"varint,4,opt,name=NetLimit,proto3" json:"NetLimit,omitempty"` - AssetNetUsed map[string]int64 `protobuf:"bytes,5,rep,name=assetNetUsed,proto3" json:"assetNetUsed,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - AssetNetLimit map[string]int64 `protobuf:"bytes,6,rep,name=assetNetLimit,proto3" json:"assetNetLimit,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - TotalNetLimit int64 `protobuf:"varint,7,opt,name=TotalNetLimit,proto3" json:"TotalNetLimit,omitempty"` - TotalNetWeight int64 `protobuf:"varint,8,opt,name=TotalNetWeight,proto3" json:"TotalNetWeight,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + FreeNetUsed int64 `protobuf:"varint,1,opt,name=freeNetUsed,proto3" json:"freeNetUsed,omitempty"` + FreeNetLimit int64 `protobuf:"varint,2,opt,name=freeNetLimit,proto3" json:"freeNetLimit,omitempty"` + NetUsed int64 `protobuf:"varint,3,opt,name=NetUsed,proto3" json:"NetUsed,omitempty"` + NetLimit int64 `protobuf:"varint,4,opt,name=NetLimit,proto3" json:"NetLimit,omitempty"` + AssetNetUsed map[string]int64 `protobuf:"bytes,5,rep,name=assetNetUsed,proto3" json:"assetNetUsed,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + AssetNetLimit map[string]int64 `protobuf:"bytes,6,rep,name=assetNetLimit,proto3" json:"assetNetLimit,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + TotalNetLimit int64 `protobuf:"varint,7,opt,name=TotalNetLimit,proto3" json:"TotalNetLimit,omitempty"` + TotalNetWeight int64 `protobuf:"varint,8,opt,name=TotalNetWeight,proto3" json:"TotalNetWeight,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AccountNetMessage) Reset() { *x = AccountNetMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AccountNetMessage) String() string { @@ -1720,8 +1679,8 @@ func (x *AccountNetMessage) String() string { func (*AccountNetMessage) ProtoMessage() {} func (x *AccountNetMessage) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[30] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1733,7 +1692,7 @@ func (x *AccountNetMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use AccountNetMessage.ProtoReflect.Descriptor instead. func (*AccountNetMessage) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{29} + return file_api_api_proto_rawDescGZIP(), []int{30} } func (x *AccountNetMessage) GetFreeNetUsed() int64 { @@ -1793,36 +1752,33 @@ func (x *AccountNetMessage) GetTotalNetWeight() int64 { } type AccountResourceMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - FreeNetUsed int64 `protobuf:"varint,1,opt,name=freeNetUsed,proto3" json:"freeNetUsed,omitempty"` - FreeNetLimit int64 `protobuf:"varint,2,opt,name=freeNetLimit,proto3" json:"freeNetLimit,omitempty"` - NetUsed int64 `protobuf:"varint,3,opt,name=NetUsed,proto3" json:"NetUsed,omitempty"` - NetLimit int64 `protobuf:"varint,4,opt,name=NetLimit,proto3" json:"NetLimit,omitempty"` - AssetNetUsed map[string]int64 `protobuf:"bytes,5,rep,name=assetNetUsed,proto3" json:"assetNetUsed,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - AssetNetLimit map[string]int64 `protobuf:"bytes,6,rep,name=assetNetLimit,proto3" json:"assetNetLimit,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - TotalNetLimit int64 `protobuf:"varint,7,opt,name=TotalNetLimit,proto3" json:"TotalNetLimit,omitempty"` - TotalNetWeight int64 `protobuf:"varint,8,opt,name=TotalNetWeight,proto3" json:"TotalNetWeight,omitempty"` - TotalTronPowerWeight int64 `protobuf:"varint,9,opt,name=TotalTronPowerWeight,proto3" json:"TotalTronPowerWeight,omitempty"` - TronPowerUsed int64 `protobuf:"varint,10,opt,name=tronPowerUsed,proto3" json:"tronPowerUsed,omitempty"` - TronPowerLimit int64 `protobuf:"varint,11,opt,name=tronPowerLimit,proto3" json:"tronPowerLimit,omitempty"` - EnergyUsed int64 `protobuf:"varint,13,opt,name=EnergyUsed,proto3" json:"EnergyUsed,omitempty"` - EnergyLimit int64 `protobuf:"varint,14,opt,name=EnergyLimit,proto3" json:"EnergyLimit,omitempty"` - TotalEnergyLimit int64 `protobuf:"varint,15,opt,name=TotalEnergyLimit,proto3" json:"TotalEnergyLimit,omitempty"` - TotalEnergyWeight int64 `protobuf:"varint,16,opt,name=TotalEnergyWeight,proto3" json:"TotalEnergyWeight,omitempty"` - StorageUsed int64 `protobuf:"varint,21,opt,name=storageUsed,proto3" json:"storageUsed,omitempty"` - StorageLimit int64 `protobuf:"varint,22,opt,name=storageLimit,proto3" json:"storageLimit,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + FreeNetUsed int64 `protobuf:"varint,1,opt,name=freeNetUsed,proto3" json:"freeNetUsed,omitempty"` + FreeNetLimit int64 `protobuf:"varint,2,opt,name=freeNetLimit,proto3" json:"freeNetLimit,omitempty"` + NetUsed int64 `protobuf:"varint,3,opt,name=NetUsed,proto3" json:"NetUsed,omitempty"` + NetLimit int64 `protobuf:"varint,4,opt,name=NetLimit,proto3" json:"NetLimit,omitempty"` + AssetNetUsed map[string]int64 `protobuf:"bytes,5,rep,name=assetNetUsed,proto3" json:"assetNetUsed,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + AssetNetLimit map[string]int64 `protobuf:"bytes,6,rep,name=assetNetLimit,proto3" json:"assetNetLimit,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + TotalNetLimit int64 `protobuf:"varint,7,opt,name=TotalNetLimit,proto3" json:"TotalNetLimit,omitempty"` + TotalNetWeight int64 `protobuf:"varint,8,opt,name=TotalNetWeight,proto3" json:"TotalNetWeight,omitempty"` + TotalTronPowerWeight int64 `protobuf:"varint,9,opt,name=TotalTronPowerWeight,proto3" json:"TotalTronPowerWeight,omitempty"` + TronPowerUsed int64 `protobuf:"varint,10,opt,name=tronPowerUsed,proto3" json:"tronPowerUsed,omitempty"` + TronPowerLimit int64 `protobuf:"varint,11,opt,name=tronPowerLimit,proto3" json:"tronPowerLimit,omitempty"` + EnergyUsed int64 `protobuf:"varint,13,opt,name=EnergyUsed,proto3" json:"EnergyUsed,omitempty"` + EnergyLimit int64 `protobuf:"varint,14,opt,name=EnergyLimit,proto3" json:"EnergyLimit,omitempty"` + TotalEnergyLimit int64 `protobuf:"varint,15,opt,name=TotalEnergyLimit,proto3" json:"TotalEnergyLimit,omitempty"` + TotalEnergyWeight int64 `protobuf:"varint,16,opt,name=TotalEnergyWeight,proto3" json:"TotalEnergyWeight,omitempty"` + StorageUsed int64 `protobuf:"varint,21,opt,name=storageUsed,proto3" json:"storageUsed,omitempty"` + StorageLimit int64 `protobuf:"varint,22,opt,name=storageLimit,proto3" json:"storageLimit,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AccountResourceMessage) Reset() { *x = AccountResourceMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AccountResourceMessage) String() string { @@ -1832,8 +1788,8 @@ func (x *AccountResourceMessage) String() string { func (*AccountResourceMessage) ProtoMessage() {} func (x *AccountResourceMessage) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[31] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1845,7 +1801,7 @@ func (x *AccountResourceMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use AccountResourceMessage.ProtoReflect.Descriptor instead. func (*AccountResourceMessage) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{30} + return file_api_api_proto_rawDescGZIP(), []int{31} } func (x *AccountResourceMessage) GetFreeNetUsed() int64 { @@ -1968,21 +1924,18 @@ func (x *AccountResourceMessage) GetStorageLimit() int64 { } type PaginatedMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` + Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` unknownFields protoimpl.UnknownFields - - Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` - Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PaginatedMessage) Reset() { *x = PaginatedMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PaginatedMessage) String() string { @@ -1992,8 +1945,8 @@ func (x *PaginatedMessage) String() string { func (*PaginatedMessage) ProtoMessage() {} func (x *PaginatedMessage) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[32] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2005,7 +1958,7 @@ func (x *PaginatedMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use PaginatedMessage.ProtoReflect.Descriptor instead. func (*PaginatedMessage) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{31} + return file_api_api_proto_rawDescGZIP(), []int{32} } func (x *PaginatedMessage) GetOffset() int64 { @@ -2023,10 +1976,7 @@ func (x *PaginatedMessage) GetLimit() int64 { } type TransactionExtention struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Transaction *core.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` Txid []byte `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"` //transaction id = sha256(transaction.rowdata) ConstantResult [][]byte `protobuf:"bytes,3,rep,name=constant_result,json=constantResult,proto3" json:"constant_result,omitempty"` @@ -2035,15 +1985,15 @@ type TransactionExtention struct { Logs []*core.TransactionInfo_Log `protobuf:"bytes,6,rep,name=logs,proto3" json:"logs,omitempty"` InternalTransactions []*core.InternalTransaction `protobuf:"bytes,7,rep,name=internal_transactions,json=internalTransactions,proto3" json:"internal_transactions,omitempty"` EnergyPenalty int64 `protobuf:"varint,8,opt,name=energy_penalty,json=energyPenalty,proto3" json:"energy_penalty,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TransactionExtention) Reset() { *x = TransactionExtention{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransactionExtention) String() string { @@ -2053,8 +2003,8 @@ func (x *TransactionExtention) String() string { func (*TransactionExtention) ProtoMessage() {} func (x *TransactionExtention) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[33] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2066,7 +2016,7 @@ func (x *TransactionExtention) ProtoReflect() protoreflect.Message { // Deprecated: Use TransactionExtention.ProtoReflect.Descriptor instead. func (*TransactionExtention) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{32} + return file_api_api_proto_rawDescGZIP(), []int{33} } func (x *TransactionExtention) GetTransaction() *core.Transaction { @@ -2126,21 +2076,18 @@ func (x *TransactionExtention) GetEnergyPenalty() int64 { } type EstimateEnergyMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Result *Return `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` - EnergyRequired int64 `protobuf:"varint,2,opt,name=energy_required,json=energyRequired,proto3" json:"energy_required,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Result *Return `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` + EnergyRequired int64 `protobuf:"varint,2,opt,name=energy_required,json=energyRequired,proto3" json:"energy_required,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EstimateEnergyMessage) Reset() { *x = EstimateEnergyMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EstimateEnergyMessage) String() string { @@ -2150,8 +2097,8 @@ func (x *EstimateEnergyMessage) String() string { func (*EstimateEnergyMessage) ProtoMessage() {} func (x *EstimateEnergyMessage) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[34] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2163,7 +2110,7 @@ func (x *EstimateEnergyMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use EstimateEnergyMessage.ProtoReflect.Descriptor instead. func (*EstimateEnergyMessage) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{33} + return file_api_api_proto_rawDescGZIP(), []int{34} } func (x *EstimateEnergyMessage) GetResult() *Return { @@ -2181,22 +2128,19 @@ func (x *EstimateEnergyMessage) GetEnergyRequired() int64 { } type BlockExtention struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Transactions []*TransactionExtention `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` + BlockHeader *core.BlockHeader `protobuf:"bytes,2,opt,name=block_header,json=blockHeader,proto3" json:"block_header,omitempty"` + Blockid []byte `protobuf:"bytes,3,opt,name=blockid,proto3" json:"blockid,omitempty"` unknownFields protoimpl.UnknownFields - - Transactions []*TransactionExtention `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` - BlockHeader *core.BlockHeader `protobuf:"bytes,2,opt,name=block_header,json=blockHeader,proto3" json:"block_header,omitempty"` - Blockid []byte `protobuf:"bytes,3,opt,name=blockid,proto3" json:"blockid,omitempty"` + sizeCache protoimpl.SizeCache } func (x *BlockExtention) Reset() { *x = BlockExtention{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BlockExtention) String() string { @@ -2206,8 +2150,8 @@ func (x *BlockExtention) String() string { func (*BlockExtention) ProtoMessage() {} func (x *BlockExtention) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[35] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2219,7 +2163,7 @@ func (x *BlockExtention) ProtoReflect() protoreflect.Message { // Deprecated: Use BlockExtention.ProtoReflect.Descriptor instead. func (*BlockExtention) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{34} + return file_api_api_proto_rawDescGZIP(), []int{35} } func (x *BlockExtention) GetTransactions() []*TransactionExtention { @@ -2244,20 +2188,17 @@ func (x *BlockExtention) GetBlockid() []byte { } type BlockListExtention struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Block []*BlockExtention `protobuf:"bytes,1,rep,name=block,proto3" json:"block,omitempty"` unknownFields protoimpl.UnknownFields - - Block []*BlockExtention `protobuf:"bytes,1,rep,name=block,proto3" json:"block,omitempty"` + sizeCache protoimpl.SizeCache } func (x *BlockListExtention) Reset() { *x = BlockListExtention{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BlockListExtention) String() string { @@ -2267,8 +2208,8 @@ func (x *BlockListExtention) String() string { func (*BlockListExtention) ProtoMessage() {} func (x *BlockListExtention) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[36] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2280,7 +2221,7 @@ func (x *BlockListExtention) ProtoReflect() protoreflect.Message { // Deprecated: Use BlockListExtention.ProtoReflect.Descriptor instead. func (*BlockListExtention) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{35} + return file_api_api_proto_rawDescGZIP(), []int{36} } func (x *BlockListExtention) GetBlock() []*BlockExtention { @@ -2291,20 +2232,17 @@ func (x *BlockListExtention) GetBlock() []*BlockExtention { } type TransactionListExtention struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Transaction []*TransactionExtention `protobuf:"bytes,1,rep,name=transaction,proto3" json:"transaction,omitempty"` unknownFields protoimpl.UnknownFields - - Transaction []*TransactionExtention `protobuf:"bytes,1,rep,name=transaction,proto3" json:"transaction,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TransactionListExtention) Reset() { *x = TransactionListExtention{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransactionListExtention) String() string { @@ -2314,8 +2252,8 @@ func (x *TransactionListExtention) String() string { func (*TransactionListExtention) ProtoMessage() {} func (x *TransactionListExtention) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[37] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2327,7 +2265,7 @@ func (x *TransactionListExtention) ProtoReflect() protoreflect.Message { // Deprecated: Use TransactionListExtention.ProtoReflect.Descriptor instead. func (*TransactionListExtention) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{36} + return file_api_api_proto_rawDescGZIP(), []int{37} } func (x *TransactionListExtention) GetTransaction() []*TransactionExtention { @@ -2338,21 +2276,18 @@ func (x *TransactionListExtention) GetTransaction() []*TransactionExtention { } type BlockIncrementalMerkleTree struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Number int64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` + MerkleTree *core.IncrementalMerkleTree `protobuf:"bytes,2,opt,name=merkleTree,proto3" json:"merkleTree,omitempty"` unknownFields protoimpl.UnknownFields - - Number int64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` - MerkleTree *core.IncrementalMerkleTree `protobuf:"bytes,2,opt,name=merkleTree,proto3" json:"merkleTree,omitempty"` + sizeCache protoimpl.SizeCache } func (x *BlockIncrementalMerkleTree) Reset() { *x = BlockIncrementalMerkleTree{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BlockIncrementalMerkleTree) String() string { @@ -2362,8 +2297,8 @@ func (x *BlockIncrementalMerkleTree) String() string { func (*BlockIncrementalMerkleTree) ProtoMessage() {} func (x *BlockIncrementalMerkleTree) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[38] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2375,7 +2310,7 @@ func (x *BlockIncrementalMerkleTree) ProtoReflect() protoreflect.Message { // Deprecated: Use BlockIncrementalMerkleTree.ProtoReflect.Descriptor instead. func (*BlockIncrementalMerkleTree) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{37} + return file_api_api_proto_rawDescGZIP(), []int{38} } func (x *BlockIncrementalMerkleTree) GetNumber() int64 { @@ -2393,24 +2328,21 @@ func (x *BlockIncrementalMerkleTree) GetMerkleTree() *core.IncrementalMerkleTree } type TransactionSignWeight struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Permission *core.Permission `protobuf:"bytes,1,opt,name=permission,proto3" json:"permission,omitempty"` ApprovedList [][]byte `protobuf:"bytes,2,rep,name=approved_list,json=approvedList,proto3" json:"approved_list,omitempty"` CurrentWeight int64 `protobuf:"varint,3,opt,name=current_weight,json=currentWeight,proto3" json:"current_weight,omitempty"` Result *TransactionSignWeight_Result `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` Transaction *TransactionExtention `protobuf:"bytes,5,opt,name=transaction,proto3" json:"transaction,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TransactionSignWeight) Reset() { *x = TransactionSignWeight{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransactionSignWeight) String() string { @@ -2420,8 +2352,8 @@ func (x *TransactionSignWeight) String() string { func (*TransactionSignWeight) ProtoMessage() {} func (x *TransactionSignWeight) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[39] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2433,7 +2365,7 @@ func (x *TransactionSignWeight) ProtoReflect() protoreflect.Message { // Deprecated: Use TransactionSignWeight.ProtoReflect.Descriptor instead. func (*TransactionSignWeight) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{38} + return file_api_api_proto_rawDescGZIP(), []int{39} } func (x *TransactionSignWeight) GetPermission() *core.Permission { @@ -2472,22 +2404,19 @@ func (x *TransactionSignWeight) GetTransaction() *TransactionExtention { } type TransactionApprovedList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ApprovedList [][]byte `protobuf:"bytes,2,rep,name=approved_list,json=approvedList,proto3" json:"approved_list,omitempty"` + Result *TransactionApprovedList_Result `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` + Transaction *TransactionExtention `protobuf:"bytes,5,opt,name=transaction,proto3" json:"transaction,omitempty"` unknownFields protoimpl.UnknownFields - - ApprovedList [][]byte `protobuf:"bytes,2,rep,name=approved_list,json=approvedList,proto3" json:"approved_list,omitempty"` - Result *TransactionApprovedList_Result `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` - Transaction *TransactionExtention `protobuf:"bytes,5,opt,name=transaction,proto3" json:"transaction,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TransactionApprovedList) Reset() { *x = TransactionApprovedList{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransactionApprovedList) String() string { @@ -2497,8 +2426,8 @@ func (x *TransactionApprovedList) String() string { func (*TransactionApprovedList) ProtoMessage() {} func (x *TransactionApprovedList) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[40] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2510,7 +2439,7 @@ func (x *TransactionApprovedList) ProtoReflect() protoreflect.Message { // Deprecated: Use TransactionApprovedList.ProtoReflect.Descriptor instead. func (*TransactionApprovedList) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{39} + return file_api_api_proto_rawDescGZIP(), []int{40} } func (x *TransactionApprovedList) GetApprovedList() [][]byte { @@ -2535,22 +2464,19 @@ func (x *TransactionApprovedList) GetTransaction() *TransactionExtention { } type IvkDecryptParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` - EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` - Ivk []byte `protobuf:"bytes,3,opt,name=ivk,proto3" json:"ivk,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` + EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` + Ivk []byte `protobuf:"bytes,3,opt,name=ivk,proto3" json:"ivk,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *IvkDecryptParameters) Reset() { *x = IvkDecryptParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IvkDecryptParameters) String() string { @@ -2560,8 +2486,8 @@ func (x *IvkDecryptParameters) String() string { func (*IvkDecryptParameters) ProtoMessage() {} func (x *IvkDecryptParameters) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[40] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[41] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2573,7 +2499,7 @@ func (x *IvkDecryptParameters) ProtoReflect() protoreflect.Message { // Deprecated: Use IvkDecryptParameters.ProtoReflect.Descriptor instead. func (*IvkDecryptParameters) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{40} + return file_api_api_proto_rawDescGZIP(), []int{41} } func (x *IvkDecryptParameters) GetStartBlockIndex() int64 { @@ -2598,24 +2524,21 @@ func (x *IvkDecryptParameters) GetIvk() []byte { } type IvkDecryptAndMarkParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` - EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` - Ivk []byte `protobuf:"bytes,5,opt,name=ivk,proto3" json:"ivk,omitempty"` - Ak []byte `protobuf:"bytes,3,opt,name=ak,proto3" json:"ak,omitempty"` - Nk []byte `protobuf:"bytes,4,opt,name=nk,proto3" json:"nk,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` + EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` + Ivk []byte `protobuf:"bytes,5,opt,name=ivk,proto3" json:"ivk,omitempty"` + Ak []byte `protobuf:"bytes,3,opt,name=ak,proto3" json:"ak,omitempty"` + Nk []byte `protobuf:"bytes,4,opt,name=nk,proto3" json:"nk,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *IvkDecryptAndMarkParameters) Reset() { *x = IvkDecryptAndMarkParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IvkDecryptAndMarkParameters) String() string { @@ -2625,8 +2548,8 @@ func (x *IvkDecryptAndMarkParameters) String() string { func (*IvkDecryptAndMarkParameters) ProtoMessage() {} func (x *IvkDecryptAndMarkParameters) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[41] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[42] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2638,7 +2561,7 @@ func (x *IvkDecryptAndMarkParameters) ProtoReflect() protoreflect.Message { // Deprecated: Use IvkDecryptAndMarkParameters.ProtoReflect.Descriptor instead. func (*IvkDecryptAndMarkParameters) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{41} + return file_api_api_proto_rawDescGZIP(), []int{42} } func (x *IvkDecryptAndMarkParameters) GetStartBlockIndex() int64 { @@ -2677,22 +2600,19 @@ func (x *IvkDecryptAndMarkParameters) GetNk() []byte { } type OvkDecryptParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` - EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` - Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` + EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` + Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *OvkDecryptParameters) Reset() { *x = OvkDecryptParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OvkDecryptParameters) String() string { @@ -2702,8 +2622,8 @@ func (x *OvkDecryptParameters) String() string { func (*OvkDecryptParameters) ProtoMessage() {} func (x *OvkDecryptParameters) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[42] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[43] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2715,7 +2635,7 @@ func (x *OvkDecryptParameters) ProtoReflect() protoreflect.Message { // Deprecated: Use OvkDecryptParameters.ProtoReflect.Descriptor instead. func (*OvkDecryptParameters) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{42} + return file_api_api_proto_rawDescGZIP(), []int{43} } func (x *OvkDecryptParameters) GetStartBlockIndex() int64 { @@ -2740,20 +2660,17 @@ func (x *OvkDecryptParameters) GetOvk() []byte { } type DecryptNotes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + NoteTxs []*DecryptNotes_NoteTx `protobuf:"bytes,1,rep,name=noteTxs,proto3" json:"noteTxs,omitempty"` unknownFields protoimpl.UnknownFields - - NoteTxs []*DecryptNotes_NoteTx `protobuf:"bytes,1,rep,name=noteTxs,proto3" json:"noteTxs,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DecryptNotes) Reset() { *x = DecryptNotes{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DecryptNotes) String() string { @@ -2763,8 +2680,8 @@ func (x *DecryptNotes) String() string { func (*DecryptNotes) ProtoMessage() {} func (x *DecryptNotes) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[43] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[44] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2776,7 +2693,7 @@ func (x *DecryptNotes) ProtoReflect() protoreflect.Message { // Deprecated: Use DecryptNotes.ProtoReflect.Descriptor instead. func (*DecryptNotes) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{43} + return file_api_api_proto_rawDescGZIP(), []int{44} } func (x *DecryptNotes) GetNoteTxs() []*DecryptNotes_NoteTx { @@ -2787,20 +2704,17 @@ func (x *DecryptNotes) GetNoteTxs() []*DecryptNotes_NoteTx { } type DecryptNotesMarked struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + NoteTxs []*DecryptNotesMarked_NoteTx `protobuf:"bytes,1,rep,name=noteTxs,proto3" json:"noteTxs,omitempty"` unknownFields protoimpl.UnknownFields - - NoteTxs []*DecryptNotesMarked_NoteTx `protobuf:"bytes,1,rep,name=noteTxs,proto3" json:"noteTxs,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DecryptNotesMarked) Reset() { *x = DecryptNotesMarked{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DecryptNotesMarked) String() string { @@ -2810,8 +2724,8 @@ func (x *DecryptNotesMarked) String() string { func (*DecryptNotesMarked) ProtoMessage() {} func (x *DecryptNotesMarked) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[44] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[45] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2823,7 +2737,7 @@ func (x *DecryptNotesMarked) ProtoReflect() protoreflect.Message { // Deprecated: Use DecryptNotesMarked.ProtoReflect.Descriptor instead. func (*DecryptNotesMarked) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{44} + return file_api_api_proto_rawDescGZIP(), []int{45} } func (x *DecryptNotesMarked) GetNoteTxs() []*DecryptNotesMarked_NoteTx { @@ -2834,23 +2748,20 @@ func (x *DecryptNotesMarked) GetNoteTxs() []*DecryptNotesMarked_NoteTx { } type Note struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` - PaymentAddress string `protobuf:"bytes,2,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"` - Rcm []byte `protobuf:"bytes,3,opt,name=rcm,proto3" json:"rcm,omitempty"` // random 32 - Memo []byte `protobuf:"bytes,4,opt,name=memo,proto3" json:"memo,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` + PaymentAddress string `protobuf:"bytes,2,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"` + Rcm []byte `protobuf:"bytes,3,opt,name=rcm,proto3" json:"rcm,omitempty"` // random 32 + Memo []byte `protobuf:"bytes,4,opt,name=memo,proto3" json:"memo,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Note) Reset() { *x = Note{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Note) String() string { @@ -2860,8 +2771,8 @@ func (x *Note) String() string { func (*Note) ProtoMessage() {} func (x *Note) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[45] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[46] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2873,7 +2784,7 @@ func (x *Note) ProtoReflect() protoreflect.Message { // Deprecated: Use Note.ProtoReflect.Descriptor instead. func (*Note) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{45} + return file_api_api_proto_rawDescGZIP(), []int{46} } func (x *Note) GetValue() int64 { @@ -2905,23 +2816,20 @@ func (x *Note) GetMemo() []byte { } type SpendNote struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Note *Note `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"` + Alpha []byte `protobuf:"bytes,4,opt,name=alpha,proto3" json:"alpha,omitempty"` // random number for spend authority signature + Voucher *core.IncrementalMerkleVoucher `protobuf:"bytes,5,opt,name=voucher,proto3" json:"voucher,omitempty"` + Path []byte `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"` // path for cm from leaf to root in merkle tree unknownFields protoimpl.UnknownFields - - Note *Note `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"` - Alpha []byte `protobuf:"bytes,4,opt,name=alpha,proto3" json:"alpha,omitempty"` // random number for spend authority signature - Voucher *core.IncrementalMerkleVoucher `protobuf:"bytes,5,opt,name=voucher,proto3" json:"voucher,omitempty"` - Path []byte `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"` // path for cm from leaf to root in merkle tree + sizeCache protoimpl.SizeCache } func (x *SpendNote) Reset() { *x = SpendNote{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[46] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SpendNote) String() string { @@ -2931,8 +2839,8 @@ func (x *SpendNote) String() string { func (*SpendNote) ProtoMessage() {} func (x *SpendNote) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[46] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[47] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2944,7 +2852,7 @@ func (x *SpendNote) ProtoReflect() protoreflect.Message { // Deprecated: Use SpendNote.ProtoReflect.Descriptor instead. func (*SpendNote) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{46} + return file_api_api_proto_rawDescGZIP(), []int{47} } func (x *SpendNote) GetNote() *Note { @@ -2976,20 +2884,17 @@ func (x *SpendNote) GetPath() []byte { } type ReceiveNote struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` unknownFields protoimpl.UnknownFields - - Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ReceiveNote) Reset() { *x = ReceiveNote{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[47] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReceiveNote) String() string { @@ -2999,8 +2904,8 @@ func (x *ReceiveNote) String() string { func (*ReceiveNote) ProtoMessage() {} func (x *ReceiveNote) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[47] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[48] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3012,7 +2917,7 @@ func (x *ReceiveNote) ProtoReflect() protoreflect.Message { // Deprecated: Use ReceiveNote.ProtoReflect.Descriptor instead. func (*ReceiveNote) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{47} + return file_api_api_proto_rawDescGZIP(), []int{48} } func (x *ReceiveNote) GetNote() *Note { @@ -3023,29 +2928,26 @@ func (x *ReceiveNote) GetNote() *Note { } type PrivateParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TransparentFromAddress []byte `protobuf:"bytes,1,opt,name=transparent_from_address,json=transparentFromAddress,proto3" json:"transparent_from_address,omitempty"` - Ask []byte `protobuf:"bytes,2,opt,name=ask,proto3" json:"ask,omitempty"` - Nsk []byte `protobuf:"bytes,3,opt,name=nsk,proto3" json:"nsk,omitempty"` - Ovk []byte `protobuf:"bytes,4,opt,name=ovk,proto3" json:"ovk,omitempty"` - FromAmount int64 `protobuf:"varint,5,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"` - ShieldedSpends []*SpendNote `protobuf:"bytes,6,rep,name=shielded_spends,json=shieldedSpends,proto3" json:"shielded_spends,omitempty"` - ShieldedReceives []*ReceiveNote `protobuf:"bytes,7,rep,name=shielded_receives,json=shieldedReceives,proto3" json:"shielded_receives,omitempty"` - TransparentToAddress []byte `protobuf:"bytes,8,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` - ToAmount int64 `protobuf:"varint,9,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` - Timeout int64 `protobuf:"varint,10,opt,name=timeout,proto3" json:"timeout,omitempty"` // timeout in seconds, it works only when it bigger than 0 + state protoimpl.MessageState `protogen:"open.v1"` + TransparentFromAddress []byte `protobuf:"bytes,1,opt,name=transparent_from_address,json=transparentFromAddress,proto3" json:"transparent_from_address,omitempty"` + Ask []byte `protobuf:"bytes,2,opt,name=ask,proto3" json:"ask,omitempty"` + Nsk []byte `protobuf:"bytes,3,opt,name=nsk,proto3" json:"nsk,omitempty"` + Ovk []byte `protobuf:"bytes,4,opt,name=ovk,proto3" json:"ovk,omitempty"` + FromAmount int64 `protobuf:"varint,5,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"` + ShieldedSpends []*SpendNote `protobuf:"bytes,6,rep,name=shielded_spends,json=shieldedSpends,proto3" json:"shielded_spends,omitempty"` + ShieldedReceives []*ReceiveNote `protobuf:"bytes,7,rep,name=shielded_receives,json=shieldedReceives,proto3" json:"shielded_receives,omitempty"` + TransparentToAddress []byte `protobuf:"bytes,8,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` + ToAmount int64 `protobuf:"varint,9,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` + Timeout int64 `protobuf:"varint,10,opt,name=timeout,proto3" json:"timeout,omitempty"` // timeout in seconds, it works only when it bigger than 0 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PrivateParameters) Reset() { *x = PrivateParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[48] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PrivateParameters) String() string { @@ -3055,8 +2957,8 @@ func (x *PrivateParameters) String() string { func (*PrivateParameters) ProtoMessage() {} func (x *PrivateParameters) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[48] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[49] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3068,7 +2970,7 @@ func (x *PrivateParameters) ProtoReflect() protoreflect.Message { // Deprecated: Use PrivateParameters.ProtoReflect.Descriptor instead. func (*PrivateParameters) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{48} + return file_api_api_proto_rawDescGZIP(), []int{49} } func (x *PrivateParameters) GetTransparentFromAddress() []byte { @@ -3142,29 +3044,26 @@ func (x *PrivateParameters) GetTimeout() int64 { } type PrivateParametersWithoutAsk struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TransparentFromAddress []byte `protobuf:"bytes,1,opt,name=transparent_from_address,json=transparentFromAddress,proto3" json:"transparent_from_address,omitempty"` - Ak []byte `protobuf:"bytes,2,opt,name=ak,proto3" json:"ak,omitempty"` - Nsk []byte `protobuf:"bytes,3,opt,name=nsk,proto3" json:"nsk,omitempty"` - Ovk []byte `protobuf:"bytes,4,opt,name=ovk,proto3" json:"ovk,omitempty"` - FromAmount int64 `protobuf:"varint,5,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"` - ShieldedSpends []*SpendNote `protobuf:"bytes,6,rep,name=shielded_spends,json=shieldedSpends,proto3" json:"shielded_spends,omitempty"` - ShieldedReceives []*ReceiveNote `protobuf:"bytes,7,rep,name=shielded_receives,json=shieldedReceives,proto3" json:"shielded_receives,omitempty"` - TransparentToAddress []byte `protobuf:"bytes,8,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` - ToAmount int64 `protobuf:"varint,9,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` - Timeout int64 `protobuf:"varint,10,opt,name=timeout,proto3" json:"timeout,omitempty"` // timeout in seconds, it works only when it bigger than 0 + state protoimpl.MessageState `protogen:"open.v1"` + TransparentFromAddress []byte `protobuf:"bytes,1,opt,name=transparent_from_address,json=transparentFromAddress,proto3" json:"transparent_from_address,omitempty"` + Ak []byte `protobuf:"bytes,2,opt,name=ak,proto3" json:"ak,omitempty"` + Nsk []byte `protobuf:"bytes,3,opt,name=nsk,proto3" json:"nsk,omitempty"` + Ovk []byte `protobuf:"bytes,4,opt,name=ovk,proto3" json:"ovk,omitempty"` + FromAmount int64 `protobuf:"varint,5,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"` + ShieldedSpends []*SpendNote `protobuf:"bytes,6,rep,name=shielded_spends,json=shieldedSpends,proto3" json:"shielded_spends,omitempty"` + ShieldedReceives []*ReceiveNote `protobuf:"bytes,7,rep,name=shielded_receives,json=shieldedReceives,proto3" json:"shielded_receives,omitempty"` + TransparentToAddress []byte `protobuf:"bytes,8,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` + ToAmount int64 `protobuf:"varint,9,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` + Timeout int64 `protobuf:"varint,10,opt,name=timeout,proto3" json:"timeout,omitempty"` // timeout in seconds, it works only when it bigger than 0 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PrivateParametersWithoutAsk) Reset() { *x = PrivateParametersWithoutAsk{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[49] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PrivateParametersWithoutAsk) String() string { @@ -3174,8 +3073,8 @@ func (x *PrivateParametersWithoutAsk) String() string { func (*PrivateParametersWithoutAsk) ProtoMessage() {} func (x *PrivateParametersWithoutAsk) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[49] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[50] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3187,7 +3086,7 @@ func (x *PrivateParametersWithoutAsk) ProtoReflect() protoreflect.Message { // Deprecated: Use PrivateParametersWithoutAsk.ProtoReflect.Descriptor instead. func (*PrivateParametersWithoutAsk) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{49} + return file_api_api_proto_rawDescGZIP(), []int{50} } func (x *PrivateParametersWithoutAsk) GetTransparentFromAddress() []byte { @@ -3261,22 +3160,19 @@ func (x *PrivateParametersWithoutAsk) GetTimeout() int64 { } type SpendAuthSigParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Ask []byte `protobuf:"bytes,1,opt,name=ask,proto3" json:"ask,omitempty"` + TxHash []byte `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` + Alpha []byte `protobuf:"bytes,3,opt,name=alpha,proto3" json:"alpha,omitempty"` unknownFields protoimpl.UnknownFields - - Ask []byte `protobuf:"bytes,1,opt,name=ask,proto3" json:"ask,omitempty"` - TxHash []byte `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` - Alpha []byte `protobuf:"bytes,3,opt,name=alpha,proto3" json:"alpha,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SpendAuthSigParameters) Reset() { *x = SpendAuthSigParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[50] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SpendAuthSigParameters) String() string { @@ -3286,8 +3182,8 @@ func (x *SpendAuthSigParameters) String() string { func (*SpendAuthSigParameters) ProtoMessage() {} func (x *SpendAuthSigParameters) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[50] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[51] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3299,7 +3195,7 @@ func (x *SpendAuthSigParameters) ProtoReflect() protoreflect.Message { // Deprecated: Use SpendAuthSigParameters.ProtoReflect.Descriptor instead. func (*SpendAuthSigParameters) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{50} + return file_api_api_proto_rawDescGZIP(), []int{51} } func (x *SpendAuthSigParameters) GetAsk() []byte { @@ -3324,23 +3220,20 @@ func (x *SpendAuthSigParameters) GetAlpha() []byte { } type NfParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` + Voucher *core.IncrementalMerkleVoucher `protobuf:"bytes,2,opt,name=voucher,proto3" json:"voucher,omitempty"` + Ak []byte `protobuf:"bytes,3,opt,name=ak,proto3" json:"ak,omitempty"` + Nk []byte `protobuf:"bytes,4,opt,name=nk,proto3" json:"nk,omitempty"` unknownFields protoimpl.UnknownFields - - Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` - Voucher *core.IncrementalMerkleVoucher `protobuf:"bytes,2,opt,name=voucher,proto3" json:"voucher,omitempty"` - Ak []byte `protobuf:"bytes,3,opt,name=ak,proto3" json:"ak,omitempty"` - Nk []byte `protobuf:"bytes,4,opt,name=nk,proto3" json:"nk,omitempty"` + sizeCache protoimpl.SizeCache } func (x *NfParameters) Reset() { *x = NfParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[51] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NfParameters) String() string { @@ -3350,8 +3243,8 @@ func (x *NfParameters) String() string { func (*NfParameters) ProtoMessage() {} func (x *NfParameters) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[51] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[52] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3363,7 +3256,7 @@ func (x *NfParameters) ProtoReflect() protoreflect.Message { // Deprecated: Use NfParameters.ProtoReflect.Descriptor instead. func (*NfParameters) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{51} + return file_api_api_proto_rawDescGZIP(), []int{52} } func (x *NfParameters) GetNote() *Note { @@ -3395,22 +3288,19 @@ func (x *NfParameters) GetNk() []byte { } type ExpandedSpendingKeyMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Ask []byte `protobuf:"bytes,1,opt,name=ask,proto3" json:"ask,omitempty"` + Nsk []byte `protobuf:"bytes,2,opt,name=nsk,proto3" json:"nsk,omitempty"` + Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"` unknownFields protoimpl.UnknownFields - - Ask []byte `protobuf:"bytes,1,opt,name=ask,proto3" json:"ask,omitempty"` - Nsk []byte `protobuf:"bytes,2,opt,name=nsk,proto3" json:"nsk,omitempty"` - Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ExpandedSpendingKeyMessage) Reset() { *x = ExpandedSpendingKeyMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[52] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExpandedSpendingKeyMessage) String() string { @@ -3420,8 +3310,8 @@ func (x *ExpandedSpendingKeyMessage) String() string { func (*ExpandedSpendingKeyMessage) ProtoMessage() {} func (x *ExpandedSpendingKeyMessage) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[52] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[53] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3433,7 +3323,7 @@ func (x *ExpandedSpendingKeyMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use ExpandedSpendingKeyMessage.ProtoReflect.Descriptor instead. func (*ExpandedSpendingKeyMessage) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{52} + return file_api_api_proto_rawDescGZIP(), []int{53} } func (x *ExpandedSpendingKeyMessage) GetAsk() []byte { @@ -3458,21 +3348,18 @@ func (x *ExpandedSpendingKeyMessage) GetOvk() []byte { } type ViewingKeyMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Ak []byte `protobuf:"bytes,1,opt,name=ak,proto3" json:"ak,omitempty"` + Nk []byte `protobuf:"bytes,2,opt,name=nk,proto3" json:"nk,omitempty"` unknownFields protoimpl.UnknownFields - - Ak []byte `protobuf:"bytes,1,opt,name=ak,proto3" json:"ak,omitempty"` - Nk []byte `protobuf:"bytes,2,opt,name=nk,proto3" json:"nk,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ViewingKeyMessage) Reset() { *x = ViewingKeyMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[53] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ViewingKeyMessage) String() string { @@ -3482,8 +3369,8 @@ func (x *ViewingKeyMessage) String() string { func (*ViewingKeyMessage) ProtoMessage() {} func (x *ViewingKeyMessage) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[53] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[54] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3495,7 +3382,7 @@ func (x *ViewingKeyMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use ViewingKeyMessage.ProtoReflect.Descriptor instead. func (*ViewingKeyMessage) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{53} + return file_api_api_proto_rawDescGZIP(), []int{54} } func (x *ViewingKeyMessage) GetAk() []byte { @@ -3513,20 +3400,17 @@ func (x *ViewingKeyMessage) GetNk() []byte { } type IncomingViewingKeyMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Ivk []byte `protobuf:"bytes,1,opt,name=ivk,proto3" json:"ivk,omitempty"` unknownFields protoimpl.UnknownFields - - Ivk []byte `protobuf:"bytes,1,opt,name=ivk,proto3" json:"ivk,omitempty"` + sizeCache protoimpl.SizeCache } func (x *IncomingViewingKeyMessage) Reset() { *x = IncomingViewingKeyMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[54] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IncomingViewingKeyMessage) String() string { @@ -3536,8 +3420,8 @@ func (x *IncomingViewingKeyMessage) String() string { func (*IncomingViewingKeyMessage) ProtoMessage() {} func (x *IncomingViewingKeyMessage) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[54] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[55] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3549,7 +3433,7 @@ func (x *IncomingViewingKeyMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use IncomingViewingKeyMessage.ProtoReflect.Descriptor instead. func (*IncomingViewingKeyMessage) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{54} + return file_api_api_proto_rawDescGZIP(), []int{55} } func (x *IncomingViewingKeyMessage) GetIvk() []byte { @@ -3560,20 +3444,17 @@ func (x *IncomingViewingKeyMessage) GetIvk() []byte { } type DiversifierMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + D []byte `protobuf:"bytes,1,opt,name=d,proto3" json:"d,omitempty"` unknownFields protoimpl.UnknownFields - - D []byte `protobuf:"bytes,1,opt,name=d,proto3" json:"d,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DiversifierMessage) Reset() { *x = DiversifierMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[55] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DiversifierMessage) String() string { @@ -3583,8 +3464,8 @@ func (x *DiversifierMessage) String() string { func (*DiversifierMessage) ProtoMessage() {} func (x *DiversifierMessage) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[55] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[56] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3596,7 +3477,7 @@ func (x *DiversifierMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use DiversifierMessage.ProtoReflect.Descriptor instead. func (*DiversifierMessage) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{55} + return file_api_api_proto_rawDescGZIP(), []int{56} } func (x *DiversifierMessage) GetD() []byte { @@ -3607,21 +3488,18 @@ func (x *DiversifierMessage) GetD() []byte { } type IncomingViewingKeyDiversifierMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Ivk *IncomingViewingKeyMessage `protobuf:"bytes,1,opt,name=ivk,proto3" json:"ivk,omitempty"` + D *DiversifierMessage `protobuf:"bytes,2,opt,name=d,proto3" json:"d,omitempty"` unknownFields protoimpl.UnknownFields - - Ivk *IncomingViewingKeyMessage `protobuf:"bytes,1,opt,name=ivk,proto3" json:"ivk,omitempty"` - D *DiversifierMessage `protobuf:"bytes,2,opt,name=d,proto3" json:"d,omitempty"` + sizeCache protoimpl.SizeCache } func (x *IncomingViewingKeyDiversifierMessage) Reset() { *x = IncomingViewingKeyDiversifierMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[56] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IncomingViewingKeyDiversifierMessage) String() string { @@ -3631,8 +3509,8 @@ func (x *IncomingViewingKeyDiversifierMessage) String() string { func (*IncomingViewingKeyDiversifierMessage) ProtoMessage() {} func (x *IncomingViewingKeyDiversifierMessage) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[56] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[57] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3644,7 +3522,7 @@ func (x *IncomingViewingKeyDiversifierMessage) ProtoReflect() protoreflect.Messa // Deprecated: Use IncomingViewingKeyDiversifierMessage.ProtoReflect.Descriptor instead. func (*IncomingViewingKeyDiversifierMessage) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{56} + return file_api_api_proto_rawDescGZIP(), []int{57} } func (x *IncomingViewingKeyDiversifierMessage) GetIvk() *IncomingViewingKeyMessage { @@ -3662,22 +3540,19 @@ func (x *IncomingViewingKeyDiversifierMessage) GetD() *DiversifierMessage { } type PaymentAddressMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - D *DiversifierMessage `protobuf:"bytes,1,opt,name=d,proto3" json:"d,omitempty"` - PkD []byte `protobuf:"bytes,2,opt,name=pkD,proto3" json:"pkD,omitempty"` - PaymentAddress string `protobuf:"bytes,3,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + D *DiversifierMessage `protobuf:"bytes,1,opt,name=d,proto3" json:"d,omitempty"` + PkD []byte `protobuf:"bytes,2,opt,name=pkD,proto3" json:"pkD,omitempty"` + PaymentAddress string `protobuf:"bytes,3,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PaymentAddressMessage) Reset() { *x = PaymentAddressMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[57] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[58] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PaymentAddressMessage) String() string { @@ -3687,8 +3562,8 @@ func (x *PaymentAddressMessage) String() string { func (*PaymentAddressMessage) ProtoMessage() {} func (x *PaymentAddressMessage) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[57] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[58] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3700,7 +3575,7 @@ func (x *PaymentAddressMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use PaymentAddressMessage.ProtoReflect.Descriptor instead. func (*PaymentAddressMessage) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{57} + return file_api_api_proto_rawDescGZIP(), []int{58} } func (x *PaymentAddressMessage) GetD() *DiversifierMessage { @@ -3725,29 +3600,26 @@ func (x *PaymentAddressMessage) GetPaymentAddress() string { } type ShieldedAddressInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Sk []byte `protobuf:"bytes,1,opt,name=sk,proto3" json:"sk,omitempty"` - Ask []byte `protobuf:"bytes,2,opt,name=ask,proto3" json:"ask,omitempty"` - Nsk []byte `protobuf:"bytes,3,opt,name=nsk,proto3" json:"nsk,omitempty"` - Ovk []byte `protobuf:"bytes,4,opt,name=ovk,proto3" json:"ovk,omitempty"` - Ak []byte `protobuf:"bytes,5,opt,name=ak,proto3" json:"ak,omitempty"` - Nk []byte `protobuf:"bytes,6,opt,name=nk,proto3" json:"nk,omitempty"` - Ivk []byte `protobuf:"bytes,7,opt,name=ivk,proto3" json:"ivk,omitempty"` - D []byte `protobuf:"bytes,8,opt,name=d,proto3" json:"d,omitempty"` - PkD []byte `protobuf:"bytes,9,opt,name=pkD,proto3" json:"pkD,omitempty"` - PaymentAddress string `protobuf:"bytes,10,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Sk []byte `protobuf:"bytes,1,opt,name=sk,proto3" json:"sk,omitempty"` + Ask []byte `protobuf:"bytes,2,opt,name=ask,proto3" json:"ask,omitempty"` + Nsk []byte `protobuf:"bytes,3,opt,name=nsk,proto3" json:"nsk,omitempty"` + Ovk []byte `protobuf:"bytes,4,opt,name=ovk,proto3" json:"ovk,omitempty"` + Ak []byte `protobuf:"bytes,5,opt,name=ak,proto3" json:"ak,omitempty"` + Nk []byte `protobuf:"bytes,6,opt,name=nk,proto3" json:"nk,omitempty"` + Ivk []byte `protobuf:"bytes,7,opt,name=ivk,proto3" json:"ivk,omitempty"` + D []byte `protobuf:"bytes,8,opt,name=d,proto3" json:"d,omitempty"` + PkD []byte `protobuf:"bytes,9,opt,name=pkD,proto3" json:"pkD,omitempty"` + PaymentAddress string `protobuf:"bytes,10,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ShieldedAddressInfo) Reset() { *x = ShieldedAddressInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[58] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ShieldedAddressInfo) String() string { @@ -3757,8 +3629,8 @@ func (x *ShieldedAddressInfo) String() string { func (*ShieldedAddressInfo) ProtoMessage() {} func (x *ShieldedAddressInfo) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[58] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[59] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3770,7 +3642,7 @@ func (x *ShieldedAddressInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use ShieldedAddressInfo.ProtoReflect.Descriptor instead. func (*ShieldedAddressInfo) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{58} + return file_api_api_proto_rawDescGZIP(), []int{59} } func (x *ShieldedAddressInfo) GetSk() []byte { @@ -3844,24 +3716,21 @@ func (x *ShieldedAddressInfo) GetPaymentAddress() string { } type NoteParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Ak []byte `protobuf:"bytes,1,opt,name=ak,proto3" json:"ak,omitempty"` + Nk []byte `protobuf:"bytes,2,opt,name=nk,proto3" json:"nk,omitempty"` + Note *Note `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"` + Txid []byte `protobuf:"bytes,4,opt,name=txid,proto3" json:"txid,omitempty"` + Index int32 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"` unknownFields protoimpl.UnknownFields - - Ak []byte `protobuf:"bytes,1,opt,name=ak,proto3" json:"ak,omitempty"` - Nk []byte `protobuf:"bytes,2,opt,name=nk,proto3" json:"nk,omitempty"` - Note *Note `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"` - Txid []byte `protobuf:"bytes,4,opt,name=txid,proto3" json:"txid,omitempty"` - Index int32 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"` + sizeCache protoimpl.SizeCache } func (x *NoteParameters) Reset() { *x = NoteParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[59] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NoteParameters) String() string { @@ -3871,8 +3740,8 @@ func (x *NoteParameters) String() string { func (*NoteParameters) ProtoMessage() {} func (x *NoteParameters) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[59] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[60] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3884,7 +3753,7 @@ func (x *NoteParameters) ProtoReflect() protoreflect.Message { // Deprecated: Use NoteParameters.ProtoReflect.Descriptor instead. func (*NoteParameters) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{59} + return file_api_api_proto_rawDescGZIP(), []int{60} } func (x *NoteParameters) GetAk() []byte { @@ -3923,21 +3792,18 @@ func (x *NoteParameters) GetIndex() int32 { } type SpendResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields - - Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SpendResult) Reset() { *x = SpendResult{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[60] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[61] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SpendResult) String() string { @@ -3947,8 +3813,8 @@ func (x *SpendResult) String() string { func (*SpendResult) ProtoMessage() {} func (x *SpendResult) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[60] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[61] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3960,7 +3826,7 @@ func (x *SpendResult) ProtoReflect() protoreflect.Message { // Deprecated: Use SpendResult.ProtoReflect.Descriptor instead. func (*SpendResult) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{60} + return file_api_api_proto_rawDescGZIP(), []int{61} } func (x *SpendResult) GetResult() bool { @@ -3978,20 +3844,17 @@ func (x *SpendResult) GetMessage() string { } type TransactionInfoList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` TransactionInfo []*core.TransactionInfo `protobuf:"bytes,1,rep,name=transactionInfo,proto3" json:"transactionInfo,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TransactionInfoList) Reset() { *x = TransactionInfoList{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[61] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransactionInfoList) String() string { @@ -4001,8 +3864,8 @@ func (x *TransactionInfoList) String() string { func (*TransactionInfoList) ProtoMessage() {} func (x *TransactionInfoList) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[61] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[62] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4014,7 +3877,7 @@ func (x *TransactionInfoList) ProtoReflect() protoreflect.Message { // Deprecated: Use TransactionInfoList.ProtoReflect.Descriptor instead. func (*TransactionInfoList) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{61} + return file_api_api_proto_rawDescGZIP(), []int{62} } func (x *TransactionInfoList) GetTransactionInfo() []*core.TransactionInfo { @@ -4025,24 +3888,21 @@ func (x *TransactionInfoList) GetTransactionInfo() []*core.TransactionInfo { } type SpendNoteTRC20 struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` + Alpha []byte `protobuf:"bytes,2,opt,name=alpha,proto3" json:"alpha,omitempty"` + Root []byte `protobuf:"bytes,3,opt,name=root,proto3" json:"root,omitempty"` + Path []byte `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` + Pos int64 `protobuf:"varint,5,opt,name=pos,proto3" json:"pos,omitempty"` unknownFields protoimpl.UnknownFields - - Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` - Alpha []byte `protobuf:"bytes,2,opt,name=alpha,proto3" json:"alpha,omitempty"` - Root []byte `protobuf:"bytes,3,opt,name=root,proto3" json:"root,omitempty"` - Path []byte `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` - Pos int64 `protobuf:"varint,5,opt,name=pos,proto3" json:"pos,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SpendNoteTRC20) Reset() { *x = SpendNoteTRC20{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[62] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[63] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SpendNoteTRC20) String() string { @@ -4052,8 +3912,8 @@ func (x *SpendNoteTRC20) String() string { func (*SpendNoteTRC20) ProtoMessage() {} func (x *SpendNoteTRC20) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[62] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[63] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4065,7 +3925,7 @@ func (x *SpendNoteTRC20) ProtoReflect() protoreflect.Message { // Deprecated: Use SpendNoteTRC20.ProtoReflect.Descriptor instead. func (*SpendNoteTRC20) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{62} + return file_api_api_proto_rawDescGZIP(), []int{63} } func (x *SpendNoteTRC20) GetNote() *Note { @@ -4104,28 +3964,25 @@ func (x *SpendNoteTRC20) GetPos() int64 { } type PrivateShieldedTRC20Parameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Ask []byte `protobuf:"bytes,1,opt,name=ask,proto3" json:"ask,omitempty"` - Nsk []byte `protobuf:"bytes,2,opt,name=nsk,proto3" json:"nsk,omitempty"` - Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"` - FromAmount string `protobuf:"bytes,4,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"` - ShieldedSpends []*SpendNoteTRC20 `protobuf:"bytes,5,rep,name=shielded_spends,json=shieldedSpends,proto3" json:"shielded_spends,omitempty"` - ShieldedReceives []*ReceiveNote `protobuf:"bytes,6,rep,name=shielded_receives,json=shieldedReceives,proto3" json:"shielded_receives,omitempty"` - TransparentToAddress []byte `protobuf:"bytes,7,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` - ToAmount string `protobuf:"bytes,8,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` - Shielded_TRC20ContractAddress []byte `protobuf:"bytes,9,opt,name=shielded_TRC20_contract_address,json=shieldedTRC20ContractAddress,proto3" json:"shielded_TRC20_contract_address,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Ask []byte `protobuf:"bytes,1,opt,name=ask,proto3" json:"ask,omitempty"` + Nsk []byte `protobuf:"bytes,2,opt,name=nsk,proto3" json:"nsk,omitempty"` + Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"` + FromAmount string `protobuf:"bytes,4,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"` + ShieldedSpends []*SpendNoteTRC20 `protobuf:"bytes,5,rep,name=shielded_spends,json=shieldedSpends,proto3" json:"shielded_spends,omitempty"` + ShieldedReceives []*ReceiveNote `protobuf:"bytes,6,rep,name=shielded_receives,json=shieldedReceives,proto3" json:"shielded_receives,omitempty"` + TransparentToAddress []byte `protobuf:"bytes,7,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` + ToAmount string `protobuf:"bytes,8,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` + Shielded_TRC20ContractAddress []byte `protobuf:"bytes,9,opt,name=shielded_TRC20_contract_address,json=shieldedTRC20ContractAddress,proto3" json:"shielded_TRC20_contract_address,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PrivateShieldedTRC20Parameters) Reset() { *x = PrivateShieldedTRC20Parameters{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[63] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[64] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PrivateShieldedTRC20Parameters) String() string { @@ -4135,8 +3992,8 @@ func (x *PrivateShieldedTRC20Parameters) String() string { func (*PrivateShieldedTRC20Parameters) ProtoMessage() {} func (x *PrivateShieldedTRC20Parameters) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[63] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[64] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4148,7 +4005,7 @@ func (x *PrivateShieldedTRC20Parameters) ProtoReflect() protoreflect.Message { // Deprecated: Use PrivateShieldedTRC20Parameters.ProtoReflect.Descriptor instead. func (*PrivateShieldedTRC20Parameters) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{63} + return file_api_api_proto_rawDescGZIP(), []int{64} } func (x *PrivateShieldedTRC20Parameters) GetAsk() []byte { @@ -4215,28 +4072,25 @@ func (x *PrivateShieldedTRC20Parameters) GetShielded_TRC20ContractAddress() []by } type PrivateShieldedTRC20ParametersWithoutAsk struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Ak []byte `protobuf:"bytes,1,opt,name=ak,proto3" json:"ak,omitempty"` - Nsk []byte `protobuf:"bytes,2,opt,name=nsk,proto3" json:"nsk,omitempty"` - Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"` - FromAmount string `protobuf:"bytes,4,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"` - ShieldedSpends []*SpendNoteTRC20 `protobuf:"bytes,5,rep,name=shielded_spends,json=shieldedSpends,proto3" json:"shielded_spends,omitempty"` - ShieldedReceives []*ReceiveNote `protobuf:"bytes,6,rep,name=shielded_receives,json=shieldedReceives,proto3" json:"shielded_receives,omitempty"` - TransparentToAddress []byte `protobuf:"bytes,7,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` - ToAmount string `protobuf:"bytes,8,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` - Shielded_TRC20ContractAddress []byte `protobuf:"bytes,9,opt,name=shielded_TRC20_contract_address,json=shieldedTRC20ContractAddress,proto3" json:"shielded_TRC20_contract_address,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Ak []byte `protobuf:"bytes,1,opt,name=ak,proto3" json:"ak,omitempty"` + Nsk []byte `protobuf:"bytes,2,opt,name=nsk,proto3" json:"nsk,omitempty"` + Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"` + FromAmount string `protobuf:"bytes,4,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"` + ShieldedSpends []*SpendNoteTRC20 `protobuf:"bytes,5,rep,name=shielded_spends,json=shieldedSpends,proto3" json:"shielded_spends,omitempty"` + ShieldedReceives []*ReceiveNote `protobuf:"bytes,6,rep,name=shielded_receives,json=shieldedReceives,proto3" json:"shielded_receives,omitempty"` + TransparentToAddress []byte `protobuf:"bytes,7,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` + ToAmount string `protobuf:"bytes,8,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` + Shielded_TRC20ContractAddress []byte `protobuf:"bytes,9,opt,name=shielded_TRC20_contract_address,json=shieldedTRC20ContractAddress,proto3" json:"shielded_TRC20_contract_address,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PrivateShieldedTRC20ParametersWithoutAsk) Reset() { *x = PrivateShieldedTRC20ParametersWithoutAsk{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[64] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PrivateShieldedTRC20ParametersWithoutAsk) String() string { @@ -4246,8 +4100,8 @@ func (x *PrivateShieldedTRC20ParametersWithoutAsk) String() string { func (*PrivateShieldedTRC20ParametersWithoutAsk) ProtoMessage() {} func (x *PrivateShieldedTRC20ParametersWithoutAsk) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[64] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[65] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4259,7 +4113,7 @@ func (x *PrivateShieldedTRC20ParametersWithoutAsk) ProtoReflect() protoreflect.M // Deprecated: Use PrivateShieldedTRC20ParametersWithoutAsk.ProtoReflect.Descriptor instead. func (*PrivateShieldedTRC20ParametersWithoutAsk) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{64} + return file_api_api_proto_rawDescGZIP(), []int{65} } func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetAk() []byte { @@ -4326,25 +4180,22 @@ func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetShielded_TRC20ContractAddr } type ShieldedTRC20Parameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` SpendDescription []*core.SpendDescription `protobuf:"bytes,1,rep,name=spend_description,json=spendDescription,proto3" json:"spend_description,omitempty"` ReceiveDescription []*core.ReceiveDescription `protobuf:"bytes,2,rep,name=receive_description,json=receiveDescription,proto3" json:"receive_description,omitempty"` BindingSignature []byte `protobuf:"bytes,3,opt,name=binding_signature,json=bindingSignature,proto3" json:"binding_signature,omitempty"` MessageHash []byte `protobuf:"bytes,4,opt,name=message_hash,json=messageHash,proto3" json:"message_hash,omitempty"` TriggerContractInput string `protobuf:"bytes,5,opt,name=trigger_contract_input,json=triggerContractInput,proto3" json:"trigger_contract_input,omitempty"` ParameterType string `protobuf:"bytes,6,opt,name=parameter_type,json=parameterType,proto3" json:"parameter_type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ShieldedTRC20Parameters) Reset() { *x = ShieldedTRC20Parameters{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[65] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[66] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ShieldedTRC20Parameters) String() string { @@ -4354,8 +4205,8 @@ func (x *ShieldedTRC20Parameters) String() string { func (*ShieldedTRC20Parameters) ProtoMessage() {} func (x *ShieldedTRC20Parameters) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[65] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[66] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4367,7 +4218,7 @@ func (x *ShieldedTRC20Parameters) ProtoReflect() protoreflect.Message { // Deprecated: Use ShieldedTRC20Parameters.ProtoReflect.Descriptor instead. func (*ShieldedTRC20Parameters) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{65} + return file_api_api_proto_rawDescGZIP(), []int{66} } func (x *ShieldedTRC20Parameters) GetSpendDescription() []*core.SpendDescription { @@ -4413,26 +4264,23 @@ func (x *ShieldedTRC20Parameters) GetParameterType() string { } type IvkDecryptTRC20Parameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` - EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` - Shielded_TRC20ContractAddress []byte `protobuf:"bytes,3,opt,name=shielded_TRC20_contract_address,json=shieldedTRC20ContractAddress,proto3" json:"shielded_TRC20_contract_address,omitempty"` - Ivk []byte `protobuf:"bytes,4,opt,name=ivk,proto3" json:"ivk,omitempty"` - Ak []byte `protobuf:"bytes,5,opt,name=ak,proto3" json:"ak,omitempty"` - Nk []byte `protobuf:"bytes,6,opt,name=nk,proto3" json:"nk,omitempty"` - Events []string `protobuf:"bytes,7,rep,name=events,proto3" json:"events,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` + EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` + Shielded_TRC20ContractAddress []byte `protobuf:"bytes,3,opt,name=shielded_TRC20_contract_address,json=shieldedTRC20ContractAddress,proto3" json:"shielded_TRC20_contract_address,omitempty"` + Ivk []byte `protobuf:"bytes,4,opt,name=ivk,proto3" json:"ivk,omitempty"` + Ak []byte `protobuf:"bytes,5,opt,name=ak,proto3" json:"ak,omitempty"` + Nk []byte `protobuf:"bytes,6,opt,name=nk,proto3" json:"nk,omitempty"` + Events []string `protobuf:"bytes,7,rep,name=events,proto3" json:"events,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *IvkDecryptTRC20Parameters) Reset() { *x = IvkDecryptTRC20Parameters{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[66] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[67] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IvkDecryptTRC20Parameters) String() string { @@ -4442,8 +4290,8 @@ func (x *IvkDecryptTRC20Parameters) String() string { func (*IvkDecryptTRC20Parameters) ProtoMessage() {} func (x *IvkDecryptTRC20Parameters) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[66] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[67] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4455,7 +4303,7 @@ func (x *IvkDecryptTRC20Parameters) ProtoReflect() protoreflect.Message { // Deprecated: Use IvkDecryptTRC20Parameters.ProtoReflect.Descriptor instead. func (*IvkDecryptTRC20Parameters) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{66} + return file_api_api_proto_rawDescGZIP(), []int{67} } func (x *IvkDecryptTRC20Parameters) GetStartBlockIndex() int64 { @@ -4508,24 +4356,21 @@ func (x *IvkDecryptTRC20Parameters) GetEvents() []string { } type OvkDecryptTRC20Parameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` - EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` - Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"` - Shielded_TRC20ContractAddress []byte `protobuf:"bytes,4,opt,name=shielded_TRC20_contract_address,json=shieldedTRC20ContractAddress,proto3" json:"shielded_TRC20_contract_address,omitempty"` - Events []string `protobuf:"bytes,5,rep,name=events,proto3" json:"events,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` + EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` + Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"` + Shielded_TRC20ContractAddress []byte `protobuf:"bytes,4,opt,name=shielded_TRC20_contract_address,json=shieldedTRC20ContractAddress,proto3" json:"shielded_TRC20_contract_address,omitempty"` + Events []string `protobuf:"bytes,5,rep,name=events,proto3" json:"events,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *OvkDecryptTRC20Parameters) Reset() { *x = OvkDecryptTRC20Parameters{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[67] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[68] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OvkDecryptTRC20Parameters) String() string { @@ -4535,8 +4380,8 @@ func (x *OvkDecryptTRC20Parameters) String() string { func (*OvkDecryptTRC20Parameters) ProtoMessage() {} func (x *OvkDecryptTRC20Parameters) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[67] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[68] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4548,7 +4393,7 @@ func (x *OvkDecryptTRC20Parameters) ProtoReflect() protoreflect.Message { // Deprecated: Use OvkDecryptTRC20Parameters.ProtoReflect.Descriptor instead. func (*OvkDecryptTRC20Parameters) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{67} + return file_api_api_proto_rawDescGZIP(), []int{68} } func (x *OvkDecryptTRC20Parameters) GetStartBlockIndex() int64 { @@ -4587,20 +4432,17 @@ func (x *OvkDecryptTRC20Parameters) GetEvents() []string { } type DecryptNotesTRC20 struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + NoteTxs []*DecryptNotesTRC20_NoteTx `protobuf:"bytes,1,rep,name=noteTxs,proto3" json:"noteTxs,omitempty"` unknownFields protoimpl.UnknownFields - - NoteTxs []*DecryptNotesTRC20_NoteTx `protobuf:"bytes,1,rep,name=noteTxs,proto3" json:"noteTxs,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DecryptNotesTRC20) Reset() { *x = DecryptNotesTRC20{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[68] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[69] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DecryptNotesTRC20) String() string { @@ -4610,8 +4452,8 @@ func (x *DecryptNotesTRC20) String() string { func (*DecryptNotesTRC20) ProtoMessage() {} func (x *DecryptNotesTRC20) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[68] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[69] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4623,7 +4465,7 @@ func (x *DecryptNotesTRC20) ProtoReflect() protoreflect.Message { // Deprecated: Use DecryptNotesTRC20.ProtoReflect.Descriptor instead. func (*DecryptNotesTRC20) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{68} + return file_api_api_proto_rawDescGZIP(), []int{69} } func (x *DecryptNotesTRC20) GetNoteTxs() []*DecryptNotesTRC20_NoteTx { @@ -4634,24 +4476,21 @@ func (x *DecryptNotesTRC20) GetNoteTxs() []*DecryptNotesTRC20_NoteTx { } type NfTRC20Parameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` - Ak []byte `protobuf:"bytes,2,opt,name=ak,proto3" json:"ak,omitempty"` - Nk []byte `protobuf:"bytes,3,opt,name=nk,proto3" json:"nk,omitempty"` - Position int64 `protobuf:"varint,4,opt,name=position,proto3" json:"position,omitempty"` - Shielded_TRC20ContractAddress []byte `protobuf:"bytes,5,opt,name=shielded_TRC20_contract_address,json=shieldedTRC20ContractAddress,proto3" json:"shielded_TRC20_contract_address,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` + Ak []byte `protobuf:"bytes,2,opt,name=ak,proto3" json:"ak,omitempty"` + Nk []byte `protobuf:"bytes,3,opt,name=nk,proto3" json:"nk,omitempty"` + Position int64 `protobuf:"varint,4,opt,name=position,proto3" json:"position,omitempty"` + Shielded_TRC20ContractAddress []byte `protobuf:"bytes,5,opt,name=shielded_TRC20_contract_address,json=shieldedTRC20ContractAddress,proto3" json:"shielded_TRC20_contract_address,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NfTRC20Parameters) Reset() { *x = NfTRC20Parameters{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[69] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[70] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NfTRC20Parameters) String() string { @@ -4661,8 +4500,8 @@ func (x *NfTRC20Parameters) String() string { func (*NfTRC20Parameters) ProtoMessage() {} func (x *NfTRC20Parameters) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[69] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[70] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4674,7 +4513,7 @@ func (x *NfTRC20Parameters) ProtoReflect() protoreflect.Message { // Deprecated: Use NfTRC20Parameters.ProtoReflect.Descriptor instead. func (*NfTRC20Parameters) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{69} + return file_api_api_proto_rawDescGZIP(), []int{70} } func (x *NfTRC20Parameters) GetNote() *Note { @@ -4713,20 +4552,17 @@ func (x *NfTRC20Parameters) GetShielded_TRC20ContractAddress() []byte { } type NullifierResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + IsSpent bool `protobuf:"varint,1,opt,name=is_spent,json=isSpent,proto3" json:"is_spent,omitempty"` unknownFields protoimpl.UnknownFields - - IsSpent bool `protobuf:"varint,1,opt,name=is_spent,json=isSpent,proto3" json:"is_spent,omitempty"` + sizeCache protoimpl.SizeCache } func (x *NullifierResult) Reset() { *x = NullifierResult{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[70] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[71] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NullifierResult) String() string { @@ -4736,8 +4572,8 @@ func (x *NullifierResult) String() string { func (*NullifierResult) ProtoMessage() {} func (x *NullifierResult) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[70] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[71] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4749,7 +4585,7 @@ func (x *NullifierResult) ProtoReflect() protoreflect.Message { // Deprecated: Use NullifierResult.ProtoReflect.Descriptor instead. func (*NullifierResult) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{70} + return file_api_api_proto_rawDescGZIP(), []int{71} } func (x *NullifierResult) GetIsSpent() bool { @@ -4760,23 +4596,20 @@ func (x *NullifierResult) GetIsSpent() bool { } type ShieldedTRC20TriggerContractParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Shielded_TRC20_Parameters *ShieldedTRC20Parameters `protobuf:"bytes,1,opt,name=shielded_TRC20_Parameters,json=shieldedTRC20Parameters,proto3" json:"shielded_TRC20_Parameters,omitempty"` SpendAuthoritySignature []*BytesMessage `protobuf:"bytes,2,rep,name=spend_authority_signature,json=spendAuthoritySignature,proto3" json:"spend_authority_signature,omitempty"` Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` TransparentToAddress []byte `protobuf:"bytes,4,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ShieldedTRC20TriggerContractParameters) Reset() { *x = ShieldedTRC20TriggerContractParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[71] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[72] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ShieldedTRC20TriggerContractParameters) String() string { @@ -4786,8 +4619,8 @@ func (x *ShieldedTRC20TriggerContractParameters) String() string { func (*ShieldedTRC20TriggerContractParameters) ProtoMessage() {} func (x *ShieldedTRC20TriggerContractParameters) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[71] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[72] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4799,7 +4632,7 @@ func (x *ShieldedTRC20TriggerContractParameters) ProtoReflect() protoreflect.Mes // Deprecated: Use ShieldedTRC20TriggerContractParameters.ProtoReflect.Descriptor instead. func (*ShieldedTRC20TriggerContractParameters) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{71} + return file_api_api_proto_rawDescGZIP(), []int{72} } func (x *ShieldedTRC20TriggerContractParameters) GetShielded_TRC20_Parameters() *ShieldedTRC20Parameters { @@ -4831,21 +4664,18 @@ func (x *ShieldedTRC20TriggerContractParameters) GetTransparentToAddress() []byt } type TransactionSignWeight_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Code TransactionSignWeight_ResultResponseCode `protobuf:"varint,1,opt,name=code,proto3,enum=protocol.TransactionSignWeight_ResultResponseCode" json:"code,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields - - Code TransactionSignWeight_ResultResponseCode `protobuf:"varint,1,opt,name=code,proto3,enum=protocol.TransactionSignWeight_ResultResponseCode" json:"code,omitempty"` - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TransactionSignWeight_Result) Reset() { *x = TransactionSignWeight_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[76] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[77] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransactionSignWeight_Result) String() string { @@ -4855,8 +4685,8 @@ func (x *TransactionSignWeight_Result) String() string { func (*TransactionSignWeight_Result) ProtoMessage() {} func (x *TransactionSignWeight_Result) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[76] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[77] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4868,7 +4698,7 @@ func (x *TransactionSignWeight_Result) ProtoReflect() protoreflect.Message { // Deprecated: Use TransactionSignWeight_Result.ProtoReflect.Descriptor instead. func (*TransactionSignWeight_Result) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{38, 0} + return file_api_api_proto_rawDescGZIP(), []int{39, 0} } func (x *TransactionSignWeight_Result) GetCode() TransactionSignWeight_ResultResponseCode { @@ -4886,21 +4716,18 @@ func (x *TransactionSignWeight_Result) GetMessage() string { } type TransactionApprovedList_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Code TransactionApprovedList_ResultResponseCode `protobuf:"varint,1,opt,name=code,proto3,enum=protocol.TransactionApprovedList_ResultResponseCode" json:"code,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields - - Code TransactionApprovedList_ResultResponseCode `protobuf:"varint,1,opt,name=code,proto3,enum=protocol.TransactionApprovedList_ResultResponseCode" json:"code,omitempty"` - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TransactionApprovedList_Result) Reset() { *x = TransactionApprovedList_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[77] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[78] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransactionApprovedList_Result) String() string { @@ -4910,8 +4737,8 @@ func (x *TransactionApprovedList_Result) String() string { func (*TransactionApprovedList_Result) ProtoMessage() {} func (x *TransactionApprovedList_Result) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[77] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[78] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4923,7 +4750,7 @@ func (x *TransactionApprovedList_Result) ProtoReflect() protoreflect.Message { // Deprecated: Use TransactionApprovedList_Result.ProtoReflect.Descriptor instead. func (*TransactionApprovedList_Result) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{39, 0} + return file_api_api_proto_rawDescGZIP(), []int{40, 0} } func (x *TransactionApprovedList_Result) GetCode() TransactionApprovedList_ResultResponseCode { @@ -4941,22 +4768,19 @@ func (x *TransactionApprovedList_Result) GetMessage() string { } type DecryptNotes_NoteTx struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` + Txid []byte `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"` //transaction id = sha256(transaction.rowdata) + Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` //the index of note in receive unknownFields protoimpl.UnknownFields - - Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` - Txid []byte `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"` //transaction id = sha256(transaction.rowdata) - Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` //the index of note in receive + sizeCache protoimpl.SizeCache } func (x *DecryptNotes_NoteTx) Reset() { *x = DecryptNotes_NoteTx{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[78] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[79] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DecryptNotes_NoteTx) String() string { @@ -4966,8 +4790,8 @@ func (x *DecryptNotes_NoteTx) String() string { func (*DecryptNotes_NoteTx) ProtoMessage() {} func (x *DecryptNotes_NoteTx) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[78] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[79] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4979,7 +4803,7 @@ func (x *DecryptNotes_NoteTx) ProtoReflect() protoreflect.Message { // Deprecated: Use DecryptNotes_NoteTx.ProtoReflect.Descriptor instead. func (*DecryptNotes_NoteTx) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{43, 0} + return file_api_api_proto_rawDescGZIP(), []int{44, 0} } func (x *DecryptNotes_NoteTx) GetNote() *Note { @@ -5004,23 +4828,20 @@ func (x *DecryptNotes_NoteTx) GetIndex() int32 { } type DecryptNotesMarked_NoteTx struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` + Txid []byte `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"` //transaction id = sha256(transaction.rowdata) + Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` //the index of note in receive + IsSpend bool `protobuf:"varint,4,opt,name=is_spend,json=isSpend,proto3" json:"is_spend,omitempty"` unknownFields protoimpl.UnknownFields - - Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` - Txid []byte `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"` //transaction id = sha256(transaction.rowdata) - Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` //the index of note in receive - IsSpend bool `protobuf:"varint,4,opt,name=is_spend,json=isSpend,proto3" json:"is_spend,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DecryptNotesMarked_NoteTx) Reset() { *x = DecryptNotesMarked_NoteTx{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[79] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[80] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DecryptNotesMarked_NoteTx) String() string { @@ -5030,8 +4851,8 @@ func (x *DecryptNotesMarked_NoteTx) String() string { func (*DecryptNotesMarked_NoteTx) ProtoMessage() {} func (x *DecryptNotesMarked_NoteTx) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[79] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[80] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5043,7 +4864,7 @@ func (x *DecryptNotesMarked_NoteTx) ProtoReflect() protoreflect.Message { // Deprecated: Use DecryptNotesMarked_NoteTx.ProtoReflect.Descriptor instead. func (*DecryptNotesMarked_NoteTx) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{44, 0} + return file_api_api_proto_rawDescGZIP(), []int{45, 0} } func (x *DecryptNotesMarked_NoteTx) GetNote() *Note { @@ -5075,26 +4896,23 @@ func (x *DecryptNotesMarked_NoteTx) GetIsSpend() bool { } type DecryptNotesTRC20_NoteTx struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` - Position int64 `protobuf:"varint,2,opt,name=position,proto3" json:"position,omitempty"` - IsSpent bool `protobuf:"varint,3,opt,name=is_spent,json=isSpent,proto3" json:"is_spent,omitempty"` - Txid []byte `protobuf:"bytes,4,opt,name=txid,proto3" json:"txid,omitempty"` - Index int32 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"` //the index of note in txid - ToAmount string `protobuf:"bytes,6,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` - TransparentToAddress []byte `protobuf:"bytes,7,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` + Position int64 `protobuf:"varint,2,opt,name=position,proto3" json:"position,omitempty"` + IsSpent bool `protobuf:"varint,3,opt,name=is_spent,json=isSpent,proto3" json:"is_spent,omitempty"` + Txid []byte `protobuf:"bytes,4,opt,name=txid,proto3" json:"txid,omitempty"` + Index int32 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"` //the index of note in txid + ToAmount string `protobuf:"bytes,6,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` + TransparentToAddress []byte `protobuf:"bytes,7,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DecryptNotesTRC20_NoteTx) Reset() { *x = DecryptNotesTRC20_NoteTx{} - if protoimpl.UnsafeEnabled { - mi := &file_api_api_proto_msgTypes[80] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_api_proto_msgTypes[81] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DecryptNotesTRC20_NoteTx) String() string { @@ -5104,8 +4922,8 @@ func (x *DecryptNotesTRC20_NoteTx) String() string { func (*DecryptNotesTRC20_NoteTx) ProtoMessage() {} func (x *DecryptNotesTRC20_NoteTx) ProtoReflect() protoreflect.Message { - mi := &file_api_api_proto_msgTypes[80] - if protoimpl.UnsafeEnabled && x != nil { + mi := &file_api_api_proto_msgTypes[81] + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5117,7 +4935,7 @@ func (x *DecryptNotesTRC20_NoteTx) ProtoReflect() protoreflect.Message { // Deprecated: Use DecryptNotesTRC20_NoteTx.ProtoReflect.Descriptor instead. func (*DecryptNotesTRC20_NoteTx) Descriptor() ([]byte, []int) { - return file_api_api_proto_rawDescGZIP(), []int{68, 0} + return file_api_api_proto_rawDescGZIP(), []int{69, 0} } func (x *DecryptNotesTRC20_NoteTx) GetNote() *Note { @@ -5171,2035 +4989,621 @@ func (x *DecryptNotesTRC20_NoteTx) GetTransparentToAddress() []byte { var File_api_api_proto protoreflect.FileDescriptor -var file_api_api_proto_rawDesc = []byte{ - 0x0a, 0x0d, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, - 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x1a, 0x0f, 0x63, 0x6f, 0x72, 0x65, 0x2f, - 0x54, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x73, - 0x73, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x24, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x5f, - 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, - 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, 0x62, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x25, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x63, 0x6f, 0x72, - 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, - 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x25, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x2f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x63, - 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, 0x73, 0x6d, 0x61, - 0x72, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x23, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x2f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xab, 0x03, 0x0a, 0x06, 0x52, 0x65, 0x74, 0x75, 0x72, - 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x32, 0x0a, 0x04, 0x63, 0x6f, 0x64, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, - 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, - 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xba, 0x02, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x43, - 0x43, 0x45, 0x53, 0x53, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x49, 0x47, 0x45, 0x52, 0x52, - 0x4f, 0x52, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x41, 0x43, 0x54, - 0x5f, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, - 0x02, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x41, 0x43, 0x54, 0x5f, 0x45, 0x58, - 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x42, 0x41, 0x4e, - 0x44, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, 0x12, 0x19, 0x0a, - 0x15, 0x44, 0x55, 0x50, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, - 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x05, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x41, 0x50, 0x4f, - 0x53, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x06, 0x12, 0x1d, 0x0a, 0x19, 0x54, 0x4f, 0x4f, - 0x5f, 0x42, 0x49, 0x47, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, - 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x07, 0x12, 0x20, 0x0a, 0x1c, 0x54, 0x52, 0x41, 0x4e, - 0x53, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x41, 0x54, 0x49, - 0x4f, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x08, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x45, - 0x52, 0x56, 0x45, 0x52, 0x5f, 0x42, 0x55, 0x53, 0x59, 0x10, 0x09, 0x12, 0x11, 0x0a, 0x0d, 0x4e, - 0x4f, 0x5f, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x0a, 0x12, 0x23, - 0x0a, 0x1f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x5f, 0x45, 0x46, 0x46, - 0x45, 0x43, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x49, 0x4f, - 0x4e, 0x10, 0x0b, 0x12, 0x0f, 0x0a, 0x0b, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x5f, 0x45, 0x52, 0x52, - 0x4f, 0x52, 0x10, 0x14, 0x22, 0x4c, 0x0a, 0x0e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x66, - 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, - 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x62, 0x6c, 0x6f, 0x63, 0x6b, - 0x4e, 0x75, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73, - 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, - 0x73, 0x68, 0x22, 0x3e, 0x0a, 0x0b, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, - 0x74, 0x12, 0x2f, 0x0a, 0x09, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x52, 0x09, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, - 0x65, 0x73, 0x22, 0x40, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x4c, 0x69, - 0x73, 0x74, 0x12, 0x30, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, - 0x73, 0x61, 0x6c, 0x73, 0x22, 0x40, 0x0a, 0x0c, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x4c, 0x69, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x09, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x09, 0x65, 0x78, 0x63, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, 0x4e, 0x0a, 0x0e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, - 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x65, - 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, - 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x0a, 0x61, 0x73, 0x73, 0x65, - 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x22, 0x32, 0x0a, 0x09, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, - 0x69, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x4a, 0x0a, 0x0f, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x37, 0x0a, - 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x27, 0x0a, 0x11, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, - 0x78, 0x49, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x78, 0x49, 0x64, 0x22, - 0x5a, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x66, - 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1c, 0x0a, - 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x62, 0x0a, 0x15, 0x44, - 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x4c, 0x69, 0x73, 0x74, 0x12, 0x49, 0x0a, 0x11, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, - 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, - 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x11, 0x64, 0x65, - 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, - 0x4e, 0x0a, 0x27, 0x47, 0x65, 0x74, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x55, - 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, - 0x40, 0x0a, 0x28, 0x47, 0x65, 0x74, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x55, - 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x22, 0x5c, 0x0a, 0x21, 0x43, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, - 0x64, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, - 0x3f, 0x0a, 0x22, 0x43, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x4d, - 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x69, 0x7a, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, - 0x22, 0x6c, 0x0a, 0x27, 0x43, 0x61, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x55, - 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x42, - 0x0a, 0x28, 0x43, 0x61, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x55, 0x6e, 0x66, - 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, - 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, - 0x6e, 0x74, 0x22, 0x30, 0x0a, 0x08, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x24, - 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, - 0x6f, 0x64, 0x65, 0x73, 0x22, 0x33, 0x0a, 0x04, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x2b, 0x0a, 0x07, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x31, 0x0a, 0x07, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x0e, 0x0a, 0x0c, - 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x21, 0x0a, 0x0d, - 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, - 0x03, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x22, - 0x24, 0x0a, 0x0c, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, - 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x6d, 0x0a, 0x0b, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x49, 0x6e, 0x4d, - 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x13, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x49, 0x6e, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x73, - 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x4d, - 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x11, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, - 0x6f, 0x6e, 0x64, 0x73, 0x22, 0x3e, 0x0a, 0x08, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, - 0x12, 0x1a, 0x0a, 0x09, 0x69, 0x64, 0x5f, 0x6f, 0x72, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x69, 0x64, 0x4f, 0x72, 0x4e, 0x75, 0x6d, 0x12, 0x16, 0x0a, 0x06, - 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x65, - 0x74, 0x61, 0x69, 0x6c, 0x22, 0x40, 0x0a, 0x0a, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x6d, - 0x69, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x75, 0x6d, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x75, 0x6d, 0x12, 0x16, - 0x0a, 0x06, 0x65, 0x6e, 0x64, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, - 0x65, 0x6e, 0x64, 0x4e, 0x75, 0x6d, 0x22, 0x54, 0x0a, 0x10, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x74, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, - 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x08, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x4e, 0x75, 0x6d, 0x22, 0x6d, 0x0a, 0x10, - 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, - 0x12, 0x2b, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, - 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, - 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x7d, 0x0a, 0x14, 0x54, - 0x69, 0x6d, 0x65, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, - 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, - 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, - 0x66, 0x73, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x89, 0x04, 0x0a, 0x11, 0x41, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x65, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x55, 0x73, - 0x65, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, - 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, - 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, - 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, - 0x12, 0x1a, 0x0a, 0x08, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x08, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x51, 0x0a, 0x0c, - 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x18, 0x05, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x65, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, - 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x12, - 0x54, 0x0a, 0x0d, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, - 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x65, 0x74, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, - 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, - 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, - 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x54, 0x6f, - 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x54, - 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x08, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0e, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x57, 0x65, 0x69, - 0x67, 0x68, 0x74, 0x1a, 0x3f, 0x0a, 0x11, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, - 0x73, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x40, 0x0a, 0x12, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, - 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xfc, 0x06, 0x0a, 0x16, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x55, - 0x73, 0x65, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x4c, 0x69, - 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x66, 0x72, 0x65, 0x65, 0x4e, - 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x4e, 0x65, 0x74, 0x55, 0x73, - 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, - 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x08, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x56, 0x0a, - 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x18, 0x05, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, - 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, - 0x74, 0x55, 0x73, 0x65, 0x64, 0x12, 0x59, 0x0a, 0x0d, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, - 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, - 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x41, - 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x0d, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, - 0x12, 0x24, 0x0a, 0x0d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, - 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, - 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, - 0x65, 0x74, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, - 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x32, - 0x0a, 0x14, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x72, 0x6f, 0x6e, 0x50, 0x6f, 0x77, 0x65, 0x72, - 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, 0x54, 0x6f, - 0x74, 0x61, 0x6c, 0x54, 0x72, 0x6f, 0x6e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x57, 0x65, 0x69, 0x67, - 0x68, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x74, 0x72, 0x6f, 0x6e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x55, - 0x73, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x6f, 0x6e, 0x50, - 0x6f, 0x77, 0x65, 0x72, 0x55, 0x73, 0x65, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x74, 0x72, 0x6f, 0x6e, - 0x50, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0e, 0x74, 0x72, 0x6f, 0x6e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x6d, 0x69, 0x74, - 0x12, 0x1e, 0x0a, 0x0a, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, 0x65, 0x64, 0x18, 0x0d, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, 0x65, 0x64, - 0x12, 0x20, 0x0a, 0x0b, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, - 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, - 0x69, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x6e, 0x65, 0x72, 0x67, - 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x54, 0x6f, - 0x74, 0x61, 0x6c, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x2c, - 0x0a, 0x11, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x57, 0x65, 0x69, - 0x67, 0x68, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x54, 0x6f, 0x74, 0x61, 0x6c, - 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x20, 0x0a, 0x0b, - 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x55, 0x73, 0x65, 0x64, 0x18, 0x15, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x55, 0x73, 0x65, 0x64, 0x12, 0x22, - 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x16, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x6d, - 0x69, 0x74, 0x1a, 0x3f, 0x0a, 0x11, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, - 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, - 0x02, 0x38, 0x01, 0x1a, 0x40, 0x0a, 0x12, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, - 0x69, 0x6d, 0x69, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x40, 0x0a, 0x10, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, - 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, - 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, - 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x85, 0x03, 0x0a, 0x14, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x37, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x12, 0x27, 0x0a, - 0x0f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, - 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x28, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, 0x65, - 0x64, 0x12, 0x31, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x04, - 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x52, 0x0a, 0x15, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, - 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, - 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x14, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x6e, 0x65, 0x72, - 0x67, 0x79, 0x5f, 0x70, 0x65, 0x6e, 0x61, 0x6c, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0d, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x50, 0x65, 0x6e, 0x61, 0x6c, 0x74, 0x79, 0x22, - 0x6a, 0x0a, 0x15, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, - 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x28, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x72, 0x65, 0x71, - 0x75, 0x69, 0x72, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x65, 0x6e, 0x65, - 0x72, 0x67, 0x79, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x22, 0xa8, 0x01, 0x0a, 0x0e, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x42, - 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x12, 0x38, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x61, 0x64, - 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, - 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, - 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x62, - 0x6c, 0x6f, 0x63, 0x6b, 0x69, 0x64, 0x22, 0x44, 0x0a, 0x12, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, - 0x69, 0x73, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x0a, 0x05, - 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, - 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x5c, 0x0a, 0x18, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x45, - 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x75, 0x0a, 0x1a, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, - 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, 0x65, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, - 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, - 0x12, 0x3f, 0x0a, 0x0a, 0x6d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, 0x65, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, - 0x65, 0x54, 0x72, 0x65, 0x65, 0x52, 0x0a, 0x6d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, 0x65, - 0x65, 0x22, 0xac, 0x04, 0x0a, 0x15, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x34, 0x0a, 0x0a, 0x70, - 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x6c, 0x69, - 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0c, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, - 0x65, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, - 0x74, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, - 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x3e, 0x0a, - 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x2e, 0x52, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x40, 0x0a, - 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, - 0x8e, 0x02, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x48, 0x0a, 0x04, 0x63, 0x6f, - 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, - 0x69, 0x67, 0x6e, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x52, 0x04, - 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x9f, - 0x01, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, - 0x12, 0x15, 0x0a, 0x11, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x5f, 0x50, 0x45, 0x52, 0x4d, 0x49, - 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x4e, 0x4f, 0x54, 0x5f, 0x45, - 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x5f, 0x50, 0x45, 0x52, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, - 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x49, 0x47, 0x4e, 0x41, 0x54, 0x55, 0x52, 0x45, 0x5f, - 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x19, - 0x0a, 0x15, 0x43, 0x4f, 0x4d, 0x50, 0x55, 0x54, 0x45, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, 0x53, - 0x53, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x45, 0x52, - 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, 0x12, - 0x0f, 0x0a, 0x0b, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x14, - 0x22, 0x99, 0x03, 0x0a, 0x17, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, - 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, - 0x03, 0x28, 0x0c, 0x52, 0x0c, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x4c, 0x69, 0x73, - 0x74, 0x12, 0x40, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, - 0x4c, 0x69, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x12, 0x40, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, - 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xd4, 0x01, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x12, 0x4a, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x4c, 0x69, 0x73, - 0x74, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, - 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x64, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x43, 0x43, 0x45, - 0x53, 0x53, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x49, 0x47, 0x4e, 0x41, 0x54, 0x55, 0x52, - 0x45, 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, - 0x12, 0x19, 0x0a, 0x15, 0x43, 0x4f, 0x4d, 0x50, 0x55, 0x54, 0x45, 0x5f, 0x41, 0x44, 0x44, 0x52, - 0x45, 0x53, 0x53, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x4f, - 0x54, 0x48, 0x45, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x14, 0x22, 0x7c, 0x0a, 0x14, - 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, - 0x74, 0x65, 0x72, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, - 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, - 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x65, 0x6e, 0x64, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x76, 0x6b, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x69, 0x76, 0x6b, 0x22, 0xa3, 0x01, 0x0a, 0x1b, 0x49, - 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x41, 0x6e, 0x64, 0x4d, 0x61, 0x72, 0x6b, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x74, - 0x61, 0x72, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, - 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x5f, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0d, 0x65, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x10, - 0x0a, 0x03, 0x69, 0x76, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x69, 0x76, 0x6b, - 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x61, 0x6b, - 0x12, 0x0e, 0x0a, 0x02, 0x6e, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x6e, 0x6b, - 0x22, 0x7c, 0x0a, 0x14, 0x4f, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x72, - 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, - 0x6e, 0x64, 0x65, 0x78, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, - 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x65, - 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x10, 0x0a, 0x03, - 0x6f, 0x76, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, 0x22, 0x9f, - 0x01, 0x0a, 0x0c, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x12, - 0x37, 0x0a, 0x07, 0x6e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, - 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x52, - 0x07, 0x6e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x73, 0x1a, 0x56, 0x0a, 0x06, 0x4e, 0x6f, 0x74, 0x65, - 0x54, 0x78, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, - 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, - 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, - 0x22, 0xc6, 0x01, 0x0a, 0x12, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, - 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x64, 0x12, 0x3d, 0x0a, 0x07, 0x6e, 0x6f, 0x74, 0x65, 0x54, - 0x78, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, - 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x64, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x52, 0x07, 0x6e, - 0x6f, 0x74, 0x65, 0x54, 0x78, 0x73, 0x1a, 0x71, 0x0a, 0x06, 0x4e, 0x6f, 0x74, 0x65, 0x54, 0x78, - 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, - 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, - 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x19, - 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x07, 0x69, 0x73, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x22, 0x6b, 0x0a, 0x04, 0x4e, 0x6f, 0x74, - 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x79, 0x6d, 0x65, - 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0e, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x12, 0x10, 0x0a, 0x03, 0x72, 0x63, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x72, - 0x63, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x22, 0x97, 0x01, 0x0a, 0x09, 0x53, 0x70, 0x65, 0x6e, 0x64, - 0x4e, 0x6f, 0x74, 0x65, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, - 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x12, 0x3c, - 0x0a, 0x07, 0x76, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x72, 0x65, - 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, 0x63, - 0x68, 0x65, 0x72, 0x52, 0x07, 0x76, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, - 0x70, 0x61, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, - 0x22, 0x31, 0x0a, 0x0b, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x12, - 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, - 0x6f, 0x74, 0x65, 0x22, 0x93, 0x03, 0x0a, 0x11, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x38, 0x0a, 0x18, 0x74, 0x72, 0x61, - 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x16, 0x74, 0x72, 0x61, - 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x03, 0x61, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x03, 0x6e, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, - 0x6d, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, - 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3c, 0x0a, 0x0f, 0x73, 0x68, - 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x06, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, - 0x70, 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x0e, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, - 0x65, 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x12, 0x42, 0x0a, 0x11, 0x73, 0x68, 0x69, 0x65, - 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x18, 0x07, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, - 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x10, 0x73, 0x68, 0x69, 0x65, - 0x6c, 0x64, 0x65, 0x64, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x16, - 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x74, 0x72, - 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, - 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x9b, 0x03, 0x0a, 0x1b, 0x50, 0x72, - 0x69, 0x76, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x57, - 0x69, 0x74, 0x68, 0x6f, 0x75, 0x74, 0x41, 0x73, 0x6b, 0x12, 0x38, 0x0a, 0x18, 0x74, 0x72, 0x61, - 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x16, 0x74, 0x72, 0x61, - 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x02, 0x61, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x03, 0x6e, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x5f, - 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x66, 0x72, - 0x6f, 0x6d, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3c, 0x0a, 0x0f, 0x73, 0x68, 0x69, 0x65, - 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, - 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x0e, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, - 0x53, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x12, 0x42, 0x0a, 0x11, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, - 0x65, 0x64, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x63, - 0x65, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x10, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, - 0x65, 0x64, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x74, 0x72, - 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x74, 0x72, 0x61, 0x6e, - 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x18, 0x0a, - 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, - 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x59, 0x0a, 0x16, 0x53, 0x70, 0x65, 0x6e, 0x64, - 0x41, 0x75, 0x74, 0x68, 0x53, 0x69, 0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, - 0x73, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, - 0x61, 0x73, 0x6b, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x74, 0x78, 0x48, 0x61, 0x73, 0x68, 0x12, 0x14, 0x0a, 0x05, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x22, 0x90, 0x01, 0x0a, 0x0c, 0x4e, 0x66, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, - 0x65, 0x72, 0x73, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, - 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x3c, 0x0a, 0x07, 0x76, 0x6f, 0x75, 0x63, 0x68, - 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, - 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x52, 0x07, 0x76, 0x6f, - 0x75, 0x63, 0x68, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x02, 0x61, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x6e, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x02, 0x6e, 0x6b, 0x22, 0x52, 0x0a, 0x1a, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x65, - 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x03, 0x61, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x03, 0x6e, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, 0x22, 0x33, 0x0a, 0x11, 0x56, 0x69, 0x65, - 0x77, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x0e, - 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x61, 0x6b, 0x12, 0x0e, - 0x0a, 0x02, 0x6e, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x6e, 0x6b, 0x22, 0x2d, - 0x0a, 0x19, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x56, 0x69, 0x65, 0x77, 0x69, 0x6e, - 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x69, - 0x76, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x69, 0x76, 0x6b, 0x22, 0x22, 0x0a, - 0x12, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x12, 0x0c, 0x0a, 0x01, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, - 0x64, 0x22, 0x89, 0x01, 0x0a, 0x24, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x56, 0x69, - 0x65, 0x77, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, - 0x69, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x35, 0x0a, 0x03, 0x69, 0x76, - 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x56, 0x69, 0x65, 0x77, 0x69, - 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x03, 0x69, 0x76, - 0x6b, 0x12, 0x2a, 0x0a, 0x01, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, - 0x69, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x01, 0x64, 0x22, 0x7e, 0x0a, - 0x15, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2a, 0x0a, 0x01, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x69, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, - 0x01, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x6b, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x03, 0x70, 0x6b, 0x44, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, - 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xd6, 0x01, - 0x0a, 0x13, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x02, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x03, 0x61, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6e, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x61, - 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x61, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x6e, - 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x6e, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x69, - 0x76, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x69, 0x76, 0x6b, 0x12, 0x0c, 0x0a, - 0x01, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x70, - 0x6b, 0x44, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x70, 0x6b, 0x44, 0x12, 0x27, 0x0a, - 0x0f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x7e, 0x0a, 0x0e, 0x4e, 0x6f, 0x74, 0x65, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x61, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x6e, 0x6b, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x6e, 0x6b, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, - 0x74, 0x78, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, - 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x3f, 0x0a, 0x0b, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x52, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x18, 0x0a, - 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x5a, 0x0a, 0x13, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x43, - 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, - 0x6f, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, - 0x66, 0x6f, 0x52, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x6e, 0x66, 0x6f, 0x22, 0x84, 0x01, 0x0a, 0x0e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x74, - 0x65, 0x54, 0x52, 0x43, 0x32, 0x30, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, - 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x22, 0x98, 0x03, 0x0a, 0x1e, 0x50, - 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, - 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x10, 0x0a, - 0x03, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x61, 0x73, 0x6b, 0x12, - 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6e, 0x73, - 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, - 0x6f, 0x76, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, 0x6d, 0x6f, 0x75, - 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x6d, - 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x41, 0x0a, 0x0f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, - 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x4e, 0x6f, - 0x74, 0x65, 0x54, 0x52, 0x43, 0x32, 0x30, 0x52, 0x0e, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, - 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x12, 0x42, 0x0a, 0x11, 0x73, 0x68, 0x69, 0x65, 0x6c, - 0x64, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, - 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x10, 0x73, 0x68, 0x69, 0x65, 0x6c, - 0x64, 0x65, 0x64, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x74, - 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x74, 0x72, 0x61, - 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x08, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x45, - 0x0a, 0x1f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x54, 0x52, 0x43, 0x32, 0x30, - 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x1c, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, - 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xa0, 0x03, 0x0a, 0x28, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, - 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x6f, 0x75, 0x74, 0x41, - 0x73, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, - 0x61, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x03, 0x6e, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, - 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x72, 0x6f, - 0x6d, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x41, 0x0a, 0x0f, 0x73, 0x68, 0x69, 0x65, 0x6c, - 0x64, 0x65, 0x64, 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, - 0x64, 0x4e, 0x6f, 0x74, 0x65, 0x54, 0x52, 0x43, 0x32, 0x30, 0x52, 0x0e, 0x73, 0x68, 0x69, 0x65, - 0x6c, 0x64, 0x65, 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x12, 0x42, 0x0a, 0x11, 0x73, 0x68, - 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x18, - 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x10, 0x73, 0x68, - 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x12, 0x34, - 0x0a, 0x16, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, - 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, - 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, - 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, 0x6e, - 0x74, 0x12, 0x45, 0x0a, 0x1f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x54, 0x52, - 0x43, 0x32, 0x30, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x1c, 0x73, 0x68, 0x69, 0x65, - 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xde, 0x02, 0x0a, 0x17, 0x53, 0x68, 0x69, - 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, - 0x74, 0x65, 0x72, 0x73, 0x12, 0x47, 0x0a, 0x11, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x64, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, - 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x73, 0x70, 0x65, - 0x6e, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4d, 0x0a, - 0x13, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x44, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, - 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x11, - 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, - 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x61, 0x73, 0x68, 0x12, 0x34, 0x0a, 0x16, - 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x74, 0x72, - 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x49, 0x6e, 0x70, - 0x75, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x5f, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x61, - 0x6d, 0x65, 0x74, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x22, 0x80, 0x02, 0x0a, 0x19, 0x49, 0x76, - 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x72, 0x74, - 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, - 0x64, 0x65, 0x78, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, - 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x65, 0x6e, - 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x45, 0x0a, 0x1f, 0x73, - 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x54, 0x52, 0x43, 0x32, 0x30, 0x5f, 0x63, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x1c, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, - 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x76, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x03, 0x69, 0x76, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x02, 0x61, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x6e, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x02, 0x6e, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x07, - 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xe0, 0x01, 0x0a, - 0x19, 0x4f, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x54, 0x52, 0x43, 0x32, 0x30, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x74, - 0x61, 0x72, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, - 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x5f, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0d, 0x65, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x10, - 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, - 0x12, 0x45, 0x0a, 0x1f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x54, 0x52, 0x43, - 0x32, 0x30, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x1c, 0x73, 0x68, 0x69, 0x65, 0x6c, - 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, - 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, - 0xb4, 0x02, 0x0a, 0x11, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, - 0x54, 0x52, 0x43, 0x32, 0x30, 0x12, 0x3c, 0x0a, 0x07, 0x6e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x54, 0x52, - 0x43, 0x32, 0x30, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x52, 0x07, 0x6e, 0x6f, 0x74, 0x65, - 0x54, 0x78, 0x73, 0x1a, 0xe0, 0x01, 0x0a, 0x06, 0x4e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x12, 0x22, - 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, - 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19, - 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x07, 0x69, 0x73, 0x53, 0x70, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, - 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x12, 0x14, 0x0a, - 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, - 0x64, 0x65, 0x78, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, - 0x12, 0x34, 0x0a, 0x16, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, - 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xba, 0x01, 0x0a, 0x11, 0x4e, 0x66, 0x54, 0x52, 0x43, - 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x22, 0x0a, 0x04, - 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, - 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x61, 0x6b, - 0x12, 0x0e, 0x0a, 0x02, 0x6e, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x6e, 0x6b, - 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, 0x1f, - 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x54, 0x52, 0x43, 0x32, 0x30, 0x5f, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x1c, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, - 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x22, 0x2c, 0x0a, 0x0f, 0x4e, 0x75, 0x6c, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x72, - 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x73, 0x70, 0x65, - 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x53, 0x70, 0x65, 0x6e, - 0x74, 0x22, 0xa9, 0x02, 0x0a, 0x26, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, - 0x43, 0x32, 0x30, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x5d, 0x0a, 0x19, - 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x54, 0x52, 0x43, 0x32, 0x30, 0x5f, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x68, 0x69, 0x65, 0x6c, - 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, - 0x72, 0x73, 0x52, 0x17, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, - 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x52, 0x0a, 0x19, 0x73, - 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x73, - 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x17, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x41, 0x75, 0x74, - 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, - 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x16, 0x74, 0x72, 0x61, 0x6e, 0x73, - 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, - 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x32, 0xbe, 0x72, - 0x0a, 0x06, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x12, 0x67, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x41, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x33, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x2d, 0x22, 0x12, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, - 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x14, 0x12, 0x12, 0x2f, - 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x12, 0x73, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, - 0x79, 0x49, 0x64, 0x12, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x3b, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x35, 0x22, 0x16, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x62, 0x79, 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x18, 0x12, 0x16, - 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x62, 0x79, 0x69, 0x64, 0x12, 0x99, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1f, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, - 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x41, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x22, 0x19, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, - 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x62, 0x61, 0x6c, 0x61, 0x6e, - 0x63, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x1b, 0x12, 0x19, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, - 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x62, 0x61, 0x6c, 0x61, 0x6e, - 0x63, 0x65, 0x12, 0xa9, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, - 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x12, 0x2b, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x61, 0x6c, 0x61, - 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x1a, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, - 0x54, 0x72, 0x61, 0x63, 0x65, 0x22, 0x47, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x41, 0x22, 0x1c, 0x2f, - 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, - 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x74, 0x72, 0x61, 0x63, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x1e, - 0x12, 0x1c, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x74, 0x72, 0x61, 0x63, 0x65, 0x12, 0x89, - 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x41, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x22, - 0x19, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x74, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x01, 0x2a, 0x5a, 0x1b, 0x12, - 0x19, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x74, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x52, 0x0a, 0x12, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x32, - 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x66, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x88, - 0x01, 0x0a, 0x14, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x10, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, - 0x22, 0x47, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x41, 0x22, 0x1c, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x2f, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x01, 0x2a, 0x5a, 0x1e, 0x12, 0x1c, 0x2f, 0x77, 0x61, - 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x74, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x82, 0x01, 0x0a, 0x0d, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, - 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x61, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, - 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x7e, - 0x0a, 0x0c, 0x53, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x37, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x22, 0x14, 0x2f, - 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x73, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x16, 0x12, 0x14, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x2f, 0x73, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x64, 0x12, 0x53, - 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x32, - 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, - 0x6e, 0x22, 0x00, 0x12, 0x8f, 0x01, 0x0a, 0x12, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, - 0x65, 0x73, 0x73, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, - 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x22, 0x1a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x2f, 0x76, 0x6f, 0x74, 0x65, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x61, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x1c, 0x12, 0x1a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, - 0x65, 0x74, 0x2f, 0x76, 0x6f, 0x74, 0x65, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x61, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, - 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, - 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x11, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x23, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, - 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x13, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, - 0x6e, 0x65, 0x73, 0x73, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0x12, 0x1d, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, - 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x88, 0x01, - 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, - 0x75, 0x65, 0x12, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, - 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x22, - 0x18, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x61, - 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x1a, 0x12, 0x18, - 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x61, 0x73, - 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x12, 0x53, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x32, 0x12, 0x1c, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, - 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x82, 0x01, - 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, - 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, - 0x73, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, - 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x77, - 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, - 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x77, 0x69, 0x74, 0x6e, 0x65, - 0x73, 0x73, 0x12, 0x53, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, - 0x65, 0x73, 0x73, 0x32, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, - 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, - 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x53, 0x0a, 0x0e, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0x12, 0x1f, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, - 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, - 0x00, 0x12, 0x82, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, - 0x65, 0x73, 0x73, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, - 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, - 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x77, - 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x53, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x32, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x0d, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x1f, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, - 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, - 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x61, - 0x73, 0x73, 0x65, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, - 0x65, 0x74, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x61, 0x73, 0x73, 0x65, 0x74, - 0x12, 0x53, 0x0a, 0x0e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, - 0x74, 0x32, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, - 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0xa2, 0x01, 0x0a, 0x15, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, - 0x69, 0x70, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x12, - 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, - 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, - 0x49, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x43, 0x22, 0x1d, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, - 0x2f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, 0x61, 0x73, 0x73, 0x65, - 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x1f, 0x12, 0x1d, 0x2f, 0x77, 0x61, - 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, - 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x12, 0x63, 0x0a, 0x16, 0x50, 0x61, - 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, - 0x73, 0x75, 0x65, 0x32, 0x12, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, - 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, - 0x82, 0x01, 0x0a, 0x0d, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, - 0x65, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x46, 0x72, 0x65, - 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x66, 0x72, 0x65, 0x65, 0x7a, - 0x65, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, - 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x62, 0x61, 0x6c, - 0x61, 0x6e, 0x63, 0x65, 0x12, 0x53, 0x0a, 0x0e, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x32, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, - 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x0f, 0x46, 0x72, 0x65, - 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x12, 0x21, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, - 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, - 0x00, 0x12, 0x8a, 0x01, 0x0a, 0x0f, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, - 0x3d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x22, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, - 0x2f, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, - 0x3a, 0x01, 0x2a, 0x5a, 0x19, 0x12, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, - 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x57, - 0x0a, 0x10, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, - 0x65, 0x32, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x6e, - 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, - 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x11, 0x55, 0x6e, 0x66, 0x72, 0x65, - 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x12, 0x23, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, - 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, - 0x6e, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x0d, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, - 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, - 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x61, 0x73, 0x73, 0x65, 0x74, 0x3a, 0x01, 0x2a, 0x5a, - 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x6e, 0x66, 0x72, 0x65, - 0x65, 0x7a, 0x65, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x53, 0x0a, 0x0e, 0x55, 0x6e, 0x66, 0x72, - 0x65, 0x65, 0x7a, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x32, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x73, - 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x8a, 0x01, - 0x0a, 0x0f, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, - 0x65, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, - 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3d, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x37, 0x22, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x77, 0x69, 0x74, - 0x68, 0x64, 0x72, 0x61, 0x77, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x3a, 0x01, 0x2a, 0x5a, - 0x19, 0x12, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x77, 0x69, 0x74, 0x68, 0x64, - 0x72, 0x61, 0x77, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x57, 0x0a, 0x10, 0x57, 0x69, - 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x32, 0x12, 0x21, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, - 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, - 0x6e, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x16, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x45, - 0x78, 0x70, 0x69, 0x72, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x12, 0x28, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, - 0x77, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, - 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x10, 0x44, 0x65, 0x6c, - 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x22, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, - 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, - 0x6e, 0x22, 0x00, 0x12, 0x5c, 0x0a, 0x12, 0x55, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, - 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, - 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, - 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, - 0x00, 0x12, 0x5e, 0x0a, 0x13, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x6c, 0x6c, 0x55, 0x6e, - 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x12, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x6c, 0x6c, 0x55, 0x6e, 0x66, - 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, - 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, - 0x00, 0x12, 0x7a, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, - 0x12, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, - 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x35, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x22, 0x13, - 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x61, 0x73, - 0x73, 0x65, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x15, 0x12, 0x13, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x4f, 0x0a, - 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x32, 0x12, 0x1d, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, - 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x54, - 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x12, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, - 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, - 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x41, 0x70, 0x70, 0x72, 0x6f, - 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x54, 0x0a, 0x0e, - 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x20, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, - 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, - 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x0a, 0x42, 0x75, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, - 0x12, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x75, 0x79, 0x53, - 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, - 0x12, 0x56, 0x0a, 0x0f, 0x42, 0x75, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x42, 0x79, - 0x74, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, - 0x75, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, - 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x0b, 0x53, 0x65, 0x6c, 0x6c, - 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x53, 0x65, 0x6c, 0x6c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, - 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x54, 0x0a, 0x0e, 0x45, 0x78, 0x63, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x20, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x54, - 0x0a, 0x0e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, - 0x12, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, - 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x10, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x12, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x57, 0x69, 0x74, 0x68, - 0x64, 0x72, 0x61, 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5e, - 0x0a, 0x13, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x56, - 0x0a, 0x0f, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x6c, 0x41, 0x73, 0x73, 0x65, - 0x74, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, - 0x6b, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x6c, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, - 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x11, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, - 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x23, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x43, 0x61, 0x6e, - 0x63, 0x65, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, - 0x22, 0x00, 0x12, 0x45, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, - 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, - 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x17, 0x47, 0x65, 0x74, - 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x41, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x19, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, - 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x14, 0x47, 0x65, 0x74, - 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x42, 0x79, 0x50, 0x61, 0x69, - 0x72, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, - 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x1a, 0x19, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, - 0x69, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x18, 0x47, 0x65, 0x74, - 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x42, - 0x79, 0x50, 0x61, 0x69, 0x72, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, - 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, - 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x4c, 0x0a, - 0x11, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x61, 0x69, 0x72, 0x4c, 0x69, - 0x73, 0x74, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, - 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1d, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, - 0x72, 0x50, 0x61, 0x69, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x09, 0x4c, - 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x1a, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, - 0x4c, 0x69, 0x73, 0x74, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x22, 0x11, 0x2f, 0x77, - 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x3a, - 0x01, 0x2a, 0x5a, 0x13, 0x12, 0x11, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, 0x69, - 0x73, 0x74, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x92, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x41, - 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x42, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x12, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, - 0x4b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x22, 0x1e, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, - 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x62, 0x79, - 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x20, 0x12, 0x1e, 0x2f, 0x77, - 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, - 0x73, 0x75, 0x65, 0x62, 0x79, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x7a, 0x0a, 0x0d, - 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x65, 0x74, 0x12, 0x11, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x1a, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x4e, 0x65, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x39, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, - 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x6e, 0x65, 0x74, 0x3a, 0x01, 0x2a, 0x5a, - 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x6e, 0x65, 0x74, 0x12, 0x4b, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x41, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x11, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x1a, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x92, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, - 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x22, 0x45, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x22, 0x1b, 0x2f, 0x77, 0x61, - 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, - 0x75, 0x65, 0x62, 0x79, 0x6e, 0x61, 0x6d, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x1d, 0x12, 0x1b, 0x2f, - 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, - 0x73, 0x73, 0x75, 0x65, 0x62, 0x79, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4d, 0x0a, 0x17, 0x47, 0x65, - 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x42, - 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, - 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x11, 0x47, 0x65, 0x74, - 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x77, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x35, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x22, 0x13, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, - 0x67, 0x65, 0x74, 0x6e, 0x6f, 0x77, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x3a, 0x01, 0x2a, 0x5a, 0x15, - 0x12, 0x13, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x6e, 0x6f, 0x77, - 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x42, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x77, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x32, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, - 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x74, 0x0a, 0x0d, 0x47, 0x65, 0x74, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, - 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, - 0x6e, 0x75, 0x6d, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6e, 0x75, 0x6d, 0x12, - 0x45, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4e, 0x75, 0x6d, - 0x32, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, - 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, 0x6e, - 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, - 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x0c, 0x47, - 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x37, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x22, 0x14, 0x2f, 0x77, - 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, - 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x16, 0x12, 0x14, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, - 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x69, 0x64, 0x12, 0x87, 0x01, - 0x0a, 0x13, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4c, 0x69, 0x6d, 0x69, - 0x74, 0x4e, 0x65, 0x78, 0x74, 0x12, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x1a, 0x13, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, - 0x22, 0x45, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x22, 0x1b, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6c, 0x69, 0x6d, 0x69, - 0x74, 0x6e, 0x65, 0x78, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x1d, 0x12, 0x1b, 0x2f, 0x77, 0x61, 0x6c, - 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6c, 0x69, - 0x6d, 0x69, 0x74, 0x6e, 0x65, 0x78, 0x74, 0x12, 0x4c, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4e, 0x65, 0x78, 0x74, 0x32, 0x12, - 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, - 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x8a, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x42, 0x79, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x45, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x3f, 0x22, 0x1b, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, - 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x6e, 0x75, 0x6d, - 0x3a, 0x01, 0x2a, 0x5a, 0x1d, 0x12, 0x1b, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, - 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x6e, - 0x75, 0x6d, 0x12, 0x4f, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, - 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x4e, 0x75, 0x6d, 0x32, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, - 0x6e, 0x22, 0x00, 0x12, 0x88, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x3d, 0x22, 0x1a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x79, 0x69, 0x64, 0x3a, 0x01, 0x2a, - 0x5a, 0x1c, 0x12, 0x1a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x74, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x79, 0x69, 0x64, 0x12, 0x51, - 0x0a, 0x0e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x12, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, - 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, - 0x00, 0x12, 0x40, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, - 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x22, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x57, 0x72, 0x61, 0x70, 0x70, - 0x65, 0x72, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x0f, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, - 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x17, 0x54, 0x72, 0x69, - 0x67, 0x67, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, - 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x0e, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, - 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, 0x74, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, - 0x67, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x10, 0x43, - 0x6c, 0x65, 0x61, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x42, 0x49, 0x12, - 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x72, - 0x41, 0x42, 0x49, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x79, 0x0a, - 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x16, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x39, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, - 0x69, 0x73, 0x74, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x3a, 0x01, 0x2a, 0x5a, - 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x77, - 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x5d, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x44, - 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x12, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, - 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x5f, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x44, 0x65, - 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, - 0x32, 0x12, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, - 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x65, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x44, - 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x16, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x1a, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x00, 0x12, - 0x67, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, - 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, - 0x64, 0x65, 0x78, 0x56, 0x32, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x27, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, - 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x00, 0x12, 0x75, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, - 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x61, 0x78, 0x53, 0x69, - 0x7a, 0x65, 0x12, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x61, - 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, - 0x2c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x61, 0x6e, 0x44, 0x65, - 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, - 0x84, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, - 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x31, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x76, 0x61, 0x69, - 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x1a, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x41, - 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, - 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x87, 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x43, 0x61, - 0x6e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, - 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x43, 0x61, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x55, 0x6e, - 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x32, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x61, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, - 0x77, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, - 0x12, 0x7a, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, - 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, - 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x4c, 0x69, 0x73, - 0x74, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, - 0x65, 0x74, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, - 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, - 0x69, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x9f, 0x01, 0x0a, - 0x18, 0x47, 0x65, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x50, 0x72, 0x6f, - 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x4f, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x49, 0x22, 0x20, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, - 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x70, 0x72, 0x6f, 0x70, 0x6f, - 0x73, 0x61, 0x6c, 0x6c, 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x22, 0x12, 0x20, 0x2f, 0x77, - 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, - 0x65, 0x64, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x7c, - 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x42, 0x79, 0x49, - 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, - 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x22, 0x3d, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x22, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, - 0x65, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x62, 0x79, 0x69, 0x64, 0x3a, 0x01, - 0x2a, 0x5a, 0x19, 0x12, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, - 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x62, 0x79, 0x69, 0x64, 0x12, 0x7a, 0x0a, 0x0d, - 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x16, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x39, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, - 0x69, 0x73, 0x74, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x3a, 0x01, 0x2a, 0x5a, - 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x65, - 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x9f, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, - 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, - 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x4f, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x49, 0x22, 0x20, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, - 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, - 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x22, 0x12, 0x20, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x65, 0x78, - 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x7c, 0x0a, 0x0f, 0x47, 0x65, - 0x74, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x22, 0x3d, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x37, 0x22, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x65, 0x78, - 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x62, 0x79, 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x19, 0x12, - 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x65, 0x78, 0x63, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x62, 0x79, 0x69, 0x64, 0x12, 0x8c, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, - 0x43, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, - 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, - 0x72, 0x73, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x22, 0x1a, 0x2f, 0x77, 0x61, 0x6c, - 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x70, 0x61, 0x72, 0x61, - 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x1c, 0x12, 0x1a, 0x2f, 0x77, 0x61, - 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x70, 0x61, 0x72, - 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x88, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, - 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, - 0x41, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x22, 0x19, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, - 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, 0x69, - 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x1b, 0x12, 0x19, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, - 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, 0x69, - 0x73, 0x74, 0x12, 0xa7, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, - 0x74, 0x65, 0x64, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, - 0x74, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x61, 0x67, - 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, - 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x53, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4d, 0x22, - 0x22, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, - 0x6e, 0x61, 0x74, 0x65, 0x64, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, - 0x69, 0x73, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x24, 0x12, 0x22, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x61, 0x73, - 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x84, 0x01, 0x0a, - 0x10, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, - 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x22, 0x18, 0x2f, 0x77, 0x61, 0x6c, - 0x6c, 0x65, 0x74, 0x2f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x01, 0x2a, 0x5a, 0x1a, 0x12, 0x18, 0x2f, 0x77, 0x61, 0x6c, 0x6c, - 0x65, 0x74, 0x2f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x96, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x78, 0x74, 0x4d, - 0x61, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, - 0x4b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x22, 0x1e, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, - 0x2f, 0x67, 0x65, 0x74, 0x6e, 0x65, 0x78, 0x74, 0x6d, 0x61, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x61, - 0x6e, 0x63, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x20, 0x12, 0x1e, 0x2f, 0x77, - 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x6e, 0x65, 0x78, 0x74, 0x6d, 0x61, 0x69, - 0x6e, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x98, 0x01, 0x0a, - 0x16, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x6e, 0x66, 0x6f, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, - 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x4b, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x45, 0x22, 0x1e, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x74, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x66, 0x6f, 0x62, 0x79, - 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x20, 0x12, 0x1e, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, - 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x69, - 0x6e, 0x66, 0x6f, 0x62, 0x79, 0x69, 0x64, 0x12, 0xb3, 0x01, 0x0a, 0x17, 0x41, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x12, 0x29, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x4d, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x47, 0x22, 0x1f, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, - 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x21, 0x12, 0x1f, 0x2f, 0x77, - 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x70, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x54, 0x0a, - 0x18, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, - 0x69, 0x67, 0x6e, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x57, 0x65, 0x69, 0x67, 0x68, - 0x74, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x4c, 0x69, 0x73, - 0x74, 0x12, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, - 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x3b, 0x0a, - 0x0b, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x1a, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x00, 0x12, 0x42, 0x0a, 0x0d, 0x47, 0x65, - 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, - 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x45, - 0x0a, 0x10, 0x47, 0x65, 0x74, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x61, 0x67, 0x65, 0x49, 0x6e, - 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, - 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, - 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x61, 0x67, 0x65, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, - 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5a, 0x0a, - 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, - 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5f, 0x0a, 0x18, 0x47, 0x65, 0x74, - 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, 0x65, 0x65, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, - 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, - 0x1a, 0x26, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x72, - 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, - 0x63, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0d, 0x53, 0x63, - 0x61, 0x6e, 0x4e, 0x6f, 0x74, 0x65, 0x42, 0x79, 0x49, 0x76, 0x6b, 0x12, 0x1e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, - 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x16, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, - 0x74, 0x65, 0x73, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x14, 0x53, 0x63, 0x61, 0x6e, 0x41, 0x6e, 0x64, - 0x4d, 0x61, 0x72, 0x6b, 0x4e, 0x6f, 0x74, 0x65, 0x42, 0x79, 0x49, 0x76, 0x6b, 0x12, 0x25, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, - 0x79, 0x70, 0x74, 0x41, 0x6e, 0x64, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, - 0x74, 0x65, 0x72, 0x73, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x4d, 0x61, 0x72, 0x6b, - 0x65, 0x64, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0d, 0x53, 0x63, 0x61, 0x6e, 0x4e, 0x6f, 0x74, 0x65, - 0x42, 0x79, 0x4f, 0x76, 0x6b, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x4f, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x22, 0x00, 0x12, - 0x42, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, - 0x79, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, - 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x64, - 0x65, 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x12, 0x16, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x65, 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, - 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x40, 0x0a, - 0x0c, 0x47, 0x65, 0x74, 0x41, 0x6b, 0x46, 0x72, 0x6f, 0x6d, 0x41, 0x73, 0x6b, 0x12, 0x16, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, - 0x40, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x4e, 0x6b, 0x46, 0x72, 0x6f, 0x6d, 0x4e, 0x73, 0x6b, 0x12, - 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, - 0x00, 0x12, 0x5b, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, - 0x56, 0x69, 0x65, 0x77, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x12, 0x1b, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x56, 0x69, 0x65, 0x77, 0x69, - 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x48, - 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, - 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, - 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x4e, - 0x65, 0x77, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, - 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x00, 0x12, 0x69, 0x0a, 0x14, 0x47, 0x65, - 0x74, 0x5a, 0x65, 0x6e, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x12, 0x2e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, - 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x56, 0x69, 0x65, 0x77, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, - 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x61, - 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x06, 0x47, 0x65, 0x74, 0x52, 0x63, 0x6d, 0x12, - 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, - 0x00, 0x12, 0x3c, 0x0a, 0x07, 0x49, 0x73, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x12, 0x18, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, - 0x77, 0x0a, 0x2c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, - 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x74, 0x68, - 0x6f, 0x75, 0x74, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x41, 0x75, 0x74, 0x68, 0x53, 0x69, 0x67, 0x12, - 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x61, - 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, - 0x6f, 0x75, 0x74, 0x41, 0x73, 0x6b, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, - 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x53, - 0x68, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x48, 0x61, 0x73, 0x68, 0x12, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x16, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, - 0x70, 0x65, 0x6e, 0x64, 0x41, 0x75, 0x74, 0x68, 0x53, 0x69, 0x67, 0x12, 0x20, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x41, 0x75, 0x74, 0x68, - 0x53, 0x69, 0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x16, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x4e, 0x75, 0x6c, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x72, - 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x66, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x22, 0x00, 0x12, 0x71, 0x0a, 0x20, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, - 0x6c, 0x64, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x28, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, - 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, - 0x1a, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x68, 0x69, 0x65, - 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, - 0x65, 0x72, 0x73, 0x22, 0x00, 0x12, 0x85, 0x01, 0x0a, 0x2a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x6f, 0x75, - 0x74, 0x41, 0x73, 0x6b, 0x12, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, - 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, - 0x74, 0x68, 0x6f, 0x75, 0x74, 0x41, 0x73, 0x6b, 0x1a, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, - 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x22, 0x00, 0x12, 0x61, 0x0a, - 0x1b, 0x53, 0x63, 0x61, 0x6e, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, - 0x32, 0x30, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x42, 0x79, 0x49, 0x76, 0x6b, 0x12, 0x23, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, - 0x70, 0x74, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, - 0x73, 0x1a, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, - 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x54, 0x52, 0x43, 0x32, 0x30, 0x22, 0x00, - 0x12, 0x61, 0x0a, 0x1b, 0x53, 0x63, 0x61, 0x6e, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, - 0x54, 0x52, 0x43, 0x32, 0x30, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x42, 0x79, 0x4f, 0x76, 0x6b, 0x12, - 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x76, 0x6b, 0x44, 0x65, - 0x63, 0x72, 0x79, 0x70, 0x74, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, - 0x74, 0x65, 0x72, 0x73, 0x1a, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x54, 0x52, 0x43, 0x32, - 0x30, 0x22, 0x00, 0x12, 0x5c, 0x0a, 0x20, 0x49, 0x73, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, - 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x4e, 0x6f, - 0x74, 0x65, 0x53, 0x70, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x4e, 0x66, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, - 0x74, 0x65, 0x72, 0x73, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x4e, 0x75, 0x6c, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, - 0x00, 0x12, 0x75, 0x0a, 0x27, 0x47, 0x65, 0x74, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x49, - 0x6e, 0x70, 0x75, 0x74, 0x46, 0x6f, 0x72, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, - 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x30, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, - 0x54, 0x52, 0x43, 0x32, 0x30, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x16, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x1c, - 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, - 0x66, 0x6f, 0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, - 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x42, 0x75, 0x72, - 0x6e, 0x54, 0x72, 0x78, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x72, 0x6f, 0x6d, 0x50, 0x65, 0x6e, - 0x64, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x15, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x50, - 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1b, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x43, 0x0a, - 0x0e, 0x47, 0x65, 0x74, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x7a, 0x65, 0x12, - 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x12, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, - 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x32, 0xf8, - 0x21, 0x0a, 0x0e, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, - 0x79, 0x12, 0x77, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, - 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x22, 0x1a, 0x2f, - 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, - 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x01, 0x2a, 0x5a, 0x1c, 0x12, 0x1a, - 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, - 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x83, 0x01, 0x0a, 0x0e, 0x47, - 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x49, 0x64, 0x12, 0x11, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x22, 0x4b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x22, 0x1e, 0x2f, 0x77, 0x61, - 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, - 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x62, 0x79, 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x20, - 0x12, 0x1e, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, - 0x79, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x62, 0x79, 0x69, 0x64, - 0x12, 0x89, 0x01, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, - 0x65, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, - 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, - 0x74, 0x22, 0x49, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x43, 0x22, 0x1d, 0x2f, 0x77, 0x61, 0x6c, 0x6c, - 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x77, - 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x1f, 0x12, 0x1d, 0x2f, - 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x6c, - 0x69, 0x73, 0x74, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x98, 0x01, 0x0a, - 0x11, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, - 0x73, 0x74, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, - 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, - 0x4c, 0x69, 0x73, 0x74, 0x22, 0x51, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4b, 0x22, 0x21, 0x2f, 0x77, - 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, - 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x3a, - 0x01, 0x2a, 0x5a, 0x23, 0x12, 0x21, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, - 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, - 0x73, 0x75, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0xb7, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x50, - 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, - 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, - 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x63, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x5d, 0x22, 0x2a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, - 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, - 0x65, 0x64, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, 0x69, 0x73, 0x74, - 0x3a, 0x01, 0x2a, 0x5a, 0x2c, 0x12, 0x2a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, - 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, - 0x74, 0x65, 0x64, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, 0x69, 0x73, - 0x74, 0x12, 0x4d, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, - 0x75, 0x65, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, - 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x22, 0x00, - 0x12, 0x4d, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, - 0x65, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, - 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, - 0x4b, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, - 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, - 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x22, 0x00, 0x12, 0x7d, 0x0a, 0x0b, - 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x77, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x16, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x45, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x22, 0x1b, 0x2f, 0x77, - 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, - 0x74, 0x6e, 0x6f, 0x77, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x3a, 0x01, 0x2a, 0x5a, 0x1d, 0x12, 0x1b, - 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, - 0x67, 0x65, 0x74, 0x6e, 0x6f, 0x77, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x42, 0x0a, 0x0c, 0x47, - 0x65, 0x74, 0x4e, 0x6f, 0x77, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x32, 0x12, 0x16, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, - 0x84, 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4e, 0x75, - 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, - 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x49, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x43, 0x22, 0x1d, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, - 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6e, - 0x75, 0x6d, 0x3a, 0x01, 0x2a, 0x5a, 0x1f, 0x12, 0x1d, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, - 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, - 0x6b, 0x62, 0x79, 0x6e, 0x75, 0x6d, 0x12, 0x45, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x32, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x53, 0x0a, - 0x1d, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, - 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x17, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, - 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x22, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, - 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1f, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, - 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, - 0x00, 0x12, 0x5f, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, - 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x32, 0x12, 0x22, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, - 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, - 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, - 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, - 0x22, 0x00, 0x12, 0x65, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, - 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x27, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, - 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x22, 0x47, 0x65, 0x74, - 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x56, 0x32, 0x12, - 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, - 0x22, 0x00, 0x12, 0x75, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, - 0x67, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x2b, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, - 0x61, 0x74, 0x65, 0x64, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x2c, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, - 0x64, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x84, 0x01, 0x0a, 0x19, 0x47, 0x65, - 0x74, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, - 0x7a, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x55, - 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x32, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, - 0x6c, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, - 0x12, 0x87, 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x43, 0x61, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x64, - 0x72, 0x61, 0x77, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, - 0x74, 0x12, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x61, 0x6e, - 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, - 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x1a, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x43, 0x61, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x55, 0x6e, 0x66, 0x72, 0x65, - 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x0f, 0x47, 0x65, - 0x74, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x22, 0x00, 0x12, 0x41, 0x0a, 0x0d, 0x4c, - 0x69, 0x73, 0x74, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x16, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x98, - 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x15, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x53, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4d, 0x22, 0x22, 0x2f, 0x77, - 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, - 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x79, 0x69, 0x64, - 0x3a, 0x01, 0x2a, 0x5a, 0x24, 0x12, 0x22, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, - 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x79, 0x69, 0x64, 0x12, 0xa8, 0x01, 0x0a, 0x16, 0x47, 0x65, - 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, - 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x19, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x5b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x55, 0x22, - 0x26, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, - 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x69, - 0x6e, 0x66, 0x6f, 0x62, 0x79, 0x69, 0x64, 0x3a, 0x01, 0x2a, 0x5a, 0x28, 0x12, 0x26, 0x2f, 0x77, - 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, - 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x66, 0x6f, - 0x62, 0x79, 0x69, 0x64, 0x12, 0x5f, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x72, 0x6b, 0x6c, - 0x65, 0x54, 0x72, 0x65, 0x65, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, - 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x75, 0x74, 0x70, - 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x26, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, - 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x49, - 0x6e, 0x66, 0x6f, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0d, 0x53, 0x63, 0x61, 0x6e, 0x4e, 0x6f, 0x74, - 0x65, 0x42, 0x79, 0x49, 0x76, 0x6b, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x22, 0x00, - 0x12, 0x5d, 0x0a, 0x14, 0x53, 0x63, 0x61, 0x6e, 0x41, 0x6e, 0x64, 0x4d, 0x61, 0x72, 0x6b, 0x4e, - 0x6f, 0x74, 0x65, 0x42, 0x79, 0x49, 0x76, 0x6b, 0x12, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x41, 0x6e, - 0x64, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, - 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, - 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x64, 0x22, 0x00, 0x12, - 0x49, 0x0a, 0x0d, 0x53, 0x63, 0x61, 0x6e, 0x4e, 0x6f, 0x74, 0x65, 0x42, 0x79, 0x4f, 0x76, 0x6b, - 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x76, 0x6b, 0x44, - 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, - 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, - 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x22, 0x00, 0x12, 0x3c, 0x0a, 0x07, 0x49, 0x73, - 0x53, 0x70, 0x65, 0x6e, 0x64, 0x12, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, - 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, - 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x1b, 0x53, 0x63, 0x61, 0x6e, - 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x4e, 0x6f, 0x74, - 0x65, 0x73, 0x42, 0x79, 0x49, 0x76, 0x6b, 0x12, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x54, 0x52, 0x43, - 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x1b, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, - 0x6f, 0x74, 0x65, 0x73, 0x54, 0x52, 0x43, 0x32, 0x30, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x1b, 0x53, - 0x63, 0x61, 0x6e, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, - 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x42, 0x79, 0x4f, 0x76, 0x6b, 0x12, 0x23, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, - 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, - 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, - 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x54, 0x52, 0x43, 0x32, 0x30, 0x22, 0x00, 0x12, 0x5c, - 0x0a, 0x20, 0x49, 0x73, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, - 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x53, 0x70, 0x65, - 0x6e, 0x74, 0x12, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x66, - 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, - 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x69, - 0x66, 0x69, 0x65, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, 0x42, 0x0a, 0x0d, - 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, - 0x12, 0x45, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x61, 0x67, 0x65, - 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x17, 0x54, 0x72, 0x69, 0x67, 0x67, - 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, - 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, - 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x0e, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, - 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x1c, 0x47, 0x65, 0x74, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x42, - 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x1a, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, - 0x74, 0x22, 0x00, 0x12, 0x45, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, - 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, - 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x17, 0x47, 0x65, - 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x41, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x19, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, - 0x72, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x14, 0x47, 0x65, - 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x42, 0x79, 0x50, 0x61, - 0x69, 0x72, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, - 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x1a, 0x19, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, - 0x72, 0x69, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x18, 0x47, 0x65, - 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, - 0x42, 0x79, 0x50, 0x61, 0x69, 0x72, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, - 0x72, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, - 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x4c, - 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x61, 0x69, 0x72, 0x4c, - 0x69, 0x73, 0x74, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, - 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1d, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, - 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x0a, - 0x47, 0x65, 0x74, 0x42, 0x75, 0x72, 0x6e, 0x54, 0x72, 0x78, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, - 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x3a, 0x0a, - 0x08, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, - 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x32, 0xad, 0x04, 0x0a, 0x0f, 0x57, 0x61, - 0x6c, 0x6c, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0xb1, 0x01, - 0x0a, 0x17, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x68, 0x69, 0x73, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x67, 0x69, - 0x6e, 0x61, 0x74, 0x65, 0x64, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, - 0x22, 0x5f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x59, 0x22, 0x28, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x66, 0x72, 0x6f, 0x6d, 0x74, 0x68, - 0x69, 0x73, 0x3a, 0x01, 0x2a, 0x5a, 0x2a, 0x12, 0x28, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, - 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x66, 0x72, 0x6f, 0x6d, 0x74, 0x68, 0x69, - 0x73, 0x12, 0x5c, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x68, 0x69, 0x73, 0x32, 0x12, 0x1a, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x1a, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, - 0xab, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x54, 0x6f, 0x54, 0x68, 0x69, 0x73, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x67, 0x69, - 0x6e, 0x61, 0x74, 0x65, 0x64, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, - 0x22, 0x5b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x55, 0x22, 0x26, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, - 0x74, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x74, 0x6f, 0x74, 0x68, 0x69, 0x73, - 0x3a, 0x01, 0x2a, 0x5a, 0x28, 0x12, 0x26, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x65, 0x78, - 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x74, 0x6f, 0x74, 0x68, 0x69, 0x73, 0x12, 0x5a, 0x0a, - 0x16, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x54, 0x6f, 0x54, 0x68, 0x69, 0x73, 0x32, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, - 0x74, 0x65, 0x64, 0x1a, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, - 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x32, 0x99, 0x02, 0x0a, 0x08, 0x44, 0x61, - 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x11, 0x67, 0x65, 0x74, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x00, 0x12, - 0x4d, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x50, 0x72, 0x6f, - 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, - 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, - 0x69, 0x63, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x22, 0x00, 0x12, 0x38, - 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x77, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x16, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x00, 0x12, 0x3b, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x22, 0x00, 0x32, 0x83, 0x01, 0x0a, 0x07, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, - 0x72, 0x12, 0x78, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x49, 0x6e, 0x66, - 0x6f, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, - 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, - 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x15, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, - 0x6f, 0x72, 0x2f, 0x67, 0x65, 0x74, 0x73, 0x74, 0x61, 0x74, 0x73, 0x69, 0x6e, 0x66, 0x6f, 0x3a, - 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x2f, 0x67, - 0x65, 0x74, 0x73, 0x74, 0x61, 0x74, 0x73, 0x69, 0x6e, 0x66, 0x6f, 0x32, 0x09, 0x0a, 0x07, 0x4e, - 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x42, 0x41, 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, - 0x6f, 0x6e, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x07, 0x47, 0x72, 0x70, 0x63, 0x41, 0x50, 0x49, 0x5a, - 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, - 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, -} +const file_api_api_proto_rawDesc = "" + + "\n" + + "\rapi/api.proto\x12\bprotocol\x1a\x0fcore/Tron.proto\x1a\x1cgoogle/api/annotations.proto\x1a(core/contract/asset_issue_contract.proto\x1a$core/contract/account_contract.proto\x1a$core/contract/witness_contract.proto\x1a$core/contract/balance_contract.proto\x1a%core/contract/proposal_contract.proto\x1a$core/contract/storage_contract.proto\x1a%core/contract/exchange_contract.proto\x1a#core/contract/market_contract.proto\x1a\"core/contract/smart_contract.proto\x1a#core/contract/shield_contract.proto\"\xc3\x03\n" + + "\x06Return\x12\x16\n" + + "\x06result\x18\x01 \x01(\bR\x06result\x122\n" + + "\x04code\x18\x02 \x01(\x0e2\x1e.protocol.Return.response_codeR\x04code\x12\x18\n" + + "\amessage\x18\x03 \x01(\fR\amessage\"\xd2\x02\n" + + "\rresponse_code\x12\v\n" + + "\aSUCCESS\x10\x00\x12\f\n" + + "\bSIGERROR\x10\x01\x12\x1b\n" + + "\x17CONTRACT_VALIDATE_ERROR\x10\x02\x12\x16\n" + + "\x12CONTRACT_EXE_ERROR\x10\x03\x12\x12\n" + + "\x0eBANDWITH_ERROR\x10\x04\x12\x19\n" + + "\x15DUP_TRANSACTION_ERROR\x10\x05\x12\x0f\n" + + "\vTAPOS_ERROR\x10\x06\x12\x1d\n" + + "\x19TOO_BIG_TRANSACTION_ERROR\x10\a\x12 \n" + + "\x1cTRANSACTION_EXPIRATION_ERROR\x10\b\x12\x0f\n" + + "\vSERVER_BUSY\x10\t\x12\x11\n" + + "\rNO_CONNECTION\x10\n" + + "\x12#\n" + + "\x1fNOT_ENOUGH_EFFECTIVE_CONNECTION\x10\v\x12\x16\n" + + "\x12BLOCK_UNSOLIDIFIED\x10\f\x12\x0f\n" + + "\vOTHER_ERROR\x10\x14\"L\n" + + "\x0eBlockReference\x12\x1b\n" + + "\tblock_num\x18\x01 \x01(\x03R\bblockNum\x12\x1d\n" + + "\n" + + "block_hash\x18\x02 \x01(\fR\tblockHash\">\n" + + "\vWitnessList\x12/\n" + + "\twitnesses\x18\x01 \x03(\v2\x11.protocol.WitnessR\twitnesses\"@\n" + + "\fProposalList\x120\n" + + "\tproposals\x18\x01 \x03(\v2\x12.protocol.ProposalR\tproposals\"@\n" + + "\fExchangeList\x120\n" + + "\texchanges\x18\x01 \x03(\v2\x12.protocol.ExchangeR\texchanges\"N\n" + + "\x0eAssetIssueList\x12<\n" + + "\n" + + "assetIssue\x18\x01 \x03(\v2\x1c.protocol.AssetIssueContractR\n" + + "assetIssue\"2\n" + + "\tBlockList\x12%\n" + + "\x05block\x18\x01 \x03(\v2\x0f.protocol.BlockR\x05block\"J\n" + + "\x0fTransactionList\x127\n" + + "\vtransaction\x18\x01 \x03(\v2\x15.protocol.TransactionR\vtransaction\"'\n" + + "\x11TransactionIdList\x12\x12\n" + + "\x04txId\x18\x01 \x03(\tR\x04txId\"Z\n" + + "\x18DelegatedResourceMessage\x12 \n" + + "\vfromAddress\x18\x01 \x01(\fR\vfromAddress\x12\x1c\n" + + "\ttoAddress\x18\x02 \x01(\fR\ttoAddress\"b\n" + + "\x15DelegatedResourceList\x12I\n" + + "\x11delegatedResource\x18\x01 \x03(\v2\x1b.protocol.DelegatedResourceR\x11delegatedResource\"N\n" + + "'GetAvailableUnfreezeCountRequestMessage\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\"@\n" + + "(GetAvailableUnfreezeCountResponseMessage\x12\x14\n" + + "\x05count\x18\x01 \x01(\x03R\x05count\"\\\n" + + "!CanDelegatedMaxSizeRequestMessage\x12\x12\n" + + "\x04type\x18\x01 \x01(\x05R\x04type\x12#\n" + + "\rowner_address\x18\x02 \x01(\fR\fownerAddress\"?\n" + + "\"CanDelegatedMaxSizeResponseMessage\x12\x19\n" + + "\bmax_size\x18\x01 \x01(\x03R\amaxSize\"l\n" + + "'CanWithdrawUnfreezeAmountRequestMessage\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x12\x1c\n" + + "\ttimestamp\x18\x02 \x01(\x03R\ttimestamp\"B\n" + + "(CanWithdrawUnfreezeAmountResponseMessage\x12\x16\n" + + "\x06amount\x18\x01 \x01(\x03R\x06amount\"/\n" + + "\x15PricesResponseMessage\x12\x16\n" + + "\x06prices\x18\x01 \x01(\tR\x06prices\"0\n" + + "\bNodeList\x12$\n" + + "\x05nodes\x18\x01 \x03(\v2\x0e.protocol.NodeR\x05nodes\"3\n" + + "\x04Node\x12+\n" + + "\aaddress\x18\x01 \x01(\v2\x11.protocol.AddressR\aaddress\"1\n" + + "\aAddress\x12\x12\n" + + "\x04host\x18\x01 \x01(\fR\x04host\x12\x12\n" + + "\x04port\x18\x02 \x01(\x05R\x04port\"\x0e\n" + + "\fEmptyMessage\"!\n" + + "\rNumberMessage\x12\x10\n" + + "\x03num\x18\x01 \x01(\x03R\x03num\"$\n" + + "\fBytesMessage\x12\x14\n" + + "\x05value\x18\x01 \x01(\fR\x05value\"m\n" + + "\vTimeMessage\x120\n" + + "\x13beginInMilliseconds\x18\x01 \x01(\x03R\x13beginInMilliseconds\x12,\n" + + "\x11endInMilliseconds\x18\x02 \x01(\x03R\x11endInMilliseconds\">\n" + + "\bBlockReq\x12\x1a\n" + + "\tid_or_num\x18\x01 \x01(\tR\aidOrNum\x12\x16\n" + + "\x06detail\x18\x02 \x01(\bR\x06detail\"@\n" + + "\n" + + "BlockLimit\x12\x1a\n" + + "\bstartNum\x18\x01 \x01(\x03R\bstartNum\x12\x16\n" + + "\x06endNum\x18\x02 \x01(\x03R\x06endNum\"T\n" + + "\x10TransactionLimit\x12$\n" + + "\rtransactionId\x18\x01 \x01(\fR\rtransactionId\x12\x1a\n" + + "\blimitNum\x18\x02 \x01(\x03R\blimitNum\"m\n" + + "\x10AccountPaginated\x12+\n" + + "\aaccount\x18\x01 \x01(\v2\x11.protocol.AccountR\aaccount\x12\x16\n" + + "\x06offset\x18\x02 \x01(\x03R\x06offset\x12\x14\n" + + "\x05limit\x18\x03 \x01(\x03R\x05limit\"}\n" + + "\x14TimePaginatedMessage\x127\n" + + "\vtimeMessage\x18\x01 \x01(\v2\x15.protocol.TimeMessageR\vtimeMessage\x12\x16\n" + + "\x06offset\x18\x02 \x01(\x03R\x06offset\x12\x14\n" + + "\x05limit\x18\x03 \x01(\x03R\x05limit\"\x89\x04\n" + + "\x11AccountNetMessage\x12 \n" + + "\vfreeNetUsed\x18\x01 \x01(\x03R\vfreeNetUsed\x12\"\n" + + "\ffreeNetLimit\x18\x02 \x01(\x03R\ffreeNetLimit\x12\x18\n" + + "\aNetUsed\x18\x03 \x01(\x03R\aNetUsed\x12\x1a\n" + + "\bNetLimit\x18\x04 \x01(\x03R\bNetLimit\x12Q\n" + + "\fassetNetUsed\x18\x05 \x03(\v2-.protocol.AccountNetMessage.AssetNetUsedEntryR\fassetNetUsed\x12T\n" + + "\rassetNetLimit\x18\x06 \x03(\v2..protocol.AccountNetMessage.AssetNetLimitEntryR\rassetNetLimit\x12$\n" + + "\rTotalNetLimit\x18\a \x01(\x03R\rTotalNetLimit\x12&\n" + + "\x0eTotalNetWeight\x18\b \x01(\x03R\x0eTotalNetWeight\x1a?\n" + + "\x11AssetNetUsedEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\x1a@\n" + + "\x12AssetNetLimitEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\"\xfc\x06\n" + + "\x16AccountResourceMessage\x12 \n" + + "\vfreeNetUsed\x18\x01 \x01(\x03R\vfreeNetUsed\x12\"\n" + + "\ffreeNetLimit\x18\x02 \x01(\x03R\ffreeNetLimit\x12\x18\n" + + "\aNetUsed\x18\x03 \x01(\x03R\aNetUsed\x12\x1a\n" + + "\bNetLimit\x18\x04 \x01(\x03R\bNetLimit\x12V\n" + + "\fassetNetUsed\x18\x05 \x03(\v22.protocol.AccountResourceMessage.AssetNetUsedEntryR\fassetNetUsed\x12Y\n" + + "\rassetNetLimit\x18\x06 \x03(\v23.protocol.AccountResourceMessage.AssetNetLimitEntryR\rassetNetLimit\x12$\n" + + "\rTotalNetLimit\x18\a \x01(\x03R\rTotalNetLimit\x12&\n" + + "\x0eTotalNetWeight\x18\b \x01(\x03R\x0eTotalNetWeight\x122\n" + + "\x14TotalTronPowerWeight\x18\t \x01(\x03R\x14TotalTronPowerWeight\x12$\n" + + "\rtronPowerUsed\x18\n" + + " \x01(\x03R\rtronPowerUsed\x12&\n" + + "\x0etronPowerLimit\x18\v \x01(\x03R\x0etronPowerLimit\x12\x1e\n" + + "\n" + + "EnergyUsed\x18\r \x01(\x03R\n" + + "EnergyUsed\x12 \n" + + "\vEnergyLimit\x18\x0e \x01(\x03R\vEnergyLimit\x12*\n" + + "\x10TotalEnergyLimit\x18\x0f \x01(\x03R\x10TotalEnergyLimit\x12,\n" + + "\x11TotalEnergyWeight\x18\x10 \x01(\x03R\x11TotalEnergyWeight\x12 \n" + + "\vstorageUsed\x18\x15 \x01(\x03R\vstorageUsed\x12\"\n" + + "\fstorageLimit\x18\x16 \x01(\x03R\fstorageLimit\x1a?\n" + + "\x11AssetNetUsedEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\x1a@\n" + + "\x12AssetNetLimitEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\"@\n" + + "\x10PaginatedMessage\x12\x16\n" + + "\x06offset\x18\x01 \x01(\x03R\x06offset\x12\x14\n" + + "\x05limit\x18\x02 \x01(\x03R\x05limit\"\x85\x03\n" + + "\x14TransactionExtention\x127\n" + + "\vtransaction\x18\x01 \x01(\v2\x15.protocol.TransactionR\vtransaction\x12\x12\n" + + "\x04txid\x18\x02 \x01(\fR\x04txid\x12'\n" + + "\x0fconstant_result\x18\x03 \x03(\fR\x0econstantResult\x12(\n" + + "\x06result\x18\x04 \x01(\v2\x10.protocol.ReturnR\x06result\x12\x1f\n" + + "\venergy_used\x18\x05 \x01(\x03R\n" + + "energyUsed\x121\n" + + "\x04logs\x18\x06 \x03(\v2\x1d.protocol.TransactionInfo.LogR\x04logs\x12R\n" + + "\x15internal_transactions\x18\a \x03(\v2\x1d.protocol.InternalTransactionR\x14internalTransactions\x12%\n" + + "\x0eenergy_penalty\x18\b \x01(\x03R\renergyPenalty\"j\n" + + "\x15EstimateEnergyMessage\x12(\n" + + "\x06result\x18\x01 \x01(\v2\x10.protocol.ReturnR\x06result\x12'\n" + + "\x0fenergy_required\x18\x02 \x01(\x03R\x0eenergyRequired\"\xa8\x01\n" + + "\x0eBlockExtention\x12B\n" + + "\ftransactions\x18\x01 \x03(\v2\x1e.protocol.TransactionExtentionR\ftransactions\x128\n" + + "\fblock_header\x18\x02 \x01(\v2\x15.protocol.BlockHeaderR\vblockHeader\x12\x18\n" + + "\ablockid\x18\x03 \x01(\fR\ablockid\"D\n" + + "\x12BlockListExtention\x12.\n" + + "\x05block\x18\x01 \x03(\v2\x18.protocol.BlockExtentionR\x05block\"\\\n" + + "\x18TransactionListExtention\x12@\n" + + "\vtransaction\x18\x01 \x03(\v2\x1e.protocol.TransactionExtentionR\vtransaction\"u\n" + + "\x1aBlockIncrementalMerkleTree\x12\x16\n" + + "\x06number\x18\x01 \x01(\x03R\x06number\x12?\n" + + "\n" + + "merkleTree\x18\x02 \x01(\v2\x1f.protocol.IncrementalMerkleTreeR\n" + + "merkleTree\"\xac\x04\n" + + "\x15TransactionSignWeight\x124\n" + + "\n" + + "permission\x18\x01 \x01(\v2\x14.protocol.PermissionR\n" + + "permission\x12#\n" + + "\rapproved_list\x18\x02 \x03(\fR\fapprovedList\x12%\n" + + "\x0ecurrent_weight\x18\x03 \x01(\x03R\rcurrentWeight\x12>\n" + + "\x06result\x18\x04 \x01(\v2&.protocol.TransactionSignWeight.ResultR\x06result\x12@\n" + + "\vtransaction\x18\x05 \x01(\v2\x1e.protocol.TransactionExtentionR\vtransaction\x1a\x8e\x02\n" + + "\x06Result\x12H\n" + + "\x04code\x18\x01 \x01(\x0e24.protocol.TransactionSignWeight.Result.response_codeR\x04code\x12\x18\n" + + "\amessage\x18\x02 \x01(\tR\amessage\"\x9f\x01\n" + + "\rresponse_code\x12\x15\n" + + "\x11ENOUGH_PERMISSION\x10\x00\x12\x19\n" + + "\x15NOT_ENOUGH_PERMISSION\x10\x01\x12\x1a\n" + + "\x16SIGNATURE_FORMAT_ERROR\x10\x02\x12\x19\n" + + "\x15COMPUTE_ADDRESS_ERROR\x10\x03\x12\x14\n" + + "\x10PERMISSION_ERROR\x10\x04\x12\x0f\n" + + "\vOTHER_ERROR\x10\x14\"\x99\x03\n" + + "\x17TransactionApprovedList\x12#\n" + + "\rapproved_list\x18\x02 \x03(\fR\fapprovedList\x12@\n" + + "\x06result\x18\x04 \x01(\v2(.protocol.TransactionApprovedList.ResultR\x06result\x12@\n" + + "\vtransaction\x18\x05 \x01(\v2\x1e.protocol.TransactionExtentionR\vtransaction\x1a\xd4\x01\n" + + "\x06Result\x12J\n" + + "\x04code\x18\x01 \x01(\x0e26.protocol.TransactionApprovedList.Result.response_codeR\x04code\x12\x18\n" + + "\amessage\x18\x02 \x01(\tR\amessage\"d\n" + + "\rresponse_code\x12\v\n" + + "\aSUCCESS\x10\x00\x12\x1a\n" + + "\x16SIGNATURE_FORMAT_ERROR\x10\x01\x12\x19\n" + + "\x15COMPUTE_ADDRESS_ERROR\x10\x02\x12\x0f\n" + + "\vOTHER_ERROR\x10\x14\"|\n" + + "\x14IvkDecryptParameters\x12*\n" + + "\x11start_block_index\x18\x01 \x01(\x03R\x0fstartBlockIndex\x12&\n" + + "\x0fend_block_index\x18\x02 \x01(\x03R\rendBlockIndex\x12\x10\n" + + "\x03ivk\x18\x03 \x01(\fR\x03ivk\"\xa3\x01\n" + + "\x1bIvkDecryptAndMarkParameters\x12*\n" + + "\x11start_block_index\x18\x01 \x01(\x03R\x0fstartBlockIndex\x12&\n" + + "\x0fend_block_index\x18\x02 \x01(\x03R\rendBlockIndex\x12\x10\n" + + "\x03ivk\x18\x05 \x01(\fR\x03ivk\x12\x0e\n" + + "\x02ak\x18\x03 \x01(\fR\x02ak\x12\x0e\n" + + "\x02nk\x18\x04 \x01(\fR\x02nk\"|\n" + + "\x14OvkDecryptParameters\x12*\n" + + "\x11start_block_index\x18\x01 \x01(\x03R\x0fstartBlockIndex\x12&\n" + + "\x0fend_block_index\x18\x02 \x01(\x03R\rendBlockIndex\x12\x10\n" + + "\x03ovk\x18\x03 \x01(\fR\x03ovk\"\x9f\x01\n" + + "\fDecryptNotes\x127\n" + + "\anoteTxs\x18\x01 \x03(\v2\x1d.protocol.DecryptNotes.NoteTxR\anoteTxs\x1aV\n" + + "\x06NoteTx\x12\"\n" + + "\x04note\x18\x01 \x01(\v2\x0e.protocol.NoteR\x04note\x12\x12\n" + + "\x04txid\x18\x02 \x01(\fR\x04txid\x12\x14\n" + + "\x05index\x18\x03 \x01(\x05R\x05index\"\xc6\x01\n" + + "\x12DecryptNotesMarked\x12=\n" + + "\anoteTxs\x18\x01 \x03(\v2#.protocol.DecryptNotesMarked.NoteTxR\anoteTxs\x1aq\n" + + "\x06NoteTx\x12\"\n" + + "\x04note\x18\x01 \x01(\v2\x0e.protocol.NoteR\x04note\x12\x12\n" + + "\x04txid\x18\x02 \x01(\fR\x04txid\x12\x14\n" + + "\x05index\x18\x03 \x01(\x05R\x05index\x12\x19\n" + + "\bis_spend\x18\x04 \x01(\bR\aisSpend\"k\n" + + "\x04Note\x12\x14\n" + + "\x05value\x18\x01 \x01(\x03R\x05value\x12'\n" + + "\x0fpayment_address\x18\x02 \x01(\tR\x0epaymentAddress\x12\x10\n" + + "\x03rcm\x18\x03 \x01(\fR\x03rcm\x12\x12\n" + + "\x04memo\x18\x04 \x01(\fR\x04memo\"\x97\x01\n" + + "\tSpendNote\x12\"\n" + + "\x04note\x18\x03 \x01(\v2\x0e.protocol.NoteR\x04note\x12\x14\n" + + "\x05alpha\x18\x04 \x01(\fR\x05alpha\x12<\n" + + "\avoucher\x18\x05 \x01(\v2\".protocol.IncrementalMerkleVoucherR\avoucher\x12\x12\n" + + "\x04path\x18\x06 \x01(\fR\x04path\"1\n" + + "\vReceiveNote\x12\"\n" + + "\x04note\x18\x01 \x01(\v2\x0e.protocol.NoteR\x04note\"\x93\x03\n" + + "\x11PrivateParameters\x128\n" + + "\x18transparent_from_address\x18\x01 \x01(\fR\x16transparentFromAddress\x12\x10\n" + + "\x03ask\x18\x02 \x01(\fR\x03ask\x12\x10\n" + + "\x03nsk\x18\x03 \x01(\fR\x03nsk\x12\x10\n" + + "\x03ovk\x18\x04 \x01(\fR\x03ovk\x12\x1f\n" + + "\vfrom_amount\x18\x05 \x01(\x03R\n" + + "fromAmount\x12<\n" + + "\x0fshielded_spends\x18\x06 \x03(\v2\x13.protocol.SpendNoteR\x0eshieldedSpends\x12B\n" + + "\x11shielded_receives\x18\a \x03(\v2\x15.protocol.ReceiveNoteR\x10shieldedReceives\x124\n" + + "\x16transparent_to_address\x18\b \x01(\fR\x14transparentToAddress\x12\x1b\n" + + "\tto_amount\x18\t \x01(\x03R\btoAmount\x12\x18\n" + + "\atimeout\x18\n" + + " \x01(\x03R\atimeout\"\x9b\x03\n" + + "\x1bPrivateParametersWithoutAsk\x128\n" + + "\x18transparent_from_address\x18\x01 \x01(\fR\x16transparentFromAddress\x12\x0e\n" + + "\x02ak\x18\x02 \x01(\fR\x02ak\x12\x10\n" + + "\x03nsk\x18\x03 \x01(\fR\x03nsk\x12\x10\n" + + "\x03ovk\x18\x04 \x01(\fR\x03ovk\x12\x1f\n" + + "\vfrom_amount\x18\x05 \x01(\x03R\n" + + "fromAmount\x12<\n" + + "\x0fshielded_spends\x18\x06 \x03(\v2\x13.protocol.SpendNoteR\x0eshieldedSpends\x12B\n" + + "\x11shielded_receives\x18\a \x03(\v2\x15.protocol.ReceiveNoteR\x10shieldedReceives\x124\n" + + "\x16transparent_to_address\x18\b \x01(\fR\x14transparentToAddress\x12\x1b\n" + + "\tto_amount\x18\t \x01(\x03R\btoAmount\x12\x18\n" + + "\atimeout\x18\n" + + " \x01(\x03R\atimeout\"Y\n" + + "\x16SpendAuthSigParameters\x12\x10\n" + + "\x03ask\x18\x01 \x01(\fR\x03ask\x12\x17\n" + + "\atx_hash\x18\x02 \x01(\fR\x06txHash\x12\x14\n" + + "\x05alpha\x18\x03 \x01(\fR\x05alpha\"\x90\x01\n" + + "\fNfParameters\x12\"\n" + + "\x04note\x18\x01 \x01(\v2\x0e.protocol.NoteR\x04note\x12<\n" + + "\avoucher\x18\x02 \x01(\v2\".protocol.IncrementalMerkleVoucherR\avoucher\x12\x0e\n" + + "\x02ak\x18\x03 \x01(\fR\x02ak\x12\x0e\n" + + "\x02nk\x18\x04 \x01(\fR\x02nk\"R\n" + + "\x1aExpandedSpendingKeyMessage\x12\x10\n" + + "\x03ask\x18\x01 \x01(\fR\x03ask\x12\x10\n" + + "\x03nsk\x18\x02 \x01(\fR\x03nsk\x12\x10\n" + + "\x03ovk\x18\x03 \x01(\fR\x03ovk\"3\n" + + "\x11ViewingKeyMessage\x12\x0e\n" + + "\x02ak\x18\x01 \x01(\fR\x02ak\x12\x0e\n" + + "\x02nk\x18\x02 \x01(\fR\x02nk\"-\n" + + "\x19IncomingViewingKeyMessage\x12\x10\n" + + "\x03ivk\x18\x01 \x01(\fR\x03ivk\"\"\n" + + "\x12DiversifierMessage\x12\f\n" + + "\x01d\x18\x01 \x01(\fR\x01d\"\x89\x01\n" + + "$IncomingViewingKeyDiversifierMessage\x125\n" + + "\x03ivk\x18\x01 \x01(\v2#.protocol.IncomingViewingKeyMessageR\x03ivk\x12*\n" + + "\x01d\x18\x02 \x01(\v2\x1c.protocol.DiversifierMessageR\x01d\"~\n" + + "\x15PaymentAddressMessage\x12*\n" + + "\x01d\x18\x01 \x01(\v2\x1c.protocol.DiversifierMessageR\x01d\x12\x10\n" + + "\x03pkD\x18\x02 \x01(\fR\x03pkD\x12'\n" + + "\x0fpayment_address\x18\x03 \x01(\tR\x0epaymentAddress\"\xd6\x01\n" + + "\x13ShieldedAddressInfo\x12\x0e\n" + + "\x02sk\x18\x01 \x01(\fR\x02sk\x12\x10\n" + + "\x03ask\x18\x02 \x01(\fR\x03ask\x12\x10\n" + + "\x03nsk\x18\x03 \x01(\fR\x03nsk\x12\x10\n" + + "\x03ovk\x18\x04 \x01(\fR\x03ovk\x12\x0e\n" + + "\x02ak\x18\x05 \x01(\fR\x02ak\x12\x0e\n" + + "\x02nk\x18\x06 \x01(\fR\x02nk\x12\x10\n" + + "\x03ivk\x18\a \x01(\fR\x03ivk\x12\f\n" + + "\x01d\x18\b \x01(\fR\x01d\x12\x10\n" + + "\x03pkD\x18\t \x01(\fR\x03pkD\x12'\n" + + "\x0fpayment_address\x18\n" + + " \x01(\tR\x0epaymentAddress\"~\n" + + "\x0eNoteParameters\x12\x0e\n" + + "\x02ak\x18\x01 \x01(\fR\x02ak\x12\x0e\n" + + "\x02nk\x18\x02 \x01(\fR\x02nk\x12\"\n" + + "\x04note\x18\x03 \x01(\v2\x0e.protocol.NoteR\x04note\x12\x12\n" + + "\x04txid\x18\x04 \x01(\fR\x04txid\x12\x14\n" + + "\x05index\x18\x05 \x01(\x05R\x05index\"?\n" + + "\vSpendResult\x12\x16\n" + + "\x06result\x18\x01 \x01(\bR\x06result\x12\x18\n" + + "\amessage\x18\x02 \x01(\tR\amessage\"Z\n" + + "\x13TransactionInfoList\x12C\n" + + "\x0ftransactionInfo\x18\x01 \x03(\v2\x19.protocol.TransactionInfoR\x0ftransactionInfo\"\x84\x01\n" + + "\x0eSpendNoteTRC20\x12\"\n" + + "\x04note\x18\x01 \x01(\v2\x0e.protocol.NoteR\x04note\x12\x14\n" + + "\x05alpha\x18\x02 \x01(\fR\x05alpha\x12\x12\n" + + "\x04root\x18\x03 \x01(\fR\x04root\x12\x12\n" + + "\x04path\x18\x04 \x01(\fR\x04path\x12\x10\n" + + "\x03pos\x18\x05 \x01(\x03R\x03pos\"\x98\x03\n" + + "\x1ePrivateShieldedTRC20Parameters\x12\x10\n" + + "\x03ask\x18\x01 \x01(\fR\x03ask\x12\x10\n" + + "\x03nsk\x18\x02 \x01(\fR\x03nsk\x12\x10\n" + + "\x03ovk\x18\x03 \x01(\fR\x03ovk\x12\x1f\n" + + "\vfrom_amount\x18\x04 \x01(\tR\n" + + "fromAmount\x12A\n" + + "\x0fshielded_spends\x18\x05 \x03(\v2\x18.protocol.SpendNoteTRC20R\x0eshieldedSpends\x12B\n" + + "\x11shielded_receives\x18\x06 \x03(\v2\x15.protocol.ReceiveNoteR\x10shieldedReceives\x124\n" + + "\x16transparent_to_address\x18\a \x01(\fR\x14transparentToAddress\x12\x1b\n" + + "\tto_amount\x18\b \x01(\tR\btoAmount\x12E\n" + + "\x1fshielded_TRC20_contract_address\x18\t \x01(\fR\x1cshieldedTRC20ContractAddress\"\xa0\x03\n" + + "(PrivateShieldedTRC20ParametersWithoutAsk\x12\x0e\n" + + "\x02ak\x18\x01 \x01(\fR\x02ak\x12\x10\n" + + "\x03nsk\x18\x02 \x01(\fR\x03nsk\x12\x10\n" + + "\x03ovk\x18\x03 \x01(\fR\x03ovk\x12\x1f\n" + + "\vfrom_amount\x18\x04 \x01(\tR\n" + + "fromAmount\x12A\n" + + "\x0fshielded_spends\x18\x05 \x03(\v2\x18.protocol.SpendNoteTRC20R\x0eshieldedSpends\x12B\n" + + "\x11shielded_receives\x18\x06 \x03(\v2\x15.protocol.ReceiveNoteR\x10shieldedReceives\x124\n" + + "\x16transparent_to_address\x18\a \x01(\fR\x14transparentToAddress\x12\x1b\n" + + "\tto_amount\x18\b \x01(\tR\btoAmount\x12E\n" + + "\x1fshielded_TRC20_contract_address\x18\t \x01(\fR\x1cshieldedTRC20ContractAddress\"\xde\x02\n" + + "\x17ShieldedTRC20Parameters\x12G\n" + + "\x11spend_description\x18\x01 \x03(\v2\x1a.protocol.SpendDescriptionR\x10spendDescription\x12M\n" + + "\x13receive_description\x18\x02 \x03(\v2\x1c.protocol.ReceiveDescriptionR\x12receiveDescription\x12+\n" + + "\x11binding_signature\x18\x03 \x01(\fR\x10bindingSignature\x12!\n" + + "\fmessage_hash\x18\x04 \x01(\fR\vmessageHash\x124\n" + + "\x16trigger_contract_input\x18\x05 \x01(\tR\x14triggerContractInput\x12%\n" + + "\x0eparameter_type\x18\x06 \x01(\tR\rparameterType\"\x80\x02\n" + + "\x19IvkDecryptTRC20Parameters\x12*\n" + + "\x11start_block_index\x18\x01 \x01(\x03R\x0fstartBlockIndex\x12&\n" + + "\x0fend_block_index\x18\x02 \x01(\x03R\rendBlockIndex\x12E\n" + + "\x1fshielded_TRC20_contract_address\x18\x03 \x01(\fR\x1cshieldedTRC20ContractAddress\x12\x10\n" + + "\x03ivk\x18\x04 \x01(\fR\x03ivk\x12\x0e\n" + + "\x02ak\x18\x05 \x01(\fR\x02ak\x12\x0e\n" + + "\x02nk\x18\x06 \x01(\fR\x02nk\x12\x16\n" + + "\x06events\x18\a \x03(\tR\x06events\"\xe0\x01\n" + + "\x19OvkDecryptTRC20Parameters\x12*\n" + + "\x11start_block_index\x18\x01 \x01(\x03R\x0fstartBlockIndex\x12&\n" + + "\x0fend_block_index\x18\x02 \x01(\x03R\rendBlockIndex\x12\x10\n" + + "\x03ovk\x18\x03 \x01(\fR\x03ovk\x12E\n" + + "\x1fshielded_TRC20_contract_address\x18\x04 \x01(\fR\x1cshieldedTRC20ContractAddress\x12\x16\n" + + "\x06events\x18\x05 \x03(\tR\x06events\"\xb4\x02\n" + + "\x11DecryptNotesTRC20\x12<\n" + + "\anoteTxs\x18\x01 \x03(\v2\".protocol.DecryptNotesTRC20.NoteTxR\anoteTxs\x1a\xe0\x01\n" + + "\x06NoteTx\x12\"\n" + + "\x04note\x18\x01 \x01(\v2\x0e.protocol.NoteR\x04note\x12\x1a\n" + + "\bposition\x18\x02 \x01(\x03R\bposition\x12\x19\n" + + "\bis_spent\x18\x03 \x01(\bR\aisSpent\x12\x12\n" + + "\x04txid\x18\x04 \x01(\fR\x04txid\x12\x14\n" + + "\x05index\x18\x05 \x01(\x05R\x05index\x12\x1b\n" + + "\tto_amount\x18\x06 \x01(\tR\btoAmount\x124\n" + + "\x16transparent_to_address\x18\a \x01(\fR\x14transparentToAddress\"\xba\x01\n" + + "\x11NfTRC20Parameters\x12\"\n" + + "\x04note\x18\x01 \x01(\v2\x0e.protocol.NoteR\x04note\x12\x0e\n" + + "\x02ak\x18\x02 \x01(\fR\x02ak\x12\x0e\n" + + "\x02nk\x18\x03 \x01(\fR\x02nk\x12\x1a\n" + + "\bposition\x18\x04 \x01(\x03R\bposition\x12E\n" + + "\x1fshielded_TRC20_contract_address\x18\x05 \x01(\fR\x1cshieldedTRC20ContractAddress\",\n" + + "\x0fNullifierResult\x12\x19\n" + + "\bis_spent\x18\x01 \x01(\bR\aisSpent\"\xa9\x02\n" + + "&ShieldedTRC20TriggerContractParameters\x12]\n" + + "\x19shielded_TRC20_Parameters\x18\x01 \x01(\v2!.protocol.ShieldedTRC20ParametersR\x17shieldedTRC20Parameters\x12R\n" + + "\x19spend_authority_signature\x18\x02 \x03(\v2\x16.protocol.BytesMessageR\x17spendAuthoritySignature\x12\x16\n" + + "\x06amount\x18\x03 \x01(\tR\x06amount\x124\n" + + "\x16transparent_to_address\x18\x04 \x01(\fR\x14transparentToAddress2\xa6t\n" + + "\x06Wallet\x12g\n" + + "\n" + + "GetAccount\x12\x11.protocol.Account\x1a\x11.protocol.Account\"3\x82\xd3\xe4\x93\x02-:\x01*Z\x14\x12\x12/wallet/getaccount\"\x12/wallet/getaccount\x12s\n" + + "\x0eGetAccountById\x12\x11.protocol.Account\x1a\x11.protocol.Account\";\x82\xd3\xe4\x93\x025:\x01*Z\x18\x12\x16/wallet/getaccountbyid\"\x16/wallet/getaccountbyid\x12\x99\x01\n" + + "\x11GetAccountBalance\x12\x1f.protocol.AccountBalanceRequest\x1a .protocol.AccountBalanceResponse\"A\x82\xd3\xe4\x93\x02;:\x01*Z\x1b\x12\x19/wallet/getaccountbalance\"\x19/wallet/getaccountbalance\x12\xa9\x01\n" + + "\x14GetBlockBalanceTrace\x12+.protocol.BlockBalanceTrace.BlockIdentifier\x1a\x1b.protocol.BlockBalanceTrace\"G\x82\xd3\xe4\x93\x02A:\x01*Z\x1e\x12\x1c/wallet/getblockbalancetrace\"\x1c/wallet/getblockbalancetrace\x12\x89\x01\n" + + "\x11CreateTransaction\x12\x1a.protocol.TransferContract\x1a\x15.protocol.Transaction\"A\x82\xd3\xe4\x93\x02;:\x01*Z\x1b\x12\x19/wallet/createtransaction\"\x19/wallet/createtransaction\x12R\n" + + "\x12CreateTransaction2\x12\x1a.protocol.TransferContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12\x88\x01\n" + + "\x14BroadcastTransaction\x12\x15.protocol.Transaction\x1a\x10.protocol.Return\"G\x82\xd3\xe4\x93\x02A:\x01*Z\x1e\x12\x1c/wallet/broadcasttransaction\"\x1c/wallet/broadcasttransaction\x12\x82\x01\n" + + "\rUpdateAccount\x12\x1f.protocol.AccountUpdateContract\x1a\x15.protocol.Transaction\"9\x82\xd3\xe4\x93\x023:\x01*Z\x17\x12\x15/wallet/updateaccount\"\x15/wallet/updateaccount\x12~\n" + + "\fSetAccountId\x12\x1e.protocol.SetAccountIdContract\x1a\x15.protocol.Transaction\"7\x82\xd3\xe4\x93\x021:\x01*Z\x16\x12\x14/wallet/setaccountid\"\x14/wallet/setaccountid\x12S\n" + + "\x0eUpdateAccount2\x12\x1f.protocol.AccountUpdateContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12\x8f\x01\n" + + "\x12VoteWitnessAccount\x12\x1d.protocol.VoteWitnessContract\x1a\x15.protocol.Transaction\"C\x82\xd3\xe4\x93\x02=:\x01*Z\x1c\x12\x1a/wallet/votewitnessaccount\"\x1a/wallet/votewitnessaccount\x12R\n" + + "\rUpdateSetting\x12\x1f.protocol.UpdateSettingContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12Z\n" + + "\x11UpdateEnergyLimit\x12#.protocol.UpdateEnergyLimitContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12V\n" + + "\x13VoteWitnessAccount2\x12\x1d.protocol.VoteWitnessContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12\x88\x01\n" + + "\x10CreateAssetIssue\x12\x1c.protocol.AssetIssueContract\x1a\x15.protocol.Transaction\"?\x82\xd3\xe4\x93\x029:\x01*Z\x1a\x12\x18/wallet/createassetissue\"\x18/wallet/createassetissue\x12S\n" + + "\x11CreateAssetIssue2\x12\x1c.protocol.AssetIssueContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12\x82\x01\n" + + "\rUpdateWitness\x12\x1f.protocol.WitnessUpdateContract\x1a\x15.protocol.Transaction\"9\x82\xd3\xe4\x93\x023:\x01*Z\x17\x12\x15/wallet/updatewitness\"\x15/wallet/updatewitness\x12S\n" + + "\x0eUpdateWitness2\x12\x1f.protocol.WitnessUpdateContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12\x82\x01\n" + + "\rCreateAccount\x12\x1f.protocol.AccountCreateContract\x1a\x15.protocol.Transaction\"9\x82\xd3\xe4\x93\x023:\x01*Z\x17\x12\x15/wallet/createaccount\"\x15/wallet/createaccount\x12S\n" + + "\x0eCreateAccount2\x12\x1f.protocol.AccountCreateContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12\x82\x01\n" + + "\rCreateWitness\x12\x1f.protocol.WitnessCreateContract\x1a\x15.protocol.Transaction\"9\x82\xd3\xe4\x93\x023:\x01*Z\x17\x12\x15/wallet/createwitness\"\x15/wallet/createwitness\x12S\n" + + "\x0eCreateWitness2\x12\x1f.protocol.WitnessCreateContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12\x82\x01\n" + + "\rTransferAsset\x12\x1f.protocol.TransferAssetContract\x1a\x15.protocol.Transaction\"9\x82\xd3\xe4\x93\x023:\x01*Z\x17\x12\x15/wallet/transferasset\"\x15/wallet/transferasset\x12S\n" + + "\x0eTransferAsset2\x12\x1f.protocol.TransferAssetContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12\xa2\x01\n" + + "\x15ParticipateAssetIssue\x12'.protocol.ParticipateAssetIssueContract\x1a\x15.protocol.Transaction\"I\x82\xd3\xe4\x93\x02C:\x01*Z\x1f\x12\x1d/wallet/participateassetissue\"\x1d/wallet/participateassetissue\x12c\n" + + "\x16ParticipateAssetIssue2\x12'.protocol.ParticipateAssetIssueContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12\x82\x01\n" + + "\rFreezeBalance\x12\x1f.protocol.FreezeBalanceContract\x1a\x15.protocol.Transaction\"9\x82\xd3\xe4\x93\x023:\x01*Z\x17\x12\x15/wallet/freezebalance\"\x15/wallet/freezebalance\x12S\n" + + "\x0eFreezeBalance2\x12\x1f.protocol.FreezeBalanceContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12V\n" + + "\x0fFreezeBalanceV2\x12!.protocol.FreezeBalanceV2Contract\x1a\x1e.protocol.TransactionExtention\"\x00\x12\x8a\x01\n" + + "\x0fUnfreezeBalance\x12!.protocol.UnfreezeBalanceContract\x1a\x15.protocol.Transaction\"=\x82\xd3\xe4\x93\x027:\x01*Z\x19\x12\x17/wallet/unfreezebalance\"\x17/wallet/unfreezebalance\x12W\n" + + "\x10UnfreezeBalance2\x12!.protocol.UnfreezeBalanceContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12Z\n" + + "\x11UnfreezeBalanceV2\x12#.protocol.UnfreezeBalanceV2Contract\x1a\x1e.protocol.TransactionExtention\"\x00\x12\x82\x01\n" + + "\rUnfreezeAsset\x12\x1f.protocol.UnfreezeAssetContract\x1a\x15.protocol.Transaction\"9\x82\xd3\xe4\x93\x023:\x01*Z\x17\x12\x15/wallet/unfreezeasset\"\x15/wallet/unfreezeasset\x12S\n" + + "\x0eUnfreezeAsset2\x12\x1f.protocol.UnfreezeAssetContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12\x8a\x01\n" + + "\x0fWithdrawBalance\x12!.protocol.WithdrawBalanceContract\x1a\x15.protocol.Transaction\"=\x82\xd3\xe4\x93\x027:\x01*Z\x19\x12\x17/wallet/withdrawbalance\"\x17/wallet/withdrawbalance\x12W\n" + + "\x10WithdrawBalance2\x12!.protocol.WithdrawBalanceContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12d\n" + + "\x16WithdrawExpireUnfreeze\x12(.protocol.WithdrawExpireUnfreezeContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12X\n" + + "\x10DelegateResource\x12\".protocol.DelegateResourceContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12\\\n" + + "\x12UnDelegateResource\x12$.protocol.UnDelegateResourceContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12^\n" + + "\x13CancelAllUnfreezeV2\x12%.protocol.CancelAllUnfreezeV2Contract\x1a\x1e.protocol.TransactionExtention\"\x00\x12z\n" + + "\vUpdateAsset\x12\x1d.protocol.UpdateAssetContract\x1a\x15.protocol.Transaction\"5\x82\xd3\xe4\x93\x02/:\x01*Z\x15\x12\x13/wallet/updateasset\"\x13/wallet/updateasset\x12O\n" + + "\fUpdateAsset2\x12\x1d.protocol.UpdateAssetContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12T\n" + + "\x0eProposalCreate\x12 .protocol.ProposalCreateContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12V\n" + + "\x0fProposalApprove\x12!.protocol.ProposalApproveContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12T\n" + + "\x0eProposalDelete\x12 .protocol.ProposalDeleteContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12L\n" + + "\n" + + "BuyStorage\x12\x1c.protocol.BuyStorageContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12V\n" + + "\x0fBuyStorageBytes\x12!.protocol.BuyStorageBytesContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12N\n" + + "\vSellStorage\x12\x1d.protocol.SellStorageContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12T\n" + + "\x0eExchangeCreate\x12 .protocol.ExchangeCreateContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12T\n" + + "\x0eExchangeInject\x12 .protocol.ExchangeInjectContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12X\n" + + "\x10ExchangeWithdraw\x12\".protocol.ExchangeWithdrawContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12^\n" + + "\x13ExchangeTransaction\x12%.protocol.ExchangeTransactionContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12V\n" + + "\x0fMarketSellAsset\x12!.protocol.MarketSellAssetContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12Z\n" + + "\x11MarketCancelOrder\x12#.protocol.MarketCancelOrderContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12E\n" + + "\x12GetMarketOrderById\x12\x16.protocol.BytesMessage\x1a\x15.protocol.MarketOrder\"\x00\x12N\n" + + "\x17GetMarketOrderByAccount\x12\x16.protocol.BytesMessage\x1a\x19.protocol.MarketOrderList\"\x00\x12N\n" + + "\x14GetMarketPriceByPair\x12\x19.protocol.MarketOrderPair\x1a\x19.protocol.MarketPriceList\"\x00\x12R\n" + + "\x18GetMarketOrderListByPair\x12\x19.protocol.MarketOrderPair\x1a\x19.protocol.MarketOrderList\"\x00\x12L\n" + + "\x11GetMarketPairList\x12\x16.protocol.EmptyMessage\x1a\x1d.protocol.MarketOrderPairList\"\x00\x12j\n" + + "\tListNodes\x12\x16.protocol.EmptyMessage\x1a\x12.protocol.NodeList\"1\x82\xd3\xe4\x93\x02+:\x01*Z\x13\x12\x11/wallet/listnodes\"\x11/wallet/listnodes\x12\x92\x01\n" + + "\x16GetAssetIssueByAccount\x12\x11.protocol.Account\x1a\x18.protocol.AssetIssueList\"K\x82\xd3\xe4\x93\x02E:\x01*Z \x12\x1e/wallet/getassetissuebyaccount\"\x1e/wallet/getassetissuebyaccount\x12z\n" + + "\rGetAccountNet\x12\x11.protocol.Account\x1a\x1b.protocol.AccountNetMessage\"9\x82\xd3\xe4\x93\x023:\x01*Z\x17\x12\x15/wallet/getaccountnet\"\x15/wallet/getaccountnet\x12K\n" + + "\x12GetAccountResource\x12\x11.protocol.Account\x1a .protocol.AccountResourceMessage\"\x00\x12\x92\x01\n" + + "\x13GetAssetIssueByName\x12\x16.protocol.BytesMessage\x1a\x1c.protocol.AssetIssueContract\"E\x82\xd3\xe4\x93\x02?:\x01*Z\x1d\x12\x1b/wallet/getassetissuebyname\"\x1b/wallet/getassetissuebyname\x12M\n" + + "\x17GetAssetIssueListByName\x12\x16.protocol.BytesMessage\x1a\x18.protocol.AssetIssueList\"\x00\x12K\n" + + "\x11GetAssetIssueById\x12\x16.protocol.BytesMessage\x1a\x1c.protocol.AssetIssueContract\"\x00\x12m\n" + + "\vGetNowBlock\x12\x16.protocol.EmptyMessage\x1a\x0f.protocol.Block\"5\x82\xd3\xe4\x93\x02/:\x01*Z\x15\x12\x13/wallet/getnowblock\"\x13/wallet/getnowblock\x12B\n" + + "\fGetNowBlock2\x12\x16.protocol.EmptyMessage\x1a\x18.protocol.BlockExtention\"\x00\x12t\n" + + "\rGetBlockByNum\x12\x17.protocol.NumberMessage\x1a\x0f.protocol.Block\"9\x82\xd3\xe4\x93\x023:\x01*Z\x17\x12\x15/wallet/getblockbynum\"\x15/wallet/getblockbynum\x12E\n" + + "\x0eGetBlockByNum2\x12\x17.protocol.NumberMessage\x1a\x18.protocol.BlockExtention\"\x00\x12S\n" + + "\x1dGetTransactionCountByBlockNum\x12\x17.protocol.NumberMessage\x1a\x17.protocol.NumberMessage\"\x00\x12p\n" + + "\fGetBlockById\x12\x16.protocol.BytesMessage\x1a\x0f.protocol.Block\"7\x82\xd3\xe4\x93\x021:\x01*Z\x16\x12\x14/wallet/getblockbyid\"\x14/wallet/getblockbyid\x12\x87\x01\n" + + "\x13GetBlockByLimitNext\x12\x14.protocol.BlockLimit\x1a\x13.protocol.BlockList\"E\x82\xd3\xe4\x93\x02?:\x01*Z\x1d\x12\x1b/wallet/getblockbylimitnext\"\x1b/wallet/getblockbylimitnext\x12L\n" + + "\x14GetBlockByLimitNext2\x12\x14.protocol.BlockLimit\x1a\x1c.protocol.BlockListExtention\"\x00\x12\x8a\x01\n" + + "\x13GetBlockByLatestNum\x12\x17.protocol.NumberMessage\x1a\x13.protocol.BlockList\"E\x82\xd3\xe4\x93\x02?:\x01*Z\x1d\x12\x1b/wallet/getblockbylatestnum\"\x1b/wallet/getblockbylatestnum\x12O\n" + + "\x14GetBlockByLatestNum2\x12\x17.protocol.NumberMessage\x1a\x1c.protocol.BlockListExtention\"\x00\x12\x88\x01\n" + + "\x12GetTransactionById\x12\x16.protocol.BytesMessage\x1a\x15.protocol.Transaction\"C\x82\xd3\xe4\x93\x02=:\x01*Z\x1c\x12\x1a/wallet/gettransactionbyid\"\x1a/wallet/gettransactionbyid\x12Q\n" + + "\x0eDeployContract\x12\x1d.protocol.CreateSmartContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12@\n" + + "\vGetContract\x12\x16.protocol.BytesMessage\x1a\x17.protocol.SmartContract\"\x00\x12O\n" + + "\x0fGetContractInfo\x12\x16.protocol.BytesMessage\x1a\".protocol.SmartContractDataWrapper\"\x00\x12S\n" + + "\x0fTriggerContract\x12\x1e.protocol.TriggerSmartContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12[\n" + + "\x17TriggerConstantContract\x12\x1e.protocol.TriggerSmartContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12S\n" + + "\x0eEstimateEnergy\x12\x1e.protocol.TriggerSmartContract\x1a\x1f.protocol.EstimateEnergyMessage\"\x00\x12P\n" + + "\x10ClearContractABI\x12\x1a.protocol.ClearABIContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12y\n" + + "\rListWitnesses\x12\x16.protocol.EmptyMessage\x1a\x15.protocol.WitnessList\"9\x82\xd3\xe4\x93\x023:\x01*Z\x17\x12\x15/wallet/listwitnesses\"\x15/wallet/listwitnesses\x12]\n" + + "\x14GetDelegatedResource\x12\".protocol.DelegatedResourceMessage\x1a\x1f.protocol.DelegatedResourceList\"\x00\x12_\n" + + "\x16GetDelegatedResourceV2\x12\".protocol.DelegatedResourceMessage\x1a\x1f.protocol.DelegatedResourceList\"\x00\x12e\n" + + " GetDelegatedResourceAccountIndex\x12\x16.protocol.BytesMessage\x1a'.protocol.DelegatedResourceAccountIndex\"\x00\x12g\n" + + "\"GetDelegatedResourceAccountIndexV2\x12\x16.protocol.BytesMessage\x1a'.protocol.DelegatedResourceAccountIndex\"\x00\x12u\n" + + "\x16GetCanDelegatedMaxSize\x12+.protocol.CanDelegatedMaxSizeRequestMessage\x1a,.protocol.CanDelegatedMaxSizeResponseMessage\"\x00\x12\x84\x01\n" + + "\x19GetAvailableUnfreezeCount\x121.protocol.GetAvailableUnfreezeCountRequestMessage\x1a2.protocol.GetAvailableUnfreezeCountResponseMessage\"\x00\x12\x87\x01\n" + + "\x1cGetCanWithdrawUnfreezeAmount\x121.protocol.CanWithdrawUnfreezeAmountRequestMessage\x1a2.protocol.CanWithdrawUnfreezeAmountResponseMessage\"\x00\x12z\n" + + "\rListProposals\x12\x16.protocol.EmptyMessage\x1a\x16.protocol.ProposalList\"9\x82\xd3\xe4\x93\x023:\x01*Z\x17\x12\x15/wallet/listproposals\"\x15/wallet/listproposals\x12\x9f\x01\n" + + "\x18GetPaginatedProposalList\x12\x1a.protocol.PaginatedMessage\x1a\x16.protocol.ProposalList\"O\x82\xd3\xe4\x93\x02I:\x01*Z\"\x12 /wallet/getpaginatedproposallist\" /wallet/getpaginatedproposallist\x12|\n" + + "\x0fGetProposalById\x12\x16.protocol.BytesMessage\x1a\x12.protocol.Proposal\"=\x82\xd3\xe4\x93\x027:\x01*Z\x19\x12\x17/wallet/getproposalbyid\"\x17/wallet/getproposalbyid\x12z\n" + + "\rListExchanges\x12\x16.protocol.EmptyMessage\x1a\x16.protocol.ExchangeList\"9\x82\xd3\xe4\x93\x023:\x01*Z\x17\x12\x15/wallet/listexchanges\"\x15/wallet/listexchanges\x12\x9f\x01\n" + + "\x18GetPaginatedExchangeList\x12\x1a.protocol.PaginatedMessage\x1a\x16.protocol.ExchangeList\"O\x82\xd3\xe4\x93\x02I:\x01*Z\"\x12 /wallet/getpaginatedexchangelist\" /wallet/getpaginatedexchangelist\x12|\n" + + "\x0fGetExchangeById\x12\x16.protocol.BytesMessage\x1a\x12.protocol.Exchange\"=\x82\xd3\xe4\x93\x027:\x01*Z\x19\x12\x17/wallet/getexchangebyid\"\x17/wallet/getexchangebyid\x12\x8c\x01\n" + + "\x12GetChainParameters\x12\x16.protocol.EmptyMessage\x1a\x19.protocol.ChainParameters\"C\x82\xd3\xe4\x93\x02=:\x01*Z\x1c\x12\x1a/wallet/getchainparameters\"\x1a/wallet/getchainparameters\x12\x88\x01\n" + + "\x11GetAssetIssueList\x12\x16.protocol.EmptyMessage\x1a\x18.protocol.AssetIssueList\"A\x82\xd3\xe4\x93\x02;:\x01*Z\x1b\x12\x19/wallet/getassetissuelist\"\x19/wallet/getassetissuelist\x12\xa7\x01\n" + + "\x1aGetPaginatedAssetIssueList\x12\x1a.protocol.PaginatedMessage\x1a\x18.protocol.AssetIssueList\"S\x82\xd3\xe4\x93\x02M:\x01*Z$\x12\"/wallet/getpaginatedassetissuelist\"\"/wallet/getpaginatedassetissuelist\x12\x84\x01\n" + + "\x10TotalTransaction\x12\x16.protocol.EmptyMessage\x1a\x17.protocol.NumberMessage\"?\x82\xd3\xe4\x93\x029:\x01*Z\x1a\x12\x18/wallet/totaltransaction\"\x18/wallet/totaltransaction\x12\x96\x01\n" + + "\x16GetNextMaintenanceTime\x12\x16.protocol.EmptyMessage\x1a\x17.protocol.NumberMessage\"K\x82\xd3\xe4\x93\x02E:\x01*Z \x12\x1e/wallet/getnextmaintenancetime\"\x1e/wallet/getnextmaintenancetime\x12\x98\x01\n" + + "\x16GetTransactionInfoById\x12\x16.protocol.BytesMessage\x1a\x19.protocol.TransactionInfo\"K\x82\xd3\xe4\x93\x02E:\x01*Z \x12\x1e/wallet/gettransactioninfobyid\"\x1e/wallet/gettransactioninfobyid\x12\xb3\x01\n" + + "\x17AccountPermissionUpdate\x12).protocol.AccountPermissionUpdateContract\x1a\x1e.protocol.TransactionExtention\"M\x82\xd3\xe4\x93\x02G:\x01*Z!\x12\x1f/wallet/accountpermissionupdate\"\x1f/wallet/accountpermissionupdate\x12T\n" + + "\x18GetTransactionSignWeight\x12\x15.protocol.Transaction\x1a\x1f.protocol.TransactionSignWeight\"\x00\x12X\n" + + "\x1aGetTransactionApprovedList\x12\x15.protocol.Transaction\x1a!.protocol.TransactionApprovedList\"\x00\x12;\n" + + "\vGetNodeInfo\x12\x16.protocol.EmptyMessage\x1a\x12.protocol.NodeInfo\"\x00\x12B\n" + + "\rGetRewardInfo\x12\x16.protocol.BytesMessage\x1a\x17.protocol.NumberMessage\"\x00\x12E\n" + + "\x10GetBrokerageInfo\x12\x16.protocol.BytesMessage\x1a\x17.protocol.NumberMessage\"\x00\x12V\n" + + "\x0fUpdateBrokerage\x12!.protocol.UpdateBrokerageContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12Z\n" + + "\x19CreateShieldedTransaction\x12\x1b.protocol.PrivateParameters\x1a\x1e.protocol.TransactionExtention\"\x00\x12_\n" + + "\x18GetMerkleTreeVoucherInfo\x12\x19.protocol.OutputPointInfo\x1a&.protocol.IncrementalMerkleVoucherInfo\"\x00\x12I\n" + + "\rScanNoteByIvk\x12\x1e.protocol.IvkDecryptParameters\x1a\x16.protocol.DecryptNotes\"\x00\x12]\n" + + "\x14ScanAndMarkNoteByIvk\x12%.protocol.IvkDecryptAndMarkParameters\x1a\x1c.protocol.DecryptNotesMarked\"\x00\x12I\n" + + "\rScanNoteByOvk\x12\x1e.protocol.OvkDecryptParameters\x1a\x16.protocol.DecryptNotes\"\x00\x12B\n" + + "\x0eGetSpendingKey\x12\x16.protocol.EmptyMessage\x1a\x16.protocol.BytesMessage\"\x00\x12X\n" + + "\x16GetExpandedSpendingKey\x12\x16.protocol.BytesMessage\x1a$.protocol.ExpandedSpendingKeyMessage\"\x00\x12@\n" + + "\fGetAkFromAsk\x12\x16.protocol.BytesMessage\x1a\x16.protocol.BytesMessage\"\x00\x12@\n" + + "\fGetNkFromNsk\x12\x16.protocol.BytesMessage\x1a\x16.protocol.BytesMessage\"\x00\x12[\n" + + "\x15GetIncomingViewingKey\x12\x1b.protocol.ViewingKeyMessage\x1a#.protocol.IncomingViewingKeyMessage\"\x00\x12H\n" + + "\x0eGetDiversifier\x12\x16.protocol.EmptyMessage\x1a\x1c.protocol.DiversifierMessage\"\x00\x12P\n" + + "\x15GetNewShieldedAddress\x12\x16.protocol.EmptyMessage\x1a\x1d.protocol.ShieldedAddressInfo\"\x00\x12i\n" + + "\x14GetZenPaymentAddress\x12..protocol.IncomingViewingKeyDiversifierMessage\x1a\x1f.protocol.PaymentAddressMessage\"\x00\x12:\n" + + "\x06GetRcm\x12\x16.protocol.EmptyMessage\x1a\x16.protocol.BytesMessage\"\x00\x12<\n" + + "\aIsSpend\x12\x18.protocol.NoteParameters\x1a\x15.protocol.SpendResult\"\x00\x12w\n" + + ",CreateShieldedTransactionWithoutSpendAuthSig\x12%.protocol.PrivateParametersWithoutAsk\x1a\x1e.protocol.TransactionExtention\"\x00\x12K\n" + + "\x18GetShieldTransactionHash\x12\x15.protocol.Transaction\x1a\x16.protocol.BytesMessage\"\x00\x12P\n" + + "\x12CreateSpendAuthSig\x12 .protocol.SpendAuthSigParameters\x1a\x16.protocol.BytesMessage\"\x00\x12I\n" + + "\x15CreateShieldNullifier\x12\x16.protocol.NfParameters\x1a\x16.protocol.BytesMessage\"\x00\x12q\n" + + " CreateShieldedContractParameters\x12(.protocol.PrivateShieldedTRC20Parameters\x1a!.protocol.ShieldedTRC20Parameters\"\x00\x12\x85\x01\n" + + "*CreateShieldedContractParametersWithoutAsk\x122.protocol.PrivateShieldedTRC20ParametersWithoutAsk\x1a!.protocol.ShieldedTRC20Parameters\"\x00\x12a\n" + + "\x1bScanShieldedTRC20NotesByIvk\x12#.protocol.IvkDecryptTRC20Parameters\x1a\x1b.protocol.DecryptNotesTRC20\"\x00\x12a\n" + + "\x1bScanShieldedTRC20NotesByOvk\x12#.protocol.OvkDecryptTRC20Parameters\x1a\x1b.protocol.DecryptNotesTRC20\"\x00\x12\\\n" + + " IsShieldedTRC20ContractNoteSpent\x12\x1b.protocol.NfTRC20Parameters\x1a\x19.protocol.NullifierResult\"\x00\x12u\n" + + "'GetTriggerInputForShieldedTRC20Contract\x120.protocol.ShieldedTRC20TriggerContractParameters\x1a\x16.protocol.BytesMessage\"\x00\x12R\n" + + "\x17CreateCommonTransaction\x12\x15.protocol.Transaction\x1a\x1e.protocol.TransactionExtention\"\x00\x12X\n" + + "\x1cGetTransactionInfoByBlockNum\x12\x17.protocol.NumberMessage\x1a\x1d.protocol.TransactionInfoList\"\x00\x12?\n" + + "\n" + + "GetBurnTrx\x12\x16.protocol.EmptyMessage\x1a\x17.protocol.NumberMessage\"\x00\x12L\n" + + "\x19GetTransactionFromPending\x12\x16.protocol.BytesMessage\x1a\x15.protocol.Transaction\"\x00\x12V\n" + + "\x1dGetTransactionListFromPending\x12\x16.protocol.EmptyMessage\x1a\x1b.protocol.TransactionIdList\"\x00\x12C\n" + + "\x0eGetPendingSize\x12\x16.protocol.EmptyMessage\x1a\x17.protocol.NumberMessage\"\x00\x12:\n" + + "\bGetBlock\x12\x12.protocol.BlockReq\x1a\x18.protocol.BlockExtention\"\x00\x12O\n" + + "\x12GetBandwidthPrices\x12\x16.protocol.EmptyMessage\x1a\x1f.protocol.PricesResponseMessage\"\x00\x12L\n" + + "\x0fGetEnergyPrices\x12\x16.protocol.EmptyMessage\x1a\x1f.protocol.PricesResponseMessage\"\x00\x12G\n" + + "\n" + + "GetMemoFee\x12\x16.protocol.EmptyMessage\x1a\x1f.protocol.PricesResponseMessage\"\x002\x97#\n" + + "\x0eWalletSolidity\x12w\n" + + "\n" + + "GetAccount\x12\x11.protocol.Account\x1a\x11.protocol.Account\"C\x82\xd3\xe4\x93\x02=:\x01*Z\x1c\x12\x1a/walletsolidity/getaccount\"\x1a/walletsolidity/getaccount\x12\x83\x01\n" + + "\x0eGetAccountById\x12\x11.protocol.Account\x1a\x11.protocol.Account\"K\x82\xd3\xe4\x93\x02E:\x01*Z \x12\x1e/walletsolidity/getaccountbyid\"\x1e/walletsolidity/getaccountbyid\x12\x89\x01\n" + + "\rListWitnesses\x12\x16.protocol.EmptyMessage\x1a\x15.protocol.WitnessList\"I\x82\xd3\xe4\x93\x02C:\x01*Z\x1f\x12\x1d/walletsolidity/listwitnesses\"\x1d/walletsolidity/listwitnesses\x12\x98\x01\n" + + "\x11GetAssetIssueList\x12\x16.protocol.EmptyMessage\x1a\x18.protocol.AssetIssueList\"Q\x82\xd3\xe4\x93\x02K:\x01*Z#\x12!/walletsolidity/getassetissuelist\"!/walletsolidity/getassetissuelist\x12\xb7\x01\n" + + "\x1aGetPaginatedAssetIssueList\x12\x1a.protocol.PaginatedMessage\x1a\x18.protocol.AssetIssueList\"c\x82\xd3\xe4\x93\x02]:\x01*Z,\x12*/walletsolidity/getpaginatedassetissuelist\"*/walletsolidity/getpaginatedassetissuelist\x12M\n" + + "\x13GetAssetIssueByName\x12\x16.protocol.BytesMessage\x1a\x1c.protocol.AssetIssueContract\"\x00\x12M\n" + + "\x17GetAssetIssueListByName\x12\x16.protocol.BytesMessage\x1a\x18.protocol.AssetIssueList\"\x00\x12K\n" + + "\x11GetAssetIssueById\x12\x16.protocol.BytesMessage\x1a\x1c.protocol.AssetIssueContract\"\x00\x12}\n" + + "\vGetNowBlock\x12\x16.protocol.EmptyMessage\x1a\x0f.protocol.Block\"E\x82\xd3\xe4\x93\x02?:\x01*Z\x1d\x12\x1b/walletsolidity/getnowblock\"\x1b/walletsolidity/getnowblock\x12B\n" + + "\fGetNowBlock2\x12\x16.protocol.EmptyMessage\x1a\x18.protocol.BlockExtention\"\x00\x12\x84\x01\n" + + "\rGetBlockByNum\x12\x17.protocol.NumberMessage\x1a\x0f.protocol.Block\"I\x82\xd3\xe4\x93\x02C:\x01*Z\x1f\x12\x1d/walletsolidity/getblockbynum\"\x1d/walletsolidity/getblockbynum\x12E\n" + + "\x0eGetBlockByNum2\x12\x17.protocol.NumberMessage\x1a\x18.protocol.BlockExtention\"\x00\x12S\n" + + "\x1dGetTransactionCountByBlockNum\x12\x17.protocol.NumberMessage\x1a\x17.protocol.NumberMessage\"\x00\x12]\n" + + "\x14GetDelegatedResource\x12\".protocol.DelegatedResourceMessage\x1a\x1f.protocol.DelegatedResourceList\"\x00\x12_\n" + + "\x16GetDelegatedResourceV2\x12\".protocol.DelegatedResourceMessage\x1a\x1f.protocol.DelegatedResourceList\"\x00\x12e\n" + + " GetDelegatedResourceAccountIndex\x12\x16.protocol.BytesMessage\x1a'.protocol.DelegatedResourceAccountIndex\"\x00\x12g\n" + + "\"GetDelegatedResourceAccountIndexV2\x12\x16.protocol.BytesMessage\x1a'.protocol.DelegatedResourceAccountIndex\"\x00\x12u\n" + + "\x16GetCanDelegatedMaxSize\x12+.protocol.CanDelegatedMaxSizeRequestMessage\x1a,.protocol.CanDelegatedMaxSizeResponseMessage\"\x00\x12\x84\x01\n" + + "\x19GetAvailableUnfreezeCount\x121.protocol.GetAvailableUnfreezeCountRequestMessage\x1a2.protocol.GetAvailableUnfreezeCountResponseMessage\"\x00\x12\x87\x01\n" + + "\x1cGetCanWithdrawUnfreezeAmount\x121.protocol.CanWithdrawUnfreezeAmountRequestMessage\x1a2.protocol.CanWithdrawUnfreezeAmountResponseMessage\"\x00\x12?\n" + + "\x0fGetExchangeById\x12\x16.protocol.BytesMessage\x1a\x12.protocol.Exchange\"\x00\x12A\n" + + "\rListExchanges\x12\x16.protocol.EmptyMessage\x1a\x16.protocol.ExchangeList\"\x00\x12\x98\x01\n" + + "\x12GetTransactionById\x12\x16.protocol.BytesMessage\x1a\x15.protocol.Transaction\"S\x82\xd3\xe4\x93\x02M:\x01*Z$\x12\"/walletsolidity/gettransactionbyid\"\"/walletsolidity/gettransactionbyid\x12\xa8\x01\n" + + "\x16GetTransactionInfoById\x12\x16.protocol.BytesMessage\x1a\x19.protocol.TransactionInfo\"[\x82\xd3\xe4\x93\x02U:\x01*Z(\x12&/walletsolidity/gettransactioninfobyid\"&/walletsolidity/gettransactioninfobyid\x12_\n" + + "\x18GetMerkleTreeVoucherInfo\x12\x19.protocol.OutputPointInfo\x1a&.protocol.IncrementalMerkleVoucherInfo\"\x00\x12I\n" + + "\rScanNoteByIvk\x12\x1e.protocol.IvkDecryptParameters\x1a\x16.protocol.DecryptNotes\"\x00\x12]\n" + + "\x14ScanAndMarkNoteByIvk\x12%.protocol.IvkDecryptAndMarkParameters\x1a\x1c.protocol.DecryptNotesMarked\"\x00\x12I\n" + + "\rScanNoteByOvk\x12\x1e.protocol.OvkDecryptParameters\x1a\x16.protocol.DecryptNotes\"\x00\x12<\n" + + "\aIsSpend\x12\x18.protocol.NoteParameters\x1a\x15.protocol.SpendResult\"\x00\x12a\n" + + "\x1bScanShieldedTRC20NotesByIvk\x12#.protocol.IvkDecryptTRC20Parameters\x1a\x1b.protocol.DecryptNotesTRC20\"\x00\x12a\n" + + "\x1bScanShieldedTRC20NotesByOvk\x12#.protocol.OvkDecryptTRC20Parameters\x1a\x1b.protocol.DecryptNotesTRC20\"\x00\x12\\\n" + + " IsShieldedTRC20ContractNoteSpent\x12\x1b.protocol.NfTRC20Parameters\x1a\x19.protocol.NullifierResult\"\x00\x12B\n" + + "\rGetRewardInfo\x12\x16.protocol.BytesMessage\x1a\x17.protocol.NumberMessage\"\x00\x12E\n" + + "\x10GetBrokerageInfo\x12\x16.protocol.BytesMessage\x1a\x17.protocol.NumberMessage\"\x00\x12[\n" + + "\x17TriggerConstantContract\x12\x1e.protocol.TriggerSmartContract\x1a\x1e.protocol.TransactionExtention\"\x00\x12S\n" + + "\x0eEstimateEnergy\x12\x1e.protocol.TriggerSmartContract\x1a\x1f.protocol.EstimateEnergyMessage\"\x00\x12X\n" + + "\x1cGetTransactionInfoByBlockNum\x12\x17.protocol.NumberMessage\x1a\x1d.protocol.TransactionInfoList\"\x00\x12E\n" + + "\x12GetMarketOrderById\x12\x16.protocol.BytesMessage\x1a\x15.protocol.MarketOrder\"\x00\x12N\n" + + "\x17GetMarketOrderByAccount\x12\x16.protocol.BytesMessage\x1a\x19.protocol.MarketOrderList\"\x00\x12N\n" + + "\x14GetMarketPriceByPair\x12\x19.protocol.MarketOrderPair\x1a\x19.protocol.MarketPriceList\"\x00\x12R\n" + + "\x18GetMarketOrderListByPair\x12\x19.protocol.MarketOrderPair\x1a\x19.protocol.MarketOrderList\"\x00\x12L\n" + + "\x11GetMarketPairList\x12\x16.protocol.EmptyMessage\x1a\x1d.protocol.MarketOrderPairList\"\x00\x12?\n" + + "\n" + + "GetBurnTrx\x12\x16.protocol.EmptyMessage\x1a\x17.protocol.NumberMessage\"\x00\x12:\n" + + "\bGetBlock\x12\x12.protocol.BlockReq\x1a\x18.protocol.BlockExtention\"\x00\x12O\n" + + "\x12GetBandwidthPrices\x12\x16.protocol.EmptyMessage\x1a\x1f.protocol.PricesResponseMessage\"\x00\x12L\n" + + "\x0fGetEnergyPrices\x12\x16.protocol.EmptyMessage\x1a\x1f.protocol.PricesResponseMessage\"\x002\xad\x04\n" + + "\x0fWalletExtension\x12\xb1\x01\n" + + "\x17GetTransactionsFromThis\x12\x1a.protocol.AccountPaginated\x1a\x19.protocol.TransactionList\"_\x82\xd3\xe4\x93\x02Y:\x01*Z*\x12(/walletextension/gettransactionsfromthis\"(/walletextension/gettransactionsfromthis\x12\\\n" + + "\x18GetTransactionsFromThis2\x12\x1a.protocol.AccountPaginated\x1a\".protocol.TransactionListExtention\"\x00\x12\xab\x01\n" + + "\x15GetTransactionsToThis\x12\x1a.protocol.AccountPaginated\x1a\x19.protocol.TransactionList\"[\x82\xd3\xe4\x93\x02U:\x01*Z(\x12&/walletextension/gettransactionstothis\"&/walletextension/gettransactionstothis\x12Z\n" + + "\x16GetTransactionsToThis2\x12\x1a.protocol.AccountPaginated\x1a\".protocol.TransactionListExtention\"\x002\x99\x02\n" + + "\bDatabase\x12G\n" + + "\x11getBlockReference\x12\x16.protocol.EmptyMessage\x1a\x18.protocol.BlockReference\"\x00\x12M\n" + + "\x14GetDynamicProperties\x12\x16.protocol.EmptyMessage\x1a\x1b.protocol.DynamicProperties\"\x00\x128\n" + + "\vGetNowBlock\x12\x16.protocol.EmptyMessage\x1a\x0f.protocol.Block\"\x00\x12;\n" + + "\rGetBlockByNum\x12\x17.protocol.NumberMessage\x1a\x0f.protocol.Block\"\x002\x83\x01\n" + + "\aMonitor\x12x\n" + + "\fGetStatsInfo\x12\x16.protocol.EmptyMessage\x1a\x15.protocol.MetricsInfo\"9\x82\xd3\xe4\x93\x023:\x01*Z\x17\x12\x15/monitor/getstatsinfo\"\x15/monitor/getstatsinfo2\t\n" + + "\aNetworkBG\n" + + "\forg.tron.apiB\aGrpcAPIZ.github.com/fbsobreira/gotron-sdk/pkg/proto/apib\x06proto3" var ( file_api_api_proto_rawDescOnce sync.Once - file_api_api_proto_rawDescData = file_api_api_proto_rawDesc + file_api_api_proto_rawDescData []byte ) func file_api_api_proto_rawDescGZIP() []byte { file_api_api_proto_rawDescOnce.Do(func() { - file_api_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_api_proto_rawDescData) + file_api_api_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_api_api_proto_rawDesc), len(file_api_api_proto_rawDesc))) }) return file_api_api_proto_rawDescData } var file_api_api_proto_enumTypes = make([]protoimpl.EnumInfo, 3) -var file_api_api_proto_msgTypes = make([]protoimpl.MessageInfo, 81) -var file_api_api_proto_goTypes = []interface{}{ +var file_api_api_proto_msgTypes = make([]protoimpl.MessageInfo, 82) +var file_api_api_proto_goTypes = []any{ (ReturnResponseCode)(0), // 0: protocol.Return.response_code (TransactionSignWeight_ResultResponseCode)(0), // 1: protocol.TransactionSignWeight.Result.response_code (TransactionApprovedList_ResultResponseCode)(0), // 2: protocol.TransactionApprovedList.Result.response_code @@ -7220,603 +5624,614 @@ var file_api_api_proto_goTypes = []interface{}{ (*CanDelegatedMaxSizeResponseMessage)(nil), // 17: protocol.CanDelegatedMaxSizeResponseMessage (*CanWithdrawUnfreezeAmountRequestMessage)(nil), // 18: protocol.CanWithdrawUnfreezeAmountRequestMessage (*CanWithdrawUnfreezeAmountResponseMessage)(nil), // 19: protocol.CanWithdrawUnfreezeAmountResponseMessage - (*NodeList)(nil), // 20: protocol.NodeList - (*Node)(nil), // 21: protocol.Node - (*Address)(nil), // 22: protocol.Address - (*EmptyMessage)(nil), // 23: protocol.EmptyMessage - (*NumberMessage)(nil), // 24: protocol.NumberMessage - (*BytesMessage)(nil), // 25: protocol.BytesMessage - (*TimeMessage)(nil), // 26: protocol.TimeMessage - (*BlockReq)(nil), // 27: protocol.BlockReq - (*BlockLimit)(nil), // 28: protocol.BlockLimit - (*TransactionLimit)(nil), // 29: protocol.TransactionLimit - (*AccountPaginated)(nil), // 30: protocol.AccountPaginated - (*TimePaginatedMessage)(nil), // 31: protocol.TimePaginatedMessage - (*AccountNetMessage)(nil), // 32: protocol.AccountNetMessage - (*AccountResourceMessage)(nil), // 33: protocol.AccountResourceMessage - (*PaginatedMessage)(nil), // 34: protocol.PaginatedMessage - (*TransactionExtention)(nil), // 35: protocol.TransactionExtention - (*EstimateEnergyMessage)(nil), // 36: protocol.EstimateEnergyMessage - (*BlockExtention)(nil), // 37: protocol.BlockExtention - (*BlockListExtention)(nil), // 38: protocol.BlockListExtention - (*TransactionListExtention)(nil), // 39: protocol.TransactionListExtention - (*BlockIncrementalMerkleTree)(nil), // 40: protocol.BlockIncrementalMerkleTree - (*TransactionSignWeight)(nil), // 41: protocol.TransactionSignWeight - (*TransactionApprovedList)(nil), // 42: protocol.TransactionApprovedList - (*IvkDecryptParameters)(nil), // 43: protocol.IvkDecryptParameters - (*IvkDecryptAndMarkParameters)(nil), // 44: protocol.IvkDecryptAndMarkParameters - (*OvkDecryptParameters)(nil), // 45: protocol.OvkDecryptParameters - (*DecryptNotes)(nil), // 46: protocol.DecryptNotes - (*DecryptNotesMarked)(nil), // 47: protocol.DecryptNotesMarked - (*Note)(nil), // 48: protocol.Note - (*SpendNote)(nil), // 49: protocol.SpendNote - (*ReceiveNote)(nil), // 50: protocol.ReceiveNote - (*PrivateParameters)(nil), // 51: protocol.PrivateParameters - (*PrivateParametersWithoutAsk)(nil), // 52: protocol.PrivateParametersWithoutAsk - (*SpendAuthSigParameters)(nil), // 53: protocol.SpendAuthSigParameters - (*NfParameters)(nil), // 54: protocol.NfParameters - (*ExpandedSpendingKeyMessage)(nil), // 55: protocol.ExpandedSpendingKeyMessage - (*ViewingKeyMessage)(nil), // 56: protocol.ViewingKeyMessage - (*IncomingViewingKeyMessage)(nil), // 57: protocol.IncomingViewingKeyMessage - (*DiversifierMessage)(nil), // 58: protocol.DiversifierMessage - (*IncomingViewingKeyDiversifierMessage)(nil), // 59: protocol.IncomingViewingKeyDiversifierMessage - (*PaymentAddressMessage)(nil), // 60: protocol.PaymentAddressMessage - (*ShieldedAddressInfo)(nil), // 61: protocol.ShieldedAddressInfo - (*NoteParameters)(nil), // 62: protocol.NoteParameters - (*SpendResult)(nil), // 63: protocol.SpendResult - (*TransactionInfoList)(nil), // 64: protocol.TransactionInfoList - (*SpendNoteTRC20)(nil), // 65: protocol.SpendNoteTRC20 - (*PrivateShieldedTRC20Parameters)(nil), // 66: protocol.PrivateShieldedTRC20Parameters - (*PrivateShieldedTRC20ParametersWithoutAsk)(nil), // 67: protocol.PrivateShieldedTRC20ParametersWithoutAsk - (*ShieldedTRC20Parameters)(nil), // 68: protocol.ShieldedTRC20Parameters - (*IvkDecryptTRC20Parameters)(nil), // 69: protocol.IvkDecryptTRC20Parameters - (*OvkDecryptTRC20Parameters)(nil), // 70: protocol.OvkDecryptTRC20Parameters - (*DecryptNotesTRC20)(nil), // 71: protocol.DecryptNotesTRC20 - (*NfTRC20Parameters)(nil), // 72: protocol.NfTRC20Parameters - (*NullifierResult)(nil), // 73: protocol.NullifierResult - (*ShieldedTRC20TriggerContractParameters)(nil), // 74: protocol.ShieldedTRC20TriggerContractParameters - nil, // 75: protocol.AccountNetMessage.AssetNetUsedEntry - nil, // 76: protocol.AccountNetMessage.AssetNetLimitEntry - nil, // 77: protocol.AccountResourceMessage.AssetNetUsedEntry - nil, // 78: protocol.AccountResourceMessage.AssetNetLimitEntry - (*TransactionSignWeight_Result)(nil), // 79: protocol.TransactionSignWeight.Result - (*TransactionApprovedList_Result)(nil), // 80: protocol.TransactionApprovedList.Result - (*DecryptNotes_NoteTx)(nil), // 81: protocol.DecryptNotes.NoteTx - (*DecryptNotesMarked_NoteTx)(nil), // 82: protocol.DecryptNotesMarked.NoteTx - (*DecryptNotesTRC20_NoteTx)(nil), // 83: protocol.DecryptNotesTRC20.NoteTx - (*core.Witness)(nil), // 84: protocol.Witness - (*core.Proposal)(nil), // 85: protocol.Proposal - (*core.Exchange)(nil), // 86: protocol.Exchange - (*core.AssetIssueContract)(nil), // 87: protocol.AssetIssueContract - (*core.Block)(nil), // 88: protocol.Block - (*core.Transaction)(nil), // 89: protocol.Transaction - (*core.DelegatedResource)(nil), // 90: protocol.DelegatedResource - (*core.Account)(nil), // 91: protocol.Account - (*core.TransactionInfo_Log)(nil), // 92: protocol.TransactionInfo.Log - (*core.InternalTransaction)(nil), // 93: protocol.InternalTransaction - (*core.BlockHeader)(nil), // 94: protocol.BlockHeader - (*core.IncrementalMerkleTree)(nil), // 95: protocol.IncrementalMerkleTree - (*core.Permission)(nil), // 96: protocol.Permission - (*core.IncrementalMerkleVoucher)(nil), // 97: protocol.IncrementalMerkleVoucher - (*core.TransactionInfo)(nil), // 98: protocol.TransactionInfo - (*core.SpendDescription)(nil), // 99: protocol.SpendDescription - (*core.ReceiveDescription)(nil), // 100: protocol.ReceiveDescription - (*core.AccountBalanceRequest)(nil), // 101: protocol.AccountBalanceRequest - (*core.BlockBalanceTrace_BlockIdentifier)(nil), // 102: protocol.BlockBalanceTrace.BlockIdentifier - (*core.TransferContract)(nil), // 103: protocol.TransferContract - (*core.AccountUpdateContract)(nil), // 104: protocol.AccountUpdateContract - (*core.SetAccountIdContract)(nil), // 105: protocol.SetAccountIdContract - (*core.VoteWitnessContract)(nil), // 106: protocol.VoteWitnessContract - (*core.UpdateSettingContract)(nil), // 107: protocol.UpdateSettingContract - (*core.UpdateEnergyLimitContract)(nil), // 108: protocol.UpdateEnergyLimitContract - (*core.WitnessUpdateContract)(nil), // 109: protocol.WitnessUpdateContract - (*core.AccountCreateContract)(nil), // 110: protocol.AccountCreateContract - (*core.WitnessCreateContract)(nil), // 111: protocol.WitnessCreateContract - (*core.TransferAssetContract)(nil), // 112: protocol.TransferAssetContract - (*core.ParticipateAssetIssueContract)(nil), // 113: protocol.ParticipateAssetIssueContract - (*core.FreezeBalanceContract)(nil), // 114: protocol.FreezeBalanceContract - (*core.FreezeBalanceV2Contract)(nil), // 115: protocol.FreezeBalanceV2Contract - (*core.UnfreezeBalanceContract)(nil), // 116: protocol.UnfreezeBalanceContract - (*core.UnfreezeBalanceV2Contract)(nil), // 117: protocol.UnfreezeBalanceV2Contract - (*core.UnfreezeAssetContract)(nil), // 118: protocol.UnfreezeAssetContract - (*core.WithdrawBalanceContract)(nil), // 119: protocol.WithdrawBalanceContract - (*core.WithdrawExpireUnfreezeContract)(nil), // 120: protocol.WithdrawExpireUnfreezeContract - (*core.DelegateResourceContract)(nil), // 121: protocol.DelegateResourceContract - (*core.UnDelegateResourceContract)(nil), // 122: protocol.UnDelegateResourceContract - (*core.CancelAllUnfreezeV2Contract)(nil), // 123: protocol.CancelAllUnfreezeV2Contract - (*core.UpdateAssetContract)(nil), // 124: protocol.UpdateAssetContract - (*core.ProposalCreateContract)(nil), // 125: protocol.ProposalCreateContract - (*core.ProposalApproveContract)(nil), // 126: protocol.ProposalApproveContract - (*core.ProposalDeleteContract)(nil), // 127: protocol.ProposalDeleteContract - (*core.BuyStorageContract)(nil), // 128: protocol.BuyStorageContract - (*core.BuyStorageBytesContract)(nil), // 129: protocol.BuyStorageBytesContract - (*core.SellStorageContract)(nil), // 130: protocol.SellStorageContract - (*core.ExchangeCreateContract)(nil), // 131: protocol.ExchangeCreateContract - (*core.ExchangeInjectContract)(nil), // 132: protocol.ExchangeInjectContract - (*core.ExchangeWithdrawContract)(nil), // 133: protocol.ExchangeWithdrawContract - (*core.ExchangeTransactionContract)(nil), // 134: protocol.ExchangeTransactionContract - (*core.MarketSellAssetContract)(nil), // 135: protocol.MarketSellAssetContract - (*core.MarketCancelOrderContract)(nil), // 136: protocol.MarketCancelOrderContract - (*core.MarketOrderPair)(nil), // 137: protocol.MarketOrderPair - (*core.CreateSmartContract)(nil), // 138: protocol.CreateSmartContract - (*core.TriggerSmartContract)(nil), // 139: protocol.TriggerSmartContract - (*core.ClearABIContract)(nil), // 140: protocol.ClearABIContract - (*core.AccountPermissionUpdateContract)(nil), // 141: protocol.AccountPermissionUpdateContract - (*core.UpdateBrokerageContract)(nil), // 142: protocol.UpdateBrokerageContract - (*core.OutputPointInfo)(nil), // 143: protocol.OutputPointInfo - (*core.AccountBalanceResponse)(nil), // 144: protocol.AccountBalanceResponse - (*core.BlockBalanceTrace)(nil), // 145: protocol.BlockBalanceTrace - (*core.MarketOrder)(nil), // 146: protocol.MarketOrder - (*core.MarketOrderList)(nil), // 147: protocol.MarketOrderList - (*core.MarketPriceList)(nil), // 148: protocol.MarketPriceList - (*core.MarketOrderPairList)(nil), // 149: protocol.MarketOrderPairList - (*core.SmartContract)(nil), // 150: protocol.SmartContract - (*core.SmartContractDataWrapper)(nil), // 151: protocol.SmartContractDataWrapper - (*core.DelegatedResourceAccountIndex)(nil), // 152: protocol.DelegatedResourceAccountIndex - (*core.ChainParameters)(nil), // 153: protocol.ChainParameters - (*core.NodeInfo)(nil), // 154: protocol.NodeInfo - (*core.IncrementalMerkleVoucherInfo)(nil), // 155: protocol.IncrementalMerkleVoucherInfo - (*core.DynamicProperties)(nil), // 156: protocol.DynamicProperties - (*core.MetricsInfo)(nil), // 157: protocol.MetricsInfo + (*PricesResponseMessage)(nil), // 20: protocol.PricesResponseMessage + (*NodeList)(nil), // 21: protocol.NodeList + (*Node)(nil), // 22: protocol.Node + (*Address)(nil), // 23: protocol.Address + (*EmptyMessage)(nil), // 24: protocol.EmptyMessage + (*NumberMessage)(nil), // 25: protocol.NumberMessage + (*BytesMessage)(nil), // 26: protocol.BytesMessage + (*TimeMessage)(nil), // 27: protocol.TimeMessage + (*BlockReq)(nil), // 28: protocol.BlockReq + (*BlockLimit)(nil), // 29: protocol.BlockLimit + (*TransactionLimit)(nil), // 30: protocol.TransactionLimit + (*AccountPaginated)(nil), // 31: protocol.AccountPaginated + (*TimePaginatedMessage)(nil), // 32: protocol.TimePaginatedMessage + (*AccountNetMessage)(nil), // 33: protocol.AccountNetMessage + (*AccountResourceMessage)(nil), // 34: protocol.AccountResourceMessage + (*PaginatedMessage)(nil), // 35: protocol.PaginatedMessage + (*TransactionExtention)(nil), // 36: protocol.TransactionExtention + (*EstimateEnergyMessage)(nil), // 37: protocol.EstimateEnergyMessage + (*BlockExtention)(nil), // 38: protocol.BlockExtention + (*BlockListExtention)(nil), // 39: protocol.BlockListExtention + (*TransactionListExtention)(nil), // 40: protocol.TransactionListExtention + (*BlockIncrementalMerkleTree)(nil), // 41: protocol.BlockIncrementalMerkleTree + (*TransactionSignWeight)(nil), // 42: protocol.TransactionSignWeight + (*TransactionApprovedList)(nil), // 43: protocol.TransactionApprovedList + (*IvkDecryptParameters)(nil), // 44: protocol.IvkDecryptParameters + (*IvkDecryptAndMarkParameters)(nil), // 45: protocol.IvkDecryptAndMarkParameters + (*OvkDecryptParameters)(nil), // 46: protocol.OvkDecryptParameters + (*DecryptNotes)(nil), // 47: protocol.DecryptNotes + (*DecryptNotesMarked)(nil), // 48: protocol.DecryptNotesMarked + (*Note)(nil), // 49: protocol.Note + (*SpendNote)(nil), // 50: protocol.SpendNote + (*ReceiveNote)(nil), // 51: protocol.ReceiveNote + (*PrivateParameters)(nil), // 52: protocol.PrivateParameters + (*PrivateParametersWithoutAsk)(nil), // 53: protocol.PrivateParametersWithoutAsk + (*SpendAuthSigParameters)(nil), // 54: protocol.SpendAuthSigParameters + (*NfParameters)(nil), // 55: protocol.NfParameters + (*ExpandedSpendingKeyMessage)(nil), // 56: protocol.ExpandedSpendingKeyMessage + (*ViewingKeyMessage)(nil), // 57: protocol.ViewingKeyMessage + (*IncomingViewingKeyMessage)(nil), // 58: protocol.IncomingViewingKeyMessage + (*DiversifierMessage)(nil), // 59: protocol.DiversifierMessage + (*IncomingViewingKeyDiversifierMessage)(nil), // 60: protocol.IncomingViewingKeyDiversifierMessage + (*PaymentAddressMessage)(nil), // 61: protocol.PaymentAddressMessage + (*ShieldedAddressInfo)(nil), // 62: protocol.ShieldedAddressInfo + (*NoteParameters)(nil), // 63: protocol.NoteParameters + (*SpendResult)(nil), // 64: protocol.SpendResult + (*TransactionInfoList)(nil), // 65: protocol.TransactionInfoList + (*SpendNoteTRC20)(nil), // 66: protocol.SpendNoteTRC20 + (*PrivateShieldedTRC20Parameters)(nil), // 67: protocol.PrivateShieldedTRC20Parameters + (*PrivateShieldedTRC20ParametersWithoutAsk)(nil), // 68: protocol.PrivateShieldedTRC20ParametersWithoutAsk + (*ShieldedTRC20Parameters)(nil), // 69: protocol.ShieldedTRC20Parameters + (*IvkDecryptTRC20Parameters)(nil), // 70: protocol.IvkDecryptTRC20Parameters + (*OvkDecryptTRC20Parameters)(nil), // 71: protocol.OvkDecryptTRC20Parameters + (*DecryptNotesTRC20)(nil), // 72: protocol.DecryptNotesTRC20 + (*NfTRC20Parameters)(nil), // 73: protocol.NfTRC20Parameters + (*NullifierResult)(nil), // 74: protocol.NullifierResult + (*ShieldedTRC20TriggerContractParameters)(nil), // 75: protocol.ShieldedTRC20TriggerContractParameters + nil, // 76: protocol.AccountNetMessage.AssetNetUsedEntry + nil, // 77: protocol.AccountNetMessage.AssetNetLimitEntry + nil, // 78: protocol.AccountResourceMessage.AssetNetUsedEntry + nil, // 79: protocol.AccountResourceMessage.AssetNetLimitEntry + (*TransactionSignWeight_Result)(nil), // 80: protocol.TransactionSignWeight.Result + (*TransactionApprovedList_Result)(nil), // 81: protocol.TransactionApprovedList.Result + (*DecryptNotes_NoteTx)(nil), // 82: protocol.DecryptNotes.NoteTx + (*DecryptNotesMarked_NoteTx)(nil), // 83: protocol.DecryptNotesMarked.NoteTx + (*DecryptNotesTRC20_NoteTx)(nil), // 84: protocol.DecryptNotesTRC20.NoteTx + (*core.Witness)(nil), // 85: protocol.Witness + (*core.Proposal)(nil), // 86: protocol.Proposal + (*core.Exchange)(nil), // 87: protocol.Exchange + (*core.AssetIssueContract)(nil), // 88: protocol.AssetIssueContract + (*core.Block)(nil), // 89: protocol.Block + (*core.Transaction)(nil), // 90: protocol.Transaction + (*core.DelegatedResource)(nil), // 91: protocol.DelegatedResource + (*core.Account)(nil), // 92: protocol.Account + (*core.TransactionInfo_Log)(nil), // 93: protocol.TransactionInfo.Log + (*core.InternalTransaction)(nil), // 94: protocol.InternalTransaction + (*core.BlockHeader)(nil), // 95: protocol.BlockHeader + (*core.IncrementalMerkleTree)(nil), // 96: protocol.IncrementalMerkleTree + (*core.Permission)(nil), // 97: protocol.Permission + (*core.IncrementalMerkleVoucher)(nil), // 98: protocol.IncrementalMerkleVoucher + (*core.TransactionInfo)(nil), // 99: protocol.TransactionInfo + (*core.SpendDescription)(nil), // 100: protocol.SpendDescription + (*core.ReceiveDescription)(nil), // 101: protocol.ReceiveDescription + (*core.AccountBalanceRequest)(nil), // 102: protocol.AccountBalanceRequest + (*core.BlockBalanceTrace_BlockIdentifier)(nil), // 103: protocol.BlockBalanceTrace.BlockIdentifier + (*core.TransferContract)(nil), // 104: protocol.TransferContract + (*core.AccountUpdateContract)(nil), // 105: protocol.AccountUpdateContract + (*core.SetAccountIdContract)(nil), // 106: protocol.SetAccountIdContract + (*core.VoteWitnessContract)(nil), // 107: protocol.VoteWitnessContract + (*core.UpdateSettingContract)(nil), // 108: protocol.UpdateSettingContract + (*core.UpdateEnergyLimitContract)(nil), // 109: protocol.UpdateEnergyLimitContract + (*core.WitnessUpdateContract)(nil), // 110: protocol.WitnessUpdateContract + (*core.AccountCreateContract)(nil), // 111: protocol.AccountCreateContract + (*core.WitnessCreateContract)(nil), // 112: protocol.WitnessCreateContract + (*core.TransferAssetContract)(nil), // 113: protocol.TransferAssetContract + (*core.ParticipateAssetIssueContract)(nil), // 114: protocol.ParticipateAssetIssueContract + (*core.FreezeBalanceContract)(nil), // 115: protocol.FreezeBalanceContract + (*core.FreezeBalanceV2Contract)(nil), // 116: protocol.FreezeBalanceV2Contract + (*core.UnfreezeBalanceContract)(nil), // 117: protocol.UnfreezeBalanceContract + (*core.UnfreezeBalanceV2Contract)(nil), // 118: protocol.UnfreezeBalanceV2Contract + (*core.UnfreezeAssetContract)(nil), // 119: protocol.UnfreezeAssetContract + (*core.WithdrawBalanceContract)(nil), // 120: protocol.WithdrawBalanceContract + (*core.WithdrawExpireUnfreezeContract)(nil), // 121: protocol.WithdrawExpireUnfreezeContract + (*core.DelegateResourceContract)(nil), // 122: protocol.DelegateResourceContract + (*core.UnDelegateResourceContract)(nil), // 123: protocol.UnDelegateResourceContract + (*core.CancelAllUnfreezeV2Contract)(nil), // 124: protocol.CancelAllUnfreezeV2Contract + (*core.UpdateAssetContract)(nil), // 125: protocol.UpdateAssetContract + (*core.ProposalCreateContract)(nil), // 126: protocol.ProposalCreateContract + (*core.ProposalApproveContract)(nil), // 127: protocol.ProposalApproveContract + (*core.ProposalDeleteContract)(nil), // 128: protocol.ProposalDeleteContract + (*core.BuyStorageContract)(nil), // 129: protocol.BuyStorageContract + (*core.BuyStorageBytesContract)(nil), // 130: protocol.BuyStorageBytesContract + (*core.SellStorageContract)(nil), // 131: protocol.SellStorageContract + (*core.ExchangeCreateContract)(nil), // 132: protocol.ExchangeCreateContract + (*core.ExchangeInjectContract)(nil), // 133: protocol.ExchangeInjectContract + (*core.ExchangeWithdrawContract)(nil), // 134: protocol.ExchangeWithdrawContract + (*core.ExchangeTransactionContract)(nil), // 135: protocol.ExchangeTransactionContract + (*core.MarketSellAssetContract)(nil), // 136: protocol.MarketSellAssetContract + (*core.MarketCancelOrderContract)(nil), // 137: protocol.MarketCancelOrderContract + (*core.MarketOrderPair)(nil), // 138: protocol.MarketOrderPair + (*core.CreateSmartContract)(nil), // 139: protocol.CreateSmartContract + (*core.TriggerSmartContract)(nil), // 140: protocol.TriggerSmartContract + (*core.ClearABIContract)(nil), // 141: protocol.ClearABIContract + (*core.AccountPermissionUpdateContract)(nil), // 142: protocol.AccountPermissionUpdateContract + (*core.UpdateBrokerageContract)(nil), // 143: protocol.UpdateBrokerageContract + (*core.OutputPointInfo)(nil), // 144: protocol.OutputPointInfo + (*core.AccountBalanceResponse)(nil), // 145: protocol.AccountBalanceResponse + (*core.BlockBalanceTrace)(nil), // 146: protocol.BlockBalanceTrace + (*core.MarketOrder)(nil), // 147: protocol.MarketOrder + (*core.MarketOrderList)(nil), // 148: protocol.MarketOrderList + (*core.MarketPriceList)(nil), // 149: protocol.MarketPriceList + (*core.MarketOrderPairList)(nil), // 150: protocol.MarketOrderPairList + (*core.SmartContract)(nil), // 151: protocol.SmartContract + (*core.SmartContractDataWrapper)(nil), // 152: protocol.SmartContractDataWrapper + (*core.DelegatedResourceAccountIndex)(nil), // 153: protocol.DelegatedResourceAccountIndex + (*core.ChainParameters)(nil), // 154: protocol.ChainParameters + (*core.NodeInfo)(nil), // 155: protocol.NodeInfo + (*core.IncrementalMerkleVoucherInfo)(nil), // 156: protocol.IncrementalMerkleVoucherInfo + (*core.DynamicProperties)(nil), // 157: protocol.DynamicProperties + (*core.MetricsInfo)(nil), // 158: protocol.MetricsInfo } var file_api_api_proto_depIdxs = []int32{ 0, // 0: protocol.Return.code:type_name -> protocol.Return.response_code - 84, // 1: protocol.WitnessList.witnesses:type_name -> protocol.Witness - 85, // 2: protocol.ProposalList.proposals:type_name -> protocol.Proposal - 86, // 3: protocol.ExchangeList.exchanges:type_name -> protocol.Exchange - 87, // 4: protocol.AssetIssueList.assetIssue:type_name -> protocol.AssetIssueContract - 88, // 5: protocol.BlockList.block:type_name -> protocol.Block - 89, // 6: protocol.TransactionList.transaction:type_name -> protocol.Transaction - 90, // 7: protocol.DelegatedResourceList.delegatedResource:type_name -> protocol.DelegatedResource - 21, // 8: protocol.NodeList.nodes:type_name -> protocol.Node - 22, // 9: protocol.Node.address:type_name -> protocol.Address - 91, // 10: protocol.AccountPaginated.account:type_name -> protocol.Account - 26, // 11: protocol.TimePaginatedMessage.timeMessage:type_name -> protocol.TimeMessage - 75, // 12: protocol.AccountNetMessage.assetNetUsed:type_name -> protocol.AccountNetMessage.AssetNetUsedEntry - 76, // 13: protocol.AccountNetMessage.assetNetLimit:type_name -> protocol.AccountNetMessage.AssetNetLimitEntry - 77, // 14: protocol.AccountResourceMessage.assetNetUsed:type_name -> protocol.AccountResourceMessage.AssetNetUsedEntry - 78, // 15: protocol.AccountResourceMessage.assetNetLimit:type_name -> protocol.AccountResourceMessage.AssetNetLimitEntry - 89, // 16: protocol.TransactionExtention.transaction:type_name -> protocol.Transaction + 85, // 1: protocol.WitnessList.witnesses:type_name -> protocol.Witness + 86, // 2: protocol.ProposalList.proposals:type_name -> protocol.Proposal + 87, // 3: protocol.ExchangeList.exchanges:type_name -> protocol.Exchange + 88, // 4: protocol.AssetIssueList.assetIssue:type_name -> protocol.AssetIssueContract + 89, // 5: protocol.BlockList.block:type_name -> protocol.Block + 90, // 6: protocol.TransactionList.transaction:type_name -> protocol.Transaction + 91, // 7: protocol.DelegatedResourceList.delegatedResource:type_name -> protocol.DelegatedResource + 22, // 8: protocol.NodeList.nodes:type_name -> protocol.Node + 23, // 9: protocol.Node.address:type_name -> protocol.Address + 92, // 10: protocol.AccountPaginated.account:type_name -> protocol.Account + 27, // 11: protocol.TimePaginatedMessage.timeMessage:type_name -> protocol.TimeMessage + 76, // 12: protocol.AccountNetMessage.assetNetUsed:type_name -> protocol.AccountNetMessage.AssetNetUsedEntry + 77, // 13: protocol.AccountNetMessage.assetNetLimit:type_name -> protocol.AccountNetMessage.AssetNetLimitEntry + 78, // 14: protocol.AccountResourceMessage.assetNetUsed:type_name -> protocol.AccountResourceMessage.AssetNetUsedEntry + 79, // 15: protocol.AccountResourceMessage.assetNetLimit:type_name -> protocol.AccountResourceMessage.AssetNetLimitEntry + 90, // 16: protocol.TransactionExtention.transaction:type_name -> protocol.Transaction 3, // 17: protocol.TransactionExtention.result:type_name -> protocol.Return - 92, // 18: protocol.TransactionExtention.logs:type_name -> protocol.TransactionInfo.Log - 93, // 19: protocol.TransactionExtention.internal_transactions:type_name -> protocol.InternalTransaction + 93, // 18: protocol.TransactionExtention.logs:type_name -> protocol.TransactionInfo.Log + 94, // 19: protocol.TransactionExtention.internal_transactions:type_name -> protocol.InternalTransaction 3, // 20: protocol.EstimateEnergyMessage.result:type_name -> protocol.Return - 35, // 21: protocol.BlockExtention.transactions:type_name -> protocol.TransactionExtention - 94, // 22: protocol.BlockExtention.block_header:type_name -> protocol.BlockHeader - 37, // 23: protocol.BlockListExtention.block:type_name -> protocol.BlockExtention - 35, // 24: protocol.TransactionListExtention.transaction:type_name -> protocol.TransactionExtention - 95, // 25: protocol.BlockIncrementalMerkleTree.merkleTree:type_name -> protocol.IncrementalMerkleTree - 96, // 26: protocol.TransactionSignWeight.permission:type_name -> protocol.Permission - 79, // 27: protocol.TransactionSignWeight.result:type_name -> protocol.TransactionSignWeight.Result - 35, // 28: protocol.TransactionSignWeight.transaction:type_name -> protocol.TransactionExtention - 80, // 29: protocol.TransactionApprovedList.result:type_name -> protocol.TransactionApprovedList.Result - 35, // 30: protocol.TransactionApprovedList.transaction:type_name -> protocol.TransactionExtention - 81, // 31: protocol.DecryptNotes.noteTxs:type_name -> protocol.DecryptNotes.NoteTx - 82, // 32: protocol.DecryptNotesMarked.noteTxs:type_name -> protocol.DecryptNotesMarked.NoteTx - 48, // 33: protocol.SpendNote.note:type_name -> protocol.Note - 97, // 34: protocol.SpendNote.voucher:type_name -> protocol.IncrementalMerkleVoucher - 48, // 35: protocol.ReceiveNote.note:type_name -> protocol.Note - 49, // 36: protocol.PrivateParameters.shielded_spends:type_name -> protocol.SpendNote - 50, // 37: protocol.PrivateParameters.shielded_receives:type_name -> protocol.ReceiveNote - 49, // 38: protocol.PrivateParametersWithoutAsk.shielded_spends:type_name -> protocol.SpendNote - 50, // 39: protocol.PrivateParametersWithoutAsk.shielded_receives:type_name -> protocol.ReceiveNote - 48, // 40: protocol.NfParameters.note:type_name -> protocol.Note - 97, // 41: protocol.NfParameters.voucher:type_name -> protocol.IncrementalMerkleVoucher - 57, // 42: protocol.IncomingViewingKeyDiversifierMessage.ivk:type_name -> protocol.IncomingViewingKeyMessage - 58, // 43: protocol.IncomingViewingKeyDiversifierMessage.d:type_name -> protocol.DiversifierMessage - 58, // 44: protocol.PaymentAddressMessage.d:type_name -> protocol.DiversifierMessage - 48, // 45: protocol.NoteParameters.note:type_name -> protocol.Note - 98, // 46: protocol.TransactionInfoList.transactionInfo:type_name -> protocol.TransactionInfo - 48, // 47: protocol.SpendNoteTRC20.note:type_name -> protocol.Note - 65, // 48: protocol.PrivateShieldedTRC20Parameters.shielded_spends:type_name -> protocol.SpendNoteTRC20 - 50, // 49: protocol.PrivateShieldedTRC20Parameters.shielded_receives:type_name -> protocol.ReceiveNote - 65, // 50: protocol.PrivateShieldedTRC20ParametersWithoutAsk.shielded_spends:type_name -> protocol.SpendNoteTRC20 - 50, // 51: protocol.PrivateShieldedTRC20ParametersWithoutAsk.shielded_receives:type_name -> protocol.ReceiveNote - 99, // 52: protocol.ShieldedTRC20Parameters.spend_description:type_name -> protocol.SpendDescription - 100, // 53: protocol.ShieldedTRC20Parameters.receive_description:type_name -> protocol.ReceiveDescription - 83, // 54: protocol.DecryptNotesTRC20.noteTxs:type_name -> protocol.DecryptNotesTRC20.NoteTx - 48, // 55: protocol.NfTRC20Parameters.note:type_name -> protocol.Note - 68, // 56: protocol.ShieldedTRC20TriggerContractParameters.shielded_TRC20_Parameters:type_name -> protocol.ShieldedTRC20Parameters - 25, // 57: protocol.ShieldedTRC20TriggerContractParameters.spend_authority_signature:type_name -> protocol.BytesMessage + 36, // 21: protocol.BlockExtention.transactions:type_name -> protocol.TransactionExtention + 95, // 22: protocol.BlockExtention.block_header:type_name -> protocol.BlockHeader + 38, // 23: protocol.BlockListExtention.block:type_name -> protocol.BlockExtention + 36, // 24: protocol.TransactionListExtention.transaction:type_name -> protocol.TransactionExtention + 96, // 25: protocol.BlockIncrementalMerkleTree.merkleTree:type_name -> protocol.IncrementalMerkleTree + 97, // 26: protocol.TransactionSignWeight.permission:type_name -> protocol.Permission + 80, // 27: protocol.TransactionSignWeight.result:type_name -> protocol.TransactionSignWeight.Result + 36, // 28: protocol.TransactionSignWeight.transaction:type_name -> protocol.TransactionExtention + 81, // 29: protocol.TransactionApprovedList.result:type_name -> protocol.TransactionApprovedList.Result + 36, // 30: protocol.TransactionApprovedList.transaction:type_name -> protocol.TransactionExtention + 82, // 31: protocol.DecryptNotes.noteTxs:type_name -> protocol.DecryptNotes.NoteTx + 83, // 32: protocol.DecryptNotesMarked.noteTxs:type_name -> protocol.DecryptNotesMarked.NoteTx + 49, // 33: protocol.SpendNote.note:type_name -> protocol.Note + 98, // 34: protocol.SpendNote.voucher:type_name -> protocol.IncrementalMerkleVoucher + 49, // 35: protocol.ReceiveNote.note:type_name -> protocol.Note + 50, // 36: protocol.PrivateParameters.shielded_spends:type_name -> protocol.SpendNote + 51, // 37: protocol.PrivateParameters.shielded_receives:type_name -> protocol.ReceiveNote + 50, // 38: protocol.PrivateParametersWithoutAsk.shielded_spends:type_name -> protocol.SpendNote + 51, // 39: protocol.PrivateParametersWithoutAsk.shielded_receives:type_name -> protocol.ReceiveNote + 49, // 40: protocol.NfParameters.note:type_name -> protocol.Note + 98, // 41: protocol.NfParameters.voucher:type_name -> protocol.IncrementalMerkleVoucher + 58, // 42: protocol.IncomingViewingKeyDiversifierMessage.ivk:type_name -> protocol.IncomingViewingKeyMessage + 59, // 43: protocol.IncomingViewingKeyDiversifierMessage.d:type_name -> protocol.DiversifierMessage + 59, // 44: protocol.PaymentAddressMessage.d:type_name -> protocol.DiversifierMessage + 49, // 45: protocol.NoteParameters.note:type_name -> protocol.Note + 99, // 46: protocol.TransactionInfoList.transactionInfo:type_name -> protocol.TransactionInfo + 49, // 47: protocol.SpendNoteTRC20.note:type_name -> protocol.Note + 66, // 48: protocol.PrivateShieldedTRC20Parameters.shielded_spends:type_name -> protocol.SpendNoteTRC20 + 51, // 49: protocol.PrivateShieldedTRC20Parameters.shielded_receives:type_name -> protocol.ReceiveNote + 66, // 50: protocol.PrivateShieldedTRC20ParametersWithoutAsk.shielded_spends:type_name -> protocol.SpendNoteTRC20 + 51, // 51: protocol.PrivateShieldedTRC20ParametersWithoutAsk.shielded_receives:type_name -> protocol.ReceiveNote + 100, // 52: protocol.ShieldedTRC20Parameters.spend_description:type_name -> protocol.SpendDescription + 101, // 53: protocol.ShieldedTRC20Parameters.receive_description:type_name -> protocol.ReceiveDescription + 84, // 54: protocol.DecryptNotesTRC20.noteTxs:type_name -> protocol.DecryptNotesTRC20.NoteTx + 49, // 55: protocol.NfTRC20Parameters.note:type_name -> protocol.Note + 69, // 56: protocol.ShieldedTRC20TriggerContractParameters.shielded_TRC20_Parameters:type_name -> protocol.ShieldedTRC20Parameters + 26, // 57: protocol.ShieldedTRC20TriggerContractParameters.spend_authority_signature:type_name -> protocol.BytesMessage 1, // 58: protocol.TransactionSignWeight.Result.code:type_name -> protocol.TransactionSignWeight.Result.response_code 2, // 59: protocol.TransactionApprovedList.Result.code:type_name -> protocol.TransactionApprovedList.Result.response_code - 48, // 60: protocol.DecryptNotes.NoteTx.note:type_name -> protocol.Note - 48, // 61: protocol.DecryptNotesMarked.NoteTx.note:type_name -> protocol.Note - 48, // 62: protocol.DecryptNotesTRC20.NoteTx.note:type_name -> protocol.Note - 91, // 63: protocol.Wallet.GetAccount:input_type -> protocol.Account - 91, // 64: protocol.Wallet.GetAccountById:input_type -> protocol.Account - 101, // 65: protocol.Wallet.GetAccountBalance:input_type -> protocol.AccountBalanceRequest - 102, // 66: protocol.Wallet.GetBlockBalanceTrace:input_type -> protocol.BlockBalanceTrace.BlockIdentifier - 103, // 67: protocol.Wallet.CreateTransaction:input_type -> protocol.TransferContract - 103, // 68: protocol.Wallet.CreateTransaction2:input_type -> protocol.TransferContract - 89, // 69: protocol.Wallet.BroadcastTransaction:input_type -> protocol.Transaction - 104, // 70: protocol.Wallet.UpdateAccount:input_type -> protocol.AccountUpdateContract - 105, // 71: protocol.Wallet.SetAccountId:input_type -> protocol.SetAccountIdContract - 104, // 72: protocol.Wallet.UpdateAccount2:input_type -> protocol.AccountUpdateContract - 106, // 73: protocol.Wallet.VoteWitnessAccount:input_type -> protocol.VoteWitnessContract - 107, // 74: protocol.Wallet.UpdateSetting:input_type -> protocol.UpdateSettingContract - 108, // 75: protocol.Wallet.UpdateEnergyLimit:input_type -> protocol.UpdateEnergyLimitContract - 106, // 76: protocol.Wallet.VoteWitnessAccount2:input_type -> protocol.VoteWitnessContract - 87, // 77: protocol.Wallet.CreateAssetIssue:input_type -> protocol.AssetIssueContract - 87, // 78: protocol.Wallet.CreateAssetIssue2:input_type -> protocol.AssetIssueContract - 109, // 79: protocol.Wallet.UpdateWitness:input_type -> protocol.WitnessUpdateContract - 109, // 80: protocol.Wallet.UpdateWitness2:input_type -> protocol.WitnessUpdateContract - 110, // 81: protocol.Wallet.CreateAccount:input_type -> protocol.AccountCreateContract - 110, // 82: protocol.Wallet.CreateAccount2:input_type -> protocol.AccountCreateContract - 111, // 83: protocol.Wallet.CreateWitness:input_type -> protocol.WitnessCreateContract - 111, // 84: protocol.Wallet.CreateWitness2:input_type -> protocol.WitnessCreateContract - 112, // 85: protocol.Wallet.TransferAsset:input_type -> protocol.TransferAssetContract - 112, // 86: protocol.Wallet.TransferAsset2:input_type -> protocol.TransferAssetContract - 113, // 87: protocol.Wallet.ParticipateAssetIssue:input_type -> protocol.ParticipateAssetIssueContract - 113, // 88: protocol.Wallet.ParticipateAssetIssue2:input_type -> protocol.ParticipateAssetIssueContract - 114, // 89: protocol.Wallet.FreezeBalance:input_type -> protocol.FreezeBalanceContract - 114, // 90: protocol.Wallet.FreezeBalance2:input_type -> protocol.FreezeBalanceContract - 115, // 91: protocol.Wallet.FreezeBalanceV2:input_type -> protocol.FreezeBalanceV2Contract - 116, // 92: protocol.Wallet.UnfreezeBalance:input_type -> protocol.UnfreezeBalanceContract - 116, // 93: protocol.Wallet.UnfreezeBalance2:input_type -> protocol.UnfreezeBalanceContract - 117, // 94: protocol.Wallet.UnfreezeBalanceV2:input_type -> protocol.UnfreezeBalanceV2Contract - 118, // 95: protocol.Wallet.UnfreezeAsset:input_type -> protocol.UnfreezeAssetContract - 118, // 96: protocol.Wallet.UnfreezeAsset2:input_type -> protocol.UnfreezeAssetContract - 119, // 97: protocol.Wallet.WithdrawBalance:input_type -> protocol.WithdrawBalanceContract - 119, // 98: protocol.Wallet.WithdrawBalance2:input_type -> protocol.WithdrawBalanceContract - 120, // 99: protocol.Wallet.WithdrawExpireUnfreeze:input_type -> protocol.WithdrawExpireUnfreezeContract - 121, // 100: protocol.Wallet.DelegateResource:input_type -> protocol.DelegateResourceContract - 122, // 101: protocol.Wallet.UnDelegateResource:input_type -> protocol.UnDelegateResourceContract - 123, // 102: protocol.Wallet.CancelAllUnfreezeV2:input_type -> protocol.CancelAllUnfreezeV2Contract - 124, // 103: protocol.Wallet.UpdateAsset:input_type -> protocol.UpdateAssetContract - 124, // 104: protocol.Wallet.UpdateAsset2:input_type -> protocol.UpdateAssetContract - 125, // 105: protocol.Wallet.ProposalCreate:input_type -> protocol.ProposalCreateContract - 126, // 106: protocol.Wallet.ProposalApprove:input_type -> protocol.ProposalApproveContract - 127, // 107: protocol.Wallet.ProposalDelete:input_type -> protocol.ProposalDeleteContract - 128, // 108: protocol.Wallet.BuyStorage:input_type -> protocol.BuyStorageContract - 129, // 109: protocol.Wallet.BuyStorageBytes:input_type -> protocol.BuyStorageBytesContract - 130, // 110: protocol.Wallet.SellStorage:input_type -> protocol.SellStorageContract - 131, // 111: protocol.Wallet.ExchangeCreate:input_type -> protocol.ExchangeCreateContract - 132, // 112: protocol.Wallet.ExchangeInject:input_type -> protocol.ExchangeInjectContract - 133, // 113: protocol.Wallet.ExchangeWithdraw:input_type -> protocol.ExchangeWithdrawContract - 134, // 114: protocol.Wallet.ExchangeTransaction:input_type -> protocol.ExchangeTransactionContract - 135, // 115: protocol.Wallet.MarketSellAsset:input_type -> protocol.MarketSellAssetContract - 136, // 116: protocol.Wallet.MarketCancelOrder:input_type -> protocol.MarketCancelOrderContract - 25, // 117: protocol.Wallet.GetMarketOrderById:input_type -> protocol.BytesMessage - 25, // 118: protocol.Wallet.GetMarketOrderByAccount:input_type -> protocol.BytesMessage - 137, // 119: protocol.Wallet.GetMarketPriceByPair:input_type -> protocol.MarketOrderPair - 137, // 120: protocol.Wallet.GetMarketOrderListByPair:input_type -> protocol.MarketOrderPair - 23, // 121: protocol.Wallet.GetMarketPairList:input_type -> protocol.EmptyMessage - 23, // 122: protocol.Wallet.ListNodes:input_type -> protocol.EmptyMessage - 91, // 123: protocol.Wallet.GetAssetIssueByAccount:input_type -> protocol.Account - 91, // 124: protocol.Wallet.GetAccountNet:input_type -> protocol.Account - 91, // 125: protocol.Wallet.GetAccountResource:input_type -> protocol.Account - 25, // 126: protocol.Wallet.GetAssetIssueByName:input_type -> protocol.BytesMessage - 25, // 127: protocol.Wallet.GetAssetIssueListByName:input_type -> protocol.BytesMessage - 25, // 128: protocol.Wallet.GetAssetIssueById:input_type -> protocol.BytesMessage - 23, // 129: protocol.Wallet.GetNowBlock:input_type -> protocol.EmptyMessage - 23, // 130: protocol.Wallet.GetNowBlock2:input_type -> protocol.EmptyMessage - 24, // 131: protocol.Wallet.GetBlockByNum:input_type -> protocol.NumberMessage - 24, // 132: protocol.Wallet.GetBlockByNum2:input_type -> protocol.NumberMessage - 24, // 133: protocol.Wallet.GetTransactionCountByBlockNum:input_type -> protocol.NumberMessage - 25, // 134: protocol.Wallet.GetBlockById:input_type -> protocol.BytesMessage - 28, // 135: protocol.Wallet.GetBlockByLimitNext:input_type -> protocol.BlockLimit - 28, // 136: protocol.Wallet.GetBlockByLimitNext2:input_type -> protocol.BlockLimit - 24, // 137: protocol.Wallet.GetBlockByLatestNum:input_type -> protocol.NumberMessage - 24, // 138: protocol.Wallet.GetBlockByLatestNum2:input_type -> protocol.NumberMessage - 25, // 139: protocol.Wallet.GetTransactionById:input_type -> protocol.BytesMessage - 138, // 140: protocol.Wallet.DeployContract:input_type -> protocol.CreateSmartContract - 25, // 141: protocol.Wallet.GetContract:input_type -> protocol.BytesMessage - 25, // 142: protocol.Wallet.GetContractInfo:input_type -> protocol.BytesMessage - 139, // 143: protocol.Wallet.TriggerContract:input_type -> protocol.TriggerSmartContract - 139, // 144: protocol.Wallet.TriggerConstantContract:input_type -> protocol.TriggerSmartContract - 139, // 145: protocol.Wallet.EstimateEnergy:input_type -> protocol.TriggerSmartContract - 140, // 146: protocol.Wallet.ClearContractABI:input_type -> protocol.ClearABIContract - 23, // 147: protocol.Wallet.ListWitnesses:input_type -> protocol.EmptyMessage + 49, // 60: protocol.DecryptNotes.NoteTx.note:type_name -> protocol.Note + 49, // 61: protocol.DecryptNotesMarked.NoteTx.note:type_name -> protocol.Note + 49, // 62: protocol.DecryptNotesTRC20.NoteTx.note:type_name -> protocol.Note + 92, // 63: protocol.Wallet.GetAccount:input_type -> protocol.Account + 92, // 64: protocol.Wallet.GetAccountById:input_type -> protocol.Account + 102, // 65: protocol.Wallet.GetAccountBalance:input_type -> protocol.AccountBalanceRequest + 103, // 66: protocol.Wallet.GetBlockBalanceTrace:input_type -> protocol.BlockBalanceTrace.BlockIdentifier + 104, // 67: protocol.Wallet.CreateTransaction:input_type -> protocol.TransferContract + 104, // 68: protocol.Wallet.CreateTransaction2:input_type -> protocol.TransferContract + 90, // 69: protocol.Wallet.BroadcastTransaction:input_type -> protocol.Transaction + 105, // 70: protocol.Wallet.UpdateAccount:input_type -> protocol.AccountUpdateContract + 106, // 71: protocol.Wallet.SetAccountId:input_type -> protocol.SetAccountIdContract + 105, // 72: protocol.Wallet.UpdateAccount2:input_type -> protocol.AccountUpdateContract + 107, // 73: protocol.Wallet.VoteWitnessAccount:input_type -> protocol.VoteWitnessContract + 108, // 74: protocol.Wallet.UpdateSetting:input_type -> protocol.UpdateSettingContract + 109, // 75: protocol.Wallet.UpdateEnergyLimit:input_type -> protocol.UpdateEnergyLimitContract + 107, // 76: protocol.Wallet.VoteWitnessAccount2:input_type -> protocol.VoteWitnessContract + 88, // 77: protocol.Wallet.CreateAssetIssue:input_type -> protocol.AssetIssueContract + 88, // 78: protocol.Wallet.CreateAssetIssue2:input_type -> protocol.AssetIssueContract + 110, // 79: protocol.Wallet.UpdateWitness:input_type -> protocol.WitnessUpdateContract + 110, // 80: protocol.Wallet.UpdateWitness2:input_type -> protocol.WitnessUpdateContract + 111, // 81: protocol.Wallet.CreateAccount:input_type -> protocol.AccountCreateContract + 111, // 82: protocol.Wallet.CreateAccount2:input_type -> protocol.AccountCreateContract + 112, // 83: protocol.Wallet.CreateWitness:input_type -> protocol.WitnessCreateContract + 112, // 84: protocol.Wallet.CreateWitness2:input_type -> protocol.WitnessCreateContract + 113, // 85: protocol.Wallet.TransferAsset:input_type -> protocol.TransferAssetContract + 113, // 86: protocol.Wallet.TransferAsset2:input_type -> protocol.TransferAssetContract + 114, // 87: protocol.Wallet.ParticipateAssetIssue:input_type -> protocol.ParticipateAssetIssueContract + 114, // 88: protocol.Wallet.ParticipateAssetIssue2:input_type -> protocol.ParticipateAssetIssueContract + 115, // 89: protocol.Wallet.FreezeBalance:input_type -> protocol.FreezeBalanceContract + 115, // 90: protocol.Wallet.FreezeBalance2:input_type -> protocol.FreezeBalanceContract + 116, // 91: protocol.Wallet.FreezeBalanceV2:input_type -> protocol.FreezeBalanceV2Contract + 117, // 92: protocol.Wallet.UnfreezeBalance:input_type -> protocol.UnfreezeBalanceContract + 117, // 93: protocol.Wallet.UnfreezeBalance2:input_type -> protocol.UnfreezeBalanceContract + 118, // 94: protocol.Wallet.UnfreezeBalanceV2:input_type -> protocol.UnfreezeBalanceV2Contract + 119, // 95: protocol.Wallet.UnfreezeAsset:input_type -> protocol.UnfreezeAssetContract + 119, // 96: protocol.Wallet.UnfreezeAsset2:input_type -> protocol.UnfreezeAssetContract + 120, // 97: protocol.Wallet.WithdrawBalance:input_type -> protocol.WithdrawBalanceContract + 120, // 98: protocol.Wallet.WithdrawBalance2:input_type -> protocol.WithdrawBalanceContract + 121, // 99: protocol.Wallet.WithdrawExpireUnfreeze:input_type -> protocol.WithdrawExpireUnfreezeContract + 122, // 100: protocol.Wallet.DelegateResource:input_type -> protocol.DelegateResourceContract + 123, // 101: protocol.Wallet.UnDelegateResource:input_type -> protocol.UnDelegateResourceContract + 124, // 102: protocol.Wallet.CancelAllUnfreezeV2:input_type -> protocol.CancelAllUnfreezeV2Contract + 125, // 103: protocol.Wallet.UpdateAsset:input_type -> protocol.UpdateAssetContract + 125, // 104: protocol.Wallet.UpdateAsset2:input_type -> protocol.UpdateAssetContract + 126, // 105: protocol.Wallet.ProposalCreate:input_type -> protocol.ProposalCreateContract + 127, // 106: protocol.Wallet.ProposalApprove:input_type -> protocol.ProposalApproveContract + 128, // 107: protocol.Wallet.ProposalDelete:input_type -> protocol.ProposalDeleteContract + 129, // 108: protocol.Wallet.BuyStorage:input_type -> protocol.BuyStorageContract + 130, // 109: protocol.Wallet.BuyStorageBytes:input_type -> protocol.BuyStorageBytesContract + 131, // 110: protocol.Wallet.SellStorage:input_type -> protocol.SellStorageContract + 132, // 111: protocol.Wallet.ExchangeCreate:input_type -> protocol.ExchangeCreateContract + 133, // 112: protocol.Wallet.ExchangeInject:input_type -> protocol.ExchangeInjectContract + 134, // 113: protocol.Wallet.ExchangeWithdraw:input_type -> protocol.ExchangeWithdrawContract + 135, // 114: protocol.Wallet.ExchangeTransaction:input_type -> protocol.ExchangeTransactionContract + 136, // 115: protocol.Wallet.MarketSellAsset:input_type -> protocol.MarketSellAssetContract + 137, // 116: protocol.Wallet.MarketCancelOrder:input_type -> protocol.MarketCancelOrderContract + 26, // 117: protocol.Wallet.GetMarketOrderById:input_type -> protocol.BytesMessage + 26, // 118: protocol.Wallet.GetMarketOrderByAccount:input_type -> protocol.BytesMessage + 138, // 119: protocol.Wallet.GetMarketPriceByPair:input_type -> protocol.MarketOrderPair + 138, // 120: protocol.Wallet.GetMarketOrderListByPair:input_type -> protocol.MarketOrderPair + 24, // 121: protocol.Wallet.GetMarketPairList:input_type -> protocol.EmptyMessage + 24, // 122: protocol.Wallet.ListNodes:input_type -> protocol.EmptyMessage + 92, // 123: protocol.Wallet.GetAssetIssueByAccount:input_type -> protocol.Account + 92, // 124: protocol.Wallet.GetAccountNet:input_type -> protocol.Account + 92, // 125: protocol.Wallet.GetAccountResource:input_type -> protocol.Account + 26, // 126: protocol.Wallet.GetAssetIssueByName:input_type -> protocol.BytesMessage + 26, // 127: protocol.Wallet.GetAssetIssueListByName:input_type -> protocol.BytesMessage + 26, // 128: protocol.Wallet.GetAssetIssueById:input_type -> protocol.BytesMessage + 24, // 129: protocol.Wallet.GetNowBlock:input_type -> protocol.EmptyMessage + 24, // 130: protocol.Wallet.GetNowBlock2:input_type -> protocol.EmptyMessage + 25, // 131: protocol.Wallet.GetBlockByNum:input_type -> protocol.NumberMessage + 25, // 132: protocol.Wallet.GetBlockByNum2:input_type -> protocol.NumberMessage + 25, // 133: protocol.Wallet.GetTransactionCountByBlockNum:input_type -> protocol.NumberMessage + 26, // 134: protocol.Wallet.GetBlockById:input_type -> protocol.BytesMessage + 29, // 135: protocol.Wallet.GetBlockByLimitNext:input_type -> protocol.BlockLimit + 29, // 136: protocol.Wallet.GetBlockByLimitNext2:input_type -> protocol.BlockLimit + 25, // 137: protocol.Wallet.GetBlockByLatestNum:input_type -> protocol.NumberMessage + 25, // 138: protocol.Wallet.GetBlockByLatestNum2:input_type -> protocol.NumberMessage + 26, // 139: protocol.Wallet.GetTransactionById:input_type -> protocol.BytesMessage + 139, // 140: protocol.Wallet.DeployContract:input_type -> protocol.CreateSmartContract + 26, // 141: protocol.Wallet.GetContract:input_type -> protocol.BytesMessage + 26, // 142: protocol.Wallet.GetContractInfo:input_type -> protocol.BytesMessage + 140, // 143: protocol.Wallet.TriggerContract:input_type -> protocol.TriggerSmartContract + 140, // 144: protocol.Wallet.TriggerConstantContract:input_type -> protocol.TriggerSmartContract + 140, // 145: protocol.Wallet.EstimateEnergy:input_type -> protocol.TriggerSmartContract + 141, // 146: protocol.Wallet.ClearContractABI:input_type -> protocol.ClearABIContract + 24, // 147: protocol.Wallet.ListWitnesses:input_type -> protocol.EmptyMessage 12, // 148: protocol.Wallet.GetDelegatedResource:input_type -> protocol.DelegatedResourceMessage 12, // 149: protocol.Wallet.GetDelegatedResourceV2:input_type -> protocol.DelegatedResourceMessage - 25, // 150: protocol.Wallet.GetDelegatedResourceAccountIndex:input_type -> protocol.BytesMessage - 25, // 151: protocol.Wallet.GetDelegatedResourceAccountIndexV2:input_type -> protocol.BytesMessage + 26, // 150: protocol.Wallet.GetDelegatedResourceAccountIndex:input_type -> protocol.BytesMessage + 26, // 151: protocol.Wallet.GetDelegatedResourceAccountIndexV2:input_type -> protocol.BytesMessage 16, // 152: protocol.Wallet.GetCanDelegatedMaxSize:input_type -> protocol.CanDelegatedMaxSizeRequestMessage 14, // 153: protocol.Wallet.GetAvailableUnfreezeCount:input_type -> protocol.GetAvailableUnfreezeCountRequestMessage 18, // 154: protocol.Wallet.GetCanWithdrawUnfreezeAmount:input_type -> protocol.CanWithdrawUnfreezeAmountRequestMessage - 23, // 155: protocol.Wallet.ListProposals:input_type -> protocol.EmptyMessage - 34, // 156: protocol.Wallet.GetPaginatedProposalList:input_type -> protocol.PaginatedMessage - 25, // 157: protocol.Wallet.GetProposalById:input_type -> protocol.BytesMessage - 23, // 158: protocol.Wallet.ListExchanges:input_type -> protocol.EmptyMessage - 34, // 159: protocol.Wallet.GetPaginatedExchangeList:input_type -> protocol.PaginatedMessage - 25, // 160: protocol.Wallet.GetExchangeById:input_type -> protocol.BytesMessage - 23, // 161: protocol.Wallet.GetChainParameters:input_type -> protocol.EmptyMessage - 23, // 162: protocol.Wallet.GetAssetIssueList:input_type -> protocol.EmptyMessage - 34, // 163: protocol.Wallet.GetPaginatedAssetIssueList:input_type -> protocol.PaginatedMessage - 23, // 164: protocol.Wallet.TotalTransaction:input_type -> protocol.EmptyMessage - 23, // 165: protocol.Wallet.GetNextMaintenanceTime:input_type -> protocol.EmptyMessage - 25, // 166: protocol.Wallet.GetTransactionInfoById:input_type -> protocol.BytesMessage - 141, // 167: protocol.Wallet.AccountPermissionUpdate:input_type -> protocol.AccountPermissionUpdateContract - 89, // 168: protocol.Wallet.GetTransactionSignWeight:input_type -> protocol.Transaction - 89, // 169: protocol.Wallet.GetTransactionApprovedList:input_type -> protocol.Transaction - 23, // 170: protocol.Wallet.GetNodeInfo:input_type -> protocol.EmptyMessage - 25, // 171: protocol.Wallet.GetRewardInfo:input_type -> protocol.BytesMessage - 25, // 172: protocol.Wallet.GetBrokerageInfo:input_type -> protocol.BytesMessage - 142, // 173: protocol.Wallet.UpdateBrokerage:input_type -> protocol.UpdateBrokerageContract - 51, // 174: protocol.Wallet.CreateShieldedTransaction:input_type -> protocol.PrivateParameters - 143, // 175: protocol.Wallet.GetMerkleTreeVoucherInfo:input_type -> protocol.OutputPointInfo - 43, // 176: protocol.Wallet.ScanNoteByIvk:input_type -> protocol.IvkDecryptParameters - 44, // 177: protocol.Wallet.ScanAndMarkNoteByIvk:input_type -> protocol.IvkDecryptAndMarkParameters - 45, // 178: protocol.Wallet.ScanNoteByOvk:input_type -> protocol.OvkDecryptParameters - 23, // 179: protocol.Wallet.GetSpendingKey:input_type -> protocol.EmptyMessage - 25, // 180: protocol.Wallet.GetExpandedSpendingKey:input_type -> protocol.BytesMessage - 25, // 181: protocol.Wallet.GetAkFromAsk:input_type -> protocol.BytesMessage - 25, // 182: protocol.Wallet.GetNkFromNsk:input_type -> protocol.BytesMessage - 56, // 183: protocol.Wallet.GetIncomingViewingKey:input_type -> protocol.ViewingKeyMessage - 23, // 184: protocol.Wallet.GetDiversifier:input_type -> protocol.EmptyMessage - 23, // 185: protocol.Wallet.GetNewShieldedAddress:input_type -> protocol.EmptyMessage - 59, // 186: protocol.Wallet.GetZenPaymentAddress:input_type -> protocol.IncomingViewingKeyDiversifierMessage - 23, // 187: protocol.Wallet.GetRcm:input_type -> protocol.EmptyMessage - 62, // 188: protocol.Wallet.IsSpend:input_type -> protocol.NoteParameters - 52, // 189: protocol.Wallet.CreateShieldedTransactionWithoutSpendAuthSig:input_type -> protocol.PrivateParametersWithoutAsk - 89, // 190: protocol.Wallet.GetShieldTransactionHash:input_type -> protocol.Transaction - 53, // 191: protocol.Wallet.CreateSpendAuthSig:input_type -> protocol.SpendAuthSigParameters - 54, // 192: protocol.Wallet.CreateShieldNullifier:input_type -> protocol.NfParameters - 66, // 193: protocol.Wallet.CreateShieldedContractParameters:input_type -> protocol.PrivateShieldedTRC20Parameters - 67, // 194: protocol.Wallet.CreateShieldedContractParametersWithoutAsk:input_type -> protocol.PrivateShieldedTRC20ParametersWithoutAsk - 69, // 195: protocol.Wallet.ScanShieldedTRC20NotesByIvk:input_type -> protocol.IvkDecryptTRC20Parameters - 70, // 196: protocol.Wallet.ScanShieldedTRC20NotesByOvk:input_type -> protocol.OvkDecryptTRC20Parameters - 72, // 197: protocol.Wallet.IsShieldedTRC20ContractNoteSpent:input_type -> protocol.NfTRC20Parameters - 74, // 198: protocol.Wallet.GetTriggerInputForShieldedTRC20Contract:input_type -> protocol.ShieldedTRC20TriggerContractParameters - 89, // 199: protocol.Wallet.CreateCommonTransaction:input_type -> protocol.Transaction - 24, // 200: protocol.Wallet.GetTransactionInfoByBlockNum:input_type -> protocol.NumberMessage - 23, // 201: protocol.Wallet.GetBurnTrx:input_type -> protocol.EmptyMessage - 25, // 202: protocol.Wallet.GetTransactionFromPending:input_type -> protocol.BytesMessage - 23, // 203: protocol.Wallet.GetTransactionListFromPending:input_type -> protocol.EmptyMessage - 23, // 204: protocol.Wallet.GetPendingSize:input_type -> protocol.EmptyMessage - 27, // 205: protocol.Wallet.GetBlock:input_type -> protocol.BlockReq - 91, // 206: protocol.WalletSolidity.GetAccount:input_type -> protocol.Account - 91, // 207: protocol.WalletSolidity.GetAccountById:input_type -> protocol.Account - 23, // 208: protocol.WalletSolidity.ListWitnesses:input_type -> protocol.EmptyMessage - 23, // 209: protocol.WalletSolidity.GetAssetIssueList:input_type -> protocol.EmptyMessage - 34, // 210: protocol.WalletSolidity.GetPaginatedAssetIssueList:input_type -> protocol.PaginatedMessage - 25, // 211: protocol.WalletSolidity.GetAssetIssueByName:input_type -> protocol.BytesMessage - 25, // 212: protocol.WalletSolidity.GetAssetIssueListByName:input_type -> protocol.BytesMessage - 25, // 213: protocol.WalletSolidity.GetAssetIssueById:input_type -> protocol.BytesMessage - 23, // 214: protocol.WalletSolidity.GetNowBlock:input_type -> protocol.EmptyMessage - 23, // 215: protocol.WalletSolidity.GetNowBlock2:input_type -> protocol.EmptyMessage - 24, // 216: protocol.WalletSolidity.GetBlockByNum:input_type -> protocol.NumberMessage - 24, // 217: protocol.WalletSolidity.GetBlockByNum2:input_type -> protocol.NumberMessage - 24, // 218: protocol.WalletSolidity.GetTransactionCountByBlockNum:input_type -> protocol.NumberMessage - 12, // 219: protocol.WalletSolidity.GetDelegatedResource:input_type -> protocol.DelegatedResourceMessage - 12, // 220: protocol.WalletSolidity.GetDelegatedResourceV2:input_type -> protocol.DelegatedResourceMessage - 25, // 221: protocol.WalletSolidity.GetDelegatedResourceAccountIndex:input_type -> protocol.BytesMessage - 25, // 222: protocol.WalletSolidity.GetDelegatedResourceAccountIndexV2:input_type -> protocol.BytesMessage - 16, // 223: protocol.WalletSolidity.GetCanDelegatedMaxSize:input_type -> protocol.CanDelegatedMaxSizeRequestMessage - 14, // 224: protocol.WalletSolidity.GetAvailableUnfreezeCount:input_type -> protocol.GetAvailableUnfreezeCountRequestMessage - 18, // 225: protocol.WalletSolidity.GetCanWithdrawUnfreezeAmount:input_type -> protocol.CanWithdrawUnfreezeAmountRequestMessage - 25, // 226: protocol.WalletSolidity.GetExchangeById:input_type -> protocol.BytesMessage - 23, // 227: protocol.WalletSolidity.ListExchanges:input_type -> protocol.EmptyMessage - 25, // 228: protocol.WalletSolidity.GetTransactionById:input_type -> protocol.BytesMessage - 25, // 229: protocol.WalletSolidity.GetTransactionInfoById:input_type -> protocol.BytesMessage - 143, // 230: protocol.WalletSolidity.GetMerkleTreeVoucherInfo:input_type -> protocol.OutputPointInfo - 43, // 231: protocol.WalletSolidity.ScanNoteByIvk:input_type -> protocol.IvkDecryptParameters - 44, // 232: protocol.WalletSolidity.ScanAndMarkNoteByIvk:input_type -> protocol.IvkDecryptAndMarkParameters - 45, // 233: protocol.WalletSolidity.ScanNoteByOvk:input_type -> protocol.OvkDecryptParameters - 62, // 234: protocol.WalletSolidity.IsSpend:input_type -> protocol.NoteParameters - 69, // 235: protocol.WalletSolidity.ScanShieldedTRC20NotesByIvk:input_type -> protocol.IvkDecryptTRC20Parameters - 70, // 236: protocol.WalletSolidity.ScanShieldedTRC20NotesByOvk:input_type -> protocol.OvkDecryptTRC20Parameters - 72, // 237: protocol.WalletSolidity.IsShieldedTRC20ContractNoteSpent:input_type -> protocol.NfTRC20Parameters - 25, // 238: protocol.WalletSolidity.GetRewardInfo:input_type -> protocol.BytesMessage - 25, // 239: protocol.WalletSolidity.GetBrokerageInfo:input_type -> protocol.BytesMessage - 139, // 240: protocol.WalletSolidity.TriggerConstantContract:input_type -> protocol.TriggerSmartContract - 139, // 241: protocol.WalletSolidity.EstimateEnergy:input_type -> protocol.TriggerSmartContract - 24, // 242: protocol.WalletSolidity.GetTransactionInfoByBlockNum:input_type -> protocol.NumberMessage - 25, // 243: protocol.WalletSolidity.GetMarketOrderById:input_type -> protocol.BytesMessage - 25, // 244: protocol.WalletSolidity.GetMarketOrderByAccount:input_type -> protocol.BytesMessage - 137, // 245: protocol.WalletSolidity.GetMarketPriceByPair:input_type -> protocol.MarketOrderPair - 137, // 246: protocol.WalletSolidity.GetMarketOrderListByPair:input_type -> protocol.MarketOrderPair - 23, // 247: protocol.WalletSolidity.GetMarketPairList:input_type -> protocol.EmptyMessage - 23, // 248: protocol.WalletSolidity.GetBurnTrx:input_type -> protocol.EmptyMessage - 27, // 249: protocol.WalletSolidity.GetBlock:input_type -> protocol.BlockReq - 30, // 250: protocol.WalletExtension.GetTransactionsFromThis:input_type -> protocol.AccountPaginated - 30, // 251: protocol.WalletExtension.GetTransactionsFromThis2:input_type -> protocol.AccountPaginated - 30, // 252: protocol.WalletExtension.GetTransactionsToThis:input_type -> protocol.AccountPaginated - 30, // 253: protocol.WalletExtension.GetTransactionsToThis2:input_type -> protocol.AccountPaginated - 23, // 254: protocol.Database.getBlockReference:input_type -> protocol.EmptyMessage - 23, // 255: protocol.Database.GetDynamicProperties:input_type -> protocol.EmptyMessage - 23, // 256: protocol.Database.GetNowBlock:input_type -> protocol.EmptyMessage - 24, // 257: protocol.Database.GetBlockByNum:input_type -> protocol.NumberMessage - 23, // 258: protocol.Monitor.GetStatsInfo:input_type -> protocol.EmptyMessage - 91, // 259: protocol.Wallet.GetAccount:output_type -> protocol.Account - 91, // 260: protocol.Wallet.GetAccountById:output_type -> protocol.Account - 144, // 261: protocol.Wallet.GetAccountBalance:output_type -> protocol.AccountBalanceResponse - 145, // 262: protocol.Wallet.GetBlockBalanceTrace:output_type -> protocol.BlockBalanceTrace - 89, // 263: protocol.Wallet.CreateTransaction:output_type -> protocol.Transaction - 35, // 264: protocol.Wallet.CreateTransaction2:output_type -> protocol.TransactionExtention - 3, // 265: protocol.Wallet.BroadcastTransaction:output_type -> protocol.Return - 89, // 266: protocol.Wallet.UpdateAccount:output_type -> protocol.Transaction - 89, // 267: protocol.Wallet.SetAccountId:output_type -> protocol.Transaction - 35, // 268: protocol.Wallet.UpdateAccount2:output_type -> protocol.TransactionExtention - 89, // 269: protocol.Wallet.VoteWitnessAccount:output_type -> protocol.Transaction - 35, // 270: protocol.Wallet.UpdateSetting:output_type -> protocol.TransactionExtention - 35, // 271: protocol.Wallet.UpdateEnergyLimit:output_type -> protocol.TransactionExtention - 35, // 272: protocol.Wallet.VoteWitnessAccount2:output_type -> protocol.TransactionExtention - 89, // 273: protocol.Wallet.CreateAssetIssue:output_type -> protocol.Transaction - 35, // 274: protocol.Wallet.CreateAssetIssue2:output_type -> protocol.TransactionExtention - 89, // 275: protocol.Wallet.UpdateWitness:output_type -> protocol.Transaction - 35, // 276: protocol.Wallet.UpdateWitness2:output_type -> protocol.TransactionExtention - 89, // 277: protocol.Wallet.CreateAccount:output_type -> protocol.Transaction - 35, // 278: protocol.Wallet.CreateAccount2:output_type -> protocol.TransactionExtention - 89, // 279: protocol.Wallet.CreateWitness:output_type -> protocol.Transaction - 35, // 280: protocol.Wallet.CreateWitness2:output_type -> protocol.TransactionExtention - 89, // 281: protocol.Wallet.TransferAsset:output_type -> protocol.Transaction - 35, // 282: protocol.Wallet.TransferAsset2:output_type -> protocol.TransactionExtention - 89, // 283: protocol.Wallet.ParticipateAssetIssue:output_type -> protocol.Transaction - 35, // 284: protocol.Wallet.ParticipateAssetIssue2:output_type -> protocol.TransactionExtention - 89, // 285: protocol.Wallet.FreezeBalance:output_type -> protocol.Transaction - 35, // 286: protocol.Wallet.FreezeBalance2:output_type -> protocol.TransactionExtention - 35, // 287: protocol.Wallet.FreezeBalanceV2:output_type -> protocol.TransactionExtention - 89, // 288: protocol.Wallet.UnfreezeBalance:output_type -> protocol.Transaction - 35, // 289: protocol.Wallet.UnfreezeBalance2:output_type -> protocol.TransactionExtention - 35, // 290: protocol.Wallet.UnfreezeBalanceV2:output_type -> protocol.TransactionExtention - 89, // 291: protocol.Wallet.UnfreezeAsset:output_type -> protocol.Transaction - 35, // 292: protocol.Wallet.UnfreezeAsset2:output_type -> protocol.TransactionExtention - 89, // 293: protocol.Wallet.WithdrawBalance:output_type -> protocol.Transaction - 35, // 294: protocol.Wallet.WithdrawBalance2:output_type -> protocol.TransactionExtention - 35, // 295: protocol.Wallet.WithdrawExpireUnfreeze:output_type -> protocol.TransactionExtention - 35, // 296: protocol.Wallet.DelegateResource:output_type -> protocol.TransactionExtention - 35, // 297: protocol.Wallet.UnDelegateResource:output_type -> protocol.TransactionExtention - 35, // 298: protocol.Wallet.CancelAllUnfreezeV2:output_type -> protocol.TransactionExtention - 89, // 299: protocol.Wallet.UpdateAsset:output_type -> protocol.Transaction - 35, // 300: protocol.Wallet.UpdateAsset2:output_type -> protocol.TransactionExtention - 35, // 301: protocol.Wallet.ProposalCreate:output_type -> protocol.TransactionExtention - 35, // 302: protocol.Wallet.ProposalApprove:output_type -> protocol.TransactionExtention - 35, // 303: protocol.Wallet.ProposalDelete:output_type -> protocol.TransactionExtention - 35, // 304: protocol.Wallet.BuyStorage:output_type -> protocol.TransactionExtention - 35, // 305: protocol.Wallet.BuyStorageBytes:output_type -> protocol.TransactionExtention - 35, // 306: protocol.Wallet.SellStorage:output_type -> protocol.TransactionExtention - 35, // 307: protocol.Wallet.ExchangeCreate:output_type -> protocol.TransactionExtention - 35, // 308: protocol.Wallet.ExchangeInject:output_type -> protocol.TransactionExtention - 35, // 309: protocol.Wallet.ExchangeWithdraw:output_type -> protocol.TransactionExtention - 35, // 310: protocol.Wallet.ExchangeTransaction:output_type -> protocol.TransactionExtention - 35, // 311: protocol.Wallet.MarketSellAsset:output_type -> protocol.TransactionExtention - 35, // 312: protocol.Wallet.MarketCancelOrder:output_type -> protocol.TransactionExtention - 146, // 313: protocol.Wallet.GetMarketOrderById:output_type -> protocol.MarketOrder - 147, // 314: protocol.Wallet.GetMarketOrderByAccount:output_type -> protocol.MarketOrderList - 148, // 315: protocol.Wallet.GetMarketPriceByPair:output_type -> protocol.MarketPriceList - 147, // 316: protocol.Wallet.GetMarketOrderListByPair:output_type -> protocol.MarketOrderList - 149, // 317: protocol.Wallet.GetMarketPairList:output_type -> protocol.MarketOrderPairList - 20, // 318: protocol.Wallet.ListNodes:output_type -> protocol.NodeList - 8, // 319: protocol.Wallet.GetAssetIssueByAccount:output_type -> protocol.AssetIssueList - 32, // 320: protocol.Wallet.GetAccountNet:output_type -> protocol.AccountNetMessage - 33, // 321: protocol.Wallet.GetAccountResource:output_type -> protocol.AccountResourceMessage - 87, // 322: protocol.Wallet.GetAssetIssueByName:output_type -> protocol.AssetIssueContract - 8, // 323: protocol.Wallet.GetAssetIssueListByName:output_type -> protocol.AssetIssueList - 87, // 324: protocol.Wallet.GetAssetIssueById:output_type -> protocol.AssetIssueContract - 88, // 325: protocol.Wallet.GetNowBlock:output_type -> protocol.Block - 37, // 326: protocol.Wallet.GetNowBlock2:output_type -> protocol.BlockExtention - 88, // 327: protocol.Wallet.GetBlockByNum:output_type -> protocol.Block - 37, // 328: protocol.Wallet.GetBlockByNum2:output_type -> protocol.BlockExtention - 24, // 329: protocol.Wallet.GetTransactionCountByBlockNum:output_type -> protocol.NumberMessage - 88, // 330: protocol.Wallet.GetBlockById:output_type -> protocol.Block - 9, // 331: protocol.Wallet.GetBlockByLimitNext:output_type -> protocol.BlockList - 38, // 332: protocol.Wallet.GetBlockByLimitNext2:output_type -> protocol.BlockListExtention - 9, // 333: protocol.Wallet.GetBlockByLatestNum:output_type -> protocol.BlockList - 38, // 334: protocol.Wallet.GetBlockByLatestNum2:output_type -> protocol.BlockListExtention - 89, // 335: protocol.Wallet.GetTransactionById:output_type -> protocol.Transaction - 35, // 336: protocol.Wallet.DeployContract:output_type -> protocol.TransactionExtention - 150, // 337: protocol.Wallet.GetContract:output_type -> protocol.SmartContract - 151, // 338: protocol.Wallet.GetContractInfo:output_type -> protocol.SmartContractDataWrapper - 35, // 339: protocol.Wallet.TriggerContract:output_type -> protocol.TransactionExtention - 35, // 340: protocol.Wallet.TriggerConstantContract:output_type -> protocol.TransactionExtention - 36, // 341: protocol.Wallet.EstimateEnergy:output_type -> protocol.EstimateEnergyMessage - 35, // 342: protocol.Wallet.ClearContractABI:output_type -> protocol.TransactionExtention - 5, // 343: protocol.Wallet.ListWitnesses:output_type -> protocol.WitnessList - 13, // 344: protocol.Wallet.GetDelegatedResource:output_type -> protocol.DelegatedResourceList - 13, // 345: protocol.Wallet.GetDelegatedResourceV2:output_type -> protocol.DelegatedResourceList - 152, // 346: protocol.Wallet.GetDelegatedResourceAccountIndex:output_type -> protocol.DelegatedResourceAccountIndex - 152, // 347: protocol.Wallet.GetDelegatedResourceAccountIndexV2:output_type -> protocol.DelegatedResourceAccountIndex - 17, // 348: protocol.Wallet.GetCanDelegatedMaxSize:output_type -> protocol.CanDelegatedMaxSizeResponseMessage - 15, // 349: protocol.Wallet.GetAvailableUnfreezeCount:output_type -> protocol.GetAvailableUnfreezeCountResponseMessage - 19, // 350: protocol.Wallet.GetCanWithdrawUnfreezeAmount:output_type -> protocol.CanWithdrawUnfreezeAmountResponseMessage - 6, // 351: protocol.Wallet.ListProposals:output_type -> protocol.ProposalList - 6, // 352: protocol.Wallet.GetPaginatedProposalList:output_type -> protocol.ProposalList - 85, // 353: protocol.Wallet.GetProposalById:output_type -> protocol.Proposal - 7, // 354: protocol.Wallet.ListExchanges:output_type -> protocol.ExchangeList - 7, // 355: protocol.Wallet.GetPaginatedExchangeList:output_type -> protocol.ExchangeList - 86, // 356: protocol.Wallet.GetExchangeById:output_type -> protocol.Exchange - 153, // 357: protocol.Wallet.GetChainParameters:output_type -> protocol.ChainParameters - 8, // 358: protocol.Wallet.GetAssetIssueList:output_type -> protocol.AssetIssueList - 8, // 359: protocol.Wallet.GetPaginatedAssetIssueList:output_type -> protocol.AssetIssueList - 24, // 360: protocol.Wallet.TotalTransaction:output_type -> protocol.NumberMessage - 24, // 361: protocol.Wallet.GetNextMaintenanceTime:output_type -> protocol.NumberMessage - 98, // 362: protocol.Wallet.GetTransactionInfoById:output_type -> protocol.TransactionInfo - 35, // 363: protocol.Wallet.AccountPermissionUpdate:output_type -> protocol.TransactionExtention - 41, // 364: protocol.Wallet.GetTransactionSignWeight:output_type -> protocol.TransactionSignWeight - 42, // 365: protocol.Wallet.GetTransactionApprovedList:output_type -> protocol.TransactionApprovedList - 154, // 366: protocol.Wallet.GetNodeInfo:output_type -> protocol.NodeInfo - 24, // 367: protocol.Wallet.GetRewardInfo:output_type -> protocol.NumberMessage - 24, // 368: protocol.Wallet.GetBrokerageInfo:output_type -> protocol.NumberMessage - 35, // 369: protocol.Wallet.UpdateBrokerage:output_type -> protocol.TransactionExtention - 35, // 370: protocol.Wallet.CreateShieldedTransaction:output_type -> protocol.TransactionExtention - 155, // 371: protocol.Wallet.GetMerkleTreeVoucherInfo:output_type -> protocol.IncrementalMerkleVoucherInfo - 46, // 372: protocol.Wallet.ScanNoteByIvk:output_type -> protocol.DecryptNotes - 47, // 373: protocol.Wallet.ScanAndMarkNoteByIvk:output_type -> protocol.DecryptNotesMarked - 46, // 374: protocol.Wallet.ScanNoteByOvk:output_type -> protocol.DecryptNotes - 25, // 375: protocol.Wallet.GetSpendingKey:output_type -> protocol.BytesMessage - 55, // 376: protocol.Wallet.GetExpandedSpendingKey:output_type -> protocol.ExpandedSpendingKeyMessage - 25, // 377: protocol.Wallet.GetAkFromAsk:output_type -> protocol.BytesMessage - 25, // 378: protocol.Wallet.GetNkFromNsk:output_type -> protocol.BytesMessage - 57, // 379: protocol.Wallet.GetIncomingViewingKey:output_type -> protocol.IncomingViewingKeyMessage - 58, // 380: protocol.Wallet.GetDiversifier:output_type -> protocol.DiversifierMessage - 61, // 381: protocol.Wallet.GetNewShieldedAddress:output_type -> protocol.ShieldedAddressInfo - 60, // 382: protocol.Wallet.GetZenPaymentAddress:output_type -> protocol.PaymentAddressMessage - 25, // 383: protocol.Wallet.GetRcm:output_type -> protocol.BytesMessage - 63, // 384: protocol.Wallet.IsSpend:output_type -> protocol.SpendResult - 35, // 385: protocol.Wallet.CreateShieldedTransactionWithoutSpendAuthSig:output_type -> protocol.TransactionExtention - 25, // 386: protocol.Wallet.GetShieldTransactionHash:output_type -> protocol.BytesMessage - 25, // 387: protocol.Wallet.CreateSpendAuthSig:output_type -> protocol.BytesMessage - 25, // 388: protocol.Wallet.CreateShieldNullifier:output_type -> protocol.BytesMessage - 68, // 389: protocol.Wallet.CreateShieldedContractParameters:output_type -> protocol.ShieldedTRC20Parameters - 68, // 390: protocol.Wallet.CreateShieldedContractParametersWithoutAsk:output_type -> protocol.ShieldedTRC20Parameters - 71, // 391: protocol.Wallet.ScanShieldedTRC20NotesByIvk:output_type -> protocol.DecryptNotesTRC20 - 71, // 392: protocol.Wallet.ScanShieldedTRC20NotesByOvk:output_type -> protocol.DecryptNotesTRC20 - 73, // 393: protocol.Wallet.IsShieldedTRC20ContractNoteSpent:output_type -> protocol.NullifierResult - 25, // 394: protocol.Wallet.GetTriggerInputForShieldedTRC20Contract:output_type -> protocol.BytesMessage - 35, // 395: protocol.Wallet.CreateCommonTransaction:output_type -> protocol.TransactionExtention - 64, // 396: protocol.Wallet.GetTransactionInfoByBlockNum:output_type -> protocol.TransactionInfoList - 24, // 397: protocol.Wallet.GetBurnTrx:output_type -> protocol.NumberMessage - 89, // 398: protocol.Wallet.GetTransactionFromPending:output_type -> protocol.Transaction - 11, // 399: protocol.Wallet.GetTransactionListFromPending:output_type -> protocol.TransactionIdList - 24, // 400: protocol.Wallet.GetPendingSize:output_type -> protocol.NumberMessage - 37, // 401: protocol.Wallet.GetBlock:output_type -> protocol.BlockExtention - 91, // 402: protocol.WalletSolidity.GetAccount:output_type -> protocol.Account - 91, // 403: protocol.WalletSolidity.GetAccountById:output_type -> protocol.Account - 5, // 404: protocol.WalletSolidity.ListWitnesses:output_type -> protocol.WitnessList - 8, // 405: protocol.WalletSolidity.GetAssetIssueList:output_type -> protocol.AssetIssueList - 8, // 406: protocol.WalletSolidity.GetPaginatedAssetIssueList:output_type -> protocol.AssetIssueList - 87, // 407: protocol.WalletSolidity.GetAssetIssueByName:output_type -> protocol.AssetIssueContract - 8, // 408: protocol.WalletSolidity.GetAssetIssueListByName:output_type -> protocol.AssetIssueList - 87, // 409: protocol.WalletSolidity.GetAssetIssueById:output_type -> protocol.AssetIssueContract - 88, // 410: protocol.WalletSolidity.GetNowBlock:output_type -> protocol.Block - 37, // 411: protocol.WalletSolidity.GetNowBlock2:output_type -> protocol.BlockExtention - 88, // 412: protocol.WalletSolidity.GetBlockByNum:output_type -> protocol.Block - 37, // 413: protocol.WalletSolidity.GetBlockByNum2:output_type -> protocol.BlockExtention - 24, // 414: protocol.WalletSolidity.GetTransactionCountByBlockNum:output_type -> protocol.NumberMessage - 13, // 415: protocol.WalletSolidity.GetDelegatedResource:output_type -> protocol.DelegatedResourceList - 13, // 416: protocol.WalletSolidity.GetDelegatedResourceV2:output_type -> protocol.DelegatedResourceList - 152, // 417: protocol.WalletSolidity.GetDelegatedResourceAccountIndex:output_type -> protocol.DelegatedResourceAccountIndex - 152, // 418: protocol.WalletSolidity.GetDelegatedResourceAccountIndexV2:output_type -> protocol.DelegatedResourceAccountIndex - 17, // 419: protocol.WalletSolidity.GetCanDelegatedMaxSize:output_type -> protocol.CanDelegatedMaxSizeResponseMessage - 15, // 420: protocol.WalletSolidity.GetAvailableUnfreezeCount:output_type -> protocol.GetAvailableUnfreezeCountResponseMessage - 19, // 421: protocol.WalletSolidity.GetCanWithdrawUnfreezeAmount:output_type -> protocol.CanWithdrawUnfreezeAmountResponseMessage - 86, // 422: protocol.WalletSolidity.GetExchangeById:output_type -> protocol.Exchange - 7, // 423: protocol.WalletSolidity.ListExchanges:output_type -> protocol.ExchangeList - 89, // 424: protocol.WalletSolidity.GetTransactionById:output_type -> protocol.Transaction - 98, // 425: protocol.WalletSolidity.GetTransactionInfoById:output_type -> protocol.TransactionInfo - 155, // 426: protocol.WalletSolidity.GetMerkleTreeVoucherInfo:output_type -> protocol.IncrementalMerkleVoucherInfo - 46, // 427: protocol.WalletSolidity.ScanNoteByIvk:output_type -> protocol.DecryptNotes - 47, // 428: protocol.WalletSolidity.ScanAndMarkNoteByIvk:output_type -> protocol.DecryptNotesMarked - 46, // 429: protocol.WalletSolidity.ScanNoteByOvk:output_type -> protocol.DecryptNotes - 63, // 430: protocol.WalletSolidity.IsSpend:output_type -> protocol.SpendResult - 71, // 431: protocol.WalletSolidity.ScanShieldedTRC20NotesByIvk:output_type -> protocol.DecryptNotesTRC20 - 71, // 432: protocol.WalletSolidity.ScanShieldedTRC20NotesByOvk:output_type -> protocol.DecryptNotesTRC20 - 73, // 433: protocol.WalletSolidity.IsShieldedTRC20ContractNoteSpent:output_type -> protocol.NullifierResult - 24, // 434: protocol.WalletSolidity.GetRewardInfo:output_type -> protocol.NumberMessage - 24, // 435: protocol.WalletSolidity.GetBrokerageInfo:output_type -> protocol.NumberMessage - 35, // 436: protocol.WalletSolidity.TriggerConstantContract:output_type -> protocol.TransactionExtention - 36, // 437: protocol.WalletSolidity.EstimateEnergy:output_type -> protocol.EstimateEnergyMessage - 64, // 438: protocol.WalletSolidity.GetTransactionInfoByBlockNum:output_type -> protocol.TransactionInfoList - 146, // 439: protocol.WalletSolidity.GetMarketOrderById:output_type -> protocol.MarketOrder - 147, // 440: protocol.WalletSolidity.GetMarketOrderByAccount:output_type -> protocol.MarketOrderList - 148, // 441: protocol.WalletSolidity.GetMarketPriceByPair:output_type -> protocol.MarketPriceList - 147, // 442: protocol.WalletSolidity.GetMarketOrderListByPair:output_type -> protocol.MarketOrderList - 149, // 443: protocol.WalletSolidity.GetMarketPairList:output_type -> protocol.MarketOrderPairList - 24, // 444: protocol.WalletSolidity.GetBurnTrx:output_type -> protocol.NumberMessage - 37, // 445: protocol.WalletSolidity.GetBlock:output_type -> protocol.BlockExtention - 10, // 446: protocol.WalletExtension.GetTransactionsFromThis:output_type -> protocol.TransactionList - 39, // 447: protocol.WalletExtension.GetTransactionsFromThis2:output_type -> protocol.TransactionListExtention - 10, // 448: protocol.WalletExtension.GetTransactionsToThis:output_type -> protocol.TransactionList - 39, // 449: protocol.WalletExtension.GetTransactionsToThis2:output_type -> protocol.TransactionListExtention - 4, // 450: protocol.Database.getBlockReference:output_type -> protocol.BlockReference - 156, // 451: protocol.Database.GetDynamicProperties:output_type -> protocol.DynamicProperties - 88, // 452: protocol.Database.GetNowBlock:output_type -> protocol.Block - 88, // 453: protocol.Database.GetBlockByNum:output_type -> protocol.Block - 157, // 454: protocol.Monitor.GetStatsInfo:output_type -> protocol.MetricsInfo - 259, // [259:455] is the sub-list for method output_type - 63, // [63:259] is the sub-list for method input_type + 24, // 155: protocol.Wallet.ListProposals:input_type -> protocol.EmptyMessage + 35, // 156: protocol.Wallet.GetPaginatedProposalList:input_type -> protocol.PaginatedMessage + 26, // 157: protocol.Wallet.GetProposalById:input_type -> protocol.BytesMessage + 24, // 158: protocol.Wallet.ListExchanges:input_type -> protocol.EmptyMessage + 35, // 159: protocol.Wallet.GetPaginatedExchangeList:input_type -> protocol.PaginatedMessage + 26, // 160: protocol.Wallet.GetExchangeById:input_type -> protocol.BytesMessage + 24, // 161: protocol.Wallet.GetChainParameters:input_type -> protocol.EmptyMessage + 24, // 162: protocol.Wallet.GetAssetIssueList:input_type -> protocol.EmptyMessage + 35, // 163: protocol.Wallet.GetPaginatedAssetIssueList:input_type -> protocol.PaginatedMessage + 24, // 164: protocol.Wallet.TotalTransaction:input_type -> protocol.EmptyMessage + 24, // 165: protocol.Wallet.GetNextMaintenanceTime:input_type -> protocol.EmptyMessage + 26, // 166: protocol.Wallet.GetTransactionInfoById:input_type -> protocol.BytesMessage + 142, // 167: protocol.Wallet.AccountPermissionUpdate:input_type -> protocol.AccountPermissionUpdateContract + 90, // 168: protocol.Wallet.GetTransactionSignWeight:input_type -> protocol.Transaction + 90, // 169: protocol.Wallet.GetTransactionApprovedList:input_type -> protocol.Transaction + 24, // 170: protocol.Wallet.GetNodeInfo:input_type -> protocol.EmptyMessage + 26, // 171: protocol.Wallet.GetRewardInfo:input_type -> protocol.BytesMessage + 26, // 172: protocol.Wallet.GetBrokerageInfo:input_type -> protocol.BytesMessage + 143, // 173: protocol.Wallet.UpdateBrokerage:input_type -> protocol.UpdateBrokerageContract + 52, // 174: protocol.Wallet.CreateShieldedTransaction:input_type -> protocol.PrivateParameters + 144, // 175: protocol.Wallet.GetMerkleTreeVoucherInfo:input_type -> protocol.OutputPointInfo + 44, // 176: protocol.Wallet.ScanNoteByIvk:input_type -> protocol.IvkDecryptParameters + 45, // 177: protocol.Wallet.ScanAndMarkNoteByIvk:input_type -> protocol.IvkDecryptAndMarkParameters + 46, // 178: protocol.Wallet.ScanNoteByOvk:input_type -> protocol.OvkDecryptParameters + 24, // 179: protocol.Wallet.GetSpendingKey:input_type -> protocol.EmptyMessage + 26, // 180: protocol.Wallet.GetExpandedSpendingKey:input_type -> protocol.BytesMessage + 26, // 181: protocol.Wallet.GetAkFromAsk:input_type -> protocol.BytesMessage + 26, // 182: protocol.Wallet.GetNkFromNsk:input_type -> protocol.BytesMessage + 57, // 183: protocol.Wallet.GetIncomingViewingKey:input_type -> protocol.ViewingKeyMessage + 24, // 184: protocol.Wallet.GetDiversifier:input_type -> protocol.EmptyMessage + 24, // 185: protocol.Wallet.GetNewShieldedAddress:input_type -> protocol.EmptyMessage + 60, // 186: protocol.Wallet.GetZenPaymentAddress:input_type -> protocol.IncomingViewingKeyDiversifierMessage + 24, // 187: protocol.Wallet.GetRcm:input_type -> protocol.EmptyMessage + 63, // 188: protocol.Wallet.IsSpend:input_type -> protocol.NoteParameters + 53, // 189: protocol.Wallet.CreateShieldedTransactionWithoutSpendAuthSig:input_type -> protocol.PrivateParametersWithoutAsk + 90, // 190: protocol.Wallet.GetShieldTransactionHash:input_type -> protocol.Transaction + 54, // 191: protocol.Wallet.CreateSpendAuthSig:input_type -> protocol.SpendAuthSigParameters + 55, // 192: protocol.Wallet.CreateShieldNullifier:input_type -> protocol.NfParameters + 67, // 193: protocol.Wallet.CreateShieldedContractParameters:input_type -> protocol.PrivateShieldedTRC20Parameters + 68, // 194: protocol.Wallet.CreateShieldedContractParametersWithoutAsk:input_type -> protocol.PrivateShieldedTRC20ParametersWithoutAsk + 70, // 195: protocol.Wallet.ScanShieldedTRC20NotesByIvk:input_type -> protocol.IvkDecryptTRC20Parameters + 71, // 196: protocol.Wallet.ScanShieldedTRC20NotesByOvk:input_type -> protocol.OvkDecryptTRC20Parameters + 73, // 197: protocol.Wallet.IsShieldedTRC20ContractNoteSpent:input_type -> protocol.NfTRC20Parameters + 75, // 198: protocol.Wallet.GetTriggerInputForShieldedTRC20Contract:input_type -> protocol.ShieldedTRC20TriggerContractParameters + 90, // 199: protocol.Wallet.CreateCommonTransaction:input_type -> protocol.Transaction + 25, // 200: protocol.Wallet.GetTransactionInfoByBlockNum:input_type -> protocol.NumberMessage + 24, // 201: protocol.Wallet.GetBurnTrx:input_type -> protocol.EmptyMessage + 26, // 202: protocol.Wallet.GetTransactionFromPending:input_type -> protocol.BytesMessage + 24, // 203: protocol.Wallet.GetTransactionListFromPending:input_type -> protocol.EmptyMessage + 24, // 204: protocol.Wallet.GetPendingSize:input_type -> protocol.EmptyMessage + 28, // 205: protocol.Wallet.GetBlock:input_type -> protocol.BlockReq + 24, // 206: protocol.Wallet.GetBandwidthPrices:input_type -> protocol.EmptyMessage + 24, // 207: protocol.Wallet.GetEnergyPrices:input_type -> protocol.EmptyMessage + 24, // 208: protocol.Wallet.GetMemoFee:input_type -> protocol.EmptyMessage + 92, // 209: protocol.WalletSolidity.GetAccount:input_type -> protocol.Account + 92, // 210: protocol.WalletSolidity.GetAccountById:input_type -> protocol.Account + 24, // 211: protocol.WalletSolidity.ListWitnesses:input_type -> protocol.EmptyMessage + 24, // 212: protocol.WalletSolidity.GetAssetIssueList:input_type -> protocol.EmptyMessage + 35, // 213: protocol.WalletSolidity.GetPaginatedAssetIssueList:input_type -> protocol.PaginatedMessage + 26, // 214: protocol.WalletSolidity.GetAssetIssueByName:input_type -> protocol.BytesMessage + 26, // 215: protocol.WalletSolidity.GetAssetIssueListByName:input_type -> protocol.BytesMessage + 26, // 216: protocol.WalletSolidity.GetAssetIssueById:input_type -> protocol.BytesMessage + 24, // 217: protocol.WalletSolidity.GetNowBlock:input_type -> protocol.EmptyMessage + 24, // 218: protocol.WalletSolidity.GetNowBlock2:input_type -> protocol.EmptyMessage + 25, // 219: protocol.WalletSolidity.GetBlockByNum:input_type -> protocol.NumberMessage + 25, // 220: protocol.WalletSolidity.GetBlockByNum2:input_type -> protocol.NumberMessage + 25, // 221: protocol.WalletSolidity.GetTransactionCountByBlockNum:input_type -> protocol.NumberMessage + 12, // 222: protocol.WalletSolidity.GetDelegatedResource:input_type -> protocol.DelegatedResourceMessage + 12, // 223: protocol.WalletSolidity.GetDelegatedResourceV2:input_type -> protocol.DelegatedResourceMessage + 26, // 224: protocol.WalletSolidity.GetDelegatedResourceAccountIndex:input_type -> protocol.BytesMessage + 26, // 225: protocol.WalletSolidity.GetDelegatedResourceAccountIndexV2:input_type -> protocol.BytesMessage + 16, // 226: protocol.WalletSolidity.GetCanDelegatedMaxSize:input_type -> protocol.CanDelegatedMaxSizeRequestMessage + 14, // 227: protocol.WalletSolidity.GetAvailableUnfreezeCount:input_type -> protocol.GetAvailableUnfreezeCountRequestMessage + 18, // 228: protocol.WalletSolidity.GetCanWithdrawUnfreezeAmount:input_type -> protocol.CanWithdrawUnfreezeAmountRequestMessage + 26, // 229: protocol.WalletSolidity.GetExchangeById:input_type -> protocol.BytesMessage + 24, // 230: protocol.WalletSolidity.ListExchanges:input_type -> protocol.EmptyMessage + 26, // 231: protocol.WalletSolidity.GetTransactionById:input_type -> protocol.BytesMessage + 26, // 232: protocol.WalletSolidity.GetTransactionInfoById:input_type -> protocol.BytesMessage + 144, // 233: protocol.WalletSolidity.GetMerkleTreeVoucherInfo:input_type -> protocol.OutputPointInfo + 44, // 234: protocol.WalletSolidity.ScanNoteByIvk:input_type -> protocol.IvkDecryptParameters + 45, // 235: protocol.WalletSolidity.ScanAndMarkNoteByIvk:input_type -> protocol.IvkDecryptAndMarkParameters + 46, // 236: protocol.WalletSolidity.ScanNoteByOvk:input_type -> protocol.OvkDecryptParameters + 63, // 237: protocol.WalletSolidity.IsSpend:input_type -> protocol.NoteParameters + 70, // 238: protocol.WalletSolidity.ScanShieldedTRC20NotesByIvk:input_type -> protocol.IvkDecryptTRC20Parameters + 71, // 239: protocol.WalletSolidity.ScanShieldedTRC20NotesByOvk:input_type -> protocol.OvkDecryptTRC20Parameters + 73, // 240: protocol.WalletSolidity.IsShieldedTRC20ContractNoteSpent:input_type -> protocol.NfTRC20Parameters + 26, // 241: protocol.WalletSolidity.GetRewardInfo:input_type -> protocol.BytesMessage + 26, // 242: protocol.WalletSolidity.GetBrokerageInfo:input_type -> protocol.BytesMessage + 140, // 243: protocol.WalletSolidity.TriggerConstantContract:input_type -> protocol.TriggerSmartContract + 140, // 244: protocol.WalletSolidity.EstimateEnergy:input_type -> protocol.TriggerSmartContract + 25, // 245: protocol.WalletSolidity.GetTransactionInfoByBlockNum:input_type -> protocol.NumberMessage + 26, // 246: protocol.WalletSolidity.GetMarketOrderById:input_type -> protocol.BytesMessage + 26, // 247: protocol.WalletSolidity.GetMarketOrderByAccount:input_type -> protocol.BytesMessage + 138, // 248: protocol.WalletSolidity.GetMarketPriceByPair:input_type -> protocol.MarketOrderPair + 138, // 249: protocol.WalletSolidity.GetMarketOrderListByPair:input_type -> protocol.MarketOrderPair + 24, // 250: protocol.WalletSolidity.GetMarketPairList:input_type -> protocol.EmptyMessage + 24, // 251: protocol.WalletSolidity.GetBurnTrx:input_type -> protocol.EmptyMessage + 28, // 252: protocol.WalletSolidity.GetBlock:input_type -> protocol.BlockReq + 24, // 253: protocol.WalletSolidity.GetBandwidthPrices:input_type -> protocol.EmptyMessage + 24, // 254: protocol.WalletSolidity.GetEnergyPrices:input_type -> protocol.EmptyMessage + 31, // 255: protocol.WalletExtension.GetTransactionsFromThis:input_type -> protocol.AccountPaginated + 31, // 256: protocol.WalletExtension.GetTransactionsFromThis2:input_type -> protocol.AccountPaginated + 31, // 257: protocol.WalletExtension.GetTransactionsToThis:input_type -> protocol.AccountPaginated + 31, // 258: protocol.WalletExtension.GetTransactionsToThis2:input_type -> protocol.AccountPaginated + 24, // 259: protocol.Database.getBlockReference:input_type -> protocol.EmptyMessage + 24, // 260: protocol.Database.GetDynamicProperties:input_type -> protocol.EmptyMessage + 24, // 261: protocol.Database.GetNowBlock:input_type -> protocol.EmptyMessage + 25, // 262: protocol.Database.GetBlockByNum:input_type -> protocol.NumberMessage + 24, // 263: protocol.Monitor.GetStatsInfo:input_type -> protocol.EmptyMessage + 92, // 264: protocol.Wallet.GetAccount:output_type -> protocol.Account + 92, // 265: protocol.Wallet.GetAccountById:output_type -> protocol.Account + 145, // 266: protocol.Wallet.GetAccountBalance:output_type -> protocol.AccountBalanceResponse + 146, // 267: protocol.Wallet.GetBlockBalanceTrace:output_type -> protocol.BlockBalanceTrace + 90, // 268: protocol.Wallet.CreateTransaction:output_type -> protocol.Transaction + 36, // 269: protocol.Wallet.CreateTransaction2:output_type -> protocol.TransactionExtention + 3, // 270: protocol.Wallet.BroadcastTransaction:output_type -> protocol.Return + 90, // 271: protocol.Wallet.UpdateAccount:output_type -> protocol.Transaction + 90, // 272: protocol.Wallet.SetAccountId:output_type -> protocol.Transaction + 36, // 273: protocol.Wallet.UpdateAccount2:output_type -> protocol.TransactionExtention + 90, // 274: protocol.Wallet.VoteWitnessAccount:output_type -> protocol.Transaction + 36, // 275: protocol.Wallet.UpdateSetting:output_type -> protocol.TransactionExtention + 36, // 276: protocol.Wallet.UpdateEnergyLimit:output_type -> protocol.TransactionExtention + 36, // 277: protocol.Wallet.VoteWitnessAccount2:output_type -> protocol.TransactionExtention + 90, // 278: protocol.Wallet.CreateAssetIssue:output_type -> protocol.Transaction + 36, // 279: protocol.Wallet.CreateAssetIssue2:output_type -> protocol.TransactionExtention + 90, // 280: protocol.Wallet.UpdateWitness:output_type -> protocol.Transaction + 36, // 281: protocol.Wallet.UpdateWitness2:output_type -> protocol.TransactionExtention + 90, // 282: protocol.Wallet.CreateAccount:output_type -> protocol.Transaction + 36, // 283: protocol.Wallet.CreateAccount2:output_type -> protocol.TransactionExtention + 90, // 284: protocol.Wallet.CreateWitness:output_type -> protocol.Transaction + 36, // 285: protocol.Wallet.CreateWitness2:output_type -> protocol.TransactionExtention + 90, // 286: protocol.Wallet.TransferAsset:output_type -> protocol.Transaction + 36, // 287: protocol.Wallet.TransferAsset2:output_type -> protocol.TransactionExtention + 90, // 288: protocol.Wallet.ParticipateAssetIssue:output_type -> protocol.Transaction + 36, // 289: protocol.Wallet.ParticipateAssetIssue2:output_type -> protocol.TransactionExtention + 90, // 290: protocol.Wallet.FreezeBalance:output_type -> protocol.Transaction + 36, // 291: protocol.Wallet.FreezeBalance2:output_type -> protocol.TransactionExtention + 36, // 292: protocol.Wallet.FreezeBalanceV2:output_type -> protocol.TransactionExtention + 90, // 293: protocol.Wallet.UnfreezeBalance:output_type -> protocol.Transaction + 36, // 294: protocol.Wallet.UnfreezeBalance2:output_type -> protocol.TransactionExtention + 36, // 295: protocol.Wallet.UnfreezeBalanceV2:output_type -> protocol.TransactionExtention + 90, // 296: protocol.Wallet.UnfreezeAsset:output_type -> protocol.Transaction + 36, // 297: protocol.Wallet.UnfreezeAsset2:output_type -> protocol.TransactionExtention + 90, // 298: protocol.Wallet.WithdrawBalance:output_type -> protocol.Transaction + 36, // 299: protocol.Wallet.WithdrawBalance2:output_type -> protocol.TransactionExtention + 36, // 300: protocol.Wallet.WithdrawExpireUnfreeze:output_type -> protocol.TransactionExtention + 36, // 301: protocol.Wallet.DelegateResource:output_type -> protocol.TransactionExtention + 36, // 302: protocol.Wallet.UnDelegateResource:output_type -> protocol.TransactionExtention + 36, // 303: protocol.Wallet.CancelAllUnfreezeV2:output_type -> protocol.TransactionExtention + 90, // 304: protocol.Wallet.UpdateAsset:output_type -> protocol.Transaction + 36, // 305: protocol.Wallet.UpdateAsset2:output_type -> protocol.TransactionExtention + 36, // 306: protocol.Wallet.ProposalCreate:output_type -> protocol.TransactionExtention + 36, // 307: protocol.Wallet.ProposalApprove:output_type -> protocol.TransactionExtention + 36, // 308: protocol.Wallet.ProposalDelete:output_type -> protocol.TransactionExtention + 36, // 309: protocol.Wallet.BuyStorage:output_type -> protocol.TransactionExtention + 36, // 310: protocol.Wallet.BuyStorageBytes:output_type -> protocol.TransactionExtention + 36, // 311: protocol.Wallet.SellStorage:output_type -> protocol.TransactionExtention + 36, // 312: protocol.Wallet.ExchangeCreate:output_type -> protocol.TransactionExtention + 36, // 313: protocol.Wallet.ExchangeInject:output_type -> protocol.TransactionExtention + 36, // 314: protocol.Wallet.ExchangeWithdraw:output_type -> protocol.TransactionExtention + 36, // 315: protocol.Wallet.ExchangeTransaction:output_type -> protocol.TransactionExtention + 36, // 316: protocol.Wallet.MarketSellAsset:output_type -> protocol.TransactionExtention + 36, // 317: protocol.Wallet.MarketCancelOrder:output_type -> protocol.TransactionExtention + 147, // 318: protocol.Wallet.GetMarketOrderById:output_type -> protocol.MarketOrder + 148, // 319: protocol.Wallet.GetMarketOrderByAccount:output_type -> protocol.MarketOrderList + 149, // 320: protocol.Wallet.GetMarketPriceByPair:output_type -> protocol.MarketPriceList + 148, // 321: protocol.Wallet.GetMarketOrderListByPair:output_type -> protocol.MarketOrderList + 150, // 322: protocol.Wallet.GetMarketPairList:output_type -> protocol.MarketOrderPairList + 21, // 323: protocol.Wallet.ListNodes:output_type -> protocol.NodeList + 8, // 324: protocol.Wallet.GetAssetIssueByAccount:output_type -> protocol.AssetIssueList + 33, // 325: protocol.Wallet.GetAccountNet:output_type -> protocol.AccountNetMessage + 34, // 326: protocol.Wallet.GetAccountResource:output_type -> protocol.AccountResourceMessage + 88, // 327: protocol.Wallet.GetAssetIssueByName:output_type -> protocol.AssetIssueContract + 8, // 328: protocol.Wallet.GetAssetIssueListByName:output_type -> protocol.AssetIssueList + 88, // 329: protocol.Wallet.GetAssetIssueById:output_type -> protocol.AssetIssueContract + 89, // 330: protocol.Wallet.GetNowBlock:output_type -> protocol.Block + 38, // 331: protocol.Wallet.GetNowBlock2:output_type -> protocol.BlockExtention + 89, // 332: protocol.Wallet.GetBlockByNum:output_type -> protocol.Block + 38, // 333: protocol.Wallet.GetBlockByNum2:output_type -> protocol.BlockExtention + 25, // 334: protocol.Wallet.GetTransactionCountByBlockNum:output_type -> protocol.NumberMessage + 89, // 335: protocol.Wallet.GetBlockById:output_type -> protocol.Block + 9, // 336: protocol.Wallet.GetBlockByLimitNext:output_type -> protocol.BlockList + 39, // 337: protocol.Wallet.GetBlockByLimitNext2:output_type -> protocol.BlockListExtention + 9, // 338: protocol.Wallet.GetBlockByLatestNum:output_type -> protocol.BlockList + 39, // 339: protocol.Wallet.GetBlockByLatestNum2:output_type -> protocol.BlockListExtention + 90, // 340: protocol.Wallet.GetTransactionById:output_type -> protocol.Transaction + 36, // 341: protocol.Wallet.DeployContract:output_type -> protocol.TransactionExtention + 151, // 342: protocol.Wallet.GetContract:output_type -> protocol.SmartContract + 152, // 343: protocol.Wallet.GetContractInfo:output_type -> protocol.SmartContractDataWrapper + 36, // 344: protocol.Wallet.TriggerContract:output_type -> protocol.TransactionExtention + 36, // 345: protocol.Wallet.TriggerConstantContract:output_type -> protocol.TransactionExtention + 37, // 346: protocol.Wallet.EstimateEnergy:output_type -> protocol.EstimateEnergyMessage + 36, // 347: protocol.Wallet.ClearContractABI:output_type -> protocol.TransactionExtention + 5, // 348: protocol.Wallet.ListWitnesses:output_type -> protocol.WitnessList + 13, // 349: protocol.Wallet.GetDelegatedResource:output_type -> protocol.DelegatedResourceList + 13, // 350: protocol.Wallet.GetDelegatedResourceV2:output_type -> protocol.DelegatedResourceList + 153, // 351: protocol.Wallet.GetDelegatedResourceAccountIndex:output_type -> protocol.DelegatedResourceAccountIndex + 153, // 352: protocol.Wallet.GetDelegatedResourceAccountIndexV2:output_type -> protocol.DelegatedResourceAccountIndex + 17, // 353: protocol.Wallet.GetCanDelegatedMaxSize:output_type -> protocol.CanDelegatedMaxSizeResponseMessage + 15, // 354: protocol.Wallet.GetAvailableUnfreezeCount:output_type -> protocol.GetAvailableUnfreezeCountResponseMessage + 19, // 355: protocol.Wallet.GetCanWithdrawUnfreezeAmount:output_type -> protocol.CanWithdrawUnfreezeAmountResponseMessage + 6, // 356: protocol.Wallet.ListProposals:output_type -> protocol.ProposalList + 6, // 357: protocol.Wallet.GetPaginatedProposalList:output_type -> protocol.ProposalList + 86, // 358: protocol.Wallet.GetProposalById:output_type -> protocol.Proposal + 7, // 359: protocol.Wallet.ListExchanges:output_type -> protocol.ExchangeList + 7, // 360: protocol.Wallet.GetPaginatedExchangeList:output_type -> protocol.ExchangeList + 87, // 361: protocol.Wallet.GetExchangeById:output_type -> protocol.Exchange + 154, // 362: protocol.Wallet.GetChainParameters:output_type -> protocol.ChainParameters + 8, // 363: protocol.Wallet.GetAssetIssueList:output_type -> protocol.AssetIssueList + 8, // 364: protocol.Wallet.GetPaginatedAssetIssueList:output_type -> protocol.AssetIssueList + 25, // 365: protocol.Wallet.TotalTransaction:output_type -> protocol.NumberMessage + 25, // 366: protocol.Wallet.GetNextMaintenanceTime:output_type -> protocol.NumberMessage + 99, // 367: protocol.Wallet.GetTransactionInfoById:output_type -> protocol.TransactionInfo + 36, // 368: protocol.Wallet.AccountPermissionUpdate:output_type -> protocol.TransactionExtention + 42, // 369: protocol.Wallet.GetTransactionSignWeight:output_type -> protocol.TransactionSignWeight + 43, // 370: protocol.Wallet.GetTransactionApprovedList:output_type -> protocol.TransactionApprovedList + 155, // 371: protocol.Wallet.GetNodeInfo:output_type -> protocol.NodeInfo + 25, // 372: protocol.Wallet.GetRewardInfo:output_type -> protocol.NumberMessage + 25, // 373: protocol.Wallet.GetBrokerageInfo:output_type -> protocol.NumberMessage + 36, // 374: protocol.Wallet.UpdateBrokerage:output_type -> protocol.TransactionExtention + 36, // 375: protocol.Wallet.CreateShieldedTransaction:output_type -> protocol.TransactionExtention + 156, // 376: protocol.Wallet.GetMerkleTreeVoucherInfo:output_type -> protocol.IncrementalMerkleVoucherInfo + 47, // 377: protocol.Wallet.ScanNoteByIvk:output_type -> protocol.DecryptNotes + 48, // 378: protocol.Wallet.ScanAndMarkNoteByIvk:output_type -> protocol.DecryptNotesMarked + 47, // 379: protocol.Wallet.ScanNoteByOvk:output_type -> protocol.DecryptNotes + 26, // 380: protocol.Wallet.GetSpendingKey:output_type -> protocol.BytesMessage + 56, // 381: protocol.Wallet.GetExpandedSpendingKey:output_type -> protocol.ExpandedSpendingKeyMessage + 26, // 382: protocol.Wallet.GetAkFromAsk:output_type -> protocol.BytesMessage + 26, // 383: protocol.Wallet.GetNkFromNsk:output_type -> protocol.BytesMessage + 58, // 384: protocol.Wallet.GetIncomingViewingKey:output_type -> protocol.IncomingViewingKeyMessage + 59, // 385: protocol.Wallet.GetDiversifier:output_type -> protocol.DiversifierMessage + 62, // 386: protocol.Wallet.GetNewShieldedAddress:output_type -> protocol.ShieldedAddressInfo + 61, // 387: protocol.Wallet.GetZenPaymentAddress:output_type -> protocol.PaymentAddressMessage + 26, // 388: protocol.Wallet.GetRcm:output_type -> protocol.BytesMessage + 64, // 389: protocol.Wallet.IsSpend:output_type -> protocol.SpendResult + 36, // 390: protocol.Wallet.CreateShieldedTransactionWithoutSpendAuthSig:output_type -> protocol.TransactionExtention + 26, // 391: protocol.Wallet.GetShieldTransactionHash:output_type -> protocol.BytesMessage + 26, // 392: protocol.Wallet.CreateSpendAuthSig:output_type -> protocol.BytesMessage + 26, // 393: protocol.Wallet.CreateShieldNullifier:output_type -> protocol.BytesMessage + 69, // 394: protocol.Wallet.CreateShieldedContractParameters:output_type -> protocol.ShieldedTRC20Parameters + 69, // 395: protocol.Wallet.CreateShieldedContractParametersWithoutAsk:output_type -> protocol.ShieldedTRC20Parameters + 72, // 396: protocol.Wallet.ScanShieldedTRC20NotesByIvk:output_type -> protocol.DecryptNotesTRC20 + 72, // 397: protocol.Wallet.ScanShieldedTRC20NotesByOvk:output_type -> protocol.DecryptNotesTRC20 + 74, // 398: protocol.Wallet.IsShieldedTRC20ContractNoteSpent:output_type -> protocol.NullifierResult + 26, // 399: protocol.Wallet.GetTriggerInputForShieldedTRC20Contract:output_type -> protocol.BytesMessage + 36, // 400: protocol.Wallet.CreateCommonTransaction:output_type -> protocol.TransactionExtention + 65, // 401: protocol.Wallet.GetTransactionInfoByBlockNum:output_type -> protocol.TransactionInfoList + 25, // 402: protocol.Wallet.GetBurnTrx:output_type -> protocol.NumberMessage + 90, // 403: protocol.Wallet.GetTransactionFromPending:output_type -> protocol.Transaction + 11, // 404: protocol.Wallet.GetTransactionListFromPending:output_type -> protocol.TransactionIdList + 25, // 405: protocol.Wallet.GetPendingSize:output_type -> protocol.NumberMessage + 38, // 406: protocol.Wallet.GetBlock:output_type -> protocol.BlockExtention + 20, // 407: protocol.Wallet.GetBandwidthPrices:output_type -> protocol.PricesResponseMessage + 20, // 408: protocol.Wallet.GetEnergyPrices:output_type -> protocol.PricesResponseMessage + 20, // 409: protocol.Wallet.GetMemoFee:output_type -> protocol.PricesResponseMessage + 92, // 410: protocol.WalletSolidity.GetAccount:output_type -> protocol.Account + 92, // 411: protocol.WalletSolidity.GetAccountById:output_type -> protocol.Account + 5, // 412: protocol.WalletSolidity.ListWitnesses:output_type -> protocol.WitnessList + 8, // 413: protocol.WalletSolidity.GetAssetIssueList:output_type -> protocol.AssetIssueList + 8, // 414: protocol.WalletSolidity.GetPaginatedAssetIssueList:output_type -> protocol.AssetIssueList + 88, // 415: protocol.WalletSolidity.GetAssetIssueByName:output_type -> protocol.AssetIssueContract + 8, // 416: protocol.WalletSolidity.GetAssetIssueListByName:output_type -> protocol.AssetIssueList + 88, // 417: protocol.WalletSolidity.GetAssetIssueById:output_type -> protocol.AssetIssueContract + 89, // 418: protocol.WalletSolidity.GetNowBlock:output_type -> protocol.Block + 38, // 419: protocol.WalletSolidity.GetNowBlock2:output_type -> protocol.BlockExtention + 89, // 420: protocol.WalletSolidity.GetBlockByNum:output_type -> protocol.Block + 38, // 421: protocol.WalletSolidity.GetBlockByNum2:output_type -> protocol.BlockExtention + 25, // 422: protocol.WalletSolidity.GetTransactionCountByBlockNum:output_type -> protocol.NumberMessage + 13, // 423: protocol.WalletSolidity.GetDelegatedResource:output_type -> protocol.DelegatedResourceList + 13, // 424: protocol.WalletSolidity.GetDelegatedResourceV2:output_type -> protocol.DelegatedResourceList + 153, // 425: protocol.WalletSolidity.GetDelegatedResourceAccountIndex:output_type -> protocol.DelegatedResourceAccountIndex + 153, // 426: protocol.WalletSolidity.GetDelegatedResourceAccountIndexV2:output_type -> protocol.DelegatedResourceAccountIndex + 17, // 427: protocol.WalletSolidity.GetCanDelegatedMaxSize:output_type -> protocol.CanDelegatedMaxSizeResponseMessage + 15, // 428: protocol.WalletSolidity.GetAvailableUnfreezeCount:output_type -> protocol.GetAvailableUnfreezeCountResponseMessage + 19, // 429: protocol.WalletSolidity.GetCanWithdrawUnfreezeAmount:output_type -> protocol.CanWithdrawUnfreezeAmountResponseMessage + 87, // 430: protocol.WalletSolidity.GetExchangeById:output_type -> protocol.Exchange + 7, // 431: protocol.WalletSolidity.ListExchanges:output_type -> protocol.ExchangeList + 90, // 432: protocol.WalletSolidity.GetTransactionById:output_type -> protocol.Transaction + 99, // 433: protocol.WalletSolidity.GetTransactionInfoById:output_type -> protocol.TransactionInfo + 156, // 434: protocol.WalletSolidity.GetMerkleTreeVoucherInfo:output_type -> protocol.IncrementalMerkleVoucherInfo + 47, // 435: protocol.WalletSolidity.ScanNoteByIvk:output_type -> protocol.DecryptNotes + 48, // 436: protocol.WalletSolidity.ScanAndMarkNoteByIvk:output_type -> protocol.DecryptNotesMarked + 47, // 437: protocol.WalletSolidity.ScanNoteByOvk:output_type -> protocol.DecryptNotes + 64, // 438: protocol.WalletSolidity.IsSpend:output_type -> protocol.SpendResult + 72, // 439: protocol.WalletSolidity.ScanShieldedTRC20NotesByIvk:output_type -> protocol.DecryptNotesTRC20 + 72, // 440: protocol.WalletSolidity.ScanShieldedTRC20NotesByOvk:output_type -> protocol.DecryptNotesTRC20 + 74, // 441: protocol.WalletSolidity.IsShieldedTRC20ContractNoteSpent:output_type -> protocol.NullifierResult + 25, // 442: protocol.WalletSolidity.GetRewardInfo:output_type -> protocol.NumberMessage + 25, // 443: protocol.WalletSolidity.GetBrokerageInfo:output_type -> protocol.NumberMessage + 36, // 444: protocol.WalletSolidity.TriggerConstantContract:output_type -> protocol.TransactionExtention + 37, // 445: protocol.WalletSolidity.EstimateEnergy:output_type -> protocol.EstimateEnergyMessage + 65, // 446: protocol.WalletSolidity.GetTransactionInfoByBlockNum:output_type -> protocol.TransactionInfoList + 147, // 447: protocol.WalletSolidity.GetMarketOrderById:output_type -> protocol.MarketOrder + 148, // 448: protocol.WalletSolidity.GetMarketOrderByAccount:output_type -> protocol.MarketOrderList + 149, // 449: protocol.WalletSolidity.GetMarketPriceByPair:output_type -> protocol.MarketPriceList + 148, // 450: protocol.WalletSolidity.GetMarketOrderListByPair:output_type -> protocol.MarketOrderList + 150, // 451: protocol.WalletSolidity.GetMarketPairList:output_type -> protocol.MarketOrderPairList + 25, // 452: protocol.WalletSolidity.GetBurnTrx:output_type -> protocol.NumberMessage + 38, // 453: protocol.WalletSolidity.GetBlock:output_type -> protocol.BlockExtention + 20, // 454: protocol.WalletSolidity.GetBandwidthPrices:output_type -> protocol.PricesResponseMessage + 20, // 455: protocol.WalletSolidity.GetEnergyPrices:output_type -> protocol.PricesResponseMessage + 10, // 456: protocol.WalletExtension.GetTransactionsFromThis:output_type -> protocol.TransactionList + 40, // 457: protocol.WalletExtension.GetTransactionsFromThis2:output_type -> protocol.TransactionListExtention + 10, // 458: protocol.WalletExtension.GetTransactionsToThis:output_type -> protocol.TransactionList + 40, // 459: protocol.WalletExtension.GetTransactionsToThis2:output_type -> protocol.TransactionListExtention + 4, // 460: protocol.Database.getBlockReference:output_type -> protocol.BlockReference + 157, // 461: protocol.Database.GetDynamicProperties:output_type -> protocol.DynamicProperties + 89, // 462: protocol.Database.GetNowBlock:output_type -> protocol.Block + 89, // 463: protocol.Database.GetBlockByNum:output_type -> protocol.Block + 158, // 464: protocol.Monitor.GetStatsInfo:output_type -> protocol.MetricsInfo + 264, // [264:465] is the sub-list for method output_type + 63, // [63:264] is the sub-list for method input_type 63, // [63:63] is the sub-list for extension type_name 63, // [63:63] is the sub-list for extension extendee 0, // [0:63] is the sub-list for field type_name @@ -7827,939 +6242,13 @@ func file_api_api_proto_init() { if File_api_api_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_api_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Return); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockReference); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WitnessList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProposalList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExchangeList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AssetIssueList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionIdList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DelegatedResourceMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DelegatedResourceList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAvailableUnfreezeCountRequestMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAvailableUnfreezeCountResponseMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CanDelegatedMaxSizeRequestMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CanDelegatedMaxSizeResponseMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CanWithdrawUnfreezeAmountRequestMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CanWithdrawUnfreezeAmountResponseMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[18].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 - } - } - file_api_api_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Address); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EmptyMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NumberMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BytesMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimeMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockReq); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockLimit); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionLimit); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AccountPaginated); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimePaginatedMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AccountNetMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AccountResourceMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PaginatedMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionExtention); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EstimateEnergyMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockExtention); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockListExtention); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionListExtention); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockIncrementalMerkleTree); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionSignWeight); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionApprovedList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IvkDecryptParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IvkDecryptAndMarkParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OvkDecryptParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DecryptNotes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DecryptNotesMarked); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Note); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SpendNote); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReceiveNote); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PrivateParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PrivateParametersWithoutAsk); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SpendAuthSigParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NfParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExpandedSpendingKeyMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ViewingKeyMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IncomingViewingKeyMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiversifierMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IncomingViewingKeyDiversifierMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PaymentAddressMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShieldedAddressInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NoteParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SpendResult); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionInfoList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SpendNoteTRC20); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PrivateShieldedTRC20Parameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PrivateShieldedTRC20ParametersWithoutAsk); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShieldedTRC20Parameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IvkDecryptTRC20Parameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OvkDecryptTRC20Parameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DecryptNotesTRC20); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NfTRC20Parameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NullifierResult); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShieldedTRC20TriggerContractParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionSignWeight_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionApprovedList_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DecryptNotes_NoteTx); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DecryptNotesMarked_NoteTx); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_api_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DecryptNotesTRC20_NoteTx); 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_api_api_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_api_api_proto_rawDesc), len(file_api_api_proto_rawDesc)), NumEnums: 3, - NumMessages: 81, + NumMessages: 82, NumExtensions: 0, NumServices: 6, }, @@ -8769,7 +6258,6 @@ func file_api_api_proto_init() { MessageInfos: file_api_api_proto_msgTypes, }.Build() File_api_api_proto = out.File - file_api_api_proto_rawDesc = nil file_api_api_proto_goTypes = nil file_api_api_proto_depIdxs = nil } diff --git a/pkg/proto/api/api_grpc.pb.go b/pkg/proto/api/api_grpc.pb.go index 0923f3bd0..ffebfebb4 100644 --- a/pkg/proto/api/api_grpc.pb.go +++ b/pkg/proto/api/api_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.2.0 -// - protoc v3.21.12 +// - protoc-gen-go-grpc v1.5.1 +// - protoc v5.29.3 // source: api/api.proto package api @@ -16,8 +16,157 @@ 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 ( + Wallet_GetAccount_FullMethodName = "/protocol.Wallet/GetAccount" + Wallet_GetAccountById_FullMethodName = "/protocol.Wallet/GetAccountById" + Wallet_GetAccountBalance_FullMethodName = "/protocol.Wallet/GetAccountBalance" + Wallet_GetBlockBalanceTrace_FullMethodName = "/protocol.Wallet/GetBlockBalanceTrace" + Wallet_CreateTransaction_FullMethodName = "/protocol.Wallet/CreateTransaction" + Wallet_CreateTransaction2_FullMethodName = "/protocol.Wallet/CreateTransaction2" + Wallet_BroadcastTransaction_FullMethodName = "/protocol.Wallet/BroadcastTransaction" + Wallet_UpdateAccount_FullMethodName = "/protocol.Wallet/UpdateAccount" + Wallet_SetAccountId_FullMethodName = "/protocol.Wallet/SetAccountId" + Wallet_UpdateAccount2_FullMethodName = "/protocol.Wallet/UpdateAccount2" + Wallet_VoteWitnessAccount_FullMethodName = "/protocol.Wallet/VoteWitnessAccount" + Wallet_UpdateSetting_FullMethodName = "/protocol.Wallet/UpdateSetting" + Wallet_UpdateEnergyLimit_FullMethodName = "/protocol.Wallet/UpdateEnergyLimit" + Wallet_VoteWitnessAccount2_FullMethodName = "/protocol.Wallet/VoteWitnessAccount2" + Wallet_CreateAssetIssue_FullMethodName = "/protocol.Wallet/CreateAssetIssue" + Wallet_CreateAssetIssue2_FullMethodName = "/protocol.Wallet/CreateAssetIssue2" + Wallet_UpdateWitness_FullMethodName = "/protocol.Wallet/UpdateWitness" + Wallet_UpdateWitness2_FullMethodName = "/protocol.Wallet/UpdateWitness2" + Wallet_CreateAccount_FullMethodName = "/protocol.Wallet/CreateAccount" + Wallet_CreateAccount2_FullMethodName = "/protocol.Wallet/CreateAccount2" + Wallet_CreateWitness_FullMethodName = "/protocol.Wallet/CreateWitness" + Wallet_CreateWitness2_FullMethodName = "/protocol.Wallet/CreateWitness2" + Wallet_TransferAsset_FullMethodName = "/protocol.Wallet/TransferAsset" + Wallet_TransferAsset2_FullMethodName = "/protocol.Wallet/TransferAsset2" + Wallet_ParticipateAssetIssue_FullMethodName = "/protocol.Wallet/ParticipateAssetIssue" + Wallet_ParticipateAssetIssue2_FullMethodName = "/protocol.Wallet/ParticipateAssetIssue2" + Wallet_FreezeBalance_FullMethodName = "/protocol.Wallet/FreezeBalance" + Wallet_FreezeBalance2_FullMethodName = "/protocol.Wallet/FreezeBalance2" + Wallet_FreezeBalanceV2_FullMethodName = "/protocol.Wallet/FreezeBalanceV2" + Wallet_UnfreezeBalance_FullMethodName = "/protocol.Wallet/UnfreezeBalance" + Wallet_UnfreezeBalance2_FullMethodName = "/protocol.Wallet/UnfreezeBalance2" + Wallet_UnfreezeBalanceV2_FullMethodName = "/protocol.Wallet/UnfreezeBalanceV2" + Wallet_UnfreezeAsset_FullMethodName = "/protocol.Wallet/UnfreezeAsset" + Wallet_UnfreezeAsset2_FullMethodName = "/protocol.Wallet/UnfreezeAsset2" + Wallet_WithdrawBalance_FullMethodName = "/protocol.Wallet/WithdrawBalance" + Wallet_WithdrawBalance2_FullMethodName = "/protocol.Wallet/WithdrawBalance2" + Wallet_WithdrawExpireUnfreeze_FullMethodName = "/protocol.Wallet/WithdrawExpireUnfreeze" + Wallet_DelegateResource_FullMethodName = "/protocol.Wallet/DelegateResource" + Wallet_UnDelegateResource_FullMethodName = "/protocol.Wallet/UnDelegateResource" + Wallet_CancelAllUnfreezeV2_FullMethodName = "/protocol.Wallet/CancelAllUnfreezeV2" + Wallet_UpdateAsset_FullMethodName = "/protocol.Wallet/UpdateAsset" + Wallet_UpdateAsset2_FullMethodName = "/protocol.Wallet/UpdateAsset2" + Wallet_ProposalCreate_FullMethodName = "/protocol.Wallet/ProposalCreate" + Wallet_ProposalApprove_FullMethodName = "/protocol.Wallet/ProposalApprove" + Wallet_ProposalDelete_FullMethodName = "/protocol.Wallet/ProposalDelete" + Wallet_BuyStorage_FullMethodName = "/protocol.Wallet/BuyStorage" + Wallet_BuyStorageBytes_FullMethodName = "/protocol.Wallet/BuyStorageBytes" + Wallet_SellStorage_FullMethodName = "/protocol.Wallet/SellStorage" + Wallet_ExchangeCreate_FullMethodName = "/protocol.Wallet/ExchangeCreate" + Wallet_ExchangeInject_FullMethodName = "/protocol.Wallet/ExchangeInject" + Wallet_ExchangeWithdraw_FullMethodName = "/protocol.Wallet/ExchangeWithdraw" + Wallet_ExchangeTransaction_FullMethodName = "/protocol.Wallet/ExchangeTransaction" + Wallet_MarketSellAsset_FullMethodName = "/protocol.Wallet/MarketSellAsset" + Wallet_MarketCancelOrder_FullMethodName = "/protocol.Wallet/MarketCancelOrder" + Wallet_GetMarketOrderById_FullMethodName = "/protocol.Wallet/GetMarketOrderById" + Wallet_GetMarketOrderByAccount_FullMethodName = "/protocol.Wallet/GetMarketOrderByAccount" + Wallet_GetMarketPriceByPair_FullMethodName = "/protocol.Wallet/GetMarketPriceByPair" + Wallet_GetMarketOrderListByPair_FullMethodName = "/protocol.Wallet/GetMarketOrderListByPair" + Wallet_GetMarketPairList_FullMethodName = "/protocol.Wallet/GetMarketPairList" + Wallet_ListNodes_FullMethodName = "/protocol.Wallet/ListNodes" + Wallet_GetAssetIssueByAccount_FullMethodName = "/protocol.Wallet/GetAssetIssueByAccount" + Wallet_GetAccountNet_FullMethodName = "/protocol.Wallet/GetAccountNet" + Wallet_GetAccountResource_FullMethodName = "/protocol.Wallet/GetAccountResource" + Wallet_GetAssetIssueByName_FullMethodName = "/protocol.Wallet/GetAssetIssueByName" + Wallet_GetAssetIssueListByName_FullMethodName = "/protocol.Wallet/GetAssetIssueListByName" + Wallet_GetAssetIssueById_FullMethodName = "/protocol.Wallet/GetAssetIssueById" + Wallet_GetNowBlock_FullMethodName = "/protocol.Wallet/GetNowBlock" + Wallet_GetNowBlock2_FullMethodName = "/protocol.Wallet/GetNowBlock2" + Wallet_GetBlockByNum_FullMethodName = "/protocol.Wallet/GetBlockByNum" + Wallet_GetBlockByNum2_FullMethodName = "/protocol.Wallet/GetBlockByNum2" + Wallet_GetTransactionCountByBlockNum_FullMethodName = "/protocol.Wallet/GetTransactionCountByBlockNum" + Wallet_GetBlockById_FullMethodName = "/protocol.Wallet/GetBlockById" + Wallet_GetBlockByLimitNext_FullMethodName = "/protocol.Wallet/GetBlockByLimitNext" + Wallet_GetBlockByLimitNext2_FullMethodName = "/protocol.Wallet/GetBlockByLimitNext2" + Wallet_GetBlockByLatestNum_FullMethodName = "/protocol.Wallet/GetBlockByLatestNum" + Wallet_GetBlockByLatestNum2_FullMethodName = "/protocol.Wallet/GetBlockByLatestNum2" + Wallet_GetTransactionById_FullMethodName = "/protocol.Wallet/GetTransactionById" + Wallet_DeployContract_FullMethodName = "/protocol.Wallet/DeployContract" + Wallet_GetContract_FullMethodName = "/protocol.Wallet/GetContract" + Wallet_GetContractInfo_FullMethodName = "/protocol.Wallet/GetContractInfo" + Wallet_TriggerContract_FullMethodName = "/protocol.Wallet/TriggerContract" + Wallet_TriggerConstantContract_FullMethodName = "/protocol.Wallet/TriggerConstantContract" + Wallet_EstimateEnergy_FullMethodName = "/protocol.Wallet/EstimateEnergy" + Wallet_ClearContractABI_FullMethodName = "/protocol.Wallet/ClearContractABI" + Wallet_ListWitnesses_FullMethodName = "/protocol.Wallet/ListWitnesses" + Wallet_GetDelegatedResource_FullMethodName = "/protocol.Wallet/GetDelegatedResource" + Wallet_GetDelegatedResourceV2_FullMethodName = "/protocol.Wallet/GetDelegatedResourceV2" + Wallet_GetDelegatedResourceAccountIndex_FullMethodName = "/protocol.Wallet/GetDelegatedResourceAccountIndex" + Wallet_GetDelegatedResourceAccountIndexV2_FullMethodName = "/protocol.Wallet/GetDelegatedResourceAccountIndexV2" + Wallet_GetCanDelegatedMaxSize_FullMethodName = "/protocol.Wallet/GetCanDelegatedMaxSize" + Wallet_GetAvailableUnfreezeCount_FullMethodName = "/protocol.Wallet/GetAvailableUnfreezeCount" + Wallet_GetCanWithdrawUnfreezeAmount_FullMethodName = "/protocol.Wallet/GetCanWithdrawUnfreezeAmount" + Wallet_ListProposals_FullMethodName = "/protocol.Wallet/ListProposals" + Wallet_GetPaginatedProposalList_FullMethodName = "/protocol.Wallet/GetPaginatedProposalList" + Wallet_GetProposalById_FullMethodName = "/protocol.Wallet/GetProposalById" + Wallet_ListExchanges_FullMethodName = "/protocol.Wallet/ListExchanges" + Wallet_GetPaginatedExchangeList_FullMethodName = "/protocol.Wallet/GetPaginatedExchangeList" + Wallet_GetExchangeById_FullMethodName = "/protocol.Wallet/GetExchangeById" + Wallet_GetChainParameters_FullMethodName = "/protocol.Wallet/GetChainParameters" + Wallet_GetAssetIssueList_FullMethodName = "/protocol.Wallet/GetAssetIssueList" + Wallet_GetPaginatedAssetIssueList_FullMethodName = "/protocol.Wallet/GetPaginatedAssetIssueList" + Wallet_TotalTransaction_FullMethodName = "/protocol.Wallet/TotalTransaction" + Wallet_GetNextMaintenanceTime_FullMethodName = "/protocol.Wallet/GetNextMaintenanceTime" + Wallet_GetTransactionInfoById_FullMethodName = "/protocol.Wallet/GetTransactionInfoById" + Wallet_AccountPermissionUpdate_FullMethodName = "/protocol.Wallet/AccountPermissionUpdate" + Wallet_GetTransactionSignWeight_FullMethodName = "/protocol.Wallet/GetTransactionSignWeight" + Wallet_GetTransactionApprovedList_FullMethodName = "/protocol.Wallet/GetTransactionApprovedList" + Wallet_GetNodeInfo_FullMethodName = "/protocol.Wallet/GetNodeInfo" + Wallet_GetRewardInfo_FullMethodName = "/protocol.Wallet/GetRewardInfo" + Wallet_GetBrokerageInfo_FullMethodName = "/protocol.Wallet/GetBrokerageInfo" + Wallet_UpdateBrokerage_FullMethodName = "/protocol.Wallet/UpdateBrokerage" + Wallet_CreateShieldedTransaction_FullMethodName = "/protocol.Wallet/CreateShieldedTransaction" + Wallet_GetMerkleTreeVoucherInfo_FullMethodName = "/protocol.Wallet/GetMerkleTreeVoucherInfo" + Wallet_ScanNoteByIvk_FullMethodName = "/protocol.Wallet/ScanNoteByIvk" + Wallet_ScanAndMarkNoteByIvk_FullMethodName = "/protocol.Wallet/ScanAndMarkNoteByIvk" + Wallet_ScanNoteByOvk_FullMethodName = "/protocol.Wallet/ScanNoteByOvk" + Wallet_GetSpendingKey_FullMethodName = "/protocol.Wallet/GetSpendingKey" + Wallet_GetExpandedSpendingKey_FullMethodName = "/protocol.Wallet/GetExpandedSpendingKey" + Wallet_GetAkFromAsk_FullMethodName = "/protocol.Wallet/GetAkFromAsk" + Wallet_GetNkFromNsk_FullMethodName = "/protocol.Wallet/GetNkFromNsk" + Wallet_GetIncomingViewingKey_FullMethodName = "/protocol.Wallet/GetIncomingViewingKey" + Wallet_GetDiversifier_FullMethodName = "/protocol.Wallet/GetDiversifier" + Wallet_GetNewShieldedAddress_FullMethodName = "/protocol.Wallet/GetNewShieldedAddress" + Wallet_GetZenPaymentAddress_FullMethodName = "/protocol.Wallet/GetZenPaymentAddress" + Wallet_GetRcm_FullMethodName = "/protocol.Wallet/GetRcm" + Wallet_IsSpend_FullMethodName = "/protocol.Wallet/IsSpend" + Wallet_CreateShieldedTransactionWithoutSpendAuthSig_FullMethodName = "/protocol.Wallet/CreateShieldedTransactionWithoutSpendAuthSig" + Wallet_GetShieldTransactionHash_FullMethodName = "/protocol.Wallet/GetShieldTransactionHash" + Wallet_CreateSpendAuthSig_FullMethodName = "/protocol.Wallet/CreateSpendAuthSig" + Wallet_CreateShieldNullifier_FullMethodName = "/protocol.Wallet/CreateShieldNullifier" + Wallet_CreateShieldedContractParameters_FullMethodName = "/protocol.Wallet/CreateShieldedContractParameters" + Wallet_CreateShieldedContractParametersWithoutAsk_FullMethodName = "/protocol.Wallet/CreateShieldedContractParametersWithoutAsk" + Wallet_ScanShieldedTRC20NotesByIvk_FullMethodName = "/protocol.Wallet/ScanShieldedTRC20NotesByIvk" + Wallet_ScanShieldedTRC20NotesByOvk_FullMethodName = "/protocol.Wallet/ScanShieldedTRC20NotesByOvk" + Wallet_IsShieldedTRC20ContractNoteSpent_FullMethodName = "/protocol.Wallet/IsShieldedTRC20ContractNoteSpent" + Wallet_GetTriggerInputForShieldedTRC20Contract_FullMethodName = "/protocol.Wallet/GetTriggerInputForShieldedTRC20Contract" + Wallet_CreateCommonTransaction_FullMethodName = "/protocol.Wallet/CreateCommonTransaction" + Wallet_GetTransactionInfoByBlockNum_FullMethodName = "/protocol.Wallet/GetTransactionInfoByBlockNum" + Wallet_GetBurnTrx_FullMethodName = "/protocol.Wallet/GetBurnTrx" + Wallet_GetTransactionFromPending_FullMethodName = "/protocol.Wallet/GetTransactionFromPending" + Wallet_GetTransactionListFromPending_FullMethodName = "/protocol.Wallet/GetTransactionListFromPending" + Wallet_GetPendingSize_FullMethodName = "/protocol.Wallet/GetPendingSize" + Wallet_GetBlock_FullMethodName = "/protocol.Wallet/GetBlock" + Wallet_GetBandwidthPrices_FullMethodName = "/protocol.Wallet/GetBandwidthPrices" + Wallet_GetEnergyPrices_FullMethodName = "/protocol.Wallet/GetEnergyPrices" + Wallet_GetMemoFee_FullMethodName = "/protocol.Wallet/GetMemoFee" +) // WalletClient is the client API for Wallet service. // @@ -208,6 +357,9 @@ type WalletClient interface { GetTransactionListFromPending(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*TransactionIdList, error) GetPendingSize(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) GetBlock(ctx context.Context, in *BlockReq, opts ...grpc.CallOption) (*BlockExtention, error) + GetBandwidthPrices(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*PricesResponseMessage, error) + GetEnergyPrices(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*PricesResponseMessage, error) + GetMemoFee(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*PricesResponseMessage, error) } type walletClient struct { @@ -219,8 +371,9 @@ func NewWalletClient(cc grpc.ClientConnInterface) WalletClient { } func (c *walletClient) GetAccount(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Account) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAccount", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetAccount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -228,8 +381,9 @@ func (c *walletClient) GetAccount(ctx context.Context, in *core.Account, opts .. } func (c *walletClient) GetAccountById(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Account) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAccountById", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetAccountById_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -237,8 +391,9 @@ func (c *walletClient) GetAccountById(ctx context.Context, in *core.Account, opt } func (c *walletClient) GetAccountBalance(ctx context.Context, in *core.AccountBalanceRequest, opts ...grpc.CallOption) (*core.AccountBalanceResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.AccountBalanceResponse) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAccountBalance", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetAccountBalance_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -246,8 +401,9 @@ func (c *walletClient) GetAccountBalance(ctx context.Context, in *core.AccountBa } func (c *walletClient) GetBlockBalanceTrace(ctx context.Context, in *core.BlockBalanceTrace_BlockIdentifier, opts ...grpc.CallOption) (*core.BlockBalanceTrace, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.BlockBalanceTrace) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlockBalanceTrace", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetBlockBalanceTrace_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -255,8 +411,9 @@ func (c *walletClient) GetBlockBalanceTrace(ctx context.Context, in *core.BlockB } func (c *walletClient) CreateTransaction(ctx context.Context, in *core.TransferContract, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateTransaction", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_CreateTransaction_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -264,8 +421,9 @@ func (c *walletClient) CreateTransaction(ctx context.Context, in *core.TransferC } func (c *walletClient) CreateTransaction2(ctx context.Context, in *core.TransferContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateTransaction2", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_CreateTransaction2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -273,8 +431,9 @@ func (c *walletClient) CreateTransaction2(ctx context.Context, in *core.Transfer } func (c *walletClient) BroadcastTransaction(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*Return, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(Return) - err := c.cc.Invoke(ctx, "/protocol.Wallet/BroadcastTransaction", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_BroadcastTransaction_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -282,8 +441,9 @@ func (c *walletClient) BroadcastTransaction(ctx context.Context, in *core.Transa } func (c *walletClient) UpdateAccount(ctx context.Context, in *core.AccountUpdateContract, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateAccount", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_UpdateAccount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -291,8 +451,9 @@ func (c *walletClient) UpdateAccount(ctx context.Context, in *core.AccountUpdate } func (c *walletClient) SetAccountId(ctx context.Context, in *core.SetAccountIdContract, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/SetAccountId", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_SetAccountId_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -300,8 +461,9 @@ func (c *walletClient) SetAccountId(ctx context.Context, in *core.SetAccountIdCo } func (c *walletClient) UpdateAccount2(ctx context.Context, in *core.AccountUpdateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateAccount2", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_UpdateAccount2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -309,8 +471,9 @@ func (c *walletClient) UpdateAccount2(ctx context.Context, in *core.AccountUpdat } func (c *walletClient) VoteWitnessAccount(ctx context.Context, in *core.VoteWitnessContract, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/VoteWitnessAccount", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_VoteWitnessAccount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -318,8 +481,9 @@ func (c *walletClient) VoteWitnessAccount(ctx context.Context, in *core.VoteWitn } func (c *walletClient) UpdateSetting(ctx context.Context, in *core.UpdateSettingContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateSetting", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_UpdateSetting_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -327,8 +491,9 @@ func (c *walletClient) UpdateSetting(ctx context.Context, in *core.UpdateSetting } func (c *walletClient) UpdateEnergyLimit(ctx context.Context, in *core.UpdateEnergyLimitContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateEnergyLimit", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_UpdateEnergyLimit_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -336,8 +501,9 @@ func (c *walletClient) UpdateEnergyLimit(ctx context.Context, in *core.UpdateEne } func (c *walletClient) VoteWitnessAccount2(ctx context.Context, in *core.VoteWitnessContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/VoteWitnessAccount2", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_VoteWitnessAccount2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -345,8 +511,9 @@ func (c *walletClient) VoteWitnessAccount2(ctx context.Context, in *core.VoteWit } func (c *walletClient) CreateAssetIssue(ctx context.Context, in *core.AssetIssueContract, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateAssetIssue", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_CreateAssetIssue_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -354,8 +521,9 @@ func (c *walletClient) CreateAssetIssue(ctx context.Context, in *core.AssetIssue } func (c *walletClient) CreateAssetIssue2(ctx context.Context, in *core.AssetIssueContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateAssetIssue2", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_CreateAssetIssue2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -363,8 +531,9 @@ func (c *walletClient) CreateAssetIssue2(ctx context.Context, in *core.AssetIssu } func (c *walletClient) UpdateWitness(ctx context.Context, in *core.WitnessUpdateContract, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateWitness", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_UpdateWitness_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -372,8 +541,9 @@ func (c *walletClient) UpdateWitness(ctx context.Context, in *core.WitnessUpdate } func (c *walletClient) UpdateWitness2(ctx context.Context, in *core.WitnessUpdateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateWitness2", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_UpdateWitness2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -381,8 +551,9 @@ func (c *walletClient) UpdateWitness2(ctx context.Context, in *core.WitnessUpdat } func (c *walletClient) CreateAccount(ctx context.Context, in *core.AccountCreateContract, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateAccount", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_CreateAccount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -390,8 +561,9 @@ func (c *walletClient) CreateAccount(ctx context.Context, in *core.AccountCreate } func (c *walletClient) CreateAccount2(ctx context.Context, in *core.AccountCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateAccount2", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_CreateAccount2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -399,8 +571,9 @@ func (c *walletClient) CreateAccount2(ctx context.Context, in *core.AccountCreat } func (c *walletClient) CreateWitness(ctx context.Context, in *core.WitnessCreateContract, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateWitness", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_CreateWitness_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -408,8 +581,9 @@ func (c *walletClient) CreateWitness(ctx context.Context, in *core.WitnessCreate } func (c *walletClient) CreateWitness2(ctx context.Context, in *core.WitnessCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateWitness2", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_CreateWitness2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -417,8 +591,9 @@ func (c *walletClient) CreateWitness2(ctx context.Context, in *core.WitnessCreat } func (c *walletClient) TransferAsset(ctx context.Context, in *core.TransferAssetContract, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/TransferAsset", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_TransferAsset_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -426,8 +601,9 @@ func (c *walletClient) TransferAsset(ctx context.Context, in *core.TransferAsset } func (c *walletClient) TransferAsset2(ctx context.Context, in *core.TransferAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/TransferAsset2", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_TransferAsset2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -435,8 +611,9 @@ func (c *walletClient) TransferAsset2(ctx context.Context, in *core.TransferAsse } func (c *walletClient) ParticipateAssetIssue(ctx context.Context, in *core.ParticipateAssetIssueContract, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ParticipateAssetIssue", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ParticipateAssetIssue_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -444,8 +621,9 @@ func (c *walletClient) ParticipateAssetIssue(ctx context.Context, in *core.Parti } func (c *walletClient) ParticipateAssetIssue2(ctx context.Context, in *core.ParticipateAssetIssueContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ParticipateAssetIssue2", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ParticipateAssetIssue2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -453,8 +631,9 @@ func (c *walletClient) ParticipateAssetIssue2(ctx context.Context, in *core.Part } func (c *walletClient) FreezeBalance(ctx context.Context, in *core.FreezeBalanceContract, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/FreezeBalance", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_FreezeBalance_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -462,8 +641,9 @@ func (c *walletClient) FreezeBalance(ctx context.Context, in *core.FreezeBalance } func (c *walletClient) FreezeBalance2(ctx context.Context, in *core.FreezeBalanceContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/FreezeBalance2", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_FreezeBalance2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -471,8 +651,9 @@ func (c *walletClient) FreezeBalance2(ctx context.Context, in *core.FreezeBalanc } func (c *walletClient) FreezeBalanceV2(ctx context.Context, in *core.FreezeBalanceV2Contract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/FreezeBalanceV2", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_FreezeBalanceV2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -480,8 +661,9 @@ func (c *walletClient) FreezeBalanceV2(ctx context.Context, in *core.FreezeBalan } func (c *walletClient) UnfreezeBalance(ctx context.Context, in *core.UnfreezeBalanceContract, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/UnfreezeBalance", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_UnfreezeBalance_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -489,8 +671,9 @@ func (c *walletClient) UnfreezeBalance(ctx context.Context, in *core.UnfreezeBal } func (c *walletClient) UnfreezeBalance2(ctx context.Context, in *core.UnfreezeBalanceContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/UnfreezeBalance2", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_UnfreezeBalance2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -498,8 +681,9 @@ func (c *walletClient) UnfreezeBalance2(ctx context.Context, in *core.UnfreezeBa } func (c *walletClient) UnfreezeBalanceV2(ctx context.Context, in *core.UnfreezeBalanceV2Contract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/UnfreezeBalanceV2", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_UnfreezeBalanceV2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -507,8 +691,9 @@ func (c *walletClient) UnfreezeBalanceV2(ctx context.Context, in *core.UnfreezeB } func (c *walletClient) UnfreezeAsset(ctx context.Context, in *core.UnfreezeAssetContract, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/UnfreezeAsset", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_UnfreezeAsset_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -516,8 +701,9 @@ func (c *walletClient) UnfreezeAsset(ctx context.Context, in *core.UnfreezeAsset } func (c *walletClient) UnfreezeAsset2(ctx context.Context, in *core.UnfreezeAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/UnfreezeAsset2", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_UnfreezeAsset2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -525,8 +711,9 @@ func (c *walletClient) UnfreezeAsset2(ctx context.Context, in *core.UnfreezeAsse } func (c *walletClient) WithdrawBalance(ctx context.Context, in *core.WithdrawBalanceContract, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/WithdrawBalance", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_WithdrawBalance_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -534,8 +721,9 @@ func (c *walletClient) WithdrawBalance(ctx context.Context, in *core.WithdrawBal } func (c *walletClient) WithdrawBalance2(ctx context.Context, in *core.WithdrawBalanceContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/WithdrawBalance2", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_WithdrawBalance2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -543,8 +731,9 @@ func (c *walletClient) WithdrawBalance2(ctx context.Context, in *core.WithdrawBa } func (c *walletClient) WithdrawExpireUnfreeze(ctx context.Context, in *core.WithdrawExpireUnfreezeContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/WithdrawExpireUnfreeze", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_WithdrawExpireUnfreeze_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -552,8 +741,9 @@ func (c *walletClient) WithdrawExpireUnfreeze(ctx context.Context, in *core.With } func (c *walletClient) DelegateResource(ctx context.Context, in *core.DelegateResourceContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/DelegateResource", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_DelegateResource_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -561,8 +751,9 @@ func (c *walletClient) DelegateResource(ctx context.Context, in *core.DelegateRe } func (c *walletClient) UnDelegateResource(ctx context.Context, in *core.UnDelegateResourceContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/UnDelegateResource", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_UnDelegateResource_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -570,8 +761,9 @@ func (c *walletClient) UnDelegateResource(ctx context.Context, in *core.UnDelega } func (c *walletClient) CancelAllUnfreezeV2(ctx context.Context, in *core.CancelAllUnfreezeV2Contract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/CancelAllUnfreezeV2", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_CancelAllUnfreezeV2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -579,8 +771,9 @@ func (c *walletClient) CancelAllUnfreezeV2(ctx context.Context, in *core.CancelA } func (c *walletClient) UpdateAsset(ctx context.Context, in *core.UpdateAssetContract, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateAsset", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_UpdateAsset_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -588,8 +781,9 @@ func (c *walletClient) UpdateAsset(ctx context.Context, in *core.UpdateAssetCont } func (c *walletClient) UpdateAsset2(ctx context.Context, in *core.UpdateAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateAsset2", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_UpdateAsset2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -597,8 +791,9 @@ func (c *walletClient) UpdateAsset2(ctx context.Context, in *core.UpdateAssetCon } func (c *walletClient) ProposalCreate(ctx context.Context, in *core.ProposalCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ProposalCreate", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ProposalCreate_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -606,8 +801,9 @@ func (c *walletClient) ProposalCreate(ctx context.Context, in *core.ProposalCrea } func (c *walletClient) ProposalApprove(ctx context.Context, in *core.ProposalApproveContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ProposalApprove", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ProposalApprove_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -615,8 +811,9 @@ func (c *walletClient) ProposalApprove(ctx context.Context, in *core.ProposalApp } func (c *walletClient) ProposalDelete(ctx context.Context, in *core.ProposalDeleteContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ProposalDelete", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ProposalDelete_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -624,8 +821,9 @@ func (c *walletClient) ProposalDelete(ctx context.Context, in *core.ProposalDele } func (c *walletClient) BuyStorage(ctx context.Context, in *core.BuyStorageContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/BuyStorage", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_BuyStorage_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -633,8 +831,9 @@ func (c *walletClient) BuyStorage(ctx context.Context, in *core.BuyStorageContra } func (c *walletClient) BuyStorageBytes(ctx context.Context, in *core.BuyStorageBytesContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/BuyStorageBytes", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_BuyStorageBytes_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -642,8 +841,9 @@ func (c *walletClient) BuyStorageBytes(ctx context.Context, in *core.BuyStorageB } func (c *walletClient) SellStorage(ctx context.Context, in *core.SellStorageContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/SellStorage", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_SellStorage_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -651,8 +851,9 @@ func (c *walletClient) SellStorage(ctx context.Context, in *core.SellStorageCont } func (c *walletClient) ExchangeCreate(ctx context.Context, in *core.ExchangeCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ExchangeCreate", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ExchangeCreate_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -660,8 +861,9 @@ func (c *walletClient) ExchangeCreate(ctx context.Context, in *core.ExchangeCrea } func (c *walletClient) ExchangeInject(ctx context.Context, in *core.ExchangeInjectContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ExchangeInject", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ExchangeInject_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -669,8 +871,9 @@ func (c *walletClient) ExchangeInject(ctx context.Context, in *core.ExchangeInje } func (c *walletClient) ExchangeWithdraw(ctx context.Context, in *core.ExchangeWithdrawContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ExchangeWithdraw", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ExchangeWithdraw_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -678,8 +881,9 @@ func (c *walletClient) ExchangeWithdraw(ctx context.Context, in *core.ExchangeWi } func (c *walletClient) ExchangeTransaction(ctx context.Context, in *core.ExchangeTransactionContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ExchangeTransaction", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ExchangeTransaction_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -687,8 +891,9 @@ func (c *walletClient) ExchangeTransaction(ctx context.Context, in *core.Exchang } func (c *walletClient) MarketSellAsset(ctx context.Context, in *core.MarketSellAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/MarketSellAsset", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_MarketSellAsset_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -696,8 +901,9 @@ func (c *walletClient) MarketSellAsset(ctx context.Context, in *core.MarketSellA } func (c *walletClient) MarketCancelOrder(ctx context.Context, in *core.MarketCancelOrderContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/MarketCancelOrder", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_MarketCancelOrder_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -705,8 +911,9 @@ func (c *walletClient) MarketCancelOrder(ctx context.Context, in *core.MarketCan } func (c *walletClient) GetMarketOrderById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.MarketOrder, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.MarketOrder) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetMarketOrderById", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetMarketOrderById_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -714,8 +921,9 @@ func (c *walletClient) GetMarketOrderById(ctx context.Context, in *BytesMessage, } func (c *walletClient) GetMarketOrderByAccount(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.MarketOrderList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.MarketOrderList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetMarketOrderByAccount", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetMarketOrderByAccount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -723,8 +931,9 @@ func (c *walletClient) GetMarketOrderByAccount(ctx context.Context, in *BytesMes } func (c *walletClient) GetMarketPriceByPair(ctx context.Context, in *core.MarketOrderPair, opts ...grpc.CallOption) (*core.MarketPriceList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.MarketPriceList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetMarketPriceByPair", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetMarketPriceByPair_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -732,8 +941,9 @@ func (c *walletClient) GetMarketPriceByPair(ctx context.Context, in *core.Market } func (c *walletClient) GetMarketOrderListByPair(ctx context.Context, in *core.MarketOrderPair, opts ...grpc.CallOption) (*core.MarketOrderList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.MarketOrderList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetMarketOrderListByPair", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetMarketOrderListByPair_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -741,8 +951,9 @@ func (c *walletClient) GetMarketOrderListByPair(ctx context.Context, in *core.Ma } func (c *walletClient) GetMarketPairList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.MarketOrderPairList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.MarketOrderPairList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetMarketPairList", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetMarketPairList_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -750,8 +961,9 @@ func (c *walletClient) GetMarketPairList(ctx context.Context, in *EmptyMessage, } func (c *walletClient) ListNodes(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NodeList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(NodeList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ListNodes", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ListNodes_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -759,8 +971,9 @@ func (c *walletClient) ListNodes(ctx context.Context, in *EmptyMessage, opts ... } func (c *walletClient) GetAssetIssueByAccount(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*AssetIssueList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AssetIssueList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAssetIssueByAccount", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetAssetIssueByAccount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -768,8 +981,9 @@ func (c *walletClient) GetAssetIssueByAccount(ctx context.Context, in *core.Acco } func (c *walletClient) GetAccountNet(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*AccountNetMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AccountNetMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAccountNet", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetAccountNet_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -777,8 +991,9 @@ func (c *walletClient) GetAccountNet(ctx context.Context, in *core.Account, opts } func (c *walletClient) GetAccountResource(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*AccountResourceMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AccountResourceMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAccountResource", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetAccountResource_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -786,8 +1001,9 @@ func (c *walletClient) GetAccountResource(ctx context.Context, in *core.Account, } func (c *walletClient) GetAssetIssueByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.AssetIssueContract) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAssetIssueByName", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetAssetIssueByName_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -795,8 +1011,9 @@ func (c *walletClient) GetAssetIssueByName(ctx context.Context, in *BytesMessage } func (c *walletClient) GetAssetIssueListByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*AssetIssueList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AssetIssueList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAssetIssueListByName", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetAssetIssueListByName_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -804,8 +1021,9 @@ func (c *walletClient) GetAssetIssueListByName(ctx context.Context, in *BytesMes } func (c *walletClient) GetAssetIssueById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.AssetIssueContract) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAssetIssueById", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetAssetIssueById_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -813,8 +1031,9 @@ func (c *walletClient) GetAssetIssueById(ctx context.Context, in *BytesMessage, } func (c *walletClient) GetNowBlock(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.Block, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Block) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetNowBlock", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetNowBlock_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -822,8 +1041,9 @@ func (c *walletClient) GetNowBlock(ctx context.Context, in *EmptyMessage, opts . } func (c *walletClient) GetNowBlock2(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BlockExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetNowBlock2", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetNowBlock2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -831,8 +1051,9 @@ func (c *walletClient) GetNowBlock2(ctx context.Context, in *EmptyMessage, opts } func (c *walletClient) GetBlockByNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*core.Block, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Block) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlockByNum", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetBlockByNum_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -840,8 +1061,9 @@ func (c *walletClient) GetBlockByNum(ctx context.Context, in *NumberMessage, opt } func (c *walletClient) GetBlockByNum2(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlockByNum2", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetBlockByNum2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -849,8 +1071,9 @@ func (c *walletClient) GetBlockByNum2(ctx context.Context, in *NumberMessage, op } func (c *walletClient) GetTransactionCountByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(NumberMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionCountByBlockNum", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetTransactionCountByBlockNum_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -858,8 +1081,9 @@ func (c *walletClient) GetTransactionCountByBlockNum(ctx context.Context, in *Nu } func (c *walletClient) GetBlockById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Block, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Block) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlockById", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetBlockById_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -867,8 +1091,9 @@ func (c *walletClient) GetBlockById(ctx context.Context, in *BytesMessage, opts } func (c *walletClient) GetBlockByLimitNext(ctx context.Context, in *BlockLimit, opts ...grpc.CallOption) (*BlockList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlockByLimitNext", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetBlockByLimitNext_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -876,8 +1101,9 @@ func (c *walletClient) GetBlockByLimitNext(ctx context.Context, in *BlockLimit, } func (c *walletClient) GetBlockByLimitNext2(ctx context.Context, in *BlockLimit, opts ...grpc.CallOption) (*BlockListExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockListExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlockByLimitNext2", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetBlockByLimitNext2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -885,8 +1111,9 @@ func (c *walletClient) GetBlockByLimitNext2(ctx context.Context, in *BlockLimit, } func (c *walletClient) GetBlockByLatestNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlockByLatestNum", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetBlockByLatestNum_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -894,8 +1121,9 @@ func (c *walletClient) GetBlockByLatestNum(ctx context.Context, in *NumberMessag } func (c *walletClient) GetBlockByLatestNum2(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockListExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockListExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlockByLatestNum2", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetBlockByLatestNum2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -903,8 +1131,9 @@ func (c *walletClient) GetBlockByLatestNum2(ctx context.Context, in *NumberMessa } func (c *walletClient) GetTransactionById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionById", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetTransactionById_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -912,8 +1141,9 @@ func (c *walletClient) GetTransactionById(ctx context.Context, in *BytesMessage, } func (c *walletClient) DeployContract(ctx context.Context, in *core.CreateSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/DeployContract", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_DeployContract_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -921,8 +1151,9 @@ func (c *walletClient) DeployContract(ctx context.Context, in *core.CreateSmartC } func (c *walletClient) GetContract(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.SmartContract, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.SmartContract) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetContract", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetContract_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -930,8 +1161,9 @@ func (c *walletClient) GetContract(ctx context.Context, in *BytesMessage, opts . } func (c *walletClient) GetContractInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.SmartContractDataWrapper, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.SmartContractDataWrapper) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetContractInfo", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetContractInfo_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -939,8 +1171,9 @@ func (c *walletClient) GetContractInfo(ctx context.Context, in *BytesMessage, op } func (c *walletClient) TriggerContract(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/TriggerContract", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_TriggerContract_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -948,8 +1181,9 @@ func (c *walletClient) TriggerContract(ctx context.Context, in *core.TriggerSmar } func (c *walletClient) TriggerConstantContract(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/TriggerConstantContract", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_TriggerConstantContract_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -957,8 +1191,9 @@ func (c *walletClient) TriggerConstantContract(ctx context.Context, in *core.Tri } func (c *walletClient) EstimateEnergy(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*EstimateEnergyMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(EstimateEnergyMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/EstimateEnergy", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_EstimateEnergy_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -966,8 +1201,9 @@ func (c *walletClient) EstimateEnergy(ctx context.Context, in *core.TriggerSmart } func (c *walletClient) ClearContractABI(ctx context.Context, in *core.ClearABIContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ClearContractABI", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ClearContractABI_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -975,8 +1211,9 @@ func (c *walletClient) ClearContractABI(ctx context.Context, in *core.ClearABICo } func (c *walletClient) ListWitnesses(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*WitnessList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(WitnessList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ListWitnesses", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ListWitnesses_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -984,8 +1221,9 @@ func (c *walletClient) ListWitnesses(ctx context.Context, in *EmptyMessage, opts } func (c *walletClient) GetDelegatedResource(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DelegatedResourceList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetDelegatedResource", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetDelegatedResource_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -993,8 +1231,9 @@ func (c *walletClient) GetDelegatedResource(ctx context.Context, in *DelegatedRe } func (c *walletClient) GetDelegatedResourceV2(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DelegatedResourceList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetDelegatedResourceV2", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetDelegatedResourceV2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1002,8 +1241,9 @@ func (c *walletClient) GetDelegatedResourceV2(ctx context.Context, in *Delegated } func (c *walletClient) GetDelegatedResourceAccountIndex(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.DelegatedResourceAccountIndex) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetDelegatedResourceAccountIndex", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetDelegatedResourceAccountIndex_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1011,8 +1251,9 @@ func (c *walletClient) GetDelegatedResourceAccountIndex(ctx context.Context, in } func (c *walletClient) GetDelegatedResourceAccountIndexV2(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.DelegatedResourceAccountIndex) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetDelegatedResourceAccountIndexV2", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetDelegatedResourceAccountIndexV2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1020,8 +1261,9 @@ func (c *walletClient) GetDelegatedResourceAccountIndexV2(ctx context.Context, i } func (c *walletClient) GetCanDelegatedMaxSize(ctx context.Context, in *CanDelegatedMaxSizeRequestMessage, opts ...grpc.CallOption) (*CanDelegatedMaxSizeResponseMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CanDelegatedMaxSizeResponseMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetCanDelegatedMaxSize", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetCanDelegatedMaxSize_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1029,8 +1271,9 @@ func (c *walletClient) GetCanDelegatedMaxSize(ctx context.Context, in *CanDelega } func (c *walletClient) GetAvailableUnfreezeCount(ctx context.Context, in *GetAvailableUnfreezeCountRequestMessage, opts ...grpc.CallOption) (*GetAvailableUnfreezeCountResponseMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetAvailableUnfreezeCountResponseMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAvailableUnfreezeCount", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetAvailableUnfreezeCount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1038,8 +1281,9 @@ func (c *walletClient) GetAvailableUnfreezeCount(ctx context.Context, in *GetAva } func (c *walletClient) GetCanWithdrawUnfreezeAmount(ctx context.Context, in *CanWithdrawUnfreezeAmountRequestMessage, opts ...grpc.CallOption) (*CanWithdrawUnfreezeAmountResponseMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CanWithdrawUnfreezeAmountResponseMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetCanWithdrawUnfreezeAmount", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetCanWithdrawUnfreezeAmount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1047,8 +1291,9 @@ func (c *walletClient) GetCanWithdrawUnfreezeAmount(ctx context.Context, in *Can } func (c *walletClient) ListProposals(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ProposalList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ProposalList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ListProposals", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ListProposals_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1056,8 +1301,9 @@ func (c *walletClient) ListProposals(ctx context.Context, in *EmptyMessage, opts } func (c *walletClient) GetPaginatedProposalList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*ProposalList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ProposalList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetPaginatedProposalList", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetPaginatedProposalList_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1065,8 +1311,9 @@ func (c *walletClient) GetPaginatedProposalList(ctx context.Context, in *Paginat } func (c *walletClient) GetProposalById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Proposal, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Proposal) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetProposalById", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetProposalById_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1074,8 +1321,9 @@ func (c *walletClient) GetProposalById(ctx context.Context, in *BytesMessage, op } func (c *walletClient) ListExchanges(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ExchangeList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ExchangeList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ListExchanges", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ListExchanges_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1083,8 +1331,9 @@ func (c *walletClient) ListExchanges(ctx context.Context, in *EmptyMessage, opts } func (c *walletClient) GetPaginatedExchangeList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*ExchangeList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ExchangeList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetPaginatedExchangeList", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetPaginatedExchangeList_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1092,8 +1341,9 @@ func (c *walletClient) GetPaginatedExchangeList(ctx context.Context, in *Paginat } func (c *walletClient) GetExchangeById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Exchange, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Exchange) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetExchangeById", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetExchangeById_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1101,8 +1351,9 @@ func (c *walletClient) GetExchangeById(ctx context.Context, in *BytesMessage, op } func (c *walletClient) GetChainParameters(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.ChainParameters, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.ChainParameters) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetChainParameters", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetChainParameters_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1110,8 +1361,9 @@ func (c *walletClient) GetChainParameters(ctx context.Context, in *EmptyMessage, } func (c *walletClient) GetAssetIssueList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AssetIssueList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AssetIssueList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAssetIssueList", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetAssetIssueList_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1119,8 +1371,9 @@ func (c *walletClient) GetAssetIssueList(ctx context.Context, in *EmptyMessage, } func (c *walletClient) GetPaginatedAssetIssueList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*AssetIssueList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AssetIssueList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetPaginatedAssetIssueList", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetPaginatedAssetIssueList_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1128,8 +1381,9 @@ func (c *walletClient) GetPaginatedAssetIssueList(ctx context.Context, in *Pagin } func (c *walletClient) TotalTransaction(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(NumberMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/TotalTransaction", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_TotalTransaction_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1137,8 +1391,9 @@ func (c *walletClient) TotalTransaction(ctx context.Context, in *EmptyMessage, o } func (c *walletClient) GetNextMaintenanceTime(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(NumberMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetNextMaintenanceTime", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetNextMaintenanceTime_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1146,8 +1401,9 @@ func (c *walletClient) GetNextMaintenanceTime(ctx context.Context, in *EmptyMess } func (c *walletClient) GetTransactionInfoById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.TransactionInfo, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.TransactionInfo) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionInfoById", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetTransactionInfoById_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1155,8 +1411,9 @@ func (c *walletClient) GetTransactionInfoById(ctx context.Context, in *BytesMess } func (c *walletClient) AccountPermissionUpdate(ctx context.Context, in *core.AccountPermissionUpdateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/AccountPermissionUpdate", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_AccountPermissionUpdate_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1164,8 +1421,9 @@ func (c *walletClient) AccountPermissionUpdate(ctx context.Context, in *core.Acc } func (c *walletClient) GetTransactionSignWeight(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionSignWeight, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionSignWeight) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionSignWeight", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetTransactionSignWeight_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1173,8 +1431,9 @@ func (c *walletClient) GetTransactionSignWeight(ctx context.Context, in *core.Tr } func (c *walletClient) GetTransactionApprovedList(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionApprovedList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionApprovedList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionApprovedList", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetTransactionApprovedList_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1182,8 +1441,9 @@ func (c *walletClient) GetTransactionApprovedList(ctx context.Context, in *core. } func (c *walletClient) GetNodeInfo(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.NodeInfo, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.NodeInfo) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetNodeInfo", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetNodeInfo_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1191,8 +1451,9 @@ func (c *walletClient) GetNodeInfo(ctx context.Context, in *EmptyMessage, opts . } func (c *walletClient) GetRewardInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(NumberMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetRewardInfo", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetRewardInfo_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1200,8 +1461,9 @@ func (c *walletClient) GetRewardInfo(ctx context.Context, in *BytesMessage, opts } func (c *walletClient) GetBrokerageInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(NumberMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBrokerageInfo", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetBrokerageInfo_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1209,8 +1471,9 @@ func (c *walletClient) GetBrokerageInfo(ctx context.Context, in *BytesMessage, o } func (c *walletClient) UpdateBrokerage(ctx context.Context, in *core.UpdateBrokerageContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateBrokerage", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_UpdateBrokerage_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1218,8 +1481,9 @@ func (c *walletClient) UpdateBrokerage(ctx context.Context, in *core.UpdateBroke } func (c *walletClient) CreateShieldedTransaction(ctx context.Context, in *PrivateParameters, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateShieldedTransaction", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_CreateShieldedTransaction_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1227,8 +1491,9 @@ func (c *walletClient) CreateShieldedTransaction(ctx context.Context, in *Privat } func (c *walletClient) GetMerkleTreeVoucherInfo(ctx context.Context, in *core.OutputPointInfo, opts ...grpc.CallOption) (*core.IncrementalMerkleVoucherInfo, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.IncrementalMerkleVoucherInfo) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetMerkleTreeVoucherInfo", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetMerkleTreeVoucherInfo_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1236,8 +1501,9 @@ func (c *walletClient) GetMerkleTreeVoucherInfo(ctx context.Context, in *core.Ou } func (c *walletClient) ScanNoteByIvk(ctx context.Context, in *IvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DecryptNotes) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ScanNoteByIvk", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ScanNoteByIvk_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1245,8 +1511,9 @@ func (c *walletClient) ScanNoteByIvk(ctx context.Context, in *IvkDecryptParamete } func (c *walletClient) ScanAndMarkNoteByIvk(ctx context.Context, in *IvkDecryptAndMarkParameters, opts ...grpc.CallOption) (*DecryptNotesMarked, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DecryptNotesMarked) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ScanAndMarkNoteByIvk", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ScanAndMarkNoteByIvk_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1254,8 +1521,9 @@ func (c *walletClient) ScanAndMarkNoteByIvk(ctx context.Context, in *IvkDecryptA } func (c *walletClient) ScanNoteByOvk(ctx context.Context, in *OvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DecryptNotes) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ScanNoteByOvk", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ScanNoteByOvk_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1263,8 +1531,9 @@ func (c *walletClient) ScanNoteByOvk(ctx context.Context, in *OvkDecryptParamete } func (c *walletClient) GetSpendingKey(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BytesMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BytesMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetSpendingKey", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetSpendingKey_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1272,8 +1541,9 @@ func (c *walletClient) GetSpendingKey(ctx context.Context, in *EmptyMessage, opt } func (c *walletClient) GetExpandedSpendingKey(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*ExpandedSpendingKeyMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ExpandedSpendingKeyMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetExpandedSpendingKey", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetExpandedSpendingKey_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1281,8 +1551,9 @@ func (c *walletClient) GetExpandedSpendingKey(ctx context.Context, in *BytesMess } func (c *walletClient) GetAkFromAsk(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*BytesMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BytesMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAkFromAsk", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetAkFromAsk_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1290,8 +1561,9 @@ func (c *walletClient) GetAkFromAsk(ctx context.Context, in *BytesMessage, opts } func (c *walletClient) GetNkFromNsk(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*BytesMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BytesMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetNkFromNsk", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetNkFromNsk_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1299,8 +1571,9 @@ func (c *walletClient) GetNkFromNsk(ctx context.Context, in *BytesMessage, opts } func (c *walletClient) GetIncomingViewingKey(ctx context.Context, in *ViewingKeyMessage, opts ...grpc.CallOption) (*IncomingViewingKeyMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(IncomingViewingKeyMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetIncomingViewingKey", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetIncomingViewingKey_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1308,8 +1581,9 @@ func (c *walletClient) GetIncomingViewingKey(ctx context.Context, in *ViewingKey } func (c *walletClient) GetDiversifier(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*DiversifierMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DiversifierMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetDiversifier", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetDiversifier_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1317,8 +1591,9 @@ func (c *walletClient) GetDiversifier(ctx context.Context, in *EmptyMessage, opt } func (c *walletClient) GetNewShieldedAddress(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ShieldedAddressInfo, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ShieldedAddressInfo) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetNewShieldedAddress", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetNewShieldedAddress_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1326,8 +1601,9 @@ func (c *walletClient) GetNewShieldedAddress(ctx context.Context, in *EmptyMessa } func (c *walletClient) GetZenPaymentAddress(ctx context.Context, in *IncomingViewingKeyDiversifierMessage, opts ...grpc.CallOption) (*PaymentAddressMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(PaymentAddressMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetZenPaymentAddress", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetZenPaymentAddress_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1335,8 +1611,9 @@ func (c *walletClient) GetZenPaymentAddress(ctx context.Context, in *IncomingVie } func (c *walletClient) GetRcm(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BytesMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BytesMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetRcm", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetRcm_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1344,8 +1621,9 @@ func (c *walletClient) GetRcm(ctx context.Context, in *EmptyMessage, opts ...grp } func (c *walletClient) IsSpend(ctx context.Context, in *NoteParameters, opts ...grpc.CallOption) (*SpendResult, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(SpendResult) - err := c.cc.Invoke(ctx, "/protocol.Wallet/IsSpend", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_IsSpend_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1353,8 +1631,9 @@ func (c *walletClient) IsSpend(ctx context.Context, in *NoteParameters, opts ... } func (c *walletClient) CreateShieldedTransactionWithoutSpendAuthSig(ctx context.Context, in *PrivateParametersWithoutAsk, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateShieldedTransactionWithoutSpendAuthSig", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_CreateShieldedTransactionWithoutSpendAuthSig_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1362,8 +1641,9 @@ func (c *walletClient) CreateShieldedTransactionWithoutSpendAuthSig(ctx context. } func (c *walletClient) GetShieldTransactionHash(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*BytesMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BytesMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetShieldTransactionHash", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetShieldTransactionHash_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1371,8 +1651,9 @@ func (c *walletClient) GetShieldTransactionHash(ctx context.Context, in *core.Tr } func (c *walletClient) CreateSpendAuthSig(ctx context.Context, in *SpendAuthSigParameters, opts ...grpc.CallOption) (*BytesMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BytesMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateSpendAuthSig", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_CreateSpendAuthSig_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1380,8 +1661,9 @@ func (c *walletClient) CreateSpendAuthSig(ctx context.Context, in *SpendAuthSigP } func (c *walletClient) CreateShieldNullifier(ctx context.Context, in *NfParameters, opts ...grpc.CallOption) (*BytesMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BytesMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateShieldNullifier", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_CreateShieldNullifier_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1389,8 +1671,9 @@ func (c *walletClient) CreateShieldNullifier(ctx context.Context, in *NfParamete } func (c *walletClient) CreateShieldedContractParameters(ctx context.Context, in *PrivateShieldedTRC20Parameters, opts ...grpc.CallOption) (*ShieldedTRC20Parameters, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ShieldedTRC20Parameters) - err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateShieldedContractParameters", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_CreateShieldedContractParameters_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1398,8 +1681,9 @@ func (c *walletClient) CreateShieldedContractParameters(ctx context.Context, in } func (c *walletClient) CreateShieldedContractParametersWithoutAsk(ctx context.Context, in *PrivateShieldedTRC20ParametersWithoutAsk, opts ...grpc.CallOption) (*ShieldedTRC20Parameters, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ShieldedTRC20Parameters) - err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateShieldedContractParametersWithoutAsk", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_CreateShieldedContractParametersWithoutAsk_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1407,8 +1691,9 @@ func (c *walletClient) CreateShieldedContractParametersWithoutAsk(ctx context.Co } func (c *walletClient) ScanShieldedTRC20NotesByIvk(ctx context.Context, in *IvkDecryptTRC20Parameters, opts ...grpc.CallOption) (*DecryptNotesTRC20, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DecryptNotesTRC20) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ScanShieldedTRC20NotesByIvk", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ScanShieldedTRC20NotesByIvk_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1416,8 +1701,9 @@ func (c *walletClient) ScanShieldedTRC20NotesByIvk(ctx context.Context, in *IvkD } func (c *walletClient) ScanShieldedTRC20NotesByOvk(ctx context.Context, in *OvkDecryptTRC20Parameters, opts ...grpc.CallOption) (*DecryptNotesTRC20, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DecryptNotesTRC20) - err := c.cc.Invoke(ctx, "/protocol.Wallet/ScanShieldedTRC20NotesByOvk", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_ScanShieldedTRC20NotesByOvk_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1425,8 +1711,9 @@ func (c *walletClient) ScanShieldedTRC20NotesByOvk(ctx context.Context, in *OvkD } func (c *walletClient) IsShieldedTRC20ContractNoteSpent(ctx context.Context, in *NfTRC20Parameters, opts ...grpc.CallOption) (*NullifierResult, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(NullifierResult) - err := c.cc.Invoke(ctx, "/protocol.Wallet/IsShieldedTRC20ContractNoteSpent", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_IsShieldedTRC20ContractNoteSpent_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1434,8 +1721,9 @@ func (c *walletClient) IsShieldedTRC20ContractNoteSpent(ctx context.Context, in } func (c *walletClient) GetTriggerInputForShieldedTRC20Contract(ctx context.Context, in *ShieldedTRC20TriggerContractParameters, opts ...grpc.CallOption) (*BytesMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BytesMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTriggerInputForShieldedTRC20Contract", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetTriggerInputForShieldedTRC20Contract_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1443,8 +1731,9 @@ func (c *walletClient) GetTriggerInputForShieldedTRC20Contract(ctx context.Conte } func (c *walletClient) CreateCommonTransaction(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateCommonTransaction", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_CreateCommonTransaction_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1452,8 +1741,9 @@ func (c *walletClient) CreateCommonTransaction(ctx context.Context, in *core.Tra } func (c *walletClient) GetTransactionInfoByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*TransactionInfoList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionInfoList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionInfoByBlockNum", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetTransactionInfoByBlockNum_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1461,8 +1751,9 @@ func (c *walletClient) GetTransactionInfoByBlockNum(ctx context.Context, in *Num } func (c *walletClient) GetBurnTrx(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(NumberMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBurnTrx", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetBurnTrx_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1470,8 +1761,9 @@ func (c *walletClient) GetBurnTrx(ctx context.Context, in *EmptyMessage, opts .. } func (c *walletClient) GetTransactionFromPending(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionFromPending", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetTransactionFromPending_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1479,8 +1771,9 @@ func (c *walletClient) GetTransactionFromPending(ctx context.Context, in *BytesM } func (c *walletClient) GetTransactionListFromPending(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*TransactionIdList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionIdList) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionListFromPending", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetTransactionListFromPending_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1488,8 +1781,9 @@ func (c *walletClient) GetTransactionListFromPending(ctx context.Context, in *Em } func (c *walletClient) GetPendingSize(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(NumberMessage) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetPendingSize", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetPendingSize_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1497,8 +1791,39 @@ func (c *walletClient) GetPendingSize(ctx context.Context, in *EmptyMessage, opt } func (c *walletClient) GetBlock(ctx context.Context, in *BlockReq, opts ...grpc.CallOption) (*BlockExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockExtention) - err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlock", in, out, opts...) + err := c.cc.Invoke(ctx, Wallet_GetBlock_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetBandwidthPrices(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*PricesResponseMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(PricesResponseMessage) + err := c.cc.Invoke(ctx, Wallet_GetBandwidthPrices_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetEnergyPrices(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*PricesResponseMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(PricesResponseMessage) + err := c.cc.Invoke(ctx, Wallet_GetEnergyPrices_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetMemoFee(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*PricesResponseMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(PricesResponseMessage) + err := c.cc.Invoke(ctx, Wallet_GetMemoFee_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -1507,7 +1832,7 @@ func (c *walletClient) GetBlock(ctx context.Context, in *BlockReq, opts ...grpc. // WalletServer is the server API for Wallet service. // All implementations must embed UnimplementedWalletServer -// for forward compatibility +// for forward compatibility. type WalletServer interface { GetAccount(context.Context, *core.Account) (*core.Account, error) GetAccountById(context.Context, *core.Account) (*core.Account, error) @@ -1694,12 +2019,18 @@ type WalletServer interface { GetTransactionListFromPending(context.Context, *EmptyMessage) (*TransactionIdList, error) GetPendingSize(context.Context, *EmptyMessage) (*NumberMessage, error) GetBlock(context.Context, *BlockReq) (*BlockExtention, error) + GetBandwidthPrices(context.Context, *EmptyMessage) (*PricesResponseMessage, error) + GetEnergyPrices(context.Context, *EmptyMessage) (*PricesResponseMessage, error) + GetMemoFee(context.Context, *EmptyMessage) (*PricesResponseMessage, error) mustEmbedUnimplementedWalletServer() } -// UnimplementedWalletServer must be embedded to have forward compatible implementations. -type UnimplementedWalletServer struct { -} +// UnimplementedWalletServer 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 UnimplementedWalletServer struct{} func (UnimplementedWalletServer) GetAccount(context.Context, *core.Account) (*core.Account, error) { return nil, status.Errorf(codes.Unimplemented, "method GetAccount not implemented") @@ -2130,7 +2461,17 @@ func (UnimplementedWalletServer) GetPendingSize(context.Context, *EmptyMessage) func (UnimplementedWalletServer) GetBlock(context.Context, *BlockReq) (*BlockExtention, error) { return nil, status.Errorf(codes.Unimplemented, "method GetBlock not implemented") } +func (UnimplementedWalletServer) GetBandwidthPrices(context.Context, *EmptyMessage) (*PricesResponseMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBandwidthPrices not implemented") +} +func (UnimplementedWalletServer) GetEnergyPrices(context.Context, *EmptyMessage) (*PricesResponseMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetEnergyPrices not implemented") +} +func (UnimplementedWalletServer) GetMemoFee(context.Context, *EmptyMessage) (*PricesResponseMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMemoFee not implemented") +} func (UnimplementedWalletServer) mustEmbedUnimplementedWalletServer() {} +func (UnimplementedWalletServer) testEmbeddedByValue() {} // UnsafeWalletServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to WalletServer will @@ -2140,6 +2481,13 @@ type UnsafeWalletServer interface { } func RegisterWalletServer(s grpc.ServiceRegistrar, srv WalletServer) { + // If the following call pancis, it indicates UnimplementedWalletServer 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(&Wallet_ServiceDesc, srv) } @@ -2153,7 +2501,7 @@ func _Wallet_GetAccount_Handler(srv interface{}, ctx context.Context, dec func(i } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetAccount", + FullMethod: Wallet_GetAccount_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetAccount(ctx, req.(*core.Account)) @@ -2171,7 +2519,7 @@ func _Wallet_GetAccountById_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetAccountById", + FullMethod: Wallet_GetAccountById_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetAccountById(ctx, req.(*core.Account)) @@ -2189,7 +2537,7 @@ func _Wallet_GetAccountBalance_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetAccountBalance", + FullMethod: Wallet_GetAccountBalance_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetAccountBalance(ctx, req.(*core.AccountBalanceRequest)) @@ -2207,7 +2555,7 @@ func _Wallet_GetBlockBalanceTrace_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetBlockBalanceTrace", + FullMethod: Wallet_GetBlockBalanceTrace_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetBlockBalanceTrace(ctx, req.(*core.BlockBalanceTrace_BlockIdentifier)) @@ -2225,7 +2573,7 @@ func _Wallet_CreateTransaction_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/CreateTransaction", + FullMethod: Wallet_CreateTransaction_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).CreateTransaction(ctx, req.(*core.TransferContract)) @@ -2243,7 +2591,7 @@ func _Wallet_CreateTransaction2_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/CreateTransaction2", + FullMethod: Wallet_CreateTransaction2_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).CreateTransaction2(ctx, req.(*core.TransferContract)) @@ -2261,7 +2609,7 @@ func _Wallet_BroadcastTransaction_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/BroadcastTransaction", + FullMethod: Wallet_BroadcastTransaction_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).BroadcastTransaction(ctx, req.(*core.Transaction)) @@ -2279,7 +2627,7 @@ func _Wallet_UpdateAccount_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/UpdateAccount", + FullMethod: Wallet_UpdateAccount_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).UpdateAccount(ctx, req.(*core.AccountUpdateContract)) @@ -2297,7 +2645,7 @@ func _Wallet_SetAccountId_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/SetAccountId", + FullMethod: Wallet_SetAccountId_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).SetAccountId(ctx, req.(*core.SetAccountIdContract)) @@ -2315,7 +2663,7 @@ func _Wallet_UpdateAccount2_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/UpdateAccount2", + FullMethod: Wallet_UpdateAccount2_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).UpdateAccount2(ctx, req.(*core.AccountUpdateContract)) @@ -2333,7 +2681,7 @@ func _Wallet_VoteWitnessAccount_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/VoteWitnessAccount", + FullMethod: Wallet_VoteWitnessAccount_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).VoteWitnessAccount(ctx, req.(*core.VoteWitnessContract)) @@ -2351,7 +2699,7 @@ func _Wallet_UpdateSetting_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/UpdateSetting", + FullMethod: Wallet_UpdateSetting_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).UpdateSetting(ctx, req.(*core.UpdateSettingContract)) @@ -2369,7 +2717,7 @@ func _Wallet_UpdateEnergyLimit_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/UpdateEnergyLimit", + FullMethod: Wallet_UpdateEnergyLimit_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).UpdateEnergyLimit(ctx, req.(*core.UpdateEnergyLimitContract)) @@ -2387,7 +2735,7 @@ func _Wallet_VoteWitnessAccount2_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/VoteWitnessAccount2", + FullMethod: Wallet_VoteWitnessAccount2_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).VoteWitnessAccount2(ctx, req.(*core.VoteWitnessContract)) @@ -2405,7 +2753,7 @@ func _Wallet_CreateAssetIssue_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/CreateAssetIssue", + FullMethod: Wallet_CreateAssetIssue_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).CreateAssetIssue(ctx, req.(*core.AssetIssueContract)) @@ -2423,7 +2771,7 @@ func _Wallet_CreateAssetIssue2_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/CreateAssetIssue2", + FullMethod: Wallet_CreateAssetIssue2_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).CreateAssetIssue2(ctx, req.(*core.AssetIssueContract)) @@ -2441,7 +2789,7 @@ func _Wallet_UpdateWitness_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/UpdateWitness", + FullMethod: Wallet_UpdateWitness_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).UpdateWitness(ctx, req.(*core.WitnessUpdateContract)) @@ -2459,7 +2807,7 @@ func _Wallet_UpdateWitness2_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/UpdateWitness2", + FullMethod: Wallet_UpdateWitness2_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).UpdateWitness2(ctx, req.(*core.WitnessUpdateContract)) @@ -2477,7 +2825,7 @@ func _Wallet_CreateAccount_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/CreateAccount", + FullMethod: Wallet_CreateAccount_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).CreateAccount(ctx, req.(*core.AccountCreateContract)) @@ -2495,7 +2843,7 @@ func _Wallet_CreateAccount2_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/CreateAccount2", + FullMethod: Wallet_CreateAccount2_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).CreateAccount2(ctx, req.(*core.AccountCreateContract)) @@ -2513,7 +2861,7 @@ func _Wallet_CreateWitness_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/CreateWitness", + FullMethod: Wallet_CreateWitness_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).CreateWitness(ctx, req.(*core.WitnessCreateContract)) @@ -2531,7 +2879,7 @@ func _Wallet_CreateWitness2_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/CreateWitness2", + FullMethod: Wallet_CreateWitness2_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).CreateWitness2(ctx, req.(*core.WitnessCreateContract)) @@ -2549,7 +2897,7 @@ func _Wallet_TransferAsset_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/TransferAsset", + FullMethod: Wallet_TransferAsset_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).TransferAsset(ctx, req.(*core.TransferAssetContract)) @@ -2567,7 +2915,7 @@ func _Wallet_TransferAsset2_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/TransferAsset2", + FullMethod: Wallet_TransferAsset2_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).TransferAsset2(ctx, req.(*core.TransferAssetContract)) @@ -2585,7 +2933,7 @@ func _Wallet_ParticipateAssetIssue_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/ParticipateAssetIssue", + FullMethod: Wallet_ParticipateAssetIssue_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).ParticipateAssetIssue(ctx, req.(*core.ParticipateAssetIssueContract)) @@ -2603,7 +2951,7 @@ func _Wallet_ParticipateAssetIssue2_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/ParticipateAssetIssue2", + FullMethod: Wallet_ParticipateAssetIssue2_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).ParticipateAssetIssue2(ctx, req.(*core.ParticipateAssetIssueContract)) @@ -2621,7 +2969,7 @@ func _Wallet_FreezeBalance_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/FreezeBalance", + FullMethod: Wallet_FreezeBalance_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).FreezeBalance(ctx, req.(*core.FreezeBalanceContract)) @@ -2639,7 +2987,7 @@ func _Wallet_FreezeBalance2_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/FreezeBalance2", + FullMethod: Wallet_FreezeBalance2_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).FreezeBalance2(ctx, req.(*core.FreezeBalanceContract)) @@ -2657,7 +3005,7 @@ func _Wallet_FreezeBalanceV2_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/FreezeBalanceV2", + FullMethod: Wallet_FreezeBalanceV2_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).FreezeBalanceV2(ctx, req.(*core.FreezeBalanceV2Contract)) @@ -2675,7 +3023,7 @@ func _Wallet_UnfreezeBalance_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/UnfreezeBalance", + FullMethod: Wallet_UnfreezeBalance_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).UnfreezeBalance(ctx, req.(*core.UnfreezeBalanceContract)) @@ -2693,7 +3041,7 @@ func _Wallet_UnfreezeBalance2_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/UnfreezeBalance2", + FullMethod: Wallet_UnfreezeBalance2_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).UnfreezeBalance2(ctx, req.(*core.UnfreezeBalanceContract)) @@ -2711,7 +3059,7 @@ func _Wallet_UnfreezeBalanceV2_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/UnfreezeBalanceV2", + FullMethod: Wallet_UnfreezeBalanceV2_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).UnfreezeBalanceV2(ctx, req.(*core.UnfreezeBalanceV2Contract)) @@ -2729,7 +3077,7 @@ func _Wallet_UnfreezeAsset_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/UnfreezeAsset", + FullMethod: Wallet_UnfreezeAsset_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).UnfreezeAsset(ctx, req.(*core.UnfreezeAssetContract)) @@ -2747,7 +3095,7 @@ func _Wallet_UnfreezeAsset2_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/UnfreezeAsset2", + FullMethod: Wallet_UnfreezeAsset2_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).UnfreezeAsset2(ctx, req.(*core.UnfreezeAssetContract)) @@ -2765,7 +3113,7 @@ func _Wallet_WithdrawBalance_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/WithdrawBalance", + FullMethod: Wallet_WithdrawBalance_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).WithdrawBalance(ctx, req.(*core.WithdrawBalanceContract)) @@ -2783,7 +3131,7 @@ func _Wallet_WithdrawBalance2_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/WithdrawBalance2", + FullMethod: Wallet_WithdrawBalance2_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).WithdrawBalance2(ctx, req.(*core.WithdrawBalanceContract)) @@ -2801,7 +3149,7 @@ func _Wallet_WithdrawExpireUnfreeze_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/WithdrawExpireUnfreeze", + FullMethod: Wallet_WithdrawExpireUnfreeze_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).WithdrawExpireUnfreeze(ctx, req.(*core.WithdrawExpireUnfreezeContract)) @@ -2819,7 +3167,7 @@ func _Wallet_DelegateResource_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/DelegateResource", + FullMethod: Wallet_DelegateResource_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).DelegateResource(ctx, req.(*core.DelegateResourceContract)) @@ -2837,7 +3185,7 @@ func _Wallet_UnDelegateResource_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/UnDelegateResource", + FullMethod: Wallet_UnDelegateResource_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).UnDelegateResource(ctx, req.(*core.UnDelegateResourceContract)) @@ -2855,7 +3203,7 @@ func _Wallet_CancelAllUnfreezeV2_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/CancelAllUnfreezeV2", + FullMethod: Wallet_CancelAllUnfreezeV2_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).CancelAllUnfreezeV2(ctx, req.(*core.CancelAllUnfreezeV2Contract)) @@ -2873,7 +3221,7 @@ func _Wallet_UpdateAsset_Handler(srv interface{}, ctx context.Context, dec func( } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/UpdateAsset", + FullMethod: Wallet_UpdateAsset_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).UpdateAsset(ctx, req.(*core.UpdateAssetContract)) @@ -2891,7 +3239,7 @@ func _Wallet_UpdateAsset2_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/UpdateAsset2", + FullMethod: Wallet_UpdateAsset2_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).UpdateAsset2(ctx, req.(*core.UpdateAssetContract)) @@ -2909,7 +3257,7 @@ func _Wallet_ProposalCreate_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/ProposalCreate", + FullMethod: Wallet_ProposalCreate_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).ProposalCreate(ctx, req.(*core.ProposalCreateContract)) @@ -2927,7 +3275,7 @@ func _Wallet_ProposalApprove_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/ProposalApprove", + FullMethod: Wallet_ProposalApprove_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).ProposalApprove(ctx, req.(*core.ProposalApproveContract)) @@ -2945,7 +3293,7 @@ func _Wallet_ProposalDelete_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/ProposalDelete", + FullMethod: Wallet_ProposalDelete_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).ProposalDelete(ctx, req.(*core.ProposalDeleteContract)) @@ -2963,7 +3311,7 @@ func _Wallet_BuyStorage_Handler(srv interface{}, ctx context.Context, dec func(i } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/BuyStorage", + FullMethod: Wallet_BuyStorage_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).BuyStorage(ctx, req.(*core.BuyStorageContract)) @@ -2981,7 +3329,7 @@ func _Wallet_BuyStorageBytes_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/BuyStorageBytes", + FullMethod: Wallet_BuyStorageBytes_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).BuyStorageBytes(ctx, req.(*core.BuyStorageBytesContract)) @@ -2999,7 +3347,7 @@ func _Wallet_SellStorage_Handler(srv interface{}, ctx context.Context, dec func( } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/SellStorage", + FullMethod: Wallet_SellStorage_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).SellStorage(ctx, req.(*core.SellStorageContract)) @@ -3017,7 +3365,7 @@ func _Wallet_ExchangeCreate_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/ExchangeCreate", + FullMethod: Wallet_ExchangeCreate_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).ExchangeCreate(ctx, req.(*core.ExchangeCreateContract)) @@ -3035,7 +3383,7 @@ func _Wallet_ExchangeInject_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/ExchangeInject", + FullMethod: Wallet_ExchangeInject_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).ExchangeInject(ctx, req.(*core.ExchangeInjectContract)) @@ -3053,7 +3401,7 @@ func _Wallet_ExchangeWithdraw_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/ExchangeWithdraw", + FullMethod: Wallet_ExchangeWithdraw_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).ExchangeWithdraw(ctx, req.(*core.ExchangeWithdrawContract)) @@ -3071,7 +3419,7 @@ func _Wallet_ExchangeTransaction_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/ExchangeTransaction", + FullMethod: Wallet_ExchangeTransaction_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).ExchangeTransaction(ctx, req.(*core.ExchangeTransactionContract)) @@ -3089,7 +3437,7 @@ func _Wallet_MarketSellAsset_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/MarketSellAsset", + FullMethod: Wallet_MarketSellAsset_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).MarketSellAsset(ctx, req.(*core.MarketSellAssetContract)) @@ -3107,7 +3455,7 @@ func _Wallet_MarketCancelOrder_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/MarketCancelOrder", + FullMethod: Wallet_MarketCancelOrder_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).MarketCancelOrder(ctx, req.(*core.MarketCancelOrderContract)) @@ -3125,7 +3473,7 @@ func _Wallet_GetMarketOrderById_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetMarketOrderById", + FullMethod: Wallet_GetMarketOrderById_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetMarketOrderById(ctx, req.(*BytesMessage)) @@ -3143,7 +3491,7 @@ func _Wallet_GetMarketOrderByAccount_Handler(srv interface{}, ctx context.Contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetMarketOrderByAccount", + FullMethod: Wallet_GetMarketOrderByAccount_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetMarketOrderByAccount(ctx, req.(*BytesMessage)) @@ -3161,7 +3509,7 @@ func _Wallet_GetMarketPriceByPair_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetMarketPriceByPair", + FullMethod: Wallet_GetMarketPriceByPair_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetMarketPriceByPair(ctx, req.(*core.MarketOrderPair)) @@ -3179,7 +3527,7 @@ func _Wallet_GetMarketOrderListByPair_Handler(srv interface{}, ctx context.Conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetMarketOrderListByPair", + FullMethod: Wallet_GetMarketOrderListByPair_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetMarketOrderListByPair(ctx, req.(*core.MarketOrderPair)) @@ -3197,7 +3545,7 @@ func _Wallet_GetMarketPairList_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetMarketPairList", + FullMethod: Wallet_GetMarketPairList_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetMarketPairList(ctx, req.(*EmptyMessage)) @@ -3215,7 +3563,7 @@ func _Wallet_ListNodes_Handler(srv interface{}, ctx context.Context, dec func(in } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/ListNodes", + FullMethod: Wallet_ListNodes_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).ListNodes(ctx, req.(*EmptyMessage)) @@ -3233,7 +3581,7 @@ func _Wallet_GetAssetIssueByAccount_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetAssetIssueByAccount", + FullMethod: Wallet_GetAssetIssueByAccount_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetAssetIssueByAccount(ctx, req.(*core.Account)) @@ -3251,7 +3599,7 @@ func _Wallet_GetAccountNet_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetAccountNet", + FullMethod: Wallet_GetAccountNet_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetAccountNet(ctx, req.(*core.Account)) @@ -3269,7 +3617,7 @@ func _Wallet_GetAccountResource_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetAccountResource", + FullMethod: Wallet_GetAccountResource_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetAccountResource(ctx, req.(*core.Account)) @@ -3287,7 +3635,7 @@ func _Wallet_GetAssetIssueByName_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetAssetIssueByName", + FullMethod: Wallet_GetAssetIssueByName_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetAssetIssueByName(ctx, req.(*BytesMessage)) @@ -3305,7 +3653,7 @@ func _Wallet_GetAssetIssueListByName_Handler(srv interface{}, ctx context.Contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetAssetIssueListByName", + FullMethod: Wallet_GetAssetIssueListByName_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetAssetIssueListByName(ctx, req.(*BytesMessage)) @@ -3323,7 +3671,7 @@ func _Wallet_GetAssetIssueById_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetAssetIssueById", + FullMethod: Wallet_GetAssetIssueById_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetAssetIssueById(ctx, req.(*BytesMessage)) @@ -3341,7 +3689,7 @@ func _Wallet_GetNowBlock_Handler(srv interface{}, ctx context.Context, dec func( } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetNowBlock", + FullMethod: Wallet_GetNowBlock_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetNowBlock(ctx, req.(*EmptyMessage)) @@ -3359,7 +3707,7 @@ func _Wallet_GetNowBlock2_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetNowBlock2", + FullMethod: Wallet_GetNowBlock2_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetNowBlock2(ctx, req.(*EmptyMessage)) @@ -3377,7 +3725,7 @@ func _Wallet_GetBlockByNum_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetBlockByNum", + FullMethod: Wallet_GetBlockByNum_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetBlockByNum(ctx, req.(*NumberMessage)) @@ -3395,7 +3743,7 @@ func _Wallet_GetBlockByNum2_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetBlockByNum2", + FullMethod: Wallet_GetBlockByNum2_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetBlockByNum2(ctx, req.(*NumberMessage)) @@ -3413,7 +3761,7 @@ func _Wallet_GetTransactionCountByBlockNum_Handler(srv interface{}, ctx context. } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetTransactionCountByBlockNum", + FullMethod: Wallet_GetTransactionCountByBlockNum_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetTransactionCountByBlockNum(ctx, req.(*NumberMessage)) @@ -3431,7 +3779,7 @@ func _Wallet_GetBlockById_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetBlockById", + FullMethod: Wallet_GetBlockById_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetBlockById(ctx, req.(*BytesMessage)) @@ -3449,7 +3797,7 @@ func _Wallet_GetBlockByLimitNext_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetBlockByLimitNext", + FullMethod: Wallet_GetBlockByLimitNext_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetBlockByLimitNext(ctx, req.(*BlockLimit)) @@ -3467,7 +3815,7 @@ func _Wallet_GetBlockByLimitNext2_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetBlockByLimitNext2", + FullMethod: Wallet_GetBlockByLimitNext2_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetBlockByLimitNext2(ctx, req.(*BlockLimit)) @@ -3485,7 +3833,7 @@ func _Wallet_GetBlockByLatestNum_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetBlockByLatestNum", + FullMethod: Wallet_GetBlockByLatestNum_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetBlockByLatestNum(ctx, req.(*NumberMessage)) @@ -3503,7 +3851,7 @@ func _Wallet_GetBlockByLatestNum2_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetBlockByLatestNum2", + FullMethod: Wallet_GetBlockByLatestNum2_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetBlockByLatestNum2(ctx, req.(*NumberMessage)) @@ -3521,7 +3869,7 @@ func _Wallet_GetTransactionById_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetTransactionById", + FullMethod: Wallet_GetTransactionById_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetTransactionById(ctx, req.(*BytesMessage)) @@ -3539,7 +3887,7 @@ func _Wallet_DeployContract_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/DeployContract", + FullMethod: Wallet_DeployContract_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).DeployContract(ctx, req.(*core.CreateSmartContract)) @@ -3557,7 +3905,7 @@ func _Wallet_GetContract_Handler(srv interface{}, ctx context.Context, dec func( } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetContract", + FullMethod: Wallet_GetContract_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetContract(ctx, req.(*BytesMessage)) @@ -3575,7 +3923,7 @@ func _Wallet_GetContractInfo_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetContractInfo", + FullMethod: Wallet_GetContractInfo_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetContractInfo(ctx, req.(*BytesMessage)) @@ -3593,7 +3941,7 @@ func _Wallet_TriggerContract_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/TriggerContract", + FullMethod: Wallet_TriggerContract_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).TriggerContract(ctx, req.(*core.TriggerSmartContract)) @@ -3611,7 +3959,7 @@ func _Wallet_TriggerConstantContract_Handler(srv interface{}, ctx context.Contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/TriggerConstantContract", + FullMethod: Wallet_TriggerConstantContract_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).TriggerConstantContract(ctx, req.(*core.TriggerSmartContract)) @@ -3629,7 +3977,7 @@ func _Wallet_EstimateEnergy_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/EstimateEnergy", + FullMethod: Wallet_EstimateEnergy_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).EstimateEnergy(ctx, req.(*core.TriggerSmartContract)) @@ -3647,7 +3995,7 @@ func _Wallet_ClearContractABI_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/ClearContractABI", + FullMethod: Wallet_ClearContractABI_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).ClearContractABI(ctx, req.(*core.ClearABIContract)) @@ -3665,7 +4013,7 @@ func _Wallet_ListWitnesses_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/ListWitnesses", + FullMethod: Wallet_ListWitnesses_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).ListWitnesses(ctx, req.(*EmptyMessage)) @@ -3683,7 +4031,7 @@ func _Wallet_GetDelegatedResource_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetDelegatedResource", + FullMethod: Wallet_GetDelegatedResource_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetDelegatedResource(ctx, req.(*DelegatedResourceMessage)) @@ -3701,7 +4049,7 @@ func _Wallet_GetDelegatedResourceV2_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetDelegatedResourceV2", + FullMethod: Wallet_GetDelegatedResourceV2_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetDelegatedResourceV2(ctx, req.(*DelegatedResourceMessage)) @@ -3719,7 +4067,7 @@ func _Wallet_GetDelegatedResourceAccountIndex_Handler(srv interface{}, ctx conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetDelegatedResourceAccountIndex", + FullMethod: Wallet_GetDelegatedResourceAccountIndex_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetDelegatedResourceAccountIndex(ctx, req.(*BytesMessage)) @@ -3737,7 +4085,7 @@ func _Wallet_GetDelegatedResourceAccountIndexV2_Handler(srv interface{}, ctx con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetDelegatedResourceAccountIndexV2", + FullMethod: Wallet_GetDelegatedResourceAccountIndexV2_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetDelegatedResourceAccountIndexV2(ctx, req.(*BytesMessage)) @@ -3755,7 +4103,7 @@ func _Wallet_GetCanDelegatedMaxSize_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetCanDelegatedMaxSize", + FullMethod: Wallet_GetCanDelegatedMaxSize_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetCanDelegatedMaxSize(ctx, req.(*CanDelegatedMaxSizeRequestMessage)) @@ -3773,7 +4121,7 @@ func _Wallet_GetAvailableUnfreezeCount_Handler(srv interface{}, ctx context.Cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetAvailableUnfreezeCount", + FullMethod: Wallet_GetAvailableUnfreezeCount_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetAvailableUnfreezeCount(ctx, req.(*GetAvailableUnfreezeCountRequestMessage)) @@ -3791,7 +4139,7 @@ func _Wallet_GetCanWithdrawUnfreezeAmount_Handler(srv interface{}, ctx context.C } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetCanWithdrawUnfreezeAmount", + FullMethod: Wallet_GetCanWithdrawUnfreezeAmount_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetCanWithdrawUnfreezeAmount(ctx, req.(*CanWithdrawUnfreezeAmountRequestMessage)) @@ -3809,7 +4157,7 @@ func _Wallet_ListProposals_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/ListProposals", + FullMethod: Wallet_ListProposals_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).ListProposals(ctx, req.(*EmptyMessage)) @@ -3827,7 +4175,7 @@ func _Wallet_GetPaginatedProposalList_Handler(srv interface{}, ctx context.Conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetPaginatedProposalList", + FullMethod: Wallet_GetPaginatedProposalList_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetPaginatedProposalList(ctx, req.(*PaginatedMessage)) @@ -3845,7 +4193,7 @@ func _Wallet_GetProposalById_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetProposalById", + FullMethod: Wallet_GetProposalById_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetProposalById(ctx, req.(*BytesMessage)) @@ -3863,7 +4211,7 @@ func _Wallet_ListExchanges_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/ListExchanges", + FullMethod: Wallet_ListExchanges_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).ListExchanges(ctx, req.(*EmptyMessage)) @@ -3881,7 +4229,7 @@ func _Wallet_GetPaginatedExchangeList_Handler(srv interface{}, ctx context.Conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetPaginatedExchangeList", + FullMethod: Wallet_GetPaginatedExchangeList_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetPaginatedExchangeList(ctx, req.(*PaginatedMessage)) @@ -3899,7 +4247,7 @@ func _Wallet_GetExchangeById_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetExchangeById", + FullMethod: Wallet_GetExchangeById_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetExchangeById(ctx, req.(*BytesMessage)) @@ -3917,7 +4265,7 @@ func _Wallet_GetChainParameters_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetChainParameters", + FullMethod: Wallet_GetChainParameters_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetChainParameters(ctx, req.(*EmptyMessage)) @@ -3935,7 +4283,7 @@ func _Wallet_GetAssetIssueList_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetAssetIssueList", + FullMethod: Wallet_GetAssetIssueList_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetAssetIssueList(ctx, req.(*EmptyMessage)) @@ -3953,7 +4301,7 @@ func _Wallet_GetPaginatedAssetIssueList_Handler(srv interface{}, ctx context.Con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetPaginatedAssetIssueList", + FullMethod: Wallet_GetPaginatedAssetIssueList_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetPaginatedAssetIssueList(ctx, req.(*PaginatedMessage)) @@ -3971,7 +4319,7 @@ func _Wallet_TotalTransaction_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/TotalTransaction", + FullMethod: Wallet_TotalTransaction_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).TotalTransaction(ctx, req.(*EmptyMessage)) @@ -3989,7 +4337,7 @@ func _Wallet_GetNextMaintenanceTime_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetNextMaintenanceTime", + FullMethod: Wallet_GetNextMaintenanceTime_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetNextMaintenanceTime(ctx, req.(*EmptyMessage)) @@ -4007,7 +4355,7 @@ func _Wallet_GetTransactionInfoById_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetTransactionInfoById", + FullMethod: Wallet_GetTransactionInfoById_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetTransactionInfoById(ctx, req.(*BytesMessage)) @@ -4025,7 +4373,7 @@ func _Wallet_AccountPermissionUpdate_Handler(srv interface{}, ctx context.Contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/AccountPermissionUpdate", + FullMethod: Wallet_AccountPermissionUpdate_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).AccountPermissionUpdate(ctx, req.(*core.AccountPermissionUpdateContract)) @@ -4043,7 +4391,7 @@ func _Wallet_GetTransactionSignWeight_Handler(srv interface{}, ctx context.Conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetTransactionSignWeight", + FullMethod: Wallet_GetTransactionSignWeight_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetTransactionSignWeight(ctx, req.(*core.Transaction)) @@ -4061,7 +4409,7 @@ func _Wallet_GetTransactionApprovedList_Handler(srv interface{}, ctx context.Con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetTransactionApprovedList", + FullMethod: Wallet_GetTransactionApprovedList_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetTransactionApprovedList(ctx, req.(*core.Transaction)) @@ -4079,7 +4427,7 @@ func _Wallet_GetNodeInfo_Handler(srv interface{}, ctx context.Context, dec func( } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetNodeInfo", + FullMethod: Wallet_GetNodeInfo_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetNodeInfo(ctx, req.(*EmptyMessage)) @@ -4097,7 +4445,7 @@ func _Wallet_GetRewardInfo_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetRewardInfo", + FullMethod: Wallet_GetRewardInfo_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetRewardInfo(ctx, req.(*BytesMessage)) @@ -4115,7 +4463,7 @@ func _Wallet_GetBrokerageInfo_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetBrokerageInfo", + FullMethod: Wallet_GetBrokerageInfo_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetBrokerageInfo(ctx, req.(*BytesMessage)) @@ -4133,7 +4481,7 @@ func _Wallet_UpdateBrokerage_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/UpdateBrokerage", + FullMethod: Wallet_UpdateBrokerage_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).UpdateBrokerage(ctx, req.(*core.UpdateBrokerageContract)) @@ -4151,7 +4499,7 @@ func _Wallet_CreateShieldedTransaction_Handler(srv interface{}, ctx context.Cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/CreateShieldedTransaction", + FullMethod: Wallet_CreateShieldedTransaction_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).CreateShieldedTransaction(ctx, req.(*PrivateParameters)) @@ -4169,7 +4517,7 @@ func _Wallet_GetMerkleTreeVoucherInfo_Handler(srv interface{}, ctx context.Conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetMerkleTreeVoucherInfo", + FullMethod: Wallet_GetMerkleTreeVoucherInfo_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetMerkleTreeVoucherInfo(ctx, req.(*core.OutputPointInfo)) @@ -4187,7 +4535,7 @@ func _Wallet_ScanNoteByIvk_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/ScanNoteByIvk", + FullMethod: Wallet_ScanNoteByIvk_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).ScanNoteByIvk(ctx, req.(*IvkDecryptParameters)) @@ -4205,7 +4553,7 @@ func _Wallet_ScanAndMarkNoteByIvk_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/ScanAndMarkNoteByIvk", + FullMethod: Wallet_ScanAndMarkNoteByIvk_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).ScanAndMarkNoteByIvk(ctx, req.(*IvkDecryptAndMarkParameters)) @@ -4223,7 +4571,7 @@ func _Wallet_ScanNoteByOvk_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/ScanNoteByOvk", + FullMethod: Wallet_ScanNoteByOvk_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).ScanNoteByOvk(ctx, req.(*OvkDecryptParameters)) @@ -4241,7 +4589,7 @@ func _Wallet_GetSpendingKey_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetSpendingKey", + FullMethod: Wallet_GetSpendingKey_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetSpendingKey(ctx, req.(*EmptyMessage)) @@ -4259,7 +4607,7 @@ func _Wallet_GetExpandedSpendingKey_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetExpandedSpendingKey", + FullMethod: Wallet_GetExpandedSpendingKey_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetExpandedSpendingKey(ctx, req.(*BytesMessage)) @@ -4277,7 +4625,7 @@ func _Wallet_GetAkFromAsk_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetAkFromAsk", + FullMethod: Wallet_GetAkFromAsk_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetAkFromAsk(ctx, req.(*BytesMessage)) @@ -4295,7 +4643,7 @@ func _Wallet_GetNkFromNsk_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetNkFromNsk", + FullMethod: Wallet_GetNkFromNsk_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetNkFromNsk(ctx, req.(*BytesMessage)) @@ -4313,7 +4661,7 @@ func _Wallet_GetIncomingViewingKey_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetIncomingViewingKey", + FullMethod: Wallet_GetIncomingViewingKey_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetIncomingViewingKey(ctx, req.(*ViewingKeyMessage)) @@ -4331,7 +4679,7 @@ func _Wallet_GetDiversifier_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetDiversifier", + FullMethod: Wallet_GetDiversifier_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetDiversifier(ctx, req.(*EmptyMessage)) @@ -4349,7 +4697,7 @@ func _Wallet_GetNewShieldedAddress_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetNewShieldedAddress", + FullMethod: Wallet_GetNewShieldedAddress_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetNewShieldedAddress(ctx, req.(*EmptyMessage)) @@ -4367,7 +4715,7 @@ func _Wallet_GetZenPaymentAddress_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetZenPaymentAddress", + FullMethod: Wallet_GetZenPaymentAddress_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetZenPaymentAddress(ctx, req.(*IncomingViewingKeyDiversifierMessage)) @@ -4385,7 +4733,7 @@ func _Wallet_GetRcm_Handler(srv interface{}, ctx context.Context, dec func(inter } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetRcm", + FullMethod: Wallet_GetRcm_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetRcm(ctx, req.(*EmptyMessage)) @@ -4403,7 +4751,7 @@ func _Wallet_IsSpend_Handler(srv interface{}, ctx context.Context, dec func(inte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/IsSpend", + FullMethod: Wallet_IsSpend_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).IsSpend(ctx, req.(*NoteParameters)) @@ -4421,7 +4769,7 @@ func _Wallet_CreateShieldedTransactionWithoutSpendAuthSig_Handler(srv interface{ } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/CreateShieldedTransactionWithoutSpendAuthSig", + FullMethod: Wallet_CreateShieldedTransactionWithoutSpendAuthSig_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).CreateShieldedTransactionWithoutSpendAuthSig(ctx, req.(*PrivateParametersWithoutAsk)) @@ -4439,7 +4787,7 @@ func _Wallet_GetShieldTransactionHash_Handler(srv interface{}, ctx context.Conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetShieldTransactionHash", + FullMethod: Wallet_GetShieldTransactionHash_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetShieldTransactionHash(ctx, req.(*core.Transaction)) @@ -4457,7 +4805,7 @@ func _Wallet_CreateSpendAuthSig_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/CreateSpendAuthSig", + FullMethod: Wallet_CreateSpendAuthSig_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).CreateSpendAuthSig(ctx, req.(*SpendAuthSigParameters)) @@ -4475,7 +4823,7 @@ func _Wallet_CreateShieldNullifier_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/CreateShieldNullifier", + FullMethod: Wallet_CreateShieldNullifier_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).CreateShieldNullifier(ctx, req.(*NfParameters)) @@ -4493,7 +4841,7 @@ func _Wallet_CreateShieldedContractParameters_Handler(srv interface{}, ctx conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/CreateShieldedContractParameters", + FullMethod: Wallet_CreateShieldedContractParameters_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).CreateShieldedContractParameters(ctx, req.(*PrivateShieldedTRC20Parameters)) @@ -4511,7 +4859,7 @@ func _Wallet_CreateShieldedContractParametersWithoutAsk_Handler(srv interface{}, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/CreateShieldedContractParametersWithoutAsk", + FullMethod: Wallet_CreateShieldedContractParametersWithoutAsk_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).CreateShieldedContractParametersWithoutAsk(ctx, req.(*PrivateShieldedTRC20ParametersWithoutAsk)) @@ -4529,7 +4877,7 @@ func _Wallet_ScanShieldedTRC20NotesByIvk_Handler(srv interface{}, ctx context.Co } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/ScanShieldedTRC20NotesByIvk", + FullMethod: Wallet_ScanShieldedTRC20NotesByIvk_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).ScanShieldedTRC20NotesByIvk(ctx, req.(*IvkDecryptTRC20Parameters)) @@ -4547,7 +4895,7 @@ func _Wallet_ScanShieldedTRC20NotesByOvk_Handler(srv interface{}, ctx context.Co } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/ScanShieldedTRC20NotesByOvk", + FullMethod: Wallet_ScanShieldedTRC20NotesByOvk_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).ScanShieldedTRC20NotesByOvk(ctx, req.(*OvkDecryptTRC20Parameters)) @@ -4565,7 +4913,7 @@ func _Wallet_IsShieldedTRC20ContractNoteSpent_Handler(srv interface{}, ctx conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/IsShieldedTRC20ContractNoteSpent", + FullMethod: Wallet_IsShieldedTRC20ContractNoteSpent_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).IsShieldedTRC20ContractNoteSpent(ctx, req.(*NfTRC20Parameters)) @@ -4583,7 +4931,7 @@ func _Wallet_GetTriggerInputForShieldedTRC20Contract_Handler(srv interface{}, ct } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetTriggerInputForShieldedTRC20Contract", + FullMethod: Wallet_GetTriggerInputForShieldedTRC20Contract_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetTriggerInputForShieldedTRC20Contract(ctx, req.(*ShieldedTRC20TriggerContractParameters)) @@ -4601,7 +4949,7 @@ func _Wallet_CreateCommonTransaction_Handler(srv interface{}, ctx context.Contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/CreateCommonTransaction", + FullMethod: Wallet_CreateCommonTransaction_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).CreateCommonTransaction(ctx, req.(*core.Transaction)) @@ -4619,7 +4967,7 @@ func _Wallet_GetTransactionInfoByBlockNum_Handler(srv interface{}, ctx context.C } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetTransactionInfoByBlockNum", + FullMethod: Wallet_GetTransactionInfoByBlockNum_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetTransactionInfoByBlockNum(ctx, req.(*NumberMessage)) @@ -4637,7 +4985,7 @@ func _Wallet_GetBurnTrx_Handler(srv interface{}, ctx context.Context, dec func(i } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetBurnTrx", + FullMethod: Wallet_GetBurnTrx_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetBurnTrx(ctx, req.(*EmptyMessage)) @@ -4655,7 +5003,7 @@ func _Wallet_GetTransactionFromPending_Handler(srv interface{}, ctx context.Cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetTransactionFromPending", + FullMethod: Wallet_GetTransactionFromPending_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetTransactionFromPending(ctx, req.(*BytesMessage)) @@ -4673,7 +5021,7 @@ func _Wallet_GetTransactionListFromPending_Handler(srv interface{}, ctx context. } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetTransactionListFromPending", + FullMethod: Wallet_GetTransactionListFromPending_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetTransactionListFromPending(ctx, req.(*EmptyMessage)) @@ -4691,7 +5039,7 @@ func _Wallet_GetPendingSize_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetPendingSize", + FullMethod: Wallet_GetPendingSize_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetPendingSize(ctx, req.(*EmptyMessage)) @@ -4709,7 +5057,7 @@ func _Wallet_GetBlock_Handler(srv interface{}, ctx context.Context, dec func(int } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Wallet/GetBlock", + FullMethod: Wallet_GetBlock_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletServer).GetBlock(ctx, req.(*BlockReq)) @@ -4717,6 +5065,60 @@ func _Wallet_GetBlock_Handler(srv interface{}, ctx context.Context, dec func(int return interceptor(ctx, in, info, handler) } +func _Wallet_GetBandwidthPrices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetBandwidthPrices(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Wallet_GetBandwidthPrices_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetBandwidthPrices(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetEnergyPrices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetEnergyPrices(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Wallet_GetEnergyPrices_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetEnergyPrices(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetMemoFee_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetMemoFee(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Wallet_GetMemoFee_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetMemoFee(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + // Wallet_ServiceDesc is the grpc.ServiceDesc for Wallet service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) @@ -5296,11 +5698,72 @@ var Wallet_ServiceDesc = grpc.ServiceDesc{ MethodName: "GetBlock", Handler: _Wallet_GetBlock_Handler, }, + { + MethodName: "GetBandwidthPrices", + Handler: _Wallet_GetBandwidthPrices_Handler, + }, + { + MethodName: "GetEnergyPrices", + Handler: _Wallet_GetEnergyPrices_Handler, + }, + { + MethodName: "GetMemoFee", + Handler: _Wallet_GetMemoFee_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/api.proto", } +const ( + WalletSolidity_GetAccount_FullMethodName = "/protocol.WalletSolidity/GetAccount" + WalletSolidity_GetAccountById_FullMethodName = "/protocol.WalletSolidity/GetAccountById" + WalletSolidity_ListWitnesses_FullMethodName = "/protocol.WalletSolidity/ListWitnesses" + WalletSolidity_GetAssetIssueList_FullMethodName = "/protocol.WalletSolidity/GetAssetIssueList" + WalletSolidity_GetPaginatedAssetIssueList_FullMethodName = "/protocol.WalletSolidity/GetPaginatedAssetIssueList" + WalletSolidity_GetAssetIssueByName_FullMethodName = "/protocol.WalletSolidity/GetAssetIssueByName" + WalletSolidity_GetAssetIssueListByName_FullMethodName = "/protocol.WalletSolidity/GetAssetIssueListByName" + WalletSolidity_GetAssetIssueById_FullMethodName = "/protocol.WalletSolidity/GetAssetIssueById" + WalletSolidity_GetNowBlock_FullMethodName = "/protocol.WalletSolidity/GetNowBlock" + WalletSolidity_GetNowBlock2_FullMethodName = "/protocol.WalletSolidity/GetNowBlock2" + WalletSolidity_GetBlockByNum_FullMethodName = "/protocol.WalletSolidity/GetBlockByNum" + WalletSolidity_GetBlockByNum2_FullMethodName = "/protocol.WalletSolidity/GetBlockByNum2" + WalletSolidity_GetTransactionCountByBlockNum_FullMethodName = "/protocol.WalletSolidity/GetTransactionCountByBlockNum" + WalletSolidity_GetDelegatedResource_FullMethodName = "/protocol.WalletSolidity/GetDelegatedResource" + WalletSolidity_GetDelegatedResourceV2_FullMethodName = "/protocol.WalletSolidity/GetDelegatedResourceV2" + WalletSolidity_GetDelegatedResourceAccountIndex_FullMethodName = "/protocol.WalletSolidity/GetDelegatedResourceAccountIndex" + WalletSolidity_GetDelegatedResourceAccountIndexV2_FullMethodName = "/protocol.WalletSolidity/GetDelegatedResourceAccountIndexV2" + WalletSolidity_GetCanDelegatedMaxSize_FullMethodName = "/protocol.WalletSolidity/GetCanDelegatedMaxSize" + WalletSolidity_GetAvailableUnfreezeCount_FullMethodName = "/protocol.WalletSolidity/GetAvailableUnfreezeCount" + WalletSolidity_GetCanWithdrawUnfreezeAmount_FullMethodName = "/protocol.WalletSolidity/GetCanWithdrawUnfreezeAmount" + WalletSolidity_GetExchangeById_FullMethodName = "/protocol.WalletSolidity/GetExchangeById" + WalletSolidity_ListExchanges_FullMethodName = "/protocol.WalletSolidity/ListExchanges" + WalletSolidity_GetTransactionById_FullMethodName = "/protocol.WalletSolidity/GetTransactionById" + WalletSolidity_GetTransactionInfoById_FullMethodName = "/protocol.WalletSolidity/GetTransactionInfoById" + WalletSolidity_GetMerkleTreeVoucherInfo_FullMethodName = "/protocol.WalletSolidity/GetMerkleTreeVoucherInfo" + WalletSolidity_ScanNoteByIvk_FullMethodName = "/protocol.WalletSolidity/ScanNoteByIvk" + WalletSolidity_ScanAndMarkNoteByIvk_FullMethodName = "/protocol.WalletSolidity/ScanAndMarkNoteByIvk" + WalletSolidity_ScanNoteByOvk_FullMethodName = "/protocol.WalletSolidity/ScanNoteByOvk" + WalletSolidity_IsSpend_FullMethodName = "/protocol.WalletSolidity/IsSpend" + WalletSolidity_ScanShieldedTRC20NotesByIvk_FullMethodName = "/protocol.WalletSolidity/ScanShieldedTRC20NotesByIvk" + WalletSolidity_ScanShieldedTRC20NotesByOvk_FullMethodName = "/protocol.WalletSolidity/ScanShieldedTRC20NotesByOvk" + WalletSolidity_IsShieldedTRC20ContractNoteSpent_FullMethodName = "/protocol.WalletSolidity/IsShieldedTRC20ContractNoteSpent" + WalletSolidity_GetRewardInfo_FullMethodName = "/protocol.WalletSolidity/GetRewardInfo" + WalletSolidity_GetBrokerageInfo_FullMethodName = "/protocol.WalletSolidity/GetBrokerageInfo" + WalletSolidity_TriggerConstantContract_FullMethodName = "/protocol.WalletSolidity/TriggerConstantContract" + WalletSolidity_EstimateEnergy_FullMethodName = "/protocol.WalletSolidity/EstimateEnergy" + WalletSolidity_GetTransactionInfoByBlockNum_FullMethodName = "/protocol.WalletSolidity/GetTransactionInfoByBlockNum" + WalletSolidity_GetMarketOrderById_FullMethodName = "/protocol.WalletSolidity/GetMarketOrderById" + WalletSolidity_GetMarketOrderByAccount_FullMethodName = "/protocol.WalletSolidity/GetMarketOrderByAccount" + WalletSolidity_GetMarketPriceByPair_FullMethodName = "/protocol.WalletSolidity/GetMarketPriceByPair" + WalletSolidity_GetMarketOrderListByPair_FullMethodName = "/protocol.WalletSolidity/GetMarketOrderListByPair" + WalletSolidity_GetMarketPairList_FullMethodName = "/protocol.WalletSolidity/GetMarketPairList" + WalletSolidity_GetBurnTrx_FullMethodName = "/protocol.WalletSolidity/GetBurnTrx" + WalletSolidity_GetBlock_FullMethodName = "/protocol.WalletSolidity/GetBlock" + WalletSolidity_GetBandwidthPrices_FullMethodName = "/protocol.WalletSolidity/GetBandwidthPrices" + WalletSolidity_GetEnergyPrices_FullMethodName = "/protocol.WalletSolidity/GetEnergyPrices" +) + // WalletSolidityClient is the client API for WalletSolidity 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. @@ -5353,6 +5816,8 @@ type WalletSolidityClient interface { GetMarketPairList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.MarketOrderPairList, error) GetBurnTrx(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) GetBlock(ctx context.Context, in *BlockReq, opts ...grpc.CallOption) (*BlockExtention, error) + GetBandwidthPrices(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*PricesResponseMessage, error) + GetEnergyPrices(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*PricesResponseMessage, error) } type walletSolidityClient struct { @@ -5364,8 +5829,9 @@ func NewWalletSolidityClient(cc grpc.ClientConnInterface) WalletSolidityClient { } func (c *walletSolidityClient) GetAccount(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Account) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetAccount", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetAccount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5373,8 +5839,9 @@ func (c *walletSolidityClient) GetAccount(ctx context.Context, in *core.Account, } func (c *walletSolidityClient) GetAccountById(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Account) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetAccountById", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetAccountById_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5382,8 +5849,9 @@ func (c *walletSolidityClient) GetAccountById(ctx context.Context, in *core.Acco } func (c *walletSolidityClient) ListWitnesses(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*WitnessList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(WitnessList) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/ListWitnesses", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_ListWitnesses_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5391,8 +5859,9 @@ func (c *walletSolidityClient) ListWitnesses(ctx context.Context, in *EmptyMessa } func (c *walletSolidityClient) GetAssetIssueList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AssetIssueList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AssetIssueList) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetAssetIssueList", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetAssetIssueList_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5400,8 +5869,9 @@ func (c *walletSolidityClient) GetAssetIssueList(ctx context.Context, in *EmptyM } func (c *walletSolidityClient) GetPaginatedAssetIssueList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*AssetIssueList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AssetIssueList) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetPaginatedAssetIssueList", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetPaginatedAssetIssueList_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5409,8 +5879,9 @@ func (c *walletSolidityClient) GetPaginatedAssetIssueList(ctx context.Context, i } func (c *walletSolidityClient) GetAssetIssueByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.AssetIssueContract) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetAssetIssueByName", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetAssetIssueByName_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5418,8 +5889,9 @@ func (c *walletSolidityClient) GetAssetIssueByName(ctx context.Context, in *Byte } func (c *walletSolidityClient) GetAssetIssueListByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*AssetIssueList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AssetIssueList) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetAssetIssueListByName", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetAssetIssueListByName_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5427,8 +5899,9 @@ func (c *walletSolidityClient) GetAssetIssueListByName(ctx context.Context, in * } func (c *walletSolidityClient) GetAssetIssueById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.AssetIssueContract) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetAssetIssueById", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetAssetIssueById_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5436,8 +5909,9 @@ func (c *walletSolidityClient) GetAssetIssueById(ctx context.Context, in *BytesM } func (c *walletSolidityClient) GetNowBlock(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.Block, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Block) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetNowBlock", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetNowBlock_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5445,8 +5919,9 @@ func (c *walletSolidityClient) GetNowBlock(ctx context.Context, in *EmptyMessage } func (c *walletSolidityClient) GetNowBlock2(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BlockExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockExtention) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetNowBlock2", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetNowBlock2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5454,8 +5929,9 @@ func (c *walletSolidityClient) GetNowBlock2(ctx context.Context, in *EmptyMessag } func (c *walletSolidityClient) GetBlockByNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*core.Block, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Block) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetBlockByNum", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetBlockByNum_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5463,8 +5939,9 @@ func (c *walletSolidityClient) GetBlockByNum(ctx context.Context, in *NumberMess } func (c *walletSolidityClient) GetBlockByNum2(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockExtention) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetBlockByNum2", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetBlockByNum2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5472,8 +5949,9 @@ func (c *walletSolidityClient) GetBlockByNum2(ctx context.Context, in *NumberMes } func (c *walletSolidityClient) GetTransactionCountByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(NumberMessage) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetTransactionCountByBlockNum", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetTransactionCountByBlockNum_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5481,8 +5959,9 @@ func (c *walletSolidityClient) GetTransactionCountByBlockNum(ctx context.Context } func (c *walletSolidityClient) GetDelegatedResource(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DelegatedResourceList) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetDelegatedResource", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetDelegatedResource_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5490,8 +5969,9 @@ func (c *walletSolidityClient) GetDelegatedResource(ctx context.Context, in *Del } func (c *walletSolidityClient) GetDelegatedResourceV2(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DelegatedResourceList) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetDelegatedResourceV2", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetDelegatedResourceV2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5499,8 +5979,9 @@ func (c *walletSolidityClient) GetDelegatedResourceV2(ctx context.Context, in *D } func (c *walletSolidityClient) GetDelegatedResourceAccountIndex(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.DelegatedResourceAccountIndex) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetDelegatedResourceAccountIndex", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetDelegatedResourceAccountIndex_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5508,8 +5989,9 @@ func (c *walletSolidityClient) GetDelegatedResourceAccountIndex(ctx context.Cont } func (c *walletSolidityClient) GetDelegatedResourceAccountIndexV2(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.DelegatedResourceAccountIndex) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetDelegatedResourceAccountIndexV2", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetDelegatedResourceAccountIndexV2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5517,8 +5999,9 @@ func (c *walletSolidityClient) GetDelegatedResourceAccountIndexV2(ctx context.Co } func (c *walletSolidityClient) GetCanDelegatedMaxSize(ctx context.Context, in *CanDelegatedMaxSizeRequestMessage, opts ...grpc.CallOption) (*CanDelegatedMaxSizeResponseMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CanDelegatedMaxSizeResponseMessage) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetCanDelegatedMaxSize", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetCanDelegatedMaxSize_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5526,8 +6009,9 @@ func (c *walletSolidityClient) GetCanDelegatedMaxSize(ctx context.Context, in *C } func (c *walletSolidityClient) GetAvailableUnfreezeCount(ctx context.Context, in *GetAvailableUnfreezeCountRequestMessage, opts ...grpc.CallOption) (*GetAvailableUnfreezeCountResponseMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetAvailableUnfreezeCountResponseMessage) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetAvailableUnfreezeCount", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetAvailableUnfreezeCount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5535,8 +6019,9 @@ func (c *walletSolidityClient) GetAvailableUnfreezeCount(ctx context.Context, in } func (c *walletSolidityClient) GetCanWithdrawUnfreezeAmount(ctx context.Context, in *CanWithdrawUnfreezeAmountRequestMessage, opts ...grpc.CallOption) (*CanWithdrawUnfreezeAmountResponseMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CanWithdrawUnfreezeAmountResponseMessage) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetCanWithdrawUnfreezeAmount", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetCanWithdrawUnfreezeAmount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5544,8 +6029,9 @@ func (c *walletSolidityClient) GetCanWithdrawUnfreezeAmount(ctx context.Context, } func (c *walletSolidityClient) GetExchangeById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Exchange, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Exchange) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetExchangeById", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetExchangeById_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5553,8 +6039,9 @@ func (c *walletSolidityClient) GetExchangeById(ctx context.Context, in *BytesMes } func (c *walletSolidityClient) ListExchanges(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ExchangeList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ExchangeList) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/ListExchanges", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_ListExchanges_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5562,8 +6049,9 @@ func (c *walletSolidityClient) ListExchanges(ctx context.Context, in *EmptyMessa } func (c *walletSolidityClient) GetTransactionById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Transaction, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Transaction) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetTransactionById", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetTransactionById_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5571,8 +6059,9 @@ func (c *walletSolidityClient) GetTransactionById(ctx context.Context, in *Bytes } func (c *walletSolidityClient) GetTransactionInfoById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.TransactionInfo, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.TransactionInfo) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetTransactionInfoById", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetTransactionInfoById_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5580,8 +6069,9 @@ func (c *walletSolidityClient) GetTransactionInfoById(ctx context.Context, in *B } func (c *walletSolidityClient) GetMerkleTreeVoucherInfo(ctx context.Context, in *core.OutputPointInfo, opts ...grpc.CallOption) (*core.IncrementalMerkleVoucherInfo, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.IncrementalMerkleVoucherInfo) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetMerkleTreeVoucherInfo", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetMerkleTreeVoucherInfo_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5589,8 +6079,9 @@ func (c *walletSolidityClient) GetMerkleTreeVoucherInfo(ctx context.Context, in } func (c *walletSolidityClient) ScanNoteByIvk(ctx context.Context, in *IvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DecryptNotes) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/ScanNoteByIvk", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_ScanNoteByIvk_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5598,8 +6089,9 @@ func (c *walletSolidityClient) ScanNoteByIvk(ctx context.Context, in *IvkDecrypt } func (c *walletSolidityClient) ScanAndMarkNoteByIvk(ctx context.Context, in *IvkDecryptAndMarkParameters, opts ...grpc.CallOption) (*DecryptNotesMarked, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DecryptNotesMarked) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/ScanAndMarkNoteByIvk", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_ScanAndMarkNoteByIvk_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5607,8 +6099,9 @@ func (c *walletSolidityClient) ScanAndMarkNoteByIvk(ctx context.Context, in *Ivk } func (c *walletSolidityClient) ScanNoteByOvk(ctx context.Context, in *OvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DecryptNotes) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/ScanNoteByOvk", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_ScanNoteByOvk_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5616,8 +6109,9 @@ func (c *walletSolidityClient) ScanNoteByOvk(ctx context.Context, in *OvkDecrypt } func (c *walletSolidityClient) IsSpend(ctx context.Context, in *NoteParameters, opts ...grpc.CallOption) (*SpendResult, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(SpendResult) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/IsSpend", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_IsSpend_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5625,8 +6119,9 @@ func (c *walletSolidityClient) IsSpend(ctx context.Context, in *NoteParameters, } func (c *walletSolidityClient) ScanShieldedTRC20NotesByIvk(ctx context.Context, in *IvkDecryptTRC20Parameters, opts ...grpc.CallOption) (*DecryptNotesTRC20, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DecryptNotesTRC20) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/ScanShieldedTRC20NotesByIvk", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_ScanShieldedTRC20NotesByIvk_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5634,8 +6129,9 @@ func (c *walletSolidityClient) ScanShieldedTRC20NotesByIvk(ctx context.Context, } func (c *walletSolidityClient) ScanShieldedTRC20NotesByOvk(ctx context.Context, in *OvkDecryptTRC20Parameters, opts ...grpc.CallOption) (*DecryptNotesTRC20, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DecryptNotesTRC20) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/ScanShieldedTRC20NotesByOvk", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_ScanShieldedTRC20NotesByOvk_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5643,8 +6139,9 @@ func (c *walletSolidityClient) ScanShieldedTRC20NotesByOvk(ctx context.Context, } func (c *walletSolidityClient) IsShieldedTRC20ContractNoteSpent(ctx context.Context, in *NfTRC20Parameters, opts ...grpc.CallOption) (*NullifierResult, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(NullifierResult) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/IsShieldedTRC20ContractNoteSpent", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_IsShieldedTRC20ContractNoteSpent_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5652,8 +6149,9 @@ func (c *walletSolidityClient) IsShieldedTRC20ContractNoteSpent(ctx context.Cont } func (c *walletSolidityClient) GetRewardInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(NumberMessage) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetRewardInfo", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetRewardInfo_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5661,8 +6159,9 @@ func (c *walletSolidityClient) GetRewardInfo(ctx context.Context, in *BytesMessa } func (c *walletSolidityClient) GetBrokerageInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(NumberMessage) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetBrokerageInfo", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetBrokerageInfo_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5670,8 +6169,9 @@ func (c *walletSolidityClient) GetBrokerageInfo(ctx context.Context, in *BytesMe } func (c *walletSolidityClient) TriggerConstantContract(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionExtention) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/TriggerConstantContract", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_TriggerConstantContract_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5679,8 +6179,9 @@ func (c *walletSolidityClient) TriggerConstantContract(ctx context.Context, in * } func (c *walletSolidityClient) EstimateEnergy(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*EstimateEnergyMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(EstimateEnergyMessage) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/EstimateEnergy", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_EstimateEnergy_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5688,8 +6189,9 @@ func (c *walletSolidityClient) EstimateEnergy(ctx context.Context, in *core.Trig } func (c *walletSolidityClient) GetTransactionInfoByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*TransactionInfoList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionInfoList) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetTransactionInfoByBlockNum", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetTransactionInfoByBlockNum_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5697,8 +6199,9 @@ func (c *walletSolidityClient) GetTransactionInfoByBlockNum(ctx context.Context, } func (c *walletSolidityClient) GetMarketOrderById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.MarketOrder, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.MarketOrder) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetMarketOrderById", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetMarketOrderById_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5706,8 +6209,9 @@ func (c *walletSolidityClient) GetMarketOrderById(ctx context.Context, in *Bytes } func (c *walletSolidityClient) GetMarketOrderByAccount(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.MarketOrderList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.MarketOrderList) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetMarketOrderByAccount", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetMarketOrderByAccount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5715,8 +6219,9 @@ func (c *walletSolidityClient) GetMarketOrderByAccount(ctx context.Context, in * } func (c *walletSolidityClient) GetMarketPriceByPair(ctx context.Context, in *core.MarketOrderPair, opts ...grpc.CallOption) (*core.MarketPriceList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.MarketPriceList) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetMarketPriceByPair", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetMarketPriceByPair_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5724,8 +6229,9 @@ func (c *walletSolidityClient) GetMarketPriceByPair(ctx context.Context, in *cor } func (c *walletSolidityClient) GetMarketOrderListByPair(ctx context.Context, in *core.MarketOrderPair, opts ...grpc.CallOption) (*core.MarketOrderList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.MarketOrderList) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetMarketOrderListByPair", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetMarketOrderListByPair_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5733,8 +6239,9 @@ func (c *walletSolidityClient) GetMarketOrderListByPair(ctx context.Context, in } func (c *walletSolidityClient) GetMarketPairList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.MarketOrderPairList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.MarketOrderPairList) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetMarketPairList", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetMarketPairList_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5742,8 +6249,9 @@ func (c *walletSolidityClient) GetMarketPairList(ctx context.Context, in *EmptyM } func (c *walletSolidityClient) GetBurnTrx(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(NumberMessage) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetBurnTrx", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetBurnTrx_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5751,8 +6259,29 @@ func (c *walletSolidityClient) GetBurnTrx(ctx context.Context, in *EmptyMessage, } func (c *walletSolidityClient) GetBlock(ctx context.Context, in *BlockReq, opts ...grpc.CallOption) (*BlockExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockExtention) - err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetBlock", in, out, opts...) + err := c.cc.Invoke(ctx, WalletSolidity_GetBlock_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetBandwidthPrices(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*PricesResponseMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(PricesResponseMessage) + err := c.cc.Invoke(ctx, WalletSolidity_GetBandwidthPrices_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetEnergyPrices(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*PricesResponseMessage, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(PricesResponseMessage) + err := c.cc.Invoke(ctx, WalletSolidity_GetEnergyPrices_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -5761,7 +6290,7 @@ func (c *walletSolidityClient) GetBlock(ctx context.Context, in *BlockReq, opts // WalletSolidityServer is the server API for WalletSolidity service. // All implementations must embed UnimplementedWalletSolidityServer -// for forward compatibility +// for forward compatibility. type WalletSolidityServer interface { GetAccount(context.Context, *core.Account) (*core.Account, error) GetAccountById(context.Context, *core.Account) (*core.Account, error) @@ -5811,12 +6340,17 @@ type WalletSolidityServer interface { GetMarketPairList(context.Context, *EmptyMessage) (*core.MarketOrderPairList, error) GetBurnTrx(context.Context, *EmptyMessage) (*NumberMessage, error) GetBlock(context.Context, *BlockReq) (*BlockExtention, error) + GetBandwidthPrices(context.Context, *EmptyMessage) (*PricesResponseMessage, error) + GetEnergyPrices(context.Context, *EmptyMessage) (*PricesResponseMessage, error) mustEmbedUnimplementedWalletSolidityServer() } -// UnimplementedWalletSolidityServer must be embedded to have forward compatible implementations. -type UnimplementedWalletSolidityServer struct { -} +// UnimplementedWalletSolidityServer 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 UnimplementedWalletSolidityServer struct{} func (UnimplementedWalletSolidityServer) GetAccount(context.Context, *core.Account) (*core.Account, error) { return nil, status.Errorf(codes.Unimplemented, "method GetAccount not implemented") @@ -5950,7 +6484,14 @@ func (UnimplementedWalletSolidityServer) GetBurnTrx(context.Context, *EmptyMessa func (UnimplementedWalletSolidityServer) GetBlock(context.Context, *BlockReq) (*BlockExtention, error) { return nil, status.Errorf(codes.Unimplemented, "method GetBlock not implemented") } +func (UnimplementedWalletSolidityServer) GetBandwidthPrices(context.Context, *EmptyMessage) (*PricesResponseMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBandwidthPrices not implemented") +} +func (UnimplementedWalletSolidityServer) GetEnergyPrices(context.Context, *EmptyMessage) (*PricesResponseMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetEnergyPrices not implemented") +} func (UnimplementedWalletSolidityServer) mustEmbedUnimplementedWalletSolidityServer() {} +func (UnimplementedWalletSolidityServer) testEmbeddedByValue() {} // UnsafeWalletSolidityServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to WalletSolidityServer will @@ -5960,6 +6501,13 @@ type UnsafeWalletSolidityServer interface { } func RegisterWalletSolidityServer(s grpc.ServiceRegistrar, srv WalletSolidityServer) { + // If the following call pancis, it indicates UnimplementedWalletSolidityServer 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(&WalletSolidity_ServiceDesc, srv) } @@ -5973,7 +6521,7 @@ func _WalletSolidity_GetAccount_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetAccount", + FullMethod: WalletSolidity_GetAccount_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetAccount(ctx, req.(*core.Account)) @@ -5991,7 +6539,7 @@ func _WalletSolidity_GetAccountById_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetAccountById", + FullMethod: WalletSolidity_GetAccountById_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetAccountById(ctx, req.(*core.Account)) @@ -6009,7 +6557,7 @@ func _WalletSolidity_ListWitnesses_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/ListWitnesses", + FullMethod: WalletSolidity_ListWitnesses_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).ListWitnesses(ctx, req.(*EmptyMessage)) @@ -6027,7 +6575,7 @@ func _WalletSolidity_GetAssetIssueList_Handler(srv interface{}, ctx context.Cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetAssetIssueList", + FullMethod: WalletSolidity_GetAssetIssueList_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetAssetIssueList(ctx, req.(*EmptyMessage)) @@ -6045,7 +6593,7 @@ func _WalletSolidity_GetPaginatedAssetIssueList_Handler(srv interface{}, ctx con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetPaginatedAssetIssueList", + FullMethod: WalletSolidity_GetPaginatedAssetIssueList_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetPaginatedAssetIssueList(ctx, req.(*PaginatedMessage)) @@ -6063,7 +6611,7 @@ func _WalletSolidity_GetAssetIssueByName_Handler(srv interface{}, ctx context.Co } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetAssetIssueByName", + FullMethod: WalletSolidity_GetAssetIssueByName_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetAssetIssueByName(ctx, req.(*BytesMessage)) @@ -6081,7 +6629,7 @@ func _WalletSolidity_GetAssetIssueListByName_Handler(srv interface{}, ctx contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetAssetIssueListByName", + FullMethod: WalletSolidity_GetAssetIssueListByName_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetAssetIssueListByName(ctx, req.(*BytesMessage)) @@ -6099,7 +6647,7 @@ func _WalletSolidity_GetAssetIssueById_Handler(srv interface{}, ctx context.Cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetAssetIssueById", + FullMethod: WalletSolidity_GetAssetIssueById_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetAssetIssueById(ctx, req.(*BytesMessage)) @@ -6117,7 +6665,7 @@ func _WalletSolidity_GetNowBlock_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetNowBlock", + FullMethod: WalletSolidity_GetNowBlock_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetNowBlock(ctx, req.(*EmptyMessage)) @@ -6135,7 +6683,7 @@ func _WalletSolidity_GetNowBlock2_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetNowBlock2", + FullMethod: WalletSolidity_GetNowBlock2_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetNowBlock2(ctx, req.(*EmptyMessage)) @@ -6153,7 +6701,7 @@ func _WalletSolidity_GetBlockByNum_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetBlockByNum", + FullMethod: WalletSolidity_GetBlockByNum_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetBlockByNum(ctx, req.(*NumberMessage)) @@ -6171,7 +6719,7 @@ func _WalletSolidity_GetBlockByNum2_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetBlockByNum2", + FullMethod: WalletSolidity_GetBlockByNum2_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetBlockByNum2(ctx, req.(*NumberMessage)) @@ -6189,7 +6737,7 @@ func _WalletSolidity_GetTransactionCountByBlockNum_Handler(srv interface{}, ctx } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetTransactionCountByBlockNum", + FullMethod: WalletSolidity_GetTransactionCountByBlockNum_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetTransactionCountByBlockNum(ctx, req.(*NumberMessage)) @@ -6207,7 +6755,7 @@ func _WalletSolidity_GetDelegatedResource_Handler(srv interface{}, ctx context.C } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetDelegatedResource", + FullMethod: WalletSolidity_GetDelegatedResource_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetDelegatedResource(ctx, req.(*DelegatedResourceMessage)) @@ -6225,7 +6773,7 @@ func _WalletSolidity_GetDelegatedResourceV2_Handler(srv interface{}, ctx context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetDelegatedResourceV2", + FullMethod: WalletSolidity_GetDelegatedResourceV2_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetDelegatedResourceV2(ctx, req.(*DelegatedResourceMessage)) @@ -6243,7 +6791,7 @@ func _WalletSolidity_GetDelegatedResourceAccountIndex_Handler(srv interface{}, c } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetDelegatedResourceAccountIndex", + FullMethod: WalletSolidity_GetDelegatedResourceAccountIndex_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetDelegatedResourceAccountIndex(ctx, req.(*BytesMessage)) @@ -6261,7 +6809,7 @@ func _WalletSolidity_GetDelegatedResourceAccountIndexV2_Handler(srv interface{}, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetDelegatedResourceAccountIndexV2", + FullMethod: WalletSolidity_GetDelegatedResourceAccountIndexV2_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetDelegatedResourceAccountIndexV2(ctx, req.(*BytesMessage)) @@ -6279,7 +6827,7 @@ func _WalletSolidity_GetCanDelegatedMaxSize_Handler(srv interface{}, ctx context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetCanDelegatedMaxSize", + FullMethod: WalletSolidity_GetCanDelegatedMaxSize_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetCanDelegatedMaxSize(ctx, req.(*CanDelegatedMaxSizeRequestMessage)) @@ -6297,7 +6845,7 @@ func _WalletSolidity_GetAvailableUnfreezeCount_Handler(srv interface{}, ctx cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetAvailableUnfreezeCount", + FullMethod: WalletSolidity_GetAvailableUnfreezeCount_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetAvailableUnfreezeCount(ctx, req.(*GetAvailableUnfreezeCountRequestMessage)) @@ -6315,7 +6863,7 @@ func _WalletSolidity_GetCanWithdrawUnfreezeAmount_Handler(srv interface{}, ctx c } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetCanWithdrawUnfreezeAmount", + FullMethod: WalletSolidity_GetCanWithdrawUnfreezeAmount_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetCanWithdrawUnfreezeAmount(ctx, req.(*CanWithdrawUnfreezeAmountRequestMessage)) @@ -6333,7 +6881,7 @@ func _WalletSolidity_GetExchangeById_Handler(srv interface{}, ctx context.Contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetExchangeById", + FullMethod: WalletSolidity_GetExchangeById_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetExchangeById(ctx, req.(*BytesMessage)) @@ -6351,7 +6899,7 @@ func _WalletSolidity_ListExchanges_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/ListExchanges", + FullMethod: WalletSolidity_ListExchanges_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).ListExchanges(ctx, req.(*EmptyMessage)) @@ -6369,7 +6917,7 @@ func _WalletSolidity_GetTransactionById_Handler(srv interface{}, ctx context.Con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetTransactionById", + FullMethod: WalletSolidity_GetTransactionById_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetTransactionById(ctx, req.(*BytesMessage)) @@ -6387,7 +6935,7 @@ func _WalletSolidity_GetTransactionInfoById_Handler(srv interface{}, ctx context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetTransactionInfoById", + FullMethod: WalletSolidity_GetTransactionInfoById_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetTransactionInfoById(ctx, req.(*BytesMessage)) @@ -6405,7 +6953,7 @@ func _WalletSolidity_GetMerkleTreeVoucherInfo_Handler(srv interface{}, ctx conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetMerkleTreeVoucherInfo", + FullMethod: WalletSolidity_GetMerkleTreeVoucherInfo_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetMerkleTreeVoucherInfo(ctx, req.(*core.OutputPointInfo)) @@ -6423,7 +6971,7 @@ func _WalletSolidity_ScanNoteByIvk_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/ScanNoteByIvk", + FullMethod: WalletSolidity_ScanNoteByIvk_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).ScanNoteByIvk(ctx, req.(*IvkDecryptParameters)) @@ -6441,7 +6989,7 @@ func _WalletSolidity_ScanAndMarkNoteByIvk_Handler(srv interface{}, ctx context.C } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/ScanAndMarkNoteByIvk", + FullMethod: WalletSolidity_ScanAndMarkNoteByIvk_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).ScanAndMarkNoteByIvk(ctx, req.(*IvkDecryptAndMarkParameters)) @@ -6459,7 +7007,7 @@ func _WalletSolidity_ScanNoteByOvk_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/ScanNoteByOvk", + FullMethod: WalletSolidity_ScanNoteByOvk_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).ScanNoteByOvk(ctx, req.(*OvkDecryptParameters)) @@ -6477,7 +7025,7 @@ func _WalletSolidity_IsSpend_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/IsSpend", + FullMethod: WalletSolidity_IsSpend_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).IsSpend(ctx, req.(*NoteParameters)) @@ -6495,7 +7043,7 @@ func _WalletSolidity_ScanShieldedTRC20NotesByIvk_Handler(srv interface{}, ctx co } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/ScanShieldedTRC20NotesByIvk", + FullMethod: WalletSolidity_ScanShieldedTRC20NotesByIvk_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).ScanShieldedTRC20NotesByIvk(ctx, req.(*IvkDecryptTRC20Parameters)) @@ -6513,7 +7061,7 @@ func _WalletSolidity_ScanShieldedTRC20NotesByOvk_Handler(srv interface{}, ctx co } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/ScanShieldedTRC20NotesByOvk", + FullMethod: WalletSolidity_ScanShieldedTRC20NotesByOvk_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).ScanShieldedTRC20NotesByOvk(ctx, req.(*OvkDecryptTRC20Parameters)) @@ -6531,7 +7079,7 @@ func _WalletSolidity_IsShieldedTRC20ContractNoteSpent_Handler(srv interface{}, c } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/IsShieldedTRC20ContractNoteSpent", + FullMethod: WalletSolidity_IsShieldedTRC20ContractNoteSpent_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).IsShieldedTRC20ContractNoteSpent(ctx, req.(*NfTRC20Parameters)) @@ -6549,7 +7097,7 @@ func _WalletSolidity_GetRewardInfo_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetRewardInfo", + FullMethod: WalletSolidity_GetRewardInfo_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetRewardInfo(ctx, req.(*BytesMessage)) @@ -6567,7 +7115,7 @@ func _WalletSolidity_GetBrokerageInfo_Handler(srv interface{}, ctx context.Conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetBrokerageInfo", + FullMethod: WalletSolidity_GetBrokerageInfo_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetBrokerageInfo(ctx, req.(*BytesMessage)) @@ -6585,7 +7133,7 @@ func _WalletSolidity_TriggerConstantContract_Handler(srv interface{}, ctx contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/TriggerConstantContract", + FullMethod: WalletSolidity_TriggerConstantContract_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).TriggerConstantContract(ctx, req.(*core.TriggerSmartContract)) @@ -6603,7 +7151,7 @@ func _WalletSolidity_EstimateEnergy_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/EstimateEnergy", + FullMethod: WalletSolidity_EstimateEnergy_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).EstimateEnergy(ctx, req.(*core.TriggerSmartContract)) @@ -6621,7 +7169,7 @@ func _WalletSolidity_GetTransactionInfoByBlockNum_Handler(srv interface{}, ctx c } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetTransactionInfoByBlockNum", + FullMethod: WalletSolidity_GetTransactionInfoByBlockNum_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetTransactionInfoByBlockNum(ctx, req.(*NumberMessage)) @@ -6639,7 +7187,7 @@ func _WalletSolidity_GetMarketOrderById_Handler(srv interface{}, ctx context.Con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetMarketOrderById", + FullMethod: WalletSolidity_GetMarketOrderById_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetMarketOrderById(ctx, req.(*BytesMessage)) @@ -6657,7 +7205,7 @@ func _WalletSolidity_GetMarketOrderByAccount_Handler(srv interface{}, ctx contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetMarketOrderByAccount", + FullMethod: WalletSolidity_GetMarketOrderByAccount_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetMarketOrderByAccount(ctx, req.(*BytesMessage)) @@ -6675,7 +7223,7 @@ func _WalletSolidity_GetMarketPriceByPair_Handler(srv interface{}, ctx context.C } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetMarketPriceByPair", + FullMethod: WalletSolidity_GetMarketPriceByPair_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetMarketPriceByPair(ctx, req.(*core.MarketOrderPair)) @@ -6693,7 +7241,7 @@ func _WalletSolidity_GetMarketOrderListByPair_Handler(srv interface{}, ctx conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetMarketOrderListByPair", + FullMethod: WalletSolidity_GetMarketOrderListByPair_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetMarketOrderListByPair(ctx, req.(*core.MarketOrderPair)) @@ -6711,7 +7259,7 @@ func _WalletSolidity_GetMarketPairList_Handler(srv interface{}, ctx context.Cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetMarketPairList", + FullMethod: WalletSolidity_GetMarketPairList_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetMarketPairList(ctx, req.(*EmptyMessage)) @@ -6729,7 +7277,7 @@ func _WalletSolidity_GetBurnTrx_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetBurnTrx", + FullMethod: WalletSolidity_GetBurnTrx_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetBurnTrx(ctx, req.(*EmptyMessage)) @@ -6747,7 +7295,7 @@ func _WalletSolidity_GetBlock_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletSolidity/GetBlock", + FullMethod: WalletSolidity_GetBlock_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletSolidityServer).GetBlock(ctx, req.(*BlockReq)) @@ -6755,6 +7303,42 @@ func _WalletSolidity_GetBlock_Handler(srv interface{}, ctx context.Context, dec return interceptor(ctx, in, info, handler) } +func _WalletSolidity_GetBandwidthPrices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetBandwidthPrices(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: WalletSolidity_GetBandwidthPrices_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetBandwidthPrices(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetEnergyPrices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetEnergyPrices(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: WalletSolidity_GetEnergyPrices_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetEnergyPrices(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + // WalletSolidity_ServiceDesc is the grpc.ServiceDesc for WalletSolidity service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) @@ -6938,11 +7522,26 @@ var WalletSolidity_ServiceDesc = grpc.ServiceDesc{ MethodName: "GetBlock", Handler: _WalletSolidity_GetBlock_Handler, }, + { + MethodName: "GetBandwidthPrices", + Handler: _WalletSolidity_GetBandwidthPrices_Handler, + }, + { + MethodName: "GetEnergyPrices", + Handler: _WalletSolidity_GetEnergyPrices_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/api.proto", } +const ( + WalletExtension_GetTransactionsFromThis_FullMethodName = "/protocol.WalletExtension/GetTransactionsFromThis" + WalletExtension_GetTransactionsFromThis2_FullMethodName = "/protocol.WalletExtension/GetTransactionsFromThis2" + WalletExtension_GetTransactionsToThis_FullMethodName = "/protocol.WalletExtension/GetTransactionsToThis" + WalletExtension_GetTransactionsToThis2_FullMethodName = "/protocol.WalletExtension/GetTransactionsToThis2" +) + // WalletExtensionClient is the client API for WalletExtension 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. @@ -6966,8 +7565,9 @@ func NewWalletExtensionClient(cc grpc.ClientConnInterface) WalletExtensionClient } func (c *walletExtensionClient) GetTransactionsFromThis(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionList) - err := c.cc.Invoke(ctx, "/protocol.WalletExtension/GetTransactionsFromThis", in, out, opts...) + err := c.cc.Invoke(ctx, WalletExtension_GetTransactionsFromThis_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -6975,8 +7575,9 @@ func (c *walletExtensionClient) GetTransactionsFromThis(ctx context.Context, in } func (c *walletExtensionClient) GetTransactionsFromThis2(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionListExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionListExtention) - err := c.cc.Invoke(ctx, "/protocol.WalletExtension/GetTransactionsFromThis2", in, out, opts...) + err := c.cc.Invoke(ctx, WalletExtension_GetTransactionsFromThis2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -6984,8 +7585,9 @@ func (c *walletExtensionClient) GetTransactionsFromThis2(ctx context.Context, in } func (c *walletExtensionClient) GetTransactionsToThis(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionList, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionList) - err := c.cc.Invoke(ctx, "/protocol.WalletExtension/GetTransactionsToThis", in, out, opts...) + err := c.cc.Invoke(ctx, WalletExtension_GetTransactionsToThis_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -6993,8 +7595,9 @@ func (c *walletExtensionClient) GetTransactionsToThis(ctx context.Context, in *A } func (c *walletExtensionClient) GetTransactionsToThis2(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionListExtention, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(TransactionListExtention) - err := c.cc.Invoke(ctx, "/protocol.WalletExtension/GetTransactionsToThis2", in, out, opts...) + err := c.cc.Invoke(ctx, WalletExtension_GetTransactionsToThis2_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -7003,7 +7606,7 @@ func (c *walletExtensionClient) GetTransactionsToThis2(ctx context.Context, in * // WalletExtensionServer is the server API for WalletExtension service. // All implementations must embed UnimplementedWalletExtensionServer -// for forward compatibility +// for forward compatibility. type WalletExtensionServer interface { // Please use GetTransactionsFromThis2 instead of this function. GetTransactionsFromThis(context.Context, *AccountPaginated) (*TransactionList, error) @@ -7016,9 +7619,12 @@ type WalletExtensionServer interface { mustEmbedUnimplementedWalletExtensionServer() } -// UnimplementedWalletExtensionServer must be embedded to have forward compatible implementations. -type UnimplementedWalletExtensionServer struct { -} +// UnimplementedWalletExtensionServer 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 UnimplementedWalletExtensionServer struct{} func (UnimplementedWalletExtensionServer) GetTransactionsFromThis(context.Context, *AccountPaginated) (*TransactionList, error) { return nil, status.Errorf(codes.Unimplemented, "method GetTransactionsFromThis not implemented") @@ -7033,6 +7639,7 @@ func (UnimplementedWalletExtensionServer) GetTransactionsToThis2(context.Context return nil, status.Errorf(codes.Unimplemented, "method GetTransactionsToThis2 not implemented") } func (UnimplementedWalletExtensionServer) mustEmbedUnimplementedWalletExtensionServer() {} +func (UnimplementedWalletExtensionServer) testEmbeddedByValue() {} // UnsafeWalletExtensionServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to WalletExtensionServer will @@ -7042,6 +7649,13 @@ type UnsafeWalletExtensionServer interface { } func RegisterWalletExtensionServer(s grpc.ServiceRegistrar, srv WalletExtensionServer) { + // If the following call pancis, it indicates UnimplementedWalletExtensionServer 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(&WalletExtension_ServiceDesc, srv) } @@ -7055,7 +7669,7 @@ func _WalletExtension_GetTransactionsFromThis_Handler(srv interface{}, ctx conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletExtension/GetTransactionsFromThis", + FullMethod: WalletExtension_GetTransactionsFromThis_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletExtensionServer).GetTransactionsFromThis(ctx, req.(*AccountPaginated)) @@ -7073,7 +7687,7 @@ func _WalletExtension_GetTransactionsFromThis2_Handler(srv interface{}, ctx cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletExtension/GetTransactionsFromThis2", + FullMethod: WalletExtension_GetTransactionsFromThis2_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletExtensionServer).GetTransactionsFromThis2(ctx, req.(*AccountPaginated)) @@ -7091,7 +7705,7 @@ func _WalletExtension_GetTransactionsToThis_Handler(srv interface{}, ctx context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletExtension/GetTransactionsToThis", + FullMethod: WalletExtension_GetTransactionsToThis_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletExtensionServer).GetTransactionsToThis(ctx, req.(*AccountPaginated)) @@ -7109,7 +7723,7 @@ func _WalletExtension_GetTransactionsToThis2_Handler(srv interface{}, ctx contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.WalletExtension/GetTransactionsToThis2", + FullMethod: WalletExtension_GetTransactionsToThis2_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(WalletExtensionServer).GetTransactionsToThis2(ctx, req.(*AccountPaginated)) @@ -7145,9 +7759,18 @@ var WalletExtension_ServiceDesc = grpc.ServiceDesc{ Metadata: "api/api.proto", } +const ( + Database_GetBlockReference_FullMethodName = "/protocol.Database/getBlockReference" + Database_GetDynamicProperties_FullMethodName = "/protocol.Database/GetDynamicProperties" + Database_GetNowBlock_FullMethodName = "/protocol.Database/GetNowBlock" + Database_GetBlockByNum_FullMethodName = "/protocol.Database/GetBlockByNum" +) + // DatabaseClient is the client API for Database 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 api of tron's db type DatabaseClient interface { // for tapos GetBlockReference(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BlockReference, error) @@ -7165,8 +7788,9 @@ func NewDatabaseClient(cc grpc.ClientConnInterface) DatabaseClient { } func (c *databaseClient) GetBlockReference(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BlockReference, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BlockReference) - err := c.cc.Invoke(ctx, "/protocol.Database/getBlockReference", in, out, opts...) + err := c.cc.Invoke(ctx, Database_GetBlockReference_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -7174,8 +7798,9 @@ func (c *databaseClient) GetBlockReference(ctx context.Context, in *EmptyMessage } func (c *databaseClient) GetDynamicProperties(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.DynamicProperties, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.DynamicProperties) - err := c.cc.Invoke(ctx, "/protocol.Database/GetDynamicProperties", in, out, opts...) + err := c.cc.Invoke(ctx, Database_GetDynamicProperties_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -7183,8 +7808,9 @@ func (c *databaseClient) GetDynamicProperties(ctx context.Context, in *EmptyMess } func (c *databaseClient) GetNowBlock(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.Block, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Block) - err := c.cc.Invoke(ctx, "/protocol.Database/GetNowBlock", in, out, opts...) + err := c.cc.Invoke(ctx, Database_GetNowBlock_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -7192,8 +7818,9 @@ func (c *databaseClient) GetNowBlock(ctx context.Context, in *EmptyMessage, opts } func (c *databaseClient) GetBlockByNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*core.Block, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.Block) - err := c.cc.Invoke(ctx, "/protocol.Database/GetBlockByNum", in, out, opts...) + err := c.cc.Invoke(ctx, Database_GetBlockByNum_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -7202,7 +7829,9 @@ func (c *databaseClient) GetBlockByNum(ctx context.Context, in *NumberMessage, o // DatabaseServer is the server API for Database service. // All implementations must embed UnimplementedDatabaseServer -// for forward compatibility +// for forward compatibility. +// +// the api of tron's db type DatabaseServer interface { // for tapos GetBlockReference(context.Context, *EmptyMessage) (*BlockReference, error) @@ -7212,9 +7841,12 @@ type DatabaseServer interface { mustEmbedUnimplementedDatabaseServer() } -// UnimplementedDatabaseServer must be embedded to have forward compatible implementations. -type UnimplementedDatabaseServer struct { -} +// UnimplementedDatabaseServer 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 UnimplementedDatabaseServer struct{} func (UnimplementedDatabaseServer) GetBlockReference(context.Context, *EmptyMessage) (*BlockReference, error) { return nil, status.Errorf(codes.Unimplemented, "method GetBlockReference not implemented") @@ -7229,6 +7861,7 @@ func (UnimplementedDatabaseServer) GetBlockByNum(context.Context, *NumberMessage return nil, status.Errorf(codes.Unimplemented, "method GetBlockByNum not implemented") } func (UnimplementedDatabaseServer) mustEmbedUnimplementedDatabaseServer() {} +func (UnimplementedDatabaseServer) testEmbeddedByValue() {} // UnsafeDatabaseServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to DatabaseServer will @@ -7238,6 +7871,13 @@ type UnsafeDatabaseServer interface { } func RegisterDatabaseServer(s grpc.ServiceRegistrar, srv DatabaseServer) { + // If the following call pancis, it indicates UnimplementedDatabaseServer 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(&Database_ServiceDesc, srv) } @@ -7251,7 +7891,7 @@ func _Database_GetBlockReference_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Database/getBlockReference", + FullMethod: Database_GetBlockReference_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DatabaseServer).GetBlockReference(ctx, req.(*EmptyMessage)) @@ -7269,7 +7909,7 @@ func _Database_GetDynamicProperties_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Database/GetDynamicProperties", + FullMethod: Database_GetDynamicProperties_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DatabaseServer).GetDynamicProperties(ctx, req.(*EmptyMessage)) @@ -7287,7 +7927,7 @@ func _Database_GetNowBlock_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Database/GetNowBlock", + FullMethod: Database_GetNowBlock_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DatabaseServer).GetNowBlock(ctx, req.(*EmptyMessage)) @@ -7305,7 +7945,7 @@ func _Database_GetBlockByNum_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Database/GetBlockByNum", + FullMethod: Database_GetBlockByNum_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DatabaseServer).GetBlockByNum(ctx, req.(*NumberMessage)) @@ -7341,6 +7981,10 @@ var Database_ServiceDesc = grpc.ServiceDesc{ Metadata: "api/api.proto", } +const ( + Monitor_GetStatsInfo_FullMethodName = "/protocol.Monitor/GetStatsInfo" +) + // MonitorClient is the client API for Monitor 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. @@ -7357,8 +8001,9 @@ func NewMonitorClient(cc grpc.ClientConnInterface) MonitorClient { } func (c *monitorClient) GetStatsInfo(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.MetricsInfo, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(core.MetricsInfo) - err := c.cc.Invoke(ctx, "/protocol.Monitor/GetStatsInfo", in, out, opts...) + err := c.cc.Invoke(ctx, Monitor_GetStatsInfo_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -7367,20 +8012,24 @@ func (c *monitorClient) GetStatsInfo(ctx context.Context, in *EmptyMessage, opts // MonitorServer is the server API for Monitor service. // All implementations must embed UnimplementedMonitorServer -// for forward compatibility +// for forward compatibility. type MonitorServer interface { GetStatsInfo(context.Context, *EmptyMessage) (*core.MetricsInfo, error) mustEmbedUnimplementedMonitorServer() } -// UnimplementedMonitorServer must be embedded to have forward compatible implementations. -type UnimplementedMonitorServer struct { -} +// UnimplementedMonitorServer 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 UnimplementedMonitorServer struct{} func (UnimplementedMonitorServer) GetStatsInfo(context.Context, *EmptyMessage) (*core.MetricsInfo, error) { return nil, status.Errorf(codes.Unimplemented, "method GetStatsInfo not implemented") } func (UnimplementedMonitorServer) mustEmbedUnimplementedMonitorServer() {} +func (UnimplementedMonitorServer) testEmbeddedByValue() {} // UnsafeMonitorServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to MonitorServer will @@ -7390,6 +8039,13 @@ type UnsafeMonitorServer interface { } func RegisterMonitorServer(s grpc.ServiceRegistrar, srv MonitorServer) { + // If the following call pancis, it indicates UnimplementedMonitorServer 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(&Monitor_ServiceDesc, srv) } @@ -7403,7 +8059,7 @@ func _Monitor_GetStatsInfo_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.Monitor/GetStatsInfo", + FullMethod: Monitor_GetStatsInfo_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MonitorServer).GetStatsInfo(ctx, req.(*EmptyMessage)) @@ -7430,6 +8086,8 @@ var Monitor_ServiceDesc = grpc.ServiceDesc{ // NetworkClient is the client API for Network 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 api of tron's network such as node list. type NetworkClient interface { } @@ -7443,16 +8101,22 @@ func NewNetworkClient(cc grpc.ClientConnInterface) NetworkClient { // NetworkServer is the server API for Network service. // All implementations must embed UnimplementedNetworkServer -// for forward compatibility +// for forward compatibility. +// +// the api of tron's network such as node list. type NetworkServer interface { mustEmbedUnimplementedNetworkServer() } -// UnimplementedNetworkServer must be embedded to have forward compatible implementations. -type UnimplementedNetworkServer struct { -} +// UnimplementedNetworkServer 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 UnimplementedNetworkServer struct{} func (UnimplementedNetworkServer) mustEmbedUnimplementedNetworkServer() {} +func (UnimplementedNetworkServer) testEmbeddedByValue() {} // UnsafeNetworkServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to NetworkServer will @@ -7462,6 +8126,13 @@ type UnsafeNetworkServer interface { } func RegisterNetworkServer(s grpc.ServiceRegistrar, srv NetworkServer) { + // If the following call pancis, it indicates UnimplementedNetworkServer 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(&Network_ServiceDesc, srv) } diff --git a/pkg/proto/api/zksnark.pb.go b/pkg/proto/api/zksnark.pb.go index 564f3a8e0..d51fdd82e 100644 --- a/pkg/proto/api/zksnark.pb.go +++ b/pkg/proto/api/zksnark.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 -// protoc v3.21.12 +// protoc-gen-go v1.36.6 +// protoc v5.29.3 // source: api/zksnark.proto package api @@ -12,6 +12,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -68,23 +69,20 @@ func (ZksnarkResponse_Code) EnumDescriptor() ([]byte, []int) { } type ZksnarkRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Transaction *core.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` + Sighash []byte `protobuf:"bytes,2,opt,name=sighash,proto3" json:"sighash,omitempty"` + ValueBalance int64 `protobuf:"varint,3,opt,name=valueBalance,proto3" json:"valueBalance,omitempty"` + TxId string `protobuf:"bytes,4,opt,name=txId,proto3" json:"txId,omitempty"` unknownFields protoimpl.UnknownFields - - Transaction *core.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` - Sighash []byte `protobuf:"bytes,2,opt,name=sighash,proto3" json:"sighash,omitempty"` - ValueBalance int64 `protobuf:"varint,3,opt,name=valueBalance,proto3" json:"valueBalance,omitempty"` - TxId string `protobuf:"bytes,4,opt,name=txId,proto3" json:"txId,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ZksnarkRequest) Reset() { *x = ZksnarkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_api_zksnark_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_zksnark_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ZksnarkRequest) String() string { @@ -95,7 +93,7 @@ func (*ZksnarkRequest) ProtoMessage() {} func (x *ZksnarkRequest) ProtoReflect() protoreflect.Message { mi := &file_api_zksnark_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,20 +137,17 @@ func (x *ZksnarkRequest) GetTxId() string { } type ZksnarkResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Code ZksnarkResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=protocol.ZksnarkResponse_Code" json:"code,omitempty"` unknownFields protoimpl.UnknownFields - - Code ZksnarkResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=protocol.ZksnarkResponse_Code" json:"code,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ZksnarkResponse) Reset() { *x = ZksnarkResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_api_zksnark_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_api_zksnark_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ZksnarkResponse) String() string { @@ -163,7 +158,7 @@ func (*ZksnarkResponse) ProtoMessage() {} func (x *ZksnarkResponse) ProtoReflect() protoreflect.Message { mi := &file_api_zksnark_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) @@ -187,55 +182,39 @@ func (x *ZksnarkResponse) GetCode() ZksnarkResponse_Code { var File_api_zksnark_proto protoreflect.FileDescriptor -var file_api_zksnark_proto_rawDesc = []byte{ - 0x0a, 0x11, 0x61, 0x70, 0x69, 0x2f, 0x7a, 0x6b, 0x73, 0x6e, 0x61, 0x72, 0x6b, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x1a, 0x0f, 0x63, - 0x6f, 0x72, 0x65, 0x2f, 0x54, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9b, - 0x01, 0x0a, 0x0e, 0x5a, 0x6b, 0x73, 0x6e, 0x61, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x37, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x69, - 0x67, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x73, 0x69, 0x67, - 0x68, 0x61, 0x73, 0x68, 0x12, 0x22, 0x0a, 0x0c, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x61, 0x6c, - 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x49, 0x64, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x78, 0x49, 0x64, 0x22, 0x66, 0x0a, 0x0f, - 0x5a, 0x6b, 0x73, 0x6e, 0x61, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x32, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x5a, 0x6b, 0x73, 0x6e, 0x61, 0x72, 0x6b, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, - 0x6f, 0x64, 0x65, 0x22, 0x1f, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x53, - 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, - 0x45, 0x44, 0x10, 0x01, 0x32, 0x59, 0x0a, 0x0b, 0x54, 0x72, 0x6f, 0x6e, 0x5a, 0x6b, 0x73, 0x6e, - 0x61, 0x72, 0x6b, 0x12, 0x4a, 0x0a, 0x11, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x5a, 0x6b, 0x73, 0x6e, - 0x61, 0x72, 0x6b, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x5a, 0x6b, 0x73, 0x6e, 0x61, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x5a, 0x6b, - 0x73, 0x6e, 0x61, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, - 0x48, 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x61, 0x70, 0x69, 0x42, - 0x0e, 0x5a, 0x6b, 0x73, 0x6e, 0x61, 0x72, 0x6b, 0x47, 0x72, 0x70, 0x63, 0x41, 0x50, 0x49, 0x5a, - 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, - 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, -} +const file_api_zksnark_proto_rawDesc = "" + + "\n" + + "\x11api/zksnark.proto\x12\bprotocol\x1a\x0fcore/Tron.proto\"\x9b\x01\n" + + "\x0eZksnarkRequest\x127\n" + + "\vtransaction\x18\x01 \x01(\v2\x15.protocol.TransactionR\vtransaction\x12\x18\n" + + "\asighash\x18\x02 \x01(\fR\asighash\x12\"\n" + + "\fvalueBalance\x18\x03 \x01(\x03R\fvalueBalance\x12\x12\n" + + "\x04txId\x18\x04 \x01(\tR\x04txId\"f\n" + + "\x0fZksnarkResponse\x122\n" + + "\x04code\x18\x01 \x01(\x0e2\x1e.protocol.ZksnarkResponse.CodeR\x04code\"\x1f\n" + + "\x04Code\x12\v\n" + + "\aSUCCESS\x10\x00\x12\n" + + "\n" + + "\x06FAILED\x10\x012Y\n" + + "\vTronZksnark\x12J\n" + + "\x11CheckZksnarkProof\x12\x18.protocol.ZksnarkRequest\x1a\x19.protocol.ZksnarkResponse\"\x00BN\n" + + "\forg.tron.apiB\x0eZksnarkGrpcAPIZ.github.com/fbsobreira/gotron-sdk/pkg/proto/apib\x06proto3" var ( file_api_zksnark_proto_rawDescOnce sync.Once - file_api_zksnark_proto_rawDescData = file_api_zksnark_proto_rawDesc + file_api_zksnark_proto_rawDescData []byte ) func file_api_zksnark_proto_rawDescGZIP() []byte { file_api_zksnark_proto_rawDescOnce.Do(func() { - file_api_zksnark_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_zksnark_proto_rawDescData) + file_api_zksnark_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_api_zksnark_proto_rawDesc), len(file_api_zksnark_proto_rawDesc))) }) return file_api_zksnark_proto_rawDescData } var file_api_zksnark_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_api_zksnark_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_api_zksnark_proto_goTypes = []interface{}{ +var file_api_zksnark_proto_goTypes = []any{ (ZksnarkResponse_Code)(0), // 0: protocol.ZksnarkResponse.Code (*ZksnarkRequest)(nil), // 1: protocol.ZksnarkRequest (*ZksnarkResponse)(nil), // 2: protocol.ZksnarkResponse @@ -258,37 +237,11 @@ func file_api_zksnark_proto_init() { if File_api_zksnark_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_api_zksnark_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ZksnarkRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_api_zksnark_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ZksnarkResponse); 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_api_zksnark_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_api_zksnark_proto_rawDesc), len(file_api_zksnark_proto_rawDesc)), NumEnums: 1, NumMessages: 2, NumExtensions: 0, @@ -300,7 +253,6 @@ func file_api_zksnark_proto_init() { MessageInfos: file_api_zksnark_proto_msgTypes, }.Build() File_api_zksnark_proto = out.File - file_api_zksnark_proto_rawDesc = nil file_api_zksnark_proto_goTypes = nil file_api_zksnark_proto_depIdxs = nil } diff --git a/pkg/proto/api/zksnark_grpc.pb.go b/pkg/proto/api/zksnark_grpc.pb.go index 92b0606a6..8c5a1f5a0 100644 --- a/pkg/proto/api/zksnark_grpc.pb.go +++ b/pkg/proto/api/zksnark_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.2.0 -// - protoc v3.21.12 +// - protoc-gen-go-grpc v1.5.1 +// - protoc v5.29.3 // source: api/zksnark.proto package api @@ -15,8 +15,12 @@ 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 ( + TronZksnark_CheckZksnarkProof_FullMethodName = "/protocol.TronZksnark/CheckZksnarkProof" +) // TronZksnarkClient is the client API for TronZksnark service. // @@ -34,8 +38,9 @@ func NewTronZksnarkClient(cc grpc.ClientConnInterface) TronZksnarkClient { } func (c *tronZksnarkClient) CheckZksnarkProof(ctx context.Context, in *ZksnarkRequest, opts ...grpc.CallOption) (*ZksnarkResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ZksnarkResponse) - err := c.cc.Invoke(ctx, "/protocol.TronZksnark/CheckZksnarkProof", in, out, opts...) + err := c.cc.Invoke(ctx, TronZksnark_CheckZksnarkProof_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -44,20 +49,24 @@ func (c *tronZksnarkClient) CheckZksnarkProof(ctx context.Context, in *ZksnarkRe // TronZksnarkServer is the server API for TronZksnark service. // All implementations must embed UnimplementedTronZksnarkServer -// for forward compatibility +// for forward compatibility. type TronZksnarkServer interface { CheckZksnarkProof(context.Context, *ZksnarkRequest) (*ZksnarkResponse, error) mustEmbedUnimplementedTronZksnarkServer() } -// UnimplementedTronZksnarkServer must be embedded to have forward compatible implementations. -type UnimplementedTronZksnarkServer struct { -} +// UnimplementedTronZksnarkServer 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 UnimplementedTronZksnarkServer struct{} func (UnimplementedTronZksnarkServer) CheckZksnarkProof(context.Context, *ZksnarkRequest) (*ZksnarkResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CheckZksnarkProof not implemented") } func (UnimplementedTronZksnarkServer) mustEmbedUnimplementedTronZksnarkServer() {} +func (UnimplementedTronZksnarkServer) testEmbeddedByValue() {} // UnsafeTronZksnarkServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to TronZksnarkServer will @@ -67,6 +76,13 @@ type UnsafeTronZksnarkServer interface { } func RegisterTronZksnarkServer(s grpc.ServiceRegistrar, srv TronZksnarkServer) { + // If the following call pancis, it indicates UnimplementedTronZksnarkServer 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(&TronZksnark_ServiceDesc, srv) } @@ -80,7 +96,7 @@ func _TronZksnark_CheckZksnarkProof_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/protocol.TronZksnark/CheckZksnarkProof", + FullMethod: TronZksnark_CheckZksnarkProof_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(TronZksnarkServer).CheckZksnarkProof(ctx, req.(*ZksnarkRequest)) diff --git a/pkg/proto/core/Discover.pb.go b/pkg/proto/core/Discover.pb.go index 0642a4526..e1c95cbc6 100644 --- a/pkg/proto/core/Discover.pb.go +++ b/pkg/proto/core/Discover.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 -// protoc v3.21.12 +// protoc-gen-go v1.36.6 +// protoc v5.29.3 // source: core/Discover.proto package core @@ -11,6 +11,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -21,22 +22,19 @@ const ( ) type Endpoint struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` + NodeId []byte `protobuf:"bytes,3,opt,name=nodeId,proto3" json:"nodeId,omitempty"` unknownFields protoimpl.UnknownFields - - Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` - NodeId []byte `protobuf:"bytes,3,opt,name=nodeId,proto3" json:"nodeId,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Endpoint) Reset() { *x = Endpoint{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Discover_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Discover_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Endpoint) String() string { @@ -47,7 +45,7 @@ func (*Endpoint) ProtoMessage() {} func (x *Endpoint) ProtoReflect() protoreflect.Message { mi := &file_core_Discover_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) @@ -84,23 +82,20 @@ func (x *Endpoint) GetNodeId() []byte { } type PingMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + From *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` + To *Endpoint `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` + Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` + Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` unknownFields protoimpl.UnknownFields - - From *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` - To *Endpoint `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` - Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` - Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PingMessage) Reset() { *x = PingMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Discover_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Discover_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PingMessage) String() string { @@ -111,7 +106,7 @@ func (*PingMessage) ProtoMessage() {} func (x *PingMessage) ProtoReflect() protoreflect.Message { mi := &file_core_Discover_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) @@ -155,22 +150,19 @@ func (x *PingMessage) GetTimestamp() int64 { } type PongMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + From *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` + Echo int32 `protobuf:"varint,2,opt,name=echo,proto3" json:"echo,omitempty"` + Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` unknownFields protoimpl.UnknownFields - - From *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` - Echo int32 `protobuf:"varint,2,opt,name=echo,proto3" json:"echo,omitempty"` - Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PongMessage) Reset() { *x = PongMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Discover_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Discover_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PongMessage) String() string { @@ -181,7 +173,7 @@ func (*PongMessage) ProtoMessage() {} func (x *PongMessage) ProtoReflect() protoreflect.Message { mi := &file_core_Discover_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) @@ -218,22 +210,19 @@ func (x *PongMessage) GetTimestamp() int64 { } type FindNeighbours struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + From *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` + TargetId []byte `protobuf:"bytes,2,opt,name=targetId,proto3" json:"targetId,omitempty"` + Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` unknownFields protoimpl.UnknownFields - - From *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` - TargetId []byte `protobuf:"bytes,2,opt,name=targetId,proto3" json:"targetId,omitempty"` - Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + sizeCache protoimpl.SizeCache } func (x *FindNeighbours) Reset() { *x = FindNeighbours{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Discover_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Discover_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FindNeighbours) String() string { @@ -244,7 +233,7 @@ func (*FindNeighbours) ProtoMessage() {} func (x *FindNeighbours) ProtoReflect() protoreflect.Message { mi := &file_core_Discover_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) @@ -281,22 +270,19 @@ func (x *FindNeighbours) GetTimestamp() int64 { } type Neighbours struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + From *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` + Neighbours []*Endpoint `protobuf:"bytes,2,rep,name=neighbours,proto3" json:"neighbours,omitempty"` + Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` unknownFields protoimpl.UnknownFields - - From *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` - Neighbours []*Endpoint `protobuf:"bytes,2,rep,name=neighbours,proto3" json:"neighbours,omitempty"` - Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Neighbours) Reset() { *x = Neighbours{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Discover_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Discover_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Neighbours) String() string { @@ -307,7 +293,7 @@ func (*Neighbours) ProtoMessage() {} func (x *Neighbours) ProtoReflect() protoreflect.Message { mi := &file_core_Discover_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) @@ -344,21 +330,18 @@ func (x *Neighbours) GetTimestamp() int64 { } type BackupMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Flag bool `protobuf:"varint,1,opt,name=flag,proto3" json:"flag,omitempty"` + Priority int32 `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"` unknownFields protoimpl.UnknownFields - - Flag bool `protobuf:"varint,1,opt,name=flag,proto3" json:"flag,omitempty"` - Priority int32 `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"` + sizeCache protoimpl.SizeCache } func (x *BackupMessage) Reset() { *x = BackupMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Discover_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Discover_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BackupMessage) String() string { @@ -369,7 +352,7 @@ func (*BackupMessage) ProtoMessage() {} func (x *BackupMessage) ProtoReflect() protoreflect.Message { mi := &file_core_Discover_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) @@ -400,71 +383,52 @@ func (x *BackupMessage) GetPriority() int32 { var File_core_Discover_proto protoreflect.FileDescriptor -var file_core_Discover_proto_rawDesc = []byte{ - 0x0a, 0x13, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, - 0x50, 0x0a, 0x08, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, - 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, - 0x64, 0x22, 0x91, 0x01, 0x0a, 0x0b, 0x50, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x12, 0x26, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, - 0x69, 0x6e, 0x74, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x22, 0x0a, 0x02, 0x74, 0x6f, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x18, 0x0a, - 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, - 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x67, 0x0a, 0x0b, 0x50, 0x6f, 0x6e, 0x67, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x12, 0x26, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6e, - 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x12, 0x0a, 0x04, - 0x65, 0x63, 0x68, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x65, 0x63, 0x68, 0x6f, - 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x72, - 0x0a, 0x0e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x65, 0x69, 0x67, 0x68, 0x62, 0x6f, 0x75, 0x72, 0x73, - 0x12, 0x26, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, - 0x6e, 0x74, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x74, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, - 0x6d, 0x70, 0x22, 0x86, 0x01, 0x0a, 0x0a, 0x4e, 0x65, 0x69, 0x67, 0x68, 0x62, 0x6f, 0x75, 0x72, - 0x73, 0x12, 0x26, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, - 0x69, 0x6e, 0x74, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x32, 0x0a, 0x0a, 0x6e, 0x65, 0x69, - 0x67, 0x68, 0x62, 0x6f, 0x75, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, - 0x74, 0x52, 0x0a, 0x6e, 0x65, 0x69, 0x67, 0x68, 0x62, 0x6f, 0x75, 0x72, 0x73, 0x12, 0x1c, 0x0a, - 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x3f, 0x0a, 0x0d, 0x42, - 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, - 0x66, 0x6c, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x66, 0x6c, 0x61, 0x67, - 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x42, 0x46, 0x0a, 0x0f, - 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x42, - 0x08, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, - 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_core_Discover_proto_rawDesc = "" + + "\n" + + "\x13core/Discover.proto\x12\bprotocol\"P\n" + + "\bEndpoint\x12\x18\n" + + "\aaddress\x18\x01 \x01(\fR\aaddress\x12\x12\n" + + "\x04port\x18\x02 \x01(\x05R\x04port\x12\x16\n" + + "\x06nodeId\x18\x03 \x01(\fR\x06nodeId\"\x91\x01\n" + + "\vPingMessage\x12&\n" + + "\x04from\x18\x01 \x01(\v2\x12.protocol.EndpointR\x04from\x12\"\n" + + "\x02to\x18\x02 \x01(\v2\x12.protocol.EndpointR\x02to\x12\x18\n" + + "\aversion\x18\x03 \x01(\x05R\aversion\x12\x1c\n" + + "\ttimestamp\x18\x04 \x01(\x03R\ttimestamp\"g\n" + + "\vPongMessage\x12&\n" + + "\x04from\x18\x01 \x01(\v2\x12.protocol.EndpointR\x04from\x12\x12\n" + + "\x04echo\x18\x02 \x01(\x05R\x04echo\x12\x1c\n" + + "\ttimestamp\x18\x03 \x01(\x03R\ttimestamp\"r\n" + + "\x0eFindNeighbours\x12&\n" + + "\x04from\x18\x01 \x01(\v2\x12.protocol.EndpointR\x04from\x12\x1a\n" + + "\btargetId\x18\x02 \x01(\fR\btargetId\x12\x1c\n" + + "\ttimestamp\x18\x03 \x01(\x03R\ttimestamp\"\x86\x01\n" + + "\n" + + "Neighbours\x12&\n" + + "\x04from\x18\x01 \x01(\v2\x12.protocol.EndpointR\x04from\x122\n" + + "\n" + + "neighbours\x18\x02 \x03(\v2\x12.protocol.EndpointR\n" + + "neighbours\x12\x1c\n" + + "\ttimestamp\x18\x03 \x01(\x03R\ttimestamp\"?\n" + + "\rBackupMessage\x12\x12\n" + + "\x04flag\x18\x01 \x01(\bR\x04flag\x12\x1a\n" + + "\bpriority\x18\x02 \x01(\x05R\bpriorityBL\n" + + "\x0forg.tron.protosB\bDiscoverZ/github.com/fbsobreira/gotron-sdk/pkg/proto/coreb\x06proto3" var ( file_core_Discover_proto_rawDescOnce sync.Once - file_core_Discover_proto_rawDescData = file_core_Discover_proto_rawDesc + file_core_Discover_proto_rawDescData []byte ) func file_core_Discover_proto_rawDescGZIP() []byte { file_core_Discover_proto_rawDescOnce.Do(func() { - file_core_Discover_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_Discover_proto_rawDescData) + file_core_Discover_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_core_Discover_proto_rawDesc), len(file_core_Discover_proto_rawDesc))) }) return file_core_Discover_proto_rawDescData } var file_core_Discover_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_core_Discover_proto_goTypes = []interface{}{ +var file_core_Discover_proto_goTypes = []any{ (*Endpoint)(nil), // 0: protocol.Endpoint (*PingMessage)(nil), // 1: protocol.PingMessage (*PongMessage)(nil), // 2: protocol.PongMessage @@ -491,85 +455,11 @@ func file_core_Discover_proto_init() { if File_core_Discover_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_core_Discover_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Endpoint); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Discover_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PingMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Discover_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PongMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Discover_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindNeighbours); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Discover_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Neighbours); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Discover_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BackupMessage); 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_core_Discover_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_core_Discover_proto_rawDesc), len(file_core_Discover_proto_rawDesc)), NumEnums: 0, NumMessages: 6, NumExtensions: 0, @@ -580,7 +470,6 @@ func file_core_Discover_proto_init() { MessageInfos: file_core_Discover_proto_msgTypes, }.Build() File_core_Discover_proto = out.File - file_core_Discover_proto_rawDesc = nil file_core_Discover_proto_goTypes = nil file_core_Discover_proto_depIdxs = nil } diff --git a/pkg/proto/core/Tron.pb.go b/pkg/proto/core/Tron.pb.go index d3eeb06ad..9f652aba7 100644 --- a/pkg/proto/core/Tron.pb.go +++ b/pkg/proto/core/Tron.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 -// protoc v3.21.12 +// protoc-gen-go v1.36.6 +// protoc v5.29.3 // source: core/Tron.proto package core @@ -12,6 +12,7 @@ import ( anypb "google.golang.org/protobuf/types/known/anypb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -98,6 +99,8 @@ const ( ReasonCode_TOO_MANY_PEERS_WITH_SAME_IP ReasonCode = 34 ReasonCode_LIGHT_NODE_SYNC_FAIL ReasonCode = 35 ReasonCode_BELOW_THAN_ME ReasonCode = 36 + ReasonCode_NOT_WITNESS ReasonCode = 37 + ReasonCode_NO_SUCH_MESSAGE ReasonCode = 38 ReasonCode_UNKNOWN ReasonCode = 255 ) @@ -129,6 +132,8 @@ var ( 34: "TOO_MANY_PEERS_WITH_SAME_IP", 35: "LIGHT_NODE_SYNC_FAIL", 36: "BELOW_THAN_ME", + 37: "NOT_WITNESS", + 38: "NO_SUCH_MESSAGE", 255: "UNKNOWN", } ReasonCode_value = map[string]int32{ @@ -157,6 +162,8 @@ var ( "TOO_MANY_PEERS_WITH_SAME_IP": 34, "LIGHT_NODE_SYNC_FAIL": 35, "BELOW_THAN_ME": 36, + "NOT_WITNESS": 37, + "NO_SUCH_MESSAGE": 38, "UNKNOWN": 255, } ) @@ -931,21 +938,18 @@ func (PBFTMessage_DataType) EnumDescriptor() ([]byte, []int) { // AccountId, (name, address) use name, (null, address) use address, (name, null) use name, type AccountId struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Address []byte `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` unknownFields protoimpl.UnknownFields - - Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Address []byte `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AccountId) Reset() { *x = AccountId{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AccountId) String() string { @@ -956,7 +960,7 @@ func (*AccountId) ProtoMessage() {} func (x *AccountId) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -987,23 +991,20 @@ func (x *AccountId) GetAddress() []byte { // vote message type Vote struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // the super rep address VoteAddress []byte `protobuf:"bytes,1,opt,name=vote_address,json=voteAddress,proto3" json:"vote_address,omitempty"` // the vote num to this super rep. - VoteCount int64 `protobuf:"varint,2,opt,name=vote_count,json=voteCount,proto3" json:"vote_count,omitempty"` + VoteCount int64 `protobuf:"varint,2,opt,name=vote_count,json=voteCount,proto3" json:"vote_count,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Vote) Reset() { *x = Vote{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Vote) String() string { @@ -1014,7 +1015,7 @@ func (*Vote) ProtoMessage() {} func (x *Vote) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -1045,26 +1046,23 @@ func (x *Vote) GetVoteCount() int64 { // Proposal type Proposal struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ProposalId int64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` - ProposerAddress []byte `protobuf:"bytes,2,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"` - Parameters map[int64]int64 `protobuf:"bytes,3,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - ExpirationTime int64 `protobuf:"varint,4,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"` - CreateTime int64 `protobuf:"varint,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - Approvals [][]byte `protobuf:"bytes,6,rep,name=approvals,proto3" json:"approvals,omitempty"` - State Proposal_State `protobuf:"varint,7,opt,name=state,proto3,enum=protocol.Proposal_State" json:"state,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ProposalId int64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` + ProposerAddress []byte `protobuf:"bytes,2,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"` + Parameters map[int64]int64 `protobuf:"bytes,3,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + ExpirationTime int64 `protobuf:"varint,4,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"` + CreateTime int64 `protobuf:"varint,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + Approvals [][]byte `protobuf:"bytes,6,rep,name=approvals,proto3" json:"approvals,omitempty"` + State Proposal_State `protobuf:"varint,7,opt,name=state,proto3,enum=protocol.Proposal_State" json:"state,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Proposal) Reset() { *x = Proposal{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Proposal) String() string { @@ -1075,7 +1073,7 @@ func (*Proposal) ProtoMessage() {} func (x *Proposal) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -1141,26 +1139,23 @@ func (x *Proposal) GetState() Proposal_State { // Exchange type Exchange struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ExchangeId int64 `protobuf:"varint,1,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"` - CreatorAddress []byte `protobuf:"bytes,2,opt,name=creator_address,json=creatorAddress,proto3" json:"creator_address,omitempty"` - CreateTime int64 `protobuf:"varint,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - FirstTokenId []byte `protobuf:"bytes,6,opt,name=first_token_id,json=firstTokenId,proto3" json:"first_token_id,omitempty"` - FirstTokenBalance int64 `protobuf:"varint,7,opt,name=first_token_balance,json=firstTokenBalance,proto3" json:"first_token_balance,omitempty"` - SecondTokenId []byte `protobuf:"bytes,8,opt,name=second_token_id,json=secondTokenId,proto3" json:"second_token_id,omitempty"` - SecondTokenBalance int64 `protobuf:"varint,9,opt,name=second_token_balance,json=secondTokenBalance,proto3" json:"second_token_balance,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ExchangeId int64 `protobuf:"varint,1,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"` + CreatorAddress []byte `protobuf:"bytes,2,opt,name=creator_address,json=creatorAddress,proto3" json:"creator_address,omitempty"` + CreateTime int64 `protobuf:"varint,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + FirstTokenId []byte `protobuf:"bytes,6,opt,name=first_token_id,json=firstTokenId,proto3" json:"first_token_id,omitempty"` + FirstTokenBalance int64 `protobuf:"varint,7,opt,name=first_token_balance,json=firstTokenBalance,proto3" json:"first_token_balance,omitempty"` + SecondTokenId []byte `protobuf:"bytes,8,opt,name=second_token_id,json=secondTokenId,proto3" json:"second_token_id,omitempty"` + SecondTokenBalance int64 `protobuf:"varint,9,opt,name=second_token_balance,json=secondTokenBalance,proto3" json:"second_token_balance,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Exchange) Reset() { *x = Exchange{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Exchange) String() string { @@ -1171,7 +1166,7 @@ func (*Exchange) ProtoMessage() {} func (x *Exchange) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -1237,33 +1232,30 @@ func (x *Exchange) GetSecondTokenBalance() int64 { // market type MarketOrder struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OrderId []byte `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` - OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - CreateTime int64 `protobuf:"varint,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - SellTokenId []byte `protobuf:"bytes,4,opt,name=sell_token_id,json=sellTokenId,proto3" json:"sell_token_id,omitempty"` - SellTokenQuantity int64 `protobuf:"varint,5,opt,name=sell_token_quantity,json=sellTokenQuantity,proto3" json:"sell_token_quantity,omitempty"` - BuyTokenId []byte `protobuf:"bytes,6,opt,name=buy_token_id,json=buyTokenId,proto3" json:"buy_token_id,omitempty"` - BuyTokenQuantity int64 `protobuf:"varint,7,opt,name=buy_token_quantity,json=buyTokenQuantity,proto3" json:"buy_token_quantity,omitempty"` // min to receive - SellTokenQuantityRemain int64 `protobuf:"varint,9,opt,name=sell_token_quantity_remain,json=sellTokenQuantityRemain,proto3" json:"sell_token_quantity_remain,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + OrderId []byte `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` + OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + CreateTime int64 `protobuf:"varint,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + SellTokenId []byte `protobuf:"bytes,4,opt,name=sell_token_id,json=sellTokenId,proto3" json:"sell_token_id,omitempty"` + SellTokenQuantity int64 `protobuf:"varint,5,opt,name=sell_token_quantity,json=sellTokenQuantity,proto3" json:"sell_token_quantity,omitempty"` + BuyTokenId []byte `protobuf:"bytes,6,opt,name=buy_token_id,json=buyTokenId,proto3" json:"buy_token_id,omitempty"` + BuyTokenQuantity int64 `protobuf:"varint,7,opt,name=buy_token_quantity,json=buyTokenQuantity,proto3" json:"buy_token_quantity,omitempty"` // min to receive + SellTokenQuantityRemain int64 `protobuf:"varint,9,opt,name=sell_token_quantity_remain,json=sellTokenQuantityRemain,proto3" json:"sell_token_quantity_remain,omitempty"` // When state != ACTIVE and sell_token_quantity_return !=0, - //it means that some sell tokens are returned to the account due to insufficient remaining amount + // it means that some sell tokens are returned to the account due to insufficient remaining amount SellTokenQuantityReturn int64 `protobuf:"varint,10,opt,name=sell_token_quantity_return,json=sellTokenQuantityReturn,proto3" json:"sell_token_quantity_return,omitempty"` State MarketOrder_State `protobuf:"varint,11,opt,name=state,proto3,enum=protocol.MarketOrder_State" json:"state,omitempty"` Prev []byte `protobuf:"bytes,12,opt,name=prev,proto3" json:"prev,omitempty"` Next []byte `protobuf:"bytes,13,opt,name=next,proto3" json:"next,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MarketOrder) Reset() { *x = MarketOrder{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MarketOrder) String() string { @@ -1274,7 +1266,7 @@ func (*MarketOrder) ProtoMessage() {} func (x *MarketOrder) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -1374,20 +1366,17 @@ func (x *MarketOrder) GetNext() []byte { } type MarketOrderList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Orders []*MarketOrder `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"` unknownFields protoimpl.UnknownFields - - Orders []*MarketOrder `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MarketOrderList) Reset() { *x = MarketOrderList{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MarketOrderList) String() string { @@ -1398,7 +1387,7 @@ func (*MarketOrderList) ProtoMessage() {} func (x *MarketOrderList) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -1421,20 +1410,17 @@ func (x *MarketOrderList) GetOrders() []*MarketOrder { } type MarketOrderPairList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + OrderPair []*MarketOrderPair `protobuf:"bytes,1,rep,name=orderPair,proto3" json:"orderPair,omitempty"` unknownFields protoimpl.UnknownFields - - OrderPair []*MarketOrderPair `protobuf:"bytes,1,rep,name=orderPair,proto3" json:"orderPair,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MarketOrderPairList) Reset() { *x = MarketOrderPairList{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MarketOrderPairList) String() string { @@ -1445,7 +1431,7 @@ func (*MarketOrderPairList) ProtoMessage() {} func (x *MarketOrderPairList) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -1468,21 +1454,18 @@ func (x *MarketOrderPairList) GetOrderPair() []*MarketOrderPair { } type MarketOrderPair struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + SellTokenId []byte `protobuf:"bytes,1,opt,name=sell_token_id,json=sellTokenId,proto3" json:"sell_token_id,omitempty"` + BuyTokenId []byte `protobuf:"bytes,2,opt,name=buy_token_id,json=buyTokenId,proto3" json:"buy_token_id,omitempty"` unknownFields protoimpl.UnknownFields - - SellTokenId []byte `protobuf:"bytes,1,opt,name=sell_token_id,json=sellTokenId,proto3" json:"sell_token_id,omitempty"` - BuyTokenId []byte `protobuf:"bytes,2,opt,name=buy_token_id,json=buyTokenId,proto3" json:"buy_token_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MarketOrderPair) Reset() { *x = MarketOrderPair{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MarketOrderPair) String() string { @@ -1493,7 +1476,7 @@ func (*MarketOrderPair) ProtoMessage() {} func (x *MarketOrderPair) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -1523,23 +1506,20 @@ func (x *MarketOrderPair) GetBuyTokenId() []byte { } type MarketAccountOrder struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Orders [][]byte `protobuf:"bytes,2,rep,name=orders,proto3" json:"orders,omitempty"` // order_id list + Count int64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` // active count + TotalCount int64 `protobuf:"varint,4,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Orders [][]byte `protobuf:"bytes,2,rep,name=orders,proto3" json:"orders,omitempty"` // order_id list - Count int64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` // active count - TotalCount int64 `protobuf:"varint,4,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MarketAccountOrder) Reset() { *x = MarketAccountOrder{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MarketAccountOrder) String() string { @@ -1550,7 +1530,7 @@ func (*MarketAccountOrder) ProtoMessage() {} func (x *MarketAccountOrder) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -1594,21 +1574,18 @@ func (x *MarketAccountOrder) GetTotalCount() int64 { } type MarketPrice struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SellTokenQuantity int64 `protobuf:"varint,1,opt,name=sell_token_quantity,json=sellTokenQuantity,proto3" json:"sell_token_quantity,omitempty"` - BuyTokenQuantity int64 `protobuf:"varint,2,opt,name=buy_token_quantity,json=buyTokenQuantity,proto3" json:"buy_token_quantity,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + SellTokenQuantity int64 `protobuf:"varint,1,opt,name=sell_token_quantity,json=sellTokenQuantity,proto3" json:"sell_token_quantity,omitempty"` + BuyTokenQuantity int64 `protobuf:"varint,2,opt,name=buy_token_quantity,json=buyTokenQuantity,proto3" json:"buy_token_quantity,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MarketPrice) Reset() { *x = MarketPrice{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MarketPrice) String() string { @@ -1619,7 +1596,7 @@ func (*MarketPrice) ProtoMessage() {} func (x *MarketPrice) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -1649,22 +1626,19 @@ func (x *MarketPrice) GetBuyTokenQuantity() int64 { } type MarketPriceList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + SellTokenId []byte `protobuf:"bytes,1,opt,name=sell_token_id,json=sellTokenId,proto3" json:"sell_token_id,omitempty"` + BuyTokenId []byte `protobuf:"bytes,2,opt,name=buy_token_id,json=buyTokenId,proto3" json:"buy_token_id,omitempty"` + Prices []*MarketPrice `protobuf:"bytes,3,rep,name=prices,proto3" json:"prices,omitempty"` unknownFields protoimpl.UnknownFields - - SellTokenId []byte `protobuf:"bytes,1,opt,name=sell_token_id,json=sellTokenId,proto3" json:"sell_token_id,omitempty"` - BuyTokenId []byte `protobuf:"bytes,2,opt,name=buy_token_id,json=buyTokenId,proto3" json:"buy_token_id,omitempty"` - Prices []*MarketPrice `protobuf:"bytes,3,rep,name=prices,proto3" json:"prices,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MarketPriceList) Reset() { *x = MarketPriceList{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MarketPriceList) String() string { @@ -1675,7 +1649,7 @@ func (*MarketPriceList) ProtoMessage() {} func (x *MarketPriceList) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -1712,21 +1686,18 @@ func (x *MarketPriceList) GetPrices() []*MarketPrice { } type MarketOrderIdList struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Head []byte `protobuf:"bytes,1,opt,name=head,proto3" json:"head,omitempty"` + Tail []byte `protobuf:"bytes,2,opt,name=tail,proto3" json:"tail,omitempty"` unknownFields protoimpl.UnknownFields - - Head []byte `protobuf:"bytes,1,opt,name=head,proto3" json:"head,omitempty"` - Tail []byte `protobuf:"bytes,2,opt,name=tail,proto3" json:"tail,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MarketOrderIdList) Reset() { *x = MarketOrderIdList{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MarketOrderIdList) String() string { @@ -1737,7 +1708,7 @@ func (*MarketOrderIdList) ProtoMessage() {} func (x *MarketOrderIdList) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -1767,20 +1738,17 @@ func (x *MarketOrderIdList) GetTail() []byte { } type ChainParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` ChainParameter []*ChainParameters_ChainParameter `protobuf:"bytes,1,rep,name=chainParameter,proto3" json:"chainParameter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ChainParameters) Reset() { *x = ChainParameters{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ChainParameters) String() string { @@ -1791,7 +1759,7 @@ func (*ChainParameters) ProtoMessage() {} func (x *ChainParameters) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -1815,10 +1783,7 @@ func (x *ChainParameters) GetChainParameter() []*ChainParameters_ChainParameter // Account type Account struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // account nick name AccountName []byte `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` Type AccountType `protobuf:"varint,2,opt,name=type,proto3,enum=protocol.AccountType" json:"type,omitempty"` @@ -1829,16 +1794,16 @@ type Account struct { // the votes Votes []*Vote `protobuf:"bytes,5,rep,name=votes,proto3" json:"votes,omitempty"` // the other asset owned by this account - Asset map[string]int64 `protobuf:"bytes,6,rep,name=asset,proto3" json:"asset,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + Asset map[string]int64 `protobuf:"bytes,6,rep,name=asset,proto3" json:"asset,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` // the other asset owned by this account,key is assetId - AssetV2 map[string]int64 `protobuf:"bytes,56,rep,name=assetV2,proto3" json:"assetV2,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + AssetV2 map[string]int64 `protobuf:"bytes,56,rep,name=assetV2,proto3" json:"assetV2,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` // the frozen balance for bandwidth Frozen []*Account_Frozen `protobuf:"bytes,7,rep,name=frozen,proto3" json:"frozen,omitempty"` // bandwidth, get from frozen NetUsage int64 `protobuf:"varint,8,opt,name=net_usage,json=netUsage,proto3" json:"net_usage,omitempty"` - //Frozen balance provided by other accounts to this account + // Frozen balance provided by other accounts to this account AcquiredDelegatedFrozenBalanceForBandwidth int64 `protobuf:"varint,41,opt,name=acquired_delegated_frozen_balance_for_bandwidth,json=acquiredDelegatedFrozenBalanceForBandwidth,proto3" json:"acquired_delegated_frozen_balance_for_bandwidth,omitempty"` - //Freeze and provide balances to other accounts + // Freeze and provide balances to other accounts DelegatedFrozenBalanceForBandwidth int64 `protobuf:"varint,42,opt,name=delegated_frozen_balance_for_bandwidth,json=delegatedFrozenBalanceForBandwidth,proto3" json:"delegated_frozen_balance_for_bandwidth,omitempty"` OldTronPower int64 `protobuf:"varint,46,opt,name=old_tron_power,json=oldTronPower,proto3" json:"old_tron_power,omitempty"` TronPower *Account_Frozen `protobuf:"bytes,47,opt,name=tron_power,json=tronPower,proto3" json:"tron_power,omitempty"` @@ -1860,11 +1825,11 @@ type Account struct { // asset_issued_name AssetIssuedName []byte `protobuf:"bytes,17,opt,name=asset_issued_name,json=assetIssuedName,proto3" json:"asset_issued_name,omitempty"` AssetIssued_ID []byte `protobuf:"bytes,57,opt,name=asset_issued_ID,json=assetIssuedID,proto3" json:"asset_issued_ID,omitempty"` - LatestAssetOperationTime map[string]int64 `protobuf:"bytes,18,rep,name=latest_asset_operation_time,json=latestAssetOperationTime,proto3" json:"latest_asset_operation_time,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - LatestAssetOperationTimeV2 map[string]int64 `protobuf:"bytes,58,rep,name=latest_asset_operation_timeV2,json=latestAssetOperationTimeV2,proto3" json:"latest_asset_operation_timeV2,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + LatestAssetOperationTime map[string]int64 `protobuf:"bytes,18,rep,name=latest_asset_operation_time,json=latestAssetOperationTime,proto3" json:"latest_asset_operation_time,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + LatestAssetOperationTimeV2 map[string]int64 `protobuf:"bytes,58,rep,name=latest_asset_operation_timeV2,json=latestAssetOperationTimeV2,proto3" json:"latest_asset_operation_timeV2,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` FreeNetUsage int64 `protobuf:"varint,19,opt,name=free_net_usage,json=freeNetUsage,proto3" json:"free_net_usage,omitempty"` - FreeAssetNetUsage map[string]int64 `protobuf:"bytes,20,rep,name=free_asset_net_usage,json=freeAssetNetUsage,proto3" json:"free_asset_net_usage,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - FreeAssetNetUsageV2 map[string]int64 `protobuf:"bytes,59,rep,name=free_asset_net_usageV2,json=freeAssetNetUsageV2,proto3" json:"free_asset_net_usageV2,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + FreeAssetNetUsage map[string]int64 `protobuf:"bytes,20,rep,name=free_asset_net_usage,json=freeAssetNetUsage,proto3" json:"free_asset_net_usage,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + FreeAssetNetUsageV2 map[string]int64 `protobuf:"bytes,59,rep,name=free_asset_net_usageV2,json=freeAssetNetUsageV2,proto3" json:"free_asset_net_usageV2,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` LatestConsumeTime int64 `protobuf:"varint,21,opt,name=latest_consume_time,json=latestConsumeTime,proto3" json:"latest_consume_time,omitempty"` LatestConsumeFreeTime int64 `protobuf:"varint,22,opt,name=latest_consume_free_time,json=latestConsumeFreeTime,proto3" json:"latest_consume_free_time,omitempty"` // the identity of this account, case insensitive @@ -1880,15 +1845,15 @@ type Account struct { UnfrozenV2 []*Account_UnFreezeV2 `protobuf:"bytes,35,rep,name=unfrozenV2,proto3" json:"unfrozenV2,omitempty"` DelegatedFrozenV2BalanceForBandwidth int64 `protobuf:"varint,36,opt,name=delegated_frozenV2_balance_for_bandwidth,json=delegatedFrozenV2BalanceForBandwidth,proto3" json:"delegated_frozenV2_balance_for_bandwidth,omitempty"` AcquiredDelegatedFrozenV2BalanceForBandwidth int64 `protobuf:"varint,37,opt,name=acquired_delegated_frozenV2_balance_for_bandwidth,json=acquiredDelegatedFrozenV2BalanceForBandwidth,proto3" json:"acquired_delegated_frozenV2_balance_for_bandwidth,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Account) Reset() { *x = Account{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Account) String() string { @@ -1899,7 +1864,7 @@ func (*Account) ProtoMessage() {} func (x *Account) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -2216,21 +2181,18 @@ func (x *Account) GetAcquiredDelegatedFrozenV2BalanceForBandwidth() int64 { } type Key struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Weight int64 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"` unknownFields protoimpl.UnknownFields - - Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - Weight int64 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Key) Reset() { *x = Key{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Key) String() string { @@ -2241,7 +2203,7 @@ func (*Key) ProtoMessage() {} func (x *Key) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -2271,25 +2233,22 @@ func (x *Key) GetWeight() int64 { } type DelegatedResource struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - From []byte `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` - To []byte `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` - FrozenBalanceForBandwidth int64 `protobuf:"varint,3,opt,name=frozen_balance_for_bandwidth,json=frozenBalanceForBandwidth,proto3" json:"frozen_balance_for_bandwidth,omitempty"` - FrozenBalanceForEnergy int64 `protobuf:"varint,4,opt,name=frozen_balance_for_energy,json=frozenBalanceForEnergy,proto3" json:"frozen_balance_for_energy,omitempty"` - ExpireTimeForBandwidth int64 `protobuf:"varint,5,opt,name=expire_time_for_bandwidth,json=expireTimeForBandwidth,proto3" json:"expire_time_for_bandwidth,omitempty"` - ExpireTimeForEnergy int64 `protobuf:"varint,6,opt,name=expire_time_for_energy,json=expireTimeForEnergy,proto3" json:"expire_time_for_energy,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + From []byte `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` + To []byte `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` + FrozenBalanceForBandwidth int64 `protobuf:"varint,3,opt,name=frozen_balance_for_bandwidth,json=frozenBalanceForBandwidth,proto3" json:"frozen_balance_for_bandwidth,omitempty"` + FrozenBalanceForEnergy int64 `protobuf:"varint,4,opt,name=frozen_balance_for_energy,json=frozenBalanceForEnergy,proto3" json:"frozen_balance_for_energy,omitempty"` + ExpireTimeForBandwidth int64 `protobuf:"varint,5,opt,name=expire_time_for_bandwidth,json=expireTimeForBandwidth,proto3" json:"expire_time_for_bandwidth,omitempty"` + ExpireTimeForEnergy int64 `protobuf:"varint,6,opt,name=expire_time_for_energy,json=expireTimeForEnergy,proto3" json:"expire_time_for_energy,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DelegatedResource) Reset() { *x = DelegatedResource{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DelegatedResource) String() string { @@ -2300,7 +2259,7 @@ func (*DelegatedResource) ProtoMessage() {} func (x *DelegatedResource) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -2358,21 +2317,18 @@ func (x *DelegatedResource) GetExpireTimeForEnergy() int64 { } type Authority struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Account *AccountId `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` - PermissionName []byte `protobuf:"bytes,2,opt,name=permission_name,json=permissionName,proto3" json:"permission_name,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Account *AccountId `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` + PermissionName []byte `protobuf:"bytes,2,opt,name=permission_name,json=permissionName,proto3" json:"permission_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Authority) Reset() { *x = Authority{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Authority) String() string { @@ -2383,7 +2339,7 @@ func (*Authority) ProtoMessage() {} func (x *Authority) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -2413,10 +2369,7 @@ func (x *Authority) GetPermissionName() []byte { } type Permission struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Type Permission_PermissionType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Permission_PermissionType" json:"type,omitempty"` Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` //Owner id=0, Witness id=1, Active id start by 2 PermissionName string `protobuf:"bytes,3,opt,name=permission_name,json=permissionName,proto3" json:"permission_name,omitempty"` @@ -2424,15 +2377,15 @@ type Permission struct { ParentId int32 `protobuf:"varint,5,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` Operations []byte `protobuf:"bytes,6,opt,name=operations,proto3" json:"operations,omitempty"` //1 bit 1 contract Keys []*Key `protobuf:"bytes,7,rep,name=keys,proto3" json:"keys,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Permission) Reset() { *x = Permission{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Permission) String() string { @@ -2443,7 +2396,7 @@ func (*Permission) ProtoMessage() {} func (x *Permission) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -2509,28 +2462,25 @@ func (x *Permission) GetKeys() []*Key { // Witness type Witness struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - VoteCount int64 `protobuf:"varint,2,opt,name=voteCount,proto3" json:"voteCount,omitempty"` - PubKey []byte `protobuf:"bytes,3,opt,name=pubKey,proto3" json:"pubKey,omitempty"` - Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` - TotalProduced int64 `protobuf:"varint,5,opt,name=totalProduced,proto3" json:"totalProduced,omitempty"` - TotalMissed int64 `protobuf:"varint,6,opt,name=totalMissed,proto3" json:"totalMissed,omitempty"` - LatestBlockNum int64 `protobuf:"varint,7,opt,name=latestBlockNum,proto3" json:"latestBlockNum,omitempty"` - LatestSlotNum int64 `protobuf:"varint,8,opt,name=latestSlotNum,proto3" json:"latestSlotNum,omitempty"` - IsJobs bool `protobuf:"varint,9,opt,name=isJobs,proto3" json:"isJobs,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + VoteCount int64 `protobuf:"varint,2,opt,name=voteCount,proto3" json:"voteCount,omitempty"` + PubKey []byte `protobuf:"bytes,3,opt,name=pubKey,proto3" json:"pubKey,omitempty"` + Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` + TotalProduced int64 `protobuf:"varint,5,opt,name=totalProduced,proto3" json:"totalProduced,omitempty"` + TotalMissed int64 `protobuf:"varint,6,opt,name=totalMissed,proto3" json:"totalMissed,omitempty"` + LatestBlockNum int64 `protobuf:"varint,7,opt,name=latestBlockNum,proto3" json:"latestBlockNum,omitempty"` + LatestSlotNum int64 `protobuf:"varint,8,opt,name=latestSlotNum,proto3" json:"latestSlotNum,omitempty"` + IsJobs bool `protobuf:"varint,9,opt,name=isJobs,proto3" json:"isJobs,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Witness) Reset() { *x = Witness{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Witness) String() string { @@ -2541,7 +2491,7 @@ func (*Witness) ProtoMessage() {} func (x *Witness) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -2621,22 +2571,19 @@ func (x *Witness) GetIsJobs() bool { // Vote Change type Votes struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + OldVotes []*Vote `protobuf:"bytes,2,rep,name=old_votes,json=oldVotes,proto3" json:"old_votes,omitempty"` + NewVotes []*Vote `protobuf:"bytes,3,rep,name=new_votes,json=newVotes,proto3" json:"new_votes,omitempty"` unknownFields protoimpl.UnknownFields - - Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - OldVotes []*Vote `protobuf:"bytes,2,rep,name=old_votes,json=oldVotes,proto3" json:"old_votes,omitempty"` - NewVotes []*Vote `protobuf:"bytes,3,rep,name=new_votes,json=newVotes,proto3" json:"new_votes,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Votes) Reset() { *x = Votes{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Votes) String() string { @@ -2647,7 +2594,7 @@ func (*Votes) ProtoMessage() {} func (x *Votes) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -2684,21 +2631,18 @@ func (x *Votes) GetNewVotes() []*Vote { } type TXOutput struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` + PubKeyHash []byte `protobuf:"bytes,2,opt,name=pubKeyHash,proto3" json:"pubKeyHash,omitempty"` unknownFields protoimpl.UnknownFields - - Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` - PubKeyHash []byte `protobuf:"bytes,2,opt,name=pubKeyHash,proto3" json:"pubKeyHash,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TXOutput) Reset() { *x = TXOutput{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TXOutput) String() string { @@ -2709,7 +2653,7 @@ func (*TXOutput) ProtoMessage() {} func (x *TXOutput) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -2739,21 +2683,18 @@ func (x *TXOutput) GetPubKeyHash() []byte { } type TXInput struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + RawData *TXInputRaw `protobuf:"bytes,1,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` + Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` unknownFields protoimpl.UnknownFields - - RawData *TXInputRaw `protobuf:"bytes,1,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` - Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TXInput) Reset() { *x = TXInput{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TXInput) String() string { @@ -2764,7 +2705,7 @@ func (*TXInput) ProtoMessage() {} func (x *TXInput) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -2794,20 +2735,17 @@ func (x *TXInput) GetSignature() []byte { } type TXOutputs struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Outputs []*TXOutput `protobuf:"bytes,1,rep,name=outputs,proto3" json:"outputs,omitempty"` unknownFields protoimpl.UnknownFields - - Outputs []*TXOutput `protobuf:"bytes,1,rep,name=outputs,proto3" json:"outputs,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TXOutputs) Reset() { *x = TXOutputs{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TXOutputs) String() string { @@ -2818,7 +2756,7 @@ func (*TXOutputs) ProtoMessage() {} func (x *TXOutputs) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -2841,10 +2779,7 @@ func (x *TXOutputs) GetOutputs() []*TXOutput { } type ResourceReceipt struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` EnergyUsage int64 `protobuf:"varint,1,opt,name=energy_usage,json=energyUsage,proto3" json:"energy_usage,omitempty"` EnergyFee int64 `protobuf:"varint,2,opt,name=energy_fee,json=energyFee,proto3" json:"energy_fee,omitempty"` OriginEnergyUsage int64 `protobuf:"varint,3,opt,name=origin_energy_usage,json=originEnergyUsage,proto3" json:"origin_energy_usage,omitempty"` @@ -2853,15 +2788,15 @@ type ResourceReceipt struct { NetFee int64 `protobuf:"varint,6,opt,name=net_fee,json=netFee,proto3" json:"net_fee,omitempty"` Result Transaction_ResultContractResult `protobuf:"varint,7,opt,name=result,proto3,enum=protocol.Transaction_ResultContractResult" json:"result,omitempty"` EnergyPenaltyTotal int64 `protobuf:"varint,8,opt,name=energy_penalty_total,json=energyPenaltyTotal,proto3" json:"energy_penalty_total,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ResourceReceipt) Reset() { *x = ResourceReceipt{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ResourceReceipt) String() string { @@ -2872,7 +2807,7 @@ func (*ResourceReceipt) ProtoMessage() {} func (x *ResourceReceipt) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -2944,23 +2879,20 @@ func (x *ResourceReceipt) GetEnergyPenaltyTotal() int64 { } type MarketOrderDetail struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MakerOrderId []byte `protobuf:"bytes,1,opt,name=makerOrderId,proto3" json:"makerOrderId,omitempty"` - TakerOrderId []byte `protobuf:"bytes,2,opt,name=takerOrderId,proto3" json:"takerOrderId,omitempty"` - FillSellQuantity int64 `protobuf:"varint,3,opt,name=fillSellQuantity,proto3" json:"fillSellQuantity,omitempty"` - FillBuyQuantity int64 `protobuf:"varint,4,opt,name=fillBuyQuantity,proto3" json:"fillBuyQuantity,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + MakerOrderId []byte `protobuf:"bytes,1,opt,name=makerOrderId,proto3" json:"makerOrderId,omitempty"` + TakerOrderId []byte `protobuf:"bytes,2,opt,name=takerOrderId,proto3" json:"takerOrderId,omitempty"` + FillSellQuantity int64 `protobuf:"varint,3,opt,name=fillSellQuantity,proto3" json:"fillSellQuantity,omitempty"` + FillBuyQuantity int64 `protobuf:"varint,4,opt,name=fillBuyQuantity,proto3" json:"fillBuyQuantity,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MarketOrderDetail) Reset() { *x = MarketOrderDetail{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MarketOrderDetail) String() string { @@ -2971,7 +2903,7 @@ func (*MarketOrderDetail) ProtoMessage() {} func (x *MarketOrderDetail) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -3015,23 +2947,20 @@ func (x *MarketOrderDetail) GetFillBuyQuantity() int64 { } type Transaction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RawData *TransactionRaw `protobuf:"bytes,1,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + RawData *TransactionRaw `protobuf:"bytes,1,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` // only support size = 1, repeated list here for muti-sig extension - Signature [][]byte `protobuf:"bytes,2,rep,name=signature,proto3" json:"signature,omitempty"` - Ret []*Transaction_Result `protobuf:"bytes,5,rep,name=ret,proto3" json:"ret,omitempty"` + Signature [][]byte `protobuf:"bytes,2,rep,name=signature,proto3" json:"signature,omitempty"` + Ret []*Transaction_Result `protobuf:"bytes,5,rep,name=ret,proto3" json:"ret,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Transaction) Reset() { *x = Transaction{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Transaction) String() string { @@ -3042,7 +2971,7 @@ func (*Transaction) ProtoMessage() {} func (x *Transaction) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -3079,10 +3008,7 @@ func (x *Transaction) GetRet() []*Transaction_Result { } type TransactionInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Fee int64 `protobuf:"varint,2,opt,name=fee,proto3" json:"fee,omitempty"` BlockNumber int64 `protobuf:"varint,3,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` @@ -3106,16 +3032,16 @@ type TransactionInfo struct { OrderDetails []*MarketOrderDetail `protobuf:"bytes,26,rep,name=orderDetails,proto3" json:"orderDetails,omitempty"` PackingFee int64 `protobuf:"varint,27,opt,name=packingFee,proto3" json:"packingFee,omitempty"` WithdrawExpireAmount int64 `protobuf:"varint,28,opt,name=withdraw_expire_amount,json=withdrawExpireAmount,proto3" json:"withdraw_expire_amount,omitempty"` - CancelUnfreezeV2Amount map[string]int64 `protobuf:"bytes,29,rep,name=cancel_unfreezeV2_amount,json=cancelUnfreezeV2Amount,proto3" json:"cancel_unfreezeV2_amount,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + CancelUnfreezeV2Amount map[string]int64 `protobuf:"bytes,29,rep,name=cancel_unfreezeV2_amount,json=cancelUnfreezeV2Amount,proto3" json:"cancel_unfreezeV2_amount,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TransactionInfo) Reset() { *x = TransactionInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransactionInfo) String() string { @@ -3126,7 +3052,7 @@ func (*TransactionInfo) ProtoMessage() {} func (x *TransactionInfo) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -3310,22 +3236,19 @@ func (x *TransactionInfo) GetCancelUnfreezeV2Amount() map[string]int64 { } type TransactionRet struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - BlockNumber int64 `protobuf:"varint,1,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` - BlockTimeStamp int64 `protobuf:"varint,2,opt,name=blockTimeStamp,proto3" json:"blockTimeStamp,omitempty"` - Transactioninfo []*TransactionInfo `protobuf:"bytes,3,rep,name=transactioninfo,proto3" json:"transactioninfo,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + BlockNumber int64 `protobuf:"varint,1,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` + BlockTimeStamp int64 `protobuf:"varint,2,opt,name=blockTimeStamp,proto3" json:"blockTimeStamp,omitempty"` + Transactioninfo []*TransactionInfo `protobuf:"bytes,3,rep,name=transactioninfo,proto3" json:"transactioninfo,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TransactionRet) Reset() { *x = TransactionRet{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransactionRet) String() string { @@ -3336,7 +3259,7 @@ func (*TransactionRet) ProtoMessage() {} func (x *TransactionRet) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -3373,20 +3296,17 @@ func (x *TransactionRet) GetTransactioninfo() []*TransactionInfo { } type Transactions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` unknownFields protoimpl.UnknownFields - - Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Transactions) Reset() { *x = Transactions{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Transactions) String() string { @@ -3397,7 +3317,7 @@ func (*Transactions) ProtoMessage() {} func (x *Transactions) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -3420,21 +3340,18 @@ func (x *Transactions) GetTransactions() []*Transaction { } type BlockHeader struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RawData *BlockHeaderRaw `protobuf:"bytes,1,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` - WitnessSignature []byte `protobuf:"bytes,2,opt,name=witness_signature,json=witnessSignature,proto3" json:"witness_signature,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + RawData *BlockHeaderRaw `protobuf:"bytes,1,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` + WitnessSignature []byte `protobuf:"bytes,2,opt,name=witness_signature,json=witnessSignature,proto3" json:"witness_signature,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *BlockHeader) Reset() { *x = BlockHeader{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BlockHeader) String() string { @@ -3445,7 +3362,7 @@ func (*BlockHeader) ProtoMessage() {} func (x *BlockHeader) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -3476,21 +3393,18 @@ func (x *BlockHeader) GetWitnessSignature() []byte { // block type Block struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` + BlockHeader *BlockHeader `protobuf:"bytes,2,opt,name=block_header,json=blockHeader,proto3" json:"block_header,omitempty"` unknownFields protoimpl.UnknownFields - - Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` - BlockHeader *BlockHeader `protobuf:"bytes,2,opt,name=block_header,json=blockHeader,proto3" json:"block_header,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Block) Reset() { *x = Block{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Block) String() string { @@ -3501,7 +3415,7 @@ func (*Block) ProtoMessage() {} func (x *Block) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -3531,21 +3445,18 @@ func (x *Block) GetBlockHeader() *BlockHeader { } type ChainInventory struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Ids []*ChainInventory_BlockId `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` + RemainNum int64 `protobuf:"varint,2,opt,name=remain_num,json=remainNum,proto3" json:"remain_num,omitempty"` unknownFields protoimpl.UnknownFields - - Ids []*ChainInventory_BlockId `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` - RemainNum int64 `protobuf:"varint,2,opt,name=remain_num,json=remainNum,proto3" json:"remain_num,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ChainInventory) Reset() { *x = ChainInventory{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ChainInventory) String() string { @@ -3556,7 +3467,7 @@ func (*ChainInventory) ProtoMessage() {} func (x *ChainInventory) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -3587,21 +3498,18 @@ func (x *ChainInventory) GetRemainNum() int64 { // Inventory type BlockInventory struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Ids []*BlockInventory_BlockId `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` + Type BlockInventory_Type `protobuf:"varint,2,opt,name=type,proto3,enum=protocol.BlockInventory_Type" json:"type,omitempty"` unknownFields protoimpl.UnknownFields - - Ids []*BlockInventory_BlockId `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` - Type BlockInventory_Type `protobuf:"varint,2,opt,name=type,proto3,enum=protocol.BlockInventory_Type" json:"type,omitempty"` + sizeCache protoimpl.SizeCache } func (x *BlockInventory) Reset() { *x = BlockInventory{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BlockInventory) String() string { @@ -3612,7 +3520,7 @@ func (*BlockInventory) ProtoMessage() {} func (x *BlockInventory) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -3642,21 +3550,18 @@ func (x *BlockInventory) GetType() BlockInventory_Type { } type Inventory struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Type Inventory_InventoryType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Inventory_InventoryType" json:"type,omitempty"` + Ids [][]byte `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` unknownFields protoimpl.UnknownFields - - Type Inventory_InventoryType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Inventory_InventoryType" json:"type,omitempty"` - Ids [][]byte `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Inventory) Reset() { *x = Inventory{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Inventory) String() string { @@ -3667,7 +3572,7 @@ func (*Inventory) ProtoMessage() {} func (x *Inventory) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -3697,23 +3602,20 @@ func (x *Inventory) GetIds() [][]byte { } type Items struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Type Items_ItemType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Items_ItemType" json:"type,omitempty"` + Blocks []*Block `protobuf:"bytes,2,rep,name=blocks,proto3" json:"blocks,omitempty"` + BlockHeaders []*BlockHeader `protobuf:"bytes,3,rep,name=block_headers,json=blockHeaders,proto3" json:"block_headers,omitempty"` + Transactions []*Transaction `protobuf:"bytes,4,rep,name=transactions,proto3" json:"transactions,omitempty"` unknownFields protoimpl.UnknownFields - - Type Items_ItemType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Items_ItemType" json:"type,omitempty"` - Blocks []*Block `protobuf:"bytes,2,rep,name=blocks,proto3" json:"blocks,omitempty"` - BlockHeaders []*BlockHeader `protobuf:"bytes,3,rep,name=block_headers,json=blockHeaders,proto3" json:"block_headers,omitempty"` - Transactions []*Transaction `protobuf:"bytes,4,rep,name=transactions,proto3" json:"transactions,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Items) Reset() { *x = Items{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Items) String() string { @@ -3724,7 +3626,7 @@ func (*Items) ProtoMessage() {} func (x *Items) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -3769,20 +3671,17 @@ func (x *Items) GetTransactions() []*Transaction { // DynamicProperties type DynamicProperties struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LastSolidityBlockNum int64 `protobuf:"varint,1,opt,name=last_solidity_block_num,json=lastSolidityBlockNum,proto3" json:"last_solidity_block_num,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + LastSolidityBlockNum int64 `protobuf:"varint,1,opt,name=last_solidity_block_num,json=lastSolidityBlockNum,proto3" json:"last_solidity_block_num,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DynamicProperties) Reset() { *x = DynamicProperties{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DynamicProperties) String() string { @@ -3793,7 +3692,7 @@ func (*DynamicProperties) ProtoMessage() {} func (x *DynamicProperties) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -3816,20 +3715,17 @@ func (x *DynamicProperties) GetLastSolidityBlockNum() int64 { } type DisconnectMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Reason ReasonCode `protobuf:"varint,1,opt,name=reason,proto3,enum=protocol.ReasonCode" json:"reason,omitempty"` unknownFields protoimpl.UnknownFields - - Reason ReasonCode `protobuf:"varint,1,opt,name=reason,proto3,enum=protocol.ReasonCode" json:"reason,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DisconnectMessage) Reset() { *x = DisconnectMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DisconnectMessage) String() string { @@ -3840,7 +3736,7 @@ func (*DisconnectMessage) ProtoMessage() {} func (x *DisconnectMessage) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -3863,29 +3759,27 @@ func (x *DisconnectMessage) GetReason() ReasonCode { } type HelloMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - From *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` - Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` - Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - GenesisBlockId *HelloMessage_BlockId `protobuf:"bytes,4,opt,name=genesisBlockId,proto3" json:"genesisBlockId,omitempty"` - SolidBlockId *HelloMessage_BlockId `protobuf:"bytes,5,opt,name=solidBlockId,proto3" json:"solidBlockId,omitempty"` - HeadBlockId *HelloMessage_BlockId `protobuf:"bytes,6,opt,name=headBlockId,proto3" json:"headBlockId,omitempty"` - Address []byte `protobuf:"bytes,7,opt,name=address,proto3" json:"address,omitempty"` - Signature []byte `protobuf:"bytes,8,opt,name=signature,proto3" json:"signature,omitempty"` - NodeType int32 `protobuf:"varint,9,opt,name=nodeType,proto3" json:"nodeType,omitempty"` - LowestBlockNum int64 `protobuf:"varint,10,opt,name=lowestBlockNum,proto3" json:"lowestBlockNum,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + From *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` + Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` + Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + GenesisBlockId *HelloMessage_BlockId `protobuf:"bytes,4,opt,name=genesisBlockId,proto3" json:"genesisBlockId,omitempty"` + SolidBlockId *HelloMessage_BlockId `protobuf:"bytes,5,opt,name=solidBlockId,proto3" json:"solidBlockId,omitempty"` + HeadBlockId *HelloMessage_BlockId `protobuf:"bytes,6,opt,name=headBlockId,proto3" json:"headBlockId,omitempty"` + Address []byte `protobuf:"bytes,7,opt,name=address,proto3" json:"address,omitempty"` + Signature []byte `protobuf:"bytes,8,opt,name=signature,proto3" json:"signature,omitempty"` + NodeType int32 `protobuf:"varint,9,opt,name=nodeType,proto3" json:"nodeType,omitempty"` + LowestBlockNum int64 `protobuf:"varint,10,opt,name=lowestBlockNum,proto3" json:"lowestBlockNum,omitempty"` + CodeVersion []byte `protobuf:"bytes,11,opt,name=codeVersion,proto3" json:"codeVersion,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *HelloMessage) Reset() { *x = HelloMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *HelloMessage) String() string { @@ -3896,7 +3790,7 @@ func (*HelloMessage) ProtoMessage() {} func (x *HelloMessage) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -3981,11 +3875,15 @@ func (x *HelloMessage) GetLowestBlockNum() int64 { return 0 } -type InternalTransaction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (x *HelloMessage) GetCodeVersion() []byte { + if x != nil { + return x.CodeVersion + } + return nil +} +type InternalTransaction struct { + state protoimpl.MessageState `protogen:"open.v1"` // internalTransaction identity, the root InternalTransaction hash // should equals to root transaction id. Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` @@ -3997,15 +3895,15 @@ type InternalTransaction struct { Note []byte `protobuf:"bytes,5,opt,name=note,proto3" json:"note,omitempty"` Rejected bool `protobuf:"varint,6,opt,name=rejected,proto3" json:"rejected,omitempty"` Extra string `protobuf:"bytes,7,opt,name=extra,proto3" json:"extra,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *InternalTransaction) Reset() { *x = InternalTransaction{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InternalTransaction) String() string { @@ -4016,7 +3914,7 @@ func (*InternalTransaction) ProtoMessage() {} func (x *InternalTransaction) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -4081,23 +3979,20 @@ func (x *InternalTransaction) GetExtra() string { } type DelegatedResourceAccountIndex struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Account []byte `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` + FromAccounts [][]byte `protobuf:"bytes,2,rep,name=fromAccounts,proto3" json:"fromAccounts,omitempty"` + ToAccounts [][]byte `protobuf:"bytes,3,rep,name=toAccounts,proto3" json:"toAccounts,omitempty"` + Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` unknownFields protoimpl.UnknownFields - - Account []byte `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` - FromAccounts [][]byte `protobuf:"bytes,2,rep,name=fromAccounts,proto3" json:"fromAccounts,omitempty"` - ToAccounts [][]byte `protobuf:"bytes,3,rep,name=toAccounts,proto3" json:"toAccounts,omitempty"` - Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DelegatedResourceAccountIndex) Reset() { *x = DelegatedResourceAccountIndex{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DelegatedResourceAccountIndex) String() string { @@ -4108,7 +4003,7 @@ func (*DelegatedResourceAccountIndex) ProtoMessage() {} func (x *DelegatedResourceAccountIndex) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -4152,14 +4047,11 @@ func (x *DelegatedResourceAccountIndex) GetTimestamp() int64 { } type NodeInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - BeginSyncNum int64 `protobuf:"varint,1,opt,name=beginSyncNum,proto3" json:"beginSyncNum,omitempty"` - Block string `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"` - SolidityBlock string `protobuf:"bytes,3,opt,name=solidityBlock,proto3" json:"solidityBlock,omitempty"` - //connect information + state protoimpl.MessageState `protogen:"open.v1"` + BeginSyncNum int64 `protobuf:"varint,1,opt,name=beginSyncNum,proto3" json:"beginSyncNum,omitempty"` + Block string `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"` + SolidityBlock string `protobuf:"bytes,3,opt,name=solidityBlock,proto3" json:"solidityBlock,omitempty"` + // connect information CurrentConnectCount int32 `protobuf:"varint,4,opt,name=currentConnectCount,proto3" json:"currentConnectCount,omitempty"` ActiveConnectCount int32 `protobuf:"varint,5,opt,name=activeConnectCount,proto3" json:"activeConnectCount,omitempty"` PassiveConnectCount int32 `protobuf:"varint,6,opt,name=passiveConnectCount,proto3" json:"passiveConnectCount,omitempty"` @@ -4167,16 +4059,16 @@ type NodeInfo struct { PeerInfoList []*NodeInfo_PeerInfo `protobuf:"bytes,8,rep,name=peerInfoList,proto3" json:"peerInfoList,omitempty"` ConfigNodeInfo *NodeInfo_ConfigNodeInfo `protobuf:"bytes,9,opt,name=configNodeInfo,proto3" json:"configNodeInfo,omitempty"` MachineInfo *NodeInfo_MachineInfo `protobuf:"bytes,10,opt,name=machineInfo,proto3" json:"machineInfo,omitempty"` - CheatWitnessInfoMap map[string]string `protobuf:"bytes,11,rep,name=cheatWitnessInfoMap,proto3" json:"cheatWitnessInfoMap,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CheatWitnessInfoMap map[string]string `protobuf:"bytes,11,rep,name=cheatWitnessInfoMap,proto3" json:"cheatWitnessInfoMap,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NodeInfo) Reset() { *x = NodeInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeInfo) String() string { @@ -4187,7 +4079,7 @@ func (*NodeInfo) ProtoMessage() {} func (x *NodeInfo) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_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) @@ -4280,23 +4172,20 @@ func (x *NodeInfo) GetCheatWitnessInfoMap() map[string]string { } type MetricsInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Interval int64 `protobuf:"varint,1,opt,name=interval,proto3" json:"interval,omitempty"` + Node *MetricsInfo_NodeInfo `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` + Blockchain *MetricsInfo_BlockChainInfo `protobuf:"bytes,3,opt,name=blockchain,proto3" json:"blockchain,omitempty"` + Net *MetricsInfo_NetInfo `protobuf:"bytes,4,opt,name=net,proto3" json:"net,omitempty"` unknownFields protoimpl.UnknownFields - - Interval int64 `protobuf:"varint,1,opt,name=interval,proto3" json:"interval,omitempty"` - Node *MetricsInfo_NodeInfo `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` - Blockchain *MetricsInfo_BlockChainInfo `protobuf:"bytes,3,opt,name=blockchain,proto3" json:"blockchain,omitempty"` - Net *MetricsInfo_NetInfo `protobuf:"bytes,4,opt,name=net,proto3" json:"net,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MetricsInfo) Reset() { *x = MetricsInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MetricsInfo) String() string { @@ -4307,7 +4196,7 @@ func (*MetricsInfo) ProtoMessage() {} func (x *MetricsInfo) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[41] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4351,21 +4240,18 @@ func (x *MetricsInfo) GetNet() *MetricsInfo_NetInfo { } type PBFTMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + RawData *PBFTMessage_Raw `protobuf:"bytes,1,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` + Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` unknownFields protoimpl.UnknownFields - - RawData *PBFTMessage_Raw `protobuf:"bytes,1,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` - Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PBFTMessage) Reset() { *x = PBFTMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PBFTMessage) String() string { @@ -4376,7 +4262,7 @@ func (*PBFTMessage) ProtoMessage() {} func (x *PBFTMessage) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[42] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4406,21 +4292,18 @@ func (x *PBFTMessage) GetSignature() []byte { } type PBFTCommitResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` + Signature [][]byte `protobuf:"bytes,2,rep,name=signature,proto3" json:"signature,omitempty"` unknownFields protoimpl.UnknownFields - - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - Signature [][]byte `protobuf:"bytes,2,rep,name=signature,proto3" json:"signature,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PBFTCommitResult) Reset() { *x = PBFTCommitResult{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PBFTCommitResult) String() string { @@ -4431,7 +4314,7 @@ func (*PBFTCommitResult) ProtoMessage() {} func (x *PBFTCommitResult) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[43] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4461,20 +4344,17 @@ func (x *PBFTCommitResult) GetSignature() [][]byte { } type SRL struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + SrAddress [][]byte `protobuf:"bytes,1,rep,name=srAddress,proto3" json:"srAddress,omitempty"` unknownFields protoimpl.UnknownFields - - SrAddress [][]byte `protobuf:"bytes,1,rep,name=srAddress,proto3" json:"srAddress,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SRL) Reset() { *x = SRL{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SRL) String() string { @@ -4485,7 +4365,7 @@ func (*SRL) ProtoMessage() {} func (x *SRL) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[44] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4508,21 +4388,18 @@ func (x *SRL) GetSrAddress() [][]byte { } type ChainParameters_ChainParameter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` unknownFields protoimpl.UnknownFields - - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ChainParameters_ChainParameter) Reset() { *x = ChainParameters_ChainParameter{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[46] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ChainParameters_ChainParameter) String() string { @@ -4533,7 +4410,7 @@ func (*ChainParameters_ChainParameter) ProtoMessage() {} func (x *ChainParameters_ChainParameter) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[46] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4564,21 +4441,18 @@ func (x *ChainParameters_ChainParameter) GetValue() int64 { // frozen balance type Account_Frozen struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + FrozenBalance int64 `protobuf:"varint,1,opt,name=frozen_balance,json=frozenBalance,proto3" json:"frozen_balance,omitempty"` // the frozen trx balance + ExpireTime int64 `protobuf:"varint,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // the expire time unknownFields protoimpl.UnknownFields - - FrozenBalance int64 `protobuf:"varint,1,opt,name=frozen_balance,json=frozenBalance,proto3" json:"frozen_balance,omitempty"` // the frozen trx balance - ExpireTime int64 `protobuf:"varint,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // the expire time + sizeCache protoimpl.SizeCache } func (x *Account_Frozen) Reset() { *x = Account_Frozen{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[47] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Account_Frozen) String() string { @@ -4589,7 +4463,7 @@ func (*Account_Frozen) ProtoMessage() {} func (x *Account_Frozen) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[47] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4619,18 +4493,15 @@ func (x *Account_Frozen) GetExpireTime() int64 { } type Account_AccountResource struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // energy resource, get from frozen EnergyUsage int64 `protobuf:"varint,1,opt,name=energy_usage,json=energyUsage,proto3" json:"energy_usage,omitempty"` // the frozen balance for energy FrozenBalanceForEnergy *Account_Frozen `protobuf:"bytes,2,opt,name=frozen_balance_for_energy,json=frozenBalanceForEnergy,proto3" json:"frozen_balance_for_energy,omitempty"` LatestConsumeTimeForEnergy int64 `protobuf:"varint,3,opt,name=latest_consume_time_for_energy,json=latestConsumeTimeForEnergy,proto3" json:"latest_consume_time_for_energy,omitempty"` - //Frozen balance provided by other accounts to this account + // Frozen balance provided by other accounts to this account AcquiredDelegatedFrozenBalanceForEnergy int64 `protobuf:"varint,4,opt,name=acquired_delegated_frozen_balance_for_energy,json=acquiredDelegatedFrozenBalanceForEnergy,proto3" json:"acquired_delegated_frozen_balance_for_energy,omitempty"` - //Frozen balances provided to other accounts + // Frozen balances provided to other accounts DelegatedFrozenBalanceForEnergy int64 `protobuf:"varint,5,opt,name=delegated_frozen_balance_for_energy,json=delegatedFrozenBalanceForEnergy,proto3" json:"delegated_frozen_balance_for_energy,omitempty"` // storage resource, get from market StorageLimit int64 `protobuf:"varint,6,opt,name=storage_limit,json=storageLimit,proto3" json:"storage_limit,omitempty"` @@ -4640,15 +4511,15 @@ type Account_AccountResource struct { DelegatedFrozenV2BalanceForEnergy int64 `protobuf:"varint,10,opt,name=delegated_frozenV2_balance_for_energy,json=delegatedFrozenV2BalanceForEnergy,proto3" json:"delegated_frozenV2_balance_for_energy,omitempty"` AcquiredDelegatedFrozenV2BalanceForEnergy int64 `protobuf:"varint,11,opt,name=acquired_delegated_frozenV2_balance_for_energy,json=acquiredDelegatedFrozenV2BalanceForEnergy,proto3" json:"acquired_delegated_frozenV2_balance_for_energy,omitempty"` EnergyWindowOptimized bool `protobuf:"varint,12,opt,name=energy_window_optimized,json=energyWindowOptimized,proto3" json:"energy_window_optimized,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Account_AccountResource) Reset() { *x = Account_AccountResource{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[54] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Account_AccountResource) String() string { @@ -4659,7 +4530,7 @@ func (*Account_AccountResource) ProtoMessage() {} func (x *Account_AccountResource) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[54] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4759,21 +4630,18 @@ func (x *Account_AccountResource) GetEnergyWindowOptimized() bool { } type Account_FreezeV2 struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Type ResourceCode `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.ResourceCode" json:"type,omitempty"` + Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` unknownFields protoimpl.UnknownFields - - Type ResourceCode `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.ResourceCode" json:"type,omitempty"` - Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Account_FreezeV2) Reset() { *x = Account_FreezeV2{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[55] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Account_FreezeV2) String() string { @@ -4784,7 +4652,7 @@ func (*Account_FreezeV2) ProtoMessage() {} func (x *Account_FreezeV2) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[55] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4814,22 +4682,19 @@ func (x *Account_FreezeV2) GetAmount() int64 { } type Account_UnFreezeV2 struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type ResourceCode `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.ResourceCode" json:"type,omitempty"` - UnfreezeAmount int64 `protobuf:"varint,3,opt,name=unfreeze_amount,json=unfreezeAmount,proto3" json:"unfreeze_amount,omitempty"` - UnfreezeExpireTime int64 `protobuf:"varint,4,opt,name=unfreeze_expire_time,json=unfreezeExpireTime,proto3" json:"unfreeze_expire_time,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Type ResourceCode `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.ResourceCode" json:"type,omitempty"` + UnfreezeAmount int64 `protobuf:"varint,3,opt,name=unfreeze_amount,json=unfreezeAmount,proto3" json:"unfreeze_amount,omitempty"` + UnfreezeExpireTime int64 `protobuf:"varint,4,opt,name=unfreeze_expire_time,json=unfreezeExpireTime,proto3" json:"unfreeze_expire_time,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Account_UnFreezeV2) Reset() { *x = Account_UnFreezeV2{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[56] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Account_UnFreezeV2) String() string { @@ -4840,7 +4705,7 @@ func (*Account_UnFreezeV2) ProtoMessage() {} func (x *Account_UnFreezeV2) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[56] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4877,22 +4742,19 @@ func (x *Account_UnFreezeV2) GetUnfreezeExpireTime() int64 { } type TXInputRaw struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TxID []byte `protobuf:"bytes,1,opt,name=txID,proto3" json:"txID,omitempty"` + Vout int64 `protobuf:"varint,2,opt,name=vout,proto3" json:"vout,omitempty"` + PubKey []byte `protobuf:"bytes,3,opt,name=pubKey,proto3" json:"pubKey,omitempty"` unknownFields protoimpl.UnknownFields - - TxID []byte `protobuf:"bytes,1,opt,name=txID,proto3" json:"txID,omitempty"` - Vout int64 `protobuf:"varint,2,opt,name=vout,proto3" json:"vout,omitempty"` - PubKey []byte `protobuf:"bytes,3,opt,name=pubKey,proto3" json:"pubKey,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TXInputRaw) Reset() { *x = TXInputRaw{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[57] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TXInputRaw) String() string { @@ -4903,7 +4765,7 @@ func (*TXInputRaw) ProtoMessage() {} func (x *TXInputRaw) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[57] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -4940,24 +4802,21 @@ func (x *TXInputRaw) GetPubKey() []byte { } type Transaction_Contract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Type Transaction_Contract_ContractType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Transaction_Contract_ContractType" json:"type,omitempty"` + Parameter *anypb.Any `protobuf:"bytes,2,opt,name=parameter,proto3" json:"parameter,omitempty"` + Provider []byte `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` + ContractName []byte `protobuf:"bytes,4,opt,name=ContractName,proto3" json:"ContractName,omitempty"` + PermissionId int32 `protobuf:"varint,5,opt,name=Permission_id,json=PermissionId,proto3" json:"Permission_id,omitempty"` unknownFields protoimpl.UnknownFields - - Type Transaction_Contract_ContractType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Transaction_Contract_ContractType" json:"type,omitempty"` - Parameter *anypb.Any `protobuf:"bytes,2,opt,name=parameter,proto3" json:"parameter,omitempty"` - Provider []byte `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` - ContractName []byte `protobuf:"bytes,4,opt,name=ContractName,proto3" json:"ContractName,omitempty"` - PermissionId int32 `protobuf:"varint,5,opt,name=Permission_id,json=PermissionId,proto3" json:"Permission_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Transaction_Contract) Reset() { *x = Transaction_Contract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[58] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[58] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Transaction_Contract) String() string { @@ -4968,7 +4827,7 @@ func (*Transaction_Contract) ProtoMessage() {} func (x *Transaction_Contract) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[58] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5019,10 +4878,7 @@ func (x *Transaction_Contract) GetPermissionId() int32 { } type Transaction_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Fee int64 `protobuf:"varint,1,opt,name=fee,proto3" json:"fee,omitempty"` Ret Transaction_ResultCode `protobuf:"varint,2,opt,name=ret,proto3,enum=protocol.Transaction_ResultCode" json:"ret,omitempty"` ContractRet Transaction_ResultContractResult `protobuf:"varint,3,opt,name=contractRet,proto3,enum=protocol.Transaction_ResultContractResult" json:"contractRet,omitempty"` @@ -5037,16 +4893,16 @@ type Transaction_Result struct { OrderId []byte `protobuf:"bytes,25,opt,name=orderId,proto3" json:"orderId,omitempty"` OrderDetails []*MarketOrderDetail `protobuf:"bytes,26,rep,name=orderDetails,proto3" json:"orderDetails,omitempty"` WithdrawExpireAmount int64 `protobuf:"varint,27,opt,name=withdraw_expire_amount,json=withdrawExpireAmount,proto3" json:"withdraw_expire_amount,omitempty"` - CancelUnfreezeV2Amount map[string]int64 `protobuf:"bytes,28,rep,name=cancel_unfreezeV2_amount,json=cancelUnfreezeV2Amount,proto3" json:"cancel_unfreezeV2_amount,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + CancelUnfreezeV2Amount map[string]int64 `protobuf:"bytes,28,rep,name=cancel_unfreezeV2_amount,json=cancelUnfreezeV2Amount,proto3" json:"cancel_unfreezeV2_amount,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Transaction_Result) Reset() { *x = Transaction_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[59] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Transaction_Result) String() string { @@ -5057,7 +4913,7 @@ func (*Transaction_Result) ProtoMessage() {} func (x *Transaction_Result) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[59] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5178,32 +5034,29 @@ func (x *Transaction_Result) GetCancelUnfreezeV2Amount() map[string]int64 { } type TransactionRaw struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RefBlockBytes []byte `protobuf:"bytes,1,opt,name=ref_block_bytes,json=refBlockBytes,proto3" json:"ref_block_bytes,omitempty"` - RefBlockNum int64 `protobuf:"varint,3,opt,name=ref_block_num,json=refBlockNum,proto3" json:"ref_block_num,omitempty"` - RefBlockHash []byte `protobuf:"bytes,4,opt,name=ref_block_hash,json=refBlockHash,proto3" json:"ref_block_hash,omitempty"` - Expiration int64 `protobuf:"varint,8,opt,name=expiration,proto3" json:"expiration,omitempty"` - Auths []*Authority `protobuf:"bytes,9,rep,name=auths,proto3" json:"auths,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + RefBlockBytes []byte `protobuf:"bytes,1,opt,name=ref_block_bytes,json=refBlockBytes,proto3" json:"ref_block_bytes,omitempty"` + RefBlockNum int64 `protobuf:"varint,3,opt,name=ref_block_num,json=refBlockNum,proto3" json:"ref_block_num,omitempty"` + RefBlockHash []byte `protobuf:"bytes,4,opt,name=ref_block_hash,json=refBlockHash,proto3" json:"ref_block_hash,omitempty"` + Expiration int64 `protobuf:"varint,8,opt,name=expiration,proto3" json:"expiration,omitempty"` + Auths []*Authority `protobuf:"bytes,9,rep,name=auths,proto3" json:"auths,omitempty"` // data not used Data []byte `protobuf:"bytes,10,opt,name=data,proto3" json:"data,omitempty"` - //only support size = 1, repeated list here for extension + // only support size = 1, repeated list here for extension Contract []*Transaction_Contract `protobuf:"bytes,11,rep,name=contract,proto3" json:"contract,omitempty"` // scripts not used - Scripts []byte `protobuf:"bytes,12,opt,name=scripts,proto3" json:"scripts,omitempty"` - Timestamp int64 `protobuf:"varint,14,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - FeeLimit int64 `protobuf:"varint,18,opt,name=fee_limit,json=feeLimit,proto3" json:"fee_limit,omitempty"` + Scripts []byte `protobuf:"bytes,12,opt,name=scripts,proto3" json:"scripts,omitempty"` + Timestamp int64 `protobuf:"varint,14,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + FeeLimit int64 `protobuf:"varint,18,opt,name=fee_limit,json=feeLimit,proto3" json:"fee_limit,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TransactionRaw) Reset() { *x = TransactionRaw{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[60] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransactionRaw) String() string { @@ -5214,7 +5067,7 @@ func (*TransactionRaw) ProtoMessage() {} func (x *TransactionRaw) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[60] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5300,22 +5153,19 @@ func (x *TransactionRaw) GetFeeLimit() int64 { } type TransactionInfo_Log struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Topics [][]byte `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"` + Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` unknownFields protoimpl.UnknownFields - - Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - Topics [][]byte `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"` - Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TransactionInfo_Log) Reset() { *x = TransactionInfo_Log{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[62] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransactionInfo_Log) String() string { @@ -5326,7 +5176,7 @@ func (*TransactionInfo_Log) ProtoMessage() {} func (x *TransactionInfo_Log) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[62] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5363,29 +5213,26 @@ func (x *TransactionInfo_Log) GetData() []byte { } type BlockHeaderRaw struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - TxTrieRoot []byte `protobuf:"bytes,2,opt,name=txTrieRoot,proto3" json:"txTrieRoot,omitempty"` - ParentHash []byte `protobuf:"bytes,3,opt,name=parentHash,proto3" json:"parentHash,omitempty"` - //bytes nonce = 5; - //bytes difficulty = 6; + state protoimpl.MessageState `protogen:"open.v1"` + Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + TxTrieRoot []byte `protobuf:"bytes,2,opt,name=txTrieRoot,proto3" json:"txTrieRoot,omitempty"` + ParentHash []byte `protobuf:"bytes,3,opt,name=parentHash,proto3" json:"parentHash,omitempty"` + // bytes nonce = 5; + // bytes difficulty = 6; Number int64 `protobuf:"varint,7,opt,name=number,proto3" json:"number,omitempty"` WitnessId int64 `protobuf:"varint,8,opt,name=witness_id,json=witnessId,proto3" json:"witness_id,omitempty"` WitnessAddress []byte `protobuf:"bytes,9,opt,name=witness_address,json=witnessAddress,proto3" json:"witness_address,omitempty"` Version int32 `protobuf:"varint,10,opt,name=version,proto3" json:"version,omitempty"` AccountStateRoot []byte `protobuf:"bytes,11,opt,name=accountStateRoot,proto3" json:"accountStateRoot,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *BlockHeaderRaw) Reset() { *x = BlockHeaderRaw{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[64] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[64] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BlockHeaderRaw) String() string { @@ -5396,7 +5243,7 @@ func (*BlockHeaderRaw) ProtoMessage() {} func (x *BlockHeaderRaw) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[64] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5468,21 +5315,18 @@ func (x *BlockHeaderRaw) GetAccountStateRoot() []byte { } type ChainInventory_BlockId struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` + Number int64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` unknownFields protoimpl.UnknownFields - - Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - Number int64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ChainInventory_BlockId) Reset() { *x = ChainInventory_BlockId{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[65] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ChainInventory_BlockId) String() string { @@ -5493,7 +5337,7 @@ func (*ChainInventory_BlockId) ProtoMessage() {} func (x *ChainInventory_BlockId) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[65] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5523,21 +5367,18 @@ func (x *ChainInventory_BlockId) GetNumber() int64 { } type BlockInventory_BlockId struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` + Number int64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` unknownFields protoimpl.UnknownFields - - Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - Number int64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` + sizeCache protoimpl.SizeCache } func (x *BlockInventory_BlockId) Reset() { *x = BlockInventory_BlockId{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[66] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[66] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BlockInventory_BlockId) String() string { @@ -5548,7 +5389,7 @@ func (*BlockInventory_BlockId) ProtoMessage() {} func (x *BlockInventory_BlockId) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[66] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5578,21 +5419,18 @@ func (x *BlockInventory_BlockId) GetNumber() int64 { } type HelloMessage_BlockId struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` + Number int64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` unknownFields protoimpl.UnknownFields - - Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - Number int64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` + sizeCache protoimpl.SizeCache } func (x *HelloMessage_BlockId) Reset() { *x = HelloMessage_BlockId{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[67] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[67] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *HelloMessage_BlockId) String() string { @@ -5603,7 +5441,7 @@ func (*HelloMessage_BlockId) ProtoMessage() {} func (x *HelloMessage_BlockId) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[67] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5633,23 +5471,20 @@ func (x *HelloMessage_BlockId) GetNumber() int64 { } type InternalTransaction_CallValueInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // trx (TBD: or token) value CallValue int64 `protobuf:"varint,1,opt,name=callValue,proto3" json:"callValue,omitempty"` // TBD: tokenName, trx should be empty - TokenId string `protobuf:"bytes,2,opt,name=tokenId,proto3" json:"tokenId,omitempty"` + TokenId string `protobuf:"bytes,2,opt,name=tokenId,proto3" json:"tokenId,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *InternalTransaction_CallValueInfo) Reset() { *x = InternalTransaction_CallValueInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[68] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[68] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InternalTransaction_CallValueInfo) String() string { @@ -5660,7 +5495,7 @@ func (*InternalTransaction_CallValueInfo) ProtoMessage() {} func (x *InternalTransaction_CallValueInfo) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[68] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5690,44 +5525,41 @@ func (x *InternalTransaction_CallValueInfo) GetTokenId() string { } type NodeInfo_PeerInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - LastSyncBlock string `protobuf:"bytes,1,opt,name=lastSyncBlock,proto3" json:"lastSyncBlock,omitempty"` - RemainNum int64 `protobuf:"varint,2,opt,name=remainNum,proto3" json:"remainNum,omitempty"` - LastBlockUpdateTime int64 `protobuf:"varint,3,opt,name=lastBlockUpdateTime,proto3" json:"lastBlockUpdateTime,omitempty"` - SyncFlag bool `protobuf:"varint,4,opt,name=syncFlag,proto3" json:"syncFlag,omitempty"` - HeadBlockTimeWeBothHave int64 `protobuf:"varint,5,opt,name=headBlockTimeWeBothHave,proto3" json:"headBlockTimeWeBothHave,omitempty"` - NeedSyncFromPeer bool `protobuf:"varint,6,opt,name=needSyncFromPeer,proto3" json:"needSyncFromPeer,omitempty"` - NeedSyncFromUs bool `protobuf:"varint,7,opt,name=needSyncFromUs,proto3" json:"needSyncFromUs,omitempty"` - Host string `protobuf:"bytes,8,opt,name=host,proto3" json:"host,omitempty"` - Port int32 `protobuf:"varint,9,opt,name=port,proto3" json:"port,omitempty"` - NodeId string `protobuf:"bytes,10,opt,name=nodeId,proto3" json:"nodeId,omitempty"` - ConnectTime int64 `protobuf:"varint,11,opt,name=connectTime,proto3" json:"connectTime,omitempty"` - AvgLatency float64 `protobuf:"fixed64,12,opt,name=avgLatency,proto3" json:"avgLatency,omitempty"` - SyncToFetchSize int32 `protobuf:"varint,13,opt,name=syncToFetchSize,proto3" json:"syncToFetchSize,omitempty"` - SyncToFetchSizePeekNum int64 `protobuf:"varint,14,opt,name=syncToFetchSizePeekNum,proto3" json:"syncToFetchSizePeekNum,omitempty"` - SyncBlockRequestedSize int32 `protobuf:"varint,15,opt,name=syncBlockRequestedSize,proto3" json:"syncBlockRequestedSize,omitempty"` - UnFetchSynNum int64 `protobuf:"varint,16,opt,name=unFetchSynNum,proto3" json:"unFetchSynNum,omitempty"` - BlockInPorcSize int32 `protobuf:"varint,17,opt,name=blockInPorcSize,proto3" json:"blockInPorcSize,omitempty"` - HeadBlockWeBothHave string `protobuf:"bytes,18,opt,name=headBlockWeBothHave,proto3" json:"headBlockWeBothHave,omitempty"` - IsActive bool `protobuf:"varint,19,opt,name=isActive,proto3" json:"isActive,omitempty"` - Score int32 `protobuf:"varint,20,opt,name=score,proto3" json:"score,omitempty"` - NodeCount int32 `protobuf:"varint,21,opt,name=nodeCount,proto3" json:"nodeCount,omitempty"` - InFlow int64 `protobuf:"varint,22,opt,name=inFlow,proto3" json:"inFlow,omitempty"` - DisconnectTimes int32 `protobuf:"varint,23,opt,name=disconnectTimes,proto3" json:"disconnectTimes,omitempty"` - LocalDisconnectReason string `protobuf:"bytes,24,opt,name=localDisconnectReason,proto3" json:"localDisconnectReason,omitempty"` - RemoteDisconnectReason string `protobuf:"bytes,25,opt,name=remoteDisconnectReason,proto3" json:"remoteDisconnectReason,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + LastSyncBlock string `protobuf:"bytes,1,opt,name=lastSyncBlock,proto3" json:"lastSyncBlock,omitempty"` + RemainNum int64 `protobuf:"varint,2,opt,name=remainNum,proto3" json:"remainNum,omitempty"` + LastBlockUpdateTime int64 `protobuf:"varint,3,opt,name=lastBlockUpdateTime,proto3" json:"lastBlockUpdateTime,omitempty"` + SyncFlag bool `protobuf:"varint,4,opt,name=syncFlag,proto3" json:"syncFlag,omitempty"` + HeadBlockTimeWeBothHave int64 `protobuf:"varint,5,opt,name=headBlockTimeWeBothHave,proto3" json:"headBlockTimeWeBothHave,omitempty"` + NeedSyncFromPeer bool `protobuf:"varint,6,opt,name=needSyncFromPeer,proto3" json:"needSyncFromPeer,omitempty"` + NeedSyncFromUs bool `protobuf:"varint,7,opt,name=needSyncFromUs,proto3" json:"needSyncFromUs,omitempty"` + Host string `protobuf:"bytes,8,opt,name=host,proto3" json:"host,omitempty"` + Port int32 `protobuf:"varint,9,opt,name=port,proto3" json:"port,omitempty"` + NodeId string `protobuf:"bytes,10,opt,name=nodeId,proto3" json:"nodeId,omitempty"` + ConnectTime int64 `protobuf:"varint,11,opt,name=connectTime,proto3" json:"connectTime,omitempty"` + AvgLatency float64 `protobuf:"fixed64,12,opt,name=avgLatency,proto3" json:"avgLatency,omitempty"` + SyncToFetchSize int32 `protobuf:"varint,13,opt,name=syncToFetchSize,proto3" json:"syncToFetchSize,omitempty"` + SyncToFetchSizePeekNum int64 `protobuf:"varint,14,opt,name=syncToFetchSizePeekNum,proto3" json:"syncToFetchSizePeekNum,omitempty"` + SyncBlockRequestedSize int32 `protobuf:"varint,15,opt,name=syncBlockRequestedSize,proto3" json:"syncBlockRequestedSize,omitempty"` + UnFetchSynNum int64 `protobuf:"varint,16,opt,name=unFetchSynNum,proto3" json:"unFetchSynNum,omitempty"` + BlockInPorcSize int32 `protobuf:"varint,17,opt,name=blockInPorcSize,proto3" json:"blockInPorcSize,omitempty"` + HeadBlockWeBothHave string `protobuf:"bytes,18,opt,name=headBlockWeBothHave,proto3" json:"headBlockWeBothHave,omitempty"` + IsActive bool `protobuf:"varint,19,opt,name=isActive,proto3" json:"isActive,omitempty"` + Score int32 `protobuf:"varint,20,opt,name=score,proto3" json:"score,omitempty"` + NodeCount int32 `protobuf:"varint,21,opt,name=nodeCount,proto3" json:"nodeCount,omitempty"` + InFlow int64 `protobuf:"varint,22,opt,name=inFlow,proto3" json:"inFlow,omitempty"` + DisconnectTimes int32 `protobuf:"varint,23,opt,name=disconnectTimes,proto3" json:"disconnectTimes,omitempty"` + LocalDisconnectReason string `protobuf:"bytes,24,opt,name=localDisconnectReason,proto3" json:"localDisconnectReason,omitempty"` + RemoteDisconnectReason string `protobuf:"bytes,25,opt,name=remoteDisconnectReason,proto3" json:"remoteDisconnectReason,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NodeInfo_PeerInfo) Reset() { *x = NodeInfo_PeerInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[70] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[70] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeInfo_PeerInfo) String() string { @@ -5738,7 +5570,7 @@ func (*NodeInfo_PeerInfo) ProtoMessage() {} func (x *NodeInfo_PeerInfo) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[70] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -5929,38 +5761,35 @@ func (x *NodeInfo_PeerInfo) GetRemoteDisconnectReason() string { } type NodeInfo_ConfigNodeInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CodeVersion string `protobuf:"bytes,1,opt,name=codeVersion,proto3" json:"codeVersion,omitempty"` - P2PVersion string `protobuf:"bytes,2,opt,name=p2pVersion,proto3" json:"p2pVersion,omitempty"` - ListenPort int32 `protobuf:"varint,3,opt,name=listenPort,proto3" json:"listenPort,omitempty"` - DiscoverEnable bool `protobuf:"varint,4,opt,name=discoverEnable,proto3" json:"discoverEnable,omitempty"` - ActiveNodeSize int32 `protobuf:"varint,5,opt,name=activeNodeSize,proto3" json:"activeNodeSize,omitempty"` - PassiveNodeSize int32 `protobuf:"varint,6,opt,name=passiveNodeSize,proto3" json:"passiveNodeSize,omitempty"` - SendNodeSize int32 `protobuf:"varint,7,opt,name=sendNodeSize,proto3" json:"sendNodeSize,omitempty"` - MaxConnectCount int32 `protobuf:"varint,8,opt,name=maxConnectCount,proto3" json:"maxConnectCount,omitempty"` - SameIpMaxConnectCount int32 `protobuf:"varint,9,opt,name=sameIpMaxConnectCount,proto3" json:"sameIpMaxConnectCount,omitempty"` - BackupListenPort int32 `protobuf:"varint,10,opt,name=backupListenPort,proto3" json:"backupListenPort,omitempty"` - BackupMemberSize int32 `protobuf:"varint,11,opt,name=backupMemberSize,proto3" json:"backupMemberSize,omitempty"` - BackupPriority int32 `protobuf:"varint,12,opt,name=backupPriority,proto3" json:"backupPriority,omitempty"` - DbVersion int32 `protobuf:"varint,13,opt,name=dbVersion,proto3" json:"dbVersion,omitempty"` - MinParticipationRate int32 `protobuf:"varint,14,opt,name=minParticipationRate,proto3" json:"minParticipationRate,omitempty"` - SupportConstant bool `protobuf:"varint,15,opt,name=supportConstant,proto3" json:"supportConstant,omitempty"` - MinTimeRatio float64 `protobuf:"fixed64,16,opt,name=minTimeRatio,proto3" json:"minTimeRatio,omitempty"` - MaxTimeRatio float64 `protobuf:"fixed64,17,opt,name=maxTimeRatio,proto3" json:"maxTimeRatio,omitempty"` - AllowCreationOfContracts int64 `protobuf:"varint,18,opt,name=allowCreationOfContracts,proto3" json:"allowCreationOfContracts,omitempty"` - AllowAdaptiveEnergy int64 `protobuf:"varint,19,opt,name=allowAdaptiveEnergy,proto3" json:"allowAdaptiveEnergy,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + CodeVersion string `protobuf:"bytes,1,opt,name=codeVersion,proto3" json:"codeVersion,omitempty"` + P2PVersion string `protobuf:"bytes,2,opt,name=p2pVersion,proto3" json:"p2pVersion,omitempty"` + ListenPort int32 `protobuf:"varint,3,opt,name=listenPort,proto3" json:"listenPort,omitempty"` + DiscoverEnable bool `protobuf:"varint,4,opt,name=discoverEnable,proto3" json:"discoverEnable,omitempty"` + ActiveNodeSize int32 `protobuf:"varint,5,opt,name=activeNodeSize,proto3" json:"activeNodeSize,omitempty"` + PassiveNodeSize int32 `protobuf:"varint,6,opt,name=passiveNodeSize,proto3" json:"passiveNodeSize,omitempty"` + SendNodeSize int32 `protobuf:"varint,7,opt,name=sendNodeSize,proto3" json:"sendNodeSize,omitempty"` + MaxConnectCount int32 `protobuf:"varint,8,opt,name=maxConnectCount,proto3" json:"maxConnectCount,omitempty"` + SameIpMaxConnectCount int32 `protobuf:"varint,9,opt,name=sameIpMaxConnectCount,proto3" json:"sameIpMaxConnectCount,omitempty"` + BackupListenPort int32 `protobuf:"varint,10,opt,name=backupListenPort,proto3" json:"backupListenPort,omitempty"` + BackupMemberSize int32 `protobuf:"varint,11,opt,name=backupMemberSize,proto3" json:"backupMemberSize,omitempty"` + BackupPriority int32 `protobuf:"varint,12,opt,name=backupPriority,proto3" json:"backupPriority,omitempty"` + DbVersion int32 `protobuf:"varint,13,opt,name=dbVersion,proto3" json:"dbVersion,omitempty"` + MinParticipationRate int32 `protobuf:"varint,14,opt,name=minParticipationRate,proto3" json:"minParticipationRate,omitempty"` + SupportConstant bool `protobuf:"varint,15,opt,name=supportConstant,proto3" json:"supportConstant,omitempty"` + MinTimeRatio float64 `protobuf:"fixed64,16,opt,name=minTimeRatio,proto3" json:"minTimeRatio,omitempty"` + MaxTimeRatio float64 `protobuf:"fixed64,17,opt,name=maxTimeRatio,proto3" json:"maxTimeRatio,omitempty"` + AllowCreationOfContracts int64 `protobuf:"varint,18,opt,name=allowCreationOfContracts,proto3" json:"allowCreationOfContracts,omitempty"` + AllowAdaptiveEnergy int64 `protobuf:"varint,19,opt,name=allowAdaptiveEnergy,proto3" json:"allowAdaptiveEnergy,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NodeInfo_ConfigNodeInfo) Reset() { *x = NodeInfo_ConfigNodeInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[71] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[71] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeInfo_ConfigNodeInfo) String() string { @@ -5971,7 +5800,7 @@ func (*NodeInfo_ConfigNodeInfo) ProtoMessage() {} func (x *NodeInfo_ConfigNodeInfo) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[71] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6120,10 +5949,7 @@ func (x *NodeInfo_ConfigNodeInfo) GetAllowAdaptiveEnergy() int64 { } type NodeInfo_MachineInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` ThreadCount int32 `protobuf:"varint,1,opt,name=threadCount,proto3" json:"threadCount,omitempty"` DeadLockThreadCount int32 `protobuf:"varint,2,opt,name=deadLockThreadCount,proto3" json:"deadLockThreadCount,omitempty"` CpuCount int32 `protobuf:"varint,3,opt,name=cpuCount,proto3" json:"cpuCount,omitempty"` @@ -6137,15 +5963,15 @@ type NodeInfo_MachineInfo struct { ProcessCpuRate float64 `protobuf:"fixed64,11,opt,name=processCpuRate,proto3" json:"processCpuRate,omitempty"` MemoryDescInfoList []*NodeInfo_MachineInfo_MemoryDescInfo `protobuf:"bytes,12,rep,name=memoryDescInfoList,proto3" json:"memoryDescInfoList,omitempty"` DeadLockThreadInfoList []*NodeInfo_MachineInfo_DeadLockThreadInfo `protobuf:"bytes,13,rep,name=deadLockThreadInfoList,proto3" json:"deadLockThreadInfoList,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NodeInfo_MachineInfo) Reset() { *x = NodeInfo_MachineInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[72] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[72] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeInfo_MachineInfo) String() string { @@ -6156,7 +5982,7 @@ func (*NodeInfo_MachineInfo) ProtoMessage() {} func (x *NodeInfo_MachineInfo) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[72] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6263,24 +6089,21 @@ func (x *NodeInfo_MachineInfo) GetDeadLockThreadInfoList() []*NodeInfo_MachineIn } type NodeInfo_MachineInfo_MemoryDescInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + InitSize int64 `protobuf:"varint,2,opt,name=initSize,proto3" json:"initSize,omitempty"` + UseSize int64 `protobuf:"varint,3,opt,name=useSize,proto3" json:"useSize,omitempty"` + MaxSize int64 `protobuf:"varint,4,opt,name=maxSize,proto3" json:"maxSize,omitempty"` + UseRate float64 `protobuf:"fixed64,5,opt,name=useRate,proto3" json:"useRate,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - InitSize int64 `protobuf:"varint,2,opt,name=initSize,proto3" json:"initSize,omitempty"` - UseSize int64 `protobuf:"varint,3,opt,name=useSize,proto3" json:"useSize,omitempty"` - MaxSize int64 `protobuf:"varint,4,opt,name=maxSize,proto3" json:"maxSize,omitempty"` - UseRate float64 `protobuf:"fixed64,5,opt,name=useRate,proto3" json:"useRate,omitempty"` + sizeCache protoimpl.SizeCache } func (x *NodeInfo_MachineInfo_MemoryDescInfo) Reset() { *x = NodeInfo_MachineInfo_MemoryDescInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[73] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[73] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeInfo_MachineInfo_MemoryDescInfo) String() string { @@ -6291,7 +6114,7 @@ func (*NodeInfo_MachineInfo_MemoryDescInfo) ProtoMessage() {} func (x *NodeInfo_MachineInfo_MemoryDescInfo) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[73] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6342,26 +6165,23 @@ func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetUseRate() float64 { } type NodeInfo_MachineInfo_DeadLockThreadInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + LockName string `protobuf:"bytes,2,opt,name=lockName,proto3" json:"lockName,omitempty"` + LockOwner string `protobuf:"bytes,3,opt,name=lockOwner,proto3" json:"lockOwner,omitempty"` + State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"` + BlockTime int64 `protobuf:"varint,5,opt,name=blockTime,proto3" json:"blockTime,omitempty"` + WaitTime int64 `protobuf:"varint,6,opt,name=waitTime,proto3" json:"waitTime,omitempty"` + StackTrace string `protobuf:"bytes,7,opt,name=stackTrace,proto3" json:"stackTrace,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - LockName string `protobuf:"bytes,2,opt,name=lockName,proto3" json:"lockName,omitempty"` - LockOwner string `protobuf:"bytes,3,opt,name=lockOwner,proto3" json:"lockOwner,omitempty"` - State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"` - BlockTime int64 `protobuf:"varint,5,opt,name=blockTime,proto3" json:"blockTime,omitempty"` - WaitTime int64 `protobuf:"varint,6,opt,name=waitTime,proto3" json:"waitTime,omitempty"` - StackTrace string `protobuf:"bytes,7,opt,name=stackTrace,proto3" json:"stackTrace,omitempty"` + sizeCache protoimpl.SizeCache } func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) Reset() { *x = NodeInfo_MachineInfo_DeadLockThreadInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[74] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[74] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) String() string { @@ -6372,7 +6192,7 @@ func (*NodeInfo_MachineInfo_DeadLockThreadInfo) ProtoMessage() {} func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[74] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6437,23 +6257,20 @@ func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetStackTrace() string { } type MetricsInfo_NodeInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` + NodeType int32 `protobuf:"varint,2,opt,name=nodeType,proto3" json:"nodeType,omitempty"` + Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` + BackupStatus int32 `protobuf:"varint,4,opt,name=backupStatus,proto3" json:"backupStatus,omitempty"` unknownFields protoimpl.UnknownFields - - Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` - NodeType int32 `protobuf:"varint,2,opt,name=nodeType,proto3" json:"nodeType,omitempty"` - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - BackupStatus int32 `protobuf:"varint,4,opt,name=backupStatus,proto3" json:"backupStatus,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MetricsInfo_NodeInfo) Reset() { *x = MetricsInfo_NodeInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[75] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[75] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MetricsInfo_NodeInfo) String() string { @@ -6464,7 +6281,7 @@ func (*MetricsInfo_NodeInfo) ProtoMessage() {} func (x *MetricsInfo_NodeInfo) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[75] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6508,10 +6325,7 @@ func (x *MetricsInfo_NodeInfo) GetBackupStatus() int32 { } type MetricsInfo_BlockChainInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` HeadBlockNum int64 `protobuf:"varint,1,opt,name=headBlockNum,proto3" json:"headBlockNum,omitempty"` HeadBlockTimestamp int64 `protobuf:"varint,2,opt,name=headBlockTimestamp,proto3" json:"headBlockTimestamp,omitempty"` HeadBlockHash string `protobuf:"bytes,3,opt,name=headBlockHash,proto3" json:"headBlockHash,omitempty"` @@ -6525,15 +6339,15 @@ type MetricsInfo_BlockChainInfo struct { FailProcessBlockNum int64 `protobuf:"varint,11,opt,name=failProcessBlockNum,proto3" json:"failProcessBlockNum,omitempty"` FailProcessBlockReason string `protobuf:"bytes,12,opt,name=failProcessBlockReason,proto3" json:"failProcessBlockReason,omitempty"` DupWitness []*MetricsInfo_BlockChainInfo_DupWitness `protobuf:"bytes,13,rep,name=dupWitness,proto3" json:"dupWitness,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MetricsInfo_BlockChainInfo) Reset() { *x = MetricsInfo_BlockChainInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[76] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[76] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MetricsInfo_BlockChainInfo) String() string { @@ -6544,7 +6358,7 @@ func (*MetricsInfo_BlockChainInfo) ProtoMessage() {} func (x *MetricsInfo_BlockChainInfo) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[76] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6651,24 +6465,21 @@ func (x *MetricsInfo_BlockChainInfo) GetDupWitness() []*MetricsInfo_BlockChainIn } type MetricsInfo_RateInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` - MeanRate float64 `protobuf:"fixed64,2,opt,name=meanRate,proto3" json:"meanRate,omitempty"` - OneMinuteRate float64 `protobuf:"fixed64,3,opt,name=oneMinuteRate,proto3" json:"oneMinuteRate,omitempty"` - FiveMinuteRate float64 `protobuf:"fixed64,4,opt,name=fiveMinuteRate,proto3" json:"fiveMinuteRate,omitempty"` - FifteenMinuteRate float64 `protobuf:"fixed64,5,opt,name=fifteenMinuteRate,proto3" json:"fifteenMinuteRate,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` + MeanRate float64 `protobuf:"fixed64,2,opt,name=meanRate,proto3" json:"meanRate,omitempty"` + OneMinuteRate float64 `protobuf:"fixed64,3,opt,name=oneMinuteRate,proto3" json:"oneMinuteRate,omitempty"` + FiveMinuteRate float64 `protobuf:"fixed64,4,opt,name=fiveMinuteRate,proto3" json:"fiveMinuteRate,omitempty"` + FifteenMinuteRate float64 `protobuf:"fixed64,5,opt,name=fifteenMinuteRate,proto3" json:"fifteenMinuteRate,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MetricsInfo_RateInfo) Reset() { *x = MetricsInfo_RateInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[77] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[77] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MetricsInfo_RateInfo) String() string { @@ -6679,7 +6490,7 @@ func (*MetricsInfo_RateInfo) ProtoMessage() {} func (x *MetricsInfo_RateInfo) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[77] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6730,10 +6541,7 @@ func (x *MetricsInfo_RateInfo) GetFifteenMinuteRate() float64 { } type MetricsInfo_NetInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` ErrorProtoCount int32 `protobuf:"varint,1,opt,name=errorProtoCount,proto3" json:"errorProtoCount,omitempty"` Api *MetricsInfo_NetInfo_ApiInfo `protobuf:"bytes,2,opt,name=api,proto3" json:"api,omitempty"` ConnectionCount int32 `protobuf:"varint,3,opt,name=connectionCount,proto3" json:"connectionCount,omitempty"` @@ -6745,15 +6553,15 @@ type MetricsInfo_NetInfo struct { UdpInTraffic *MetricsInfo_RateInfo `protobuf:"bytes,9,opt,name=udpInTraffic,proto3" json:"udpInTraffic,omitempty"` UdpOutTraffic *MetricsInfo_RateInfo `protobuf:"bytes,10,opt,name=udpOutTraffic,proto3" json:"udpOutTraffic,omitempty"` Latency *MetricsInfo_NetInfo_LatencyInfo `protobuf:"bytes,11,opt,name=latency,proto3" json:"latency,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MetricsInfo_NetInfo) Reset() { *x = MetricsInfo_NetInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[78] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[78] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MetricsInfo_NetInfo) String() string { @@ -6764,7 +6572,7 @@ func (*MetricsInfo_NetInfo) ProtoMessage() {} func (x *MetricsInfo_NetInfo) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[78] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6857,21 +6665,18 @@ func (x *MetricsInfo_NetInfo) GetLatency() *MetricsInfo_NetInfo_LatencyInfo { } type MetricsInfo_BlockChainInfo_Witness struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` unknownFields protoimpl.UnknownFields - - Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MetricsInfo_BlockChainInfo_Witness) Reset() { *x = MetricsInfo_BlockChainInfo_Witness{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[79] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[79] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MetricsInfo_BlockChainInfo_Witness) String() string { @@ -6882,7 +6687,7 @@ func (*MetricsInfo_BlockChainInfo_Witness) ProtoMessage() {} func (x *MetricsInfo_BlockChainInfo_Witness) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[79] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6912,22 +6717,19 @@ func (x *MetricsInfo_BlockChainInfo_Witness) GetVersion() int32 { } type MetricsInfo_BlockChainInfo_DupWitness struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + BlockNum int64 `protobuf:"varint,2,opt,name=blockNum,proto3" json:"blockNum,omitempty"` + Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` unknownFields protoimpl.UnknownFields - - Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - BlockNum int64 `protobuf:"varint,2,opt,name=blockNum,proto3" json:"blockNum,omitempty"` - Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MetricsInfo_BlockChainInfo_DupWitness) Reset() { *x = MetricsInfo_BlockChainInfo_DupWitness{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[80] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[80] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MetricsInfo_BlockChainInfo_DupWitness) String() string { @@ -6938,7 +6740,7 @@ func (*MetricsInfo_BlockChainInfo_DupWitness) ProtoMessage() {} func (x *MetricsInfo_BlockChainInfo_DupWitness) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[80] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -6975,23 +6777,20 @@ func (x *MetricsInfo_BlockChainInfo_DupWitness) GetCount() int32 { } type MetricsInfo_NetInfo_ApiInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Qps *MetricsInfo_RateInfo `protobuf:"bytes,1,opt,name=qps,proto3" json:"qps,omitempty"` + FailQps *MetricsInfo_RateInfo `protobuf:"bytes,2,opt,name=failQps,proto3" json:"failQps,omitempty"` + OutTraffic *MetricsInfo_RateInfo `protobuf:"bytes,3,opt,name=outTraffic,proto3" json:"outTraffic,omitempty"` + Detail []*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo `protobuf:"bytes,4,rep,name=detail,proto3" json:"detail,omitempty"` unknownFields protoimpl.UnknownFields - - Qps *MetricsInfo_RateInfo `protobuf:"bytes,1,opt,name=qps,proto3" json:"qps,omitempty"` - FailQps *MetricsInfo_RateInfo `protobuf:"bytes,2,opt,name=failQps,proto3" json:"failQps,omitempty"` - OutTraffic *MetricsInfo_RateInfo `protobuf:"bytes,3,opt,name=outTraffic,proto3" json:"outTraffic,omitempty"` - Detail []*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo `protobuf:"bytes,4,rep,name=detail,proto3" json:"detail,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MetricsInfo_NetInfo_ApiInfo) Reset() { *x = MetricsInfo_NetInfo_ApiInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[81] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[81] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MetricsInfo_NetInfo_ApiInfo) String() string { @@ -7002,7 +6801,7 @@ func (*MetricsInfo_NetInfo_ApiInfo) ProtoMessage() {} func (x *MetricsInfo_NetInfo_ApiInfo) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[81] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7046,21 +6845,18 @@ func (x *MetricsInfo_NetInfo_ApiInfo) GetDetail() []*MetricsInfo_NetInfo_ApiInfo } type MetricsInfo_NetInfo_DisconnectionDetailInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` + Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` unknownFields protoimpl.UnknownFields - - Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` - Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) Reset() { *x = MetricsInfo_NetInfo_DisconnectionDetailInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[82] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[82] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) String() string { @@ -7071,7 +6867,7 @@ func (*MetricsInfo_NetInfo_DisconnectionDetailInfo) ProtoMessage() {} func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[82] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7101,27 +6897,24 @@ func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) GetCount() int32 { } type MetricsInfo_NetInfo_LatencyInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Top99 int32 `protobuf:"varint,1,opt,name=top99,proto3" json:"top99,omitempty"` + Top95 int32 `protobuf:"varint,2,opt,name=top95,proto3" json:"top95,omitempty"` + Top75 int32 `protobuf:"varint,3,opt,name=top75,proto3" json:"top75,omitempty"` + TotalCount int32 `protobuf:"varint,4,opt,name=totalCount,proto3" json:"totalCount,omitempty"` + Delay1S int32 `protobuf:"varint,5,opt,name=delay1S,proto3" json:"delay1S,omitempty"` + Delay2S int32 `protobuf:"varint,6,opt,name=delay2S,proto3" json:"delay2S,omitempty"` + Delay3S int32 `protobuf:"varint,7,opt,name=delay3S,proto3" json:"delay3S,omitempty"` + Detail []*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo `protobuf:"bytes,8,rep,name=detail,proto3" json:"detail,omitempty"` unknownFields protoimpl.UnknownFields - - Top99 int32 `protobuf:"varint,1,opt,name=top99,proto3" json:"top99,omitempty"` - Top95 int32 `protobuf:"varint,2,opt,name=top95,proto3" json:"top95,omitempty"` - Top75 int32 `protobuf:"varint,3,opt,name=top75,proto3" json:"top75,omitempty"` - TotalCount int32 `protobuf:"varint,4,opt,name=totalCount,proto3" json:"totalCount,omitempty"` - Delay1S int32 `protobuf:"varint,5,opt,name=delay1S,proto3" json:"delay1S,omitempty"` - Delay2S int32 `protobuf:"varint,6,opt,name=delay2S,proto3" json:"delay2S,omitempty"` - Delay3S int32 `protobuf:"varint,7,opt,name=delay3S,proto3" json:"delay3S,omitempty"` - Detail []*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo `protobuf:"bytes,8,rep,name=detail,proto3" json:"detail,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MetricsInfo_NetInfo_LatencyInfo) Reset() { *x = MetricsInfo_NetInfo_LatencyInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[83] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[83] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MetricsInfo_NetInfo_LatencyInfo) String() string { @@ -7132,7 +6925,7 @@ func (*MetricsInfo_NetInfo_LatencyInfo) ProtoMessage() {} func (x *MetricsInfo_NetInfo_LatencyInfo) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[83] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7204,23 +6997,20 @@ func (x *MetricsInfo_NetInfo_LatencyInfo) GetDetail() []*MetricsInfo_NetInfo_Lat } type MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Qps *MetricsInfo_RateInfo `protobuf:"bytes,2,opt,name=qps,proto3" json:"qps,omitempty"` + FailQps *MetricsInfo_RateInfo `protobuf:"bytes,3,opt,name=failQps,proto3" json:"failQps,omitempty"` + OutTraffic *MetricsInfo_RateInfo `protobuf:"bytes,4,opt,name=outTraffic,proto3" json:"outTraffic,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Qps *MetricsInfo_RateInfo `protobuf:"bytes,2,opt,name=qps,proto3" json:"qps,omitempty"` - FailQps *MetricsInfo_RateInfo `protobuf:"bytes,3,opt,name=failQps,proto3" json:"failQps,omitempty"` - OutTraffic *MetricsInfo_RateInfo `protobuf:"bytes,4,opt,name=outTraffic,proto3" json:"outTraffic,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) Reset() { *x = MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[84] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[84] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) String() string { @@ -7231,7 +7021,7 @@ func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) ProtoMessage() {} func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[84] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7275,27 +7065,24 @@ func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetOutTraffic() *MetricsInfo } type MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Witness string `protobuf:"bytes,1,opt,name=witness,proto3" json:"witness,omitempty"` + Top99 int32 `protobuf:"varint,2,opt,name=top99,proto3" json:"top99,omitempty"` + Top95 int32 `protobuf:"varint,3,opt,name=top95,proto3" json:"top95,omitempty"` + Top75 int32 `protobuf:"varint,4,opt,name=top75,proto3" json:"top75,omitempty"` + Count int32 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"` + Delay1S int32 `protobuf:"varint,6,opt,name=delay1S,proto3" json:"delay1S,omitempty"` + Delay2S int32 `protobuf:"varint,7,opt,name=delay2S,proto3" json:"delay2S,omitempty"` + Delay3S int32 `protobuf:"varint,8,opt,name=delay3S,proto3" json:"delay3S,omitempty"` unknownFields protoimpl.UnknownFields - - Witness string `protobuf:"bytes,1,opt,name=witness,proto3" json:"witness,omitempty"` - Top99 int32 `protobuf:"varint,2,opt,name=top99,proto3" json:"top99,omitempty"` - Top95 int32 `protobuf:"varint,3,opt,name=top95,proto3" json:"top95,omitempty"` - Top75 int32 `protobuf:"varint,4,opt,name=top75,proto3" json:"top75,omitempty"` - Count int32 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"` - Delay1S int32 `protobuf:"varint,6,opt,name=delay1S,proto3" json:"delay1S,omitempty"` - Delay2S int32 `protobuf:"varint,7,opt,name=delay2S,proto3" json:"delay2S,omitempty"` - Delay3S int32 `protobuf:"varint,8,opt,name=delay3S,proto3" json:"delay3S,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) Reset() { *x = MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[85] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[85] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) String() string { @@ -7306,7 +7093,7 @@ func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) ProtoMessage() {} func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[85] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7378,24 +7165,21 @@ func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetDelay3S() int32 { } type PBFTMessage_Raw struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + MsgType PBFTMessage_MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=protocol.PBFTMessage_MsgType" json:"msg_type,omitempty"` + DataType PBFTMessage_DataType `protobuf:"varint,2,opt,name=data_type,json=dataType,proto3,enum=protocol.PBFTMessage_DataType" json:"data_type,omitempty"` + ViewN int64 `protobuf:"varint,3,opt,name=view_n,json=viewN,proto3" json:"view_n,omitempty"` + Epoch int64 `protobuf:"varint,4,opt,name=epoch,proto3" json:"epoch,omitempty"` + Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` unknownFields protoimpl.UnknownFields - - MsgType PBFTMessage_MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=protocol.PBFTMessage_MsgType" json:"msg_type,omitempty"` - DataType PBFTMessage_DataType `protobuf:"varint,2,opt,name=data_type,json=dataType,proto3,enum=protocol.PBFTMessage_DataType" json:"data_type,omitempty"` - ViewN int64 `protobuf:"varint,3,opt,name=view_n,json=viewN,proto3" json:"view_n,omitempty"` - Epoch int64 `protobuf:"varint,4,opt,name=epoch,proto3" json:"epoch,omitempty"` - Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PBFTMessage_Raw) Reset() { *x = PBFTMessage_Raw{} - if protoimpl.UnsafeEnabled { - mi := &file_core_Tron_proto_msgTypes[86] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_Tron_proto_msgTypes[86] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PBFTMessage_Raw) String() string { @@ -7406,7 +7190,7 @@ func (*PBFTMessage_Raw) ProtoMessage() {} func (x *PBFTMessage_Raw) ProtoReflect() protoreflect.Message { mi := &file_core_Tron_proto_msgTypes[86] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -7458,1472 +7242,798 @@ func (x *PBFTMessage_Raw) GetData() []byte { var File_core_Tron_proto protoreflect.FileDescriptor -var file_core_Tron_proto_rawDesc = []byte{ - 0x0a, 0x0f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x54, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x1a, 0x19, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x44, 0x69, 0x73, - 0x63, 0x6f, 0x76, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x63, 0x6f, 0x72, - 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39, 0x0a, 0x09, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x22, 0x48, 0x0a, 0x04, 0x56, 0x6f, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x76, 0x6f, - 0x74, 0x65, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x0b, 0x76, 0x6f, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, - 0x0a, 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x09, 0x76, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xb4, 0x03, 0x0a, - 0x08, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x6f, - 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, - 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x72, - 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x42, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, - 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x2e, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, - 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x78, 0x70, - 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x0e, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, - 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, - 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, - 0x69, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x73, - 0x18, 0x06, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, - 0x73, 0x12, 0x2e, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, - 0x65, 0x1a, 0x3d, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, - 0x22, 0x41, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e, - 0x44, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x44, 0x49, 0x53, 0x41, 0x50, 0x50, - 0x52, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x50, 0x50, 0x52, 0x4f, - 0x56, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x45, - 0x44, 0x10, 0x03, 0x22, 0xa5, 0x02, 0x0a, 0x08, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, - 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x66, - 0x69, 0x72, 0x73, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x66, 0x69, 0x72, 0x73, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, - 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, - 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, - 0x66, 0x69, 0x72, 0x73, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, - 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65, - 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x73, 0x65, 0x63, 0x6f, - 0x6e, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x73, 0x65, 0x63, - 0x6f, 0x6e, 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, - 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x54, - 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x98, 0x04, 0x0a, 0x0b, - 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x6f, - 0x72, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6f, - 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0d, - 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, - 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x71, - 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x73, - 0x65, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, - 0x12, 0x20, 0x0a, 0x0c, 0x62, 0x75, 0x79, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x62, 0x75, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, - 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x62, 0x75, 0x79, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, - 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, - 0x62, 0x75, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, - 0x12, 0x3b, 0x0a, 0x1a, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x71, - 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x09, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x51, - 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x3b, 0x0a, - 0x1a, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, - 0x74, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x17, 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x51, 0x75, 0x61, 0x6e, - 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x12, 0x31, 0x0a, 0x05, 0x73, 0x74, - 0x61, 0x74, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, - 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, - 0x04, 0x70, 0x72, 0x65, 0x76, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x72, 0x65, - 0x76, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x65, 0x78, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x04, 0x6e, 0x65, 0x78, 0x74, 0x22, 0x2f, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0a, - 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4e, - 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x41, 0x4e, 0x43, - 0x45, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x22, 0x40, 0x0a, 0x0f, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, - 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x06, 0x6f, 0x72, 0x64, - 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, - 0x52, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x22, 0x4e, 0x0a, 0x13, 0x4d, 0x61, 0x72, 0x6b, - 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, - 0x37, 0x0a, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, - 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x52, 0x09, 0x6f, - 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x22, 0x57, 0x0a, 0x0f, 0x4d, 0x61, 0x72, 0x6b, - 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x12, 0x22, 0x0a, 0x0d, 0x73, - 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, - 0x20, 0x0a, 0x0c, 0x62, 0x75, 0x79, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x62, 0x75, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, - 0x64, 0x22, 0x88, 0x01, 0x0a, 0x12, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, - 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x06, 0x6f, - 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x74, - 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x6b, 0x0a, 0x0b, - 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x73, - 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, - 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x62, - 0x75, 0x79, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x62, 0x75, 0x79, 0x54, 0x6f, 0x6b, 0x65, - 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x22, 0x86, 0x01, 0x0a, 0x0f, 0x4d, 0x61, - 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x22, 0x0a, - 0x0d, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, - 0x64, 0x12, 0x20, 0x0a, 0x0c, 0x62, 0x75, 0x79, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x62, 0x75, 0x79, 0x54, 0x6f, 0x6b, 0x65, - 0x6e, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x06, 0x70, 0x72, 0x69, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, - 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x06, 0x70, 0x72, 0x69, 0x63, - 0x65, 0x73, 0x22, 0x3b, 0x0a, 0x11, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, - 0x72, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x65, 0x61, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x65, 0x61, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, - 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x61, 0x69, 0x6c, 0x22, - 0x9d, 0x01, 0x0a, 0x0f, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, - 0x65, 0x72, 0x73, 0x12, 0x50, 0x0a, 0x0e, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x65, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x0e, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x65, 0x74, 0x65, 0x72, 0x1a, 0x38, 0x0a, 0x0e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, - 0xca, 0x1e, 0x0a, 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x61, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x29, - 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, - 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x24, 0x0a, - 0x05, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x52, 0x05, 0x76, 0x6f, - 0x74, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, 0x06, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x52, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x38, 0x0a, 0x07, 0x61, 0x73, 0x73, 0x65, 0x74, - 0x56, 0x32, 0x18, 0x38, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x41, 0x73, 0x73, 0x65, - 0x74, 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x61, 0x73, 0x73, 0x65, 0x74, 0x56, - 0x32, 0x12, 0x30, 0x0a, 0x06, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x18, 0x07, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x52, 0x06, 0x66, 0x72, 0x6f, - 0x7a, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x65, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, - 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, - 0x12, 0x63, 0x0a, 0x2f, 0x61, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x6c, - 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x64, 0x77, 0x69, - 0x64, 0x74, 0x68, 0x18, 0x29, 0x20, 0x01, 0x28, 0x03, 0x52, 0x2a, 0x61, 0x63, 0x71, 0x75, 0x69, - 0x72, 0x65, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, - 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x42, 0x61, 0x6e, 0x64, - 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x52, 0x0a, 0x26, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, - 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, - 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, - 0x2a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x22, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, - 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, - 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x24, 0x0a, 0x0e, 0x6f, 0x6c, 0x64, - 0x5f, 0x74, 0x72, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x18, 0x2e, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0c, 0x6f, 0x6c, 0x64, 0x54, 0x72, 0x6f, 0x6e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x12, - 0x37, 0x0a, 0x0a, 0x74, 0x72, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x18, 0x2f, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x52, 0x09, 0x74, - 0x72, 0x6f, 0x6e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x73, 0x73, 0x65, - 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x18, 0x3c, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x0e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, - 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, - 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, - 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x6f, 0x70, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x12, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x4f, 0x70, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, - 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, - 0x63, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x77, 0x69, 0x74, - 0x68, 0x64, 0x72, 0x61, 0x77, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x12, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, - 0x54, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x77, - 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, - 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x63, 0x6f, - 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, - 0x73, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x12, 0x3d, 0x0a, 0x0d, 0x66, 0x72, - 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x18, 0x10, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x52, 0x0c, 0x66, 0x72, 0x6f, - 0x7a, 0x65, 0x6e, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x73, 0x73, - 0x65, 0x74, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x11, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, - 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, - 0x73, 0x73, 0x75, 0x65, 0x64, 0x5f, 0x49, 0x44, 0x18, 0x39, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, - 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x64, 0x49, 0x44, 0x12, 0x6e, 0x0a, - 0x1b, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6f, 0x70, - 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x12, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, - 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x52, 0x18, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, - 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x74, 0x0a, - 0x1d, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6f, 0x70, - 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x56, 0x32, 0x18, 0x3a, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x73, - 0x73, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, - 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x1a, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, - 0x73, 0x73, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, - 0x65, 0x56, 0x32, 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x6e, 0x65, 0x74, 0x5f, - 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x66, 0x72, 0x65, - 0x65, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x59, 0x0a, 0x14, 0x66, 0x72, 0x65, - 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x65, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, - 0x65, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x46, 0x72, 0x65, 0x65, 0x41, - 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x11, 0x66, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, - 0x73, 0x61, 0x67, 0x65, 0x12, 0x5f, 0x0a, 0x16, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x61, 0x73, 0x73, - 0x65, 0x74, 0x5f, 0x6e, 0x65, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x56, 0x32, 0x18, 0x3b, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x46, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, - 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x52, 0x13, 0x66, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, - 0x61, 0x67, 0x65, 0x56, 0x32, 0x12, 0x2e, 0x0a, 0x13, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, - 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x15, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x11, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d, - 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x18, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, - 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x74, 0x69, 0x6d, - 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x15, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x43, - 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x46, 0x72, 0x65, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, - 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x17, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, - 0x0f, 0x6e, 0x65, 0x74, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x5f, 0x73, 0x69, 0x7a, 0x65, - 0x18, 0x18, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6e, 0x65, 0x74, 0x57, 0x69, 0x6e, 0x64, 0x6f, - 0x77, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x6e, 0x65, 0x74, 0x5f, 0x77, 0x69, 0x6e, - 0x64, 0x6f, 0x77, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x18, 0x19, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x12, 0x6e, 0x65, 0x74, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x4f, 0x70, - 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x12, 0x4c, 0x0a, 0x10, 0x61, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x1a, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x52, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x64, 0x65, 0x48, 0x61, 0x73, - 0x68, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x63, 0x6f, 0x64, 0x65, 0x48, 0x61, 0x73, - 0x68, 0x12, 0x3f, 0x0a, 0x10, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x52, 0x0f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x12, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x70, 0x65, - 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x50, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x11, 0x61, 0x63, 0x74, 0x69, 0x76, - 0x65, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x21, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, - 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, - 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x36, 0x0a, 0x08, 0x66, 0x72, - 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x18, 0x22, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, - 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x52, 0x08, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, - 0x56, 0x32, 0x12, 0x3c, 0x0a, 0x0a, 0x75, 0x6e, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, - 0x18, 0x23, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x55, 0x6e, 0x46, 0x72, 0x65, 0x65, - 0x7a, 0x65, 0x56, 0x32, 0x52, 0x0a, 0x75, 0x6e, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, - 0x12, 0x56, 0x0a, 0x28, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x72, - 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, - 0x6f, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x24, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x24, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, - 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x42, - 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x67, 0x0a, 0x31, 0x61, 0x63, 0x71, 0x75, - 0x69, 0x72, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, - 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, - 0x66, 0x6f, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x25, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x2c, 0x61, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x44, 0x65, 0x6c, - 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x42, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, - 0x68, 0x1a, 0x50, 0x0a, 0x06, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x66, - 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0d, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, - 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, - 0x69, 0x6d, 0x65, 0x1a, 0x38, 0x0a, 0x0a, 0x41, 0x73, 0x73, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3a, 0x0a, - 0x0c, 0x41, 0x73, 0x73, 0x65, 0x74, 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, - 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, - 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4b, 0x0a, 0x1d, 0x4c, 0x61, 0x74, - 0x65, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4d, 0x0a, 0x1f, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, - 0x41, 0x73, 0x73, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, - 0x6d, 0x65, 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x44, 0x0a, 0x16, 0x46, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, - 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, - 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, - 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x46, 0x0a, 0x18, 0x46, - 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, - 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, - 0x02, 0x38, 0x01, 0x1a, 0xa0, 0x06, 0x0a, 0x0f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, - 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x6e, 0x65, 0x72, 0x67, - 0x79, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x65, - 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x53, 0x0a, 0x19, 0x66, 0x72, - 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, - 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x2e, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x52, 0x16, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, - 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, - 0x42, 0x0a, 0x1e, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, - 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, - 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1a, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x43, - 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x45, 0x6e, 0x65, - 0x72, 0x67, 0x79, 0x12, 0x5d, 0x0a, 0x2c, 0x61, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, - 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, - 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, - 0x72, 0x67, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x27, 0x61, 0x63, 0x71, 0x75, 0x69, - 0x72, 0x65, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, - 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x45, 0x6e, 0x65, 0x72, - 0x67, 0x79, 0x12, 0x4c, 0x0a, 0x23, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, - 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, - 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x1f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, - 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, - 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, - 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, - 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, - 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x73, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x3f, 0x0a, 0x1c, 0x6c, 0x61, - 0x74, 0x65, 0x73, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x73, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x19, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x65, - 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x5f, 0x73, 0x69, 0x7a, - 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x57, - 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x50, 0x0a, 0x25, 0x64, 0x65, 0x6c, - 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x5f, - 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, - 0x67, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x21, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, - 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x42, 0x61, 0x6c, 0x61, 0x6e, - 0x63, 0x65, 0x46, 0x6f, 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x61, 0x0a, 0x2e, 0x61, - 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, - 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, - 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x0b, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x29, 0x61, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x44, 0x65, 0x6c, - 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x42, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x36, - 0x0a, 0x17, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x5f, - 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x15, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x4f, 0x70, 0x74, - 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x1a, 0x4e, 0x0a, 0x08, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, - 0x56, 0x32, 0x12, 0x2a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, - 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, - 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x93, 0x01, 0x0a, 0x0a, 0x55, 0x6e, 0x46, 0x72, 0x65, - 0x65, 0x7a, 0x65, 0x56, 0x32, 0x12, 0x2a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, - 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x5f, 0x61, 0x6d, - 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, 0x6e, 0x66, 0x72, - 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x75, 0x6e, - 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x74, 0x69, - 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, - 0x7a, 0x65, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x37, 0x0a, 0x03, - 0x4b, 0x65, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, - 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x77, - 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0xa3, 0x02, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, - 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, - 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, - 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x74, 0x6f, 0x12, - 0x3f, 0x0a, 0x1c, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, - 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x19, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, - 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, - 0x12, 0x39, 0x0a, 0x19, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, - 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x16, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, - 0x63, 0x65, 0x46, 0x6f, 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x39, 0x0a, 0x19, 0x65, - 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x62, - 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, - 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x42, 0x61, 0x6e, - 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x33, 0x0a, 0x16, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, - 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, - 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x22, 0x63, 0x0a, 0x09, 0x61, - 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x2d, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x52, 0x07, - 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x65, 0x72, 0x6d, 0x69, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x0e, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, - 0x22, 0xb2, 0x02, 0x0a, 0x0a, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, - 0x37, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, - 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x65, 0x72, 0x6d, - 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0e, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, - 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, - 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x04, - 0x6b, 0x65, 0x79, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4b, 0x65, 0x79, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x22, - 0x34, 0x0a, 0x0e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, - 0x65, 0x12, 0x09, 0x0a, 0x05, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, - 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x63, 0x74, - 0x69, 0x76, 0x65, 0x10, 0x02, 0x22, 0x99, 0x02, 0x0a, 0x07, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, - 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x76, - 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, - 0x76, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, - 0x4b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x75, 0x62, 0x4b, 0x65, - 0x79, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x75, 0x72, 0x6c, 0x12, 0x24, 0x0a, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x64, - 0x75, 0x63, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x6f, 0x74, 0x61, - 0x6c, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x6f, 0x74, - 0x61, 0x6c, 0x4d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, - 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x6c, - 0x61, 0x74, 0x65, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0e, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x4e, 0x75, 0x6d, 0x12, 0x24, 0x0a, 0x0d, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x53, 0x6c, 0x6f, - 0x74, 0x4e, 0x75, 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6c, 0x61, 0x74, 0x65, - 0x73, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x4e, 0x75, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x4a, - 0x6f, 0x62, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4a, 0x6f, 0x62, - 0x73, 0x22, 0x7b, 0x0a, 0x05, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x12, 0x2b, 0x0a, 0x09, 0x6f, 0x6c, 0x64, 0x5f, 0x76, 0x6f, 0x74, 0x65, - 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x52, 0x08, 0x6f, 0x6c, 0x64, 0x56, 0x6f, 0x74, 0x65, - 0x73, 0x12, 0x2b, 0x0a, 0x09, 0x6e, 0x65, 0x77, 0x5f, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x03, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x56, 0x6f, 0x74, 0x65, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x22, 0x40, - 0x0a, 0x08, 0x54, 0x58, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x48, 0x61, 0x73, 0x68, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x48, 0x61, 0x73, 0x68, - 0x22, 0xa0, 0x01, 0x0a, 0x07, 0x54, 0x58, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x30, 0x0a, 0x08, - 0x72, 0x61, 0x77, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x58, 0x49, 0x6e, 0x70, 0x75, - 0x74, 0x2e, 0x72, 0x61, 0x77, 0x52, 0x07, 0x72, 0x61, 0x77, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1c, - 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x1a, 0x45, 0x0a, 0x03, - 0x72, 0x61, 0x77, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x04, 0x74, 0x78, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x76, 0x6f, 0x75, 0x74, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x76, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, - 0x75, 0x62, 0x4b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x75, 0x62, - 0x4b, 0x65, 0x79, 0x22, 0x39, 0x0a, 0x09, 0x54, 0x58, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, - 0x12, 0x2c, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x58, 0x4f, - 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x22, 0xde, - 0x02, 0x0a, 0x0f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, - 0x70, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x75, 0x73, 0x61, - 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, - 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, - 0x66, 0x65, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x6e, 0x65, 0x72, 0x67, - 0x79, 0x46, 0x65, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x65, - 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x11, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, - 0x73, 0x61, 0x67, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x75, - 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x10, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x74, - 0x61, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x65, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, - 0x17, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x06, 0x6e, 0x65, 0x74, 0x46, 0x65, 0x65, 0x12, 0x43, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x30, 0x0a, - 0x14, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x70, 0x65, 0x6e, 0x61, 0x6c, 0x74, 0x79, 0x5f, - 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x65, 0x6e, 0x65, - 0x72, 0x67, 0x79, 0x50, 0x65, 0x6e, 0x61, 0x6c, 0x74, 0x79, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x22, - 0xb1, 0x01, 0x0a, 0x11, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x44, - 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x61, 0x6b, 0x65, 0x72, 0x4f, 0x72, - 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6d, 0x61, 0x6b, - 0x65, 0x72, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x74, 0x61, 0x6b, - 0x65, 0x72, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x0c, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2a, 0x0a, - 0x10, 0x66, 0x69, 0x6c, 0x6c, 0x53, 0x65, 0x6c, 0x6c, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x66, 0x69, 0x6c, 0x6c, 0x53, 0x65, 0x6c, - 0x6c, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x66, 0x69, 0x6c, - 0x6c, 0x42, 0x75, 0x79, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x0f, 0x66, 0x69, 0x6c, 0x6c, 0x42, 0x75, 0x79, 0x51, 0x75, 0x61, 0x6e, 0x74, - 0x69, 0x74, 0x79, 0x22, 0xdd, 0x18, 0x0a, 0x0b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x08, 0x72, 0x61, 0x77, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x72, 0x61, 0x77, - 0x52, 0x07, 0x72, 0x61, 0x77, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, - 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, - 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x2e, 0x0a, 0x03, 0x72, 0x65, 0x74, 0x18, 0x05, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x52, 0x03, 0x72, 0x65, 0x74, 0x1a, 0xef, 0x0a, 0x0a, 0x08, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x12, 0x3f, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x32, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, - 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x09, - 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, - 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, - 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x50, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x0c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x88, - 0x09, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x19, 0x0a, 0x15, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x01, - 0x12, 0x19, 0x0a, 0x15, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, - 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x56, - 0x6f, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x10, 0x03, 0x12, 0x17, 0x0a, 0x13, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, - 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x04, 0x12, 0x19, 0x0a, 0x15, 0x57, - 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x10, 0x05, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, - 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x06, 0x12, 0x19, - 0x0a, 0x15, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x08, 0x12, 0x21, 0x0a, 0x1d, 0x50, 0x61, 0x72, - 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, - 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x09, 0x12, 0x19, 0x0a, 0x15, - 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x0a, 0x12, 0x19, 0x0a, 0x15, 0x46, 0x72, 0x65, 0x65, 0x7a, - 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x10, 0x0b, 0x12, 0x1b, 0x0a, 0x17, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x0c, 0x12, - 0x1b, 0x0a, 0x17, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, - 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x0d, 0x12, 0x19, 0x0a, 0x15, - 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x0e, 0x12, 0x17, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x0f, - 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x10, 0x12, 0x1b, 0x0a, 0x17, - 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x11, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x72, 0x6f, - 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x10, 0x12, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x49, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x13, 0x12, - 0x12, 0x0a, 0x0e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x10, 0x14, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x6d, 0x61, - 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x1e, 0x12, 0x18, 0x0a, 0x14, - 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x10, 0x1f, 0x12, 0x0f, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x20, 0x12, 0x19, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x10, 0x21, 0x12, 0x1a, 0x0a, 0x16, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x29, 0x12, 0x1a, - 0x0a, 0x16, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x2a, 0x12, 0x1c, 0x0a, 0x18, 0x45, 0x78, - 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x2b, 0x12, 0x1f, 0x0a, 0x1b, 0x45, 0x78, 0x63, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x2c, 0x12, 0x1d, 0x0a, 0x19, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x2d, 0x12, 0x23, 0x0a, 0x1f, 0x41, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x2e, 0x12, 0x14, 0x0a, - 0x10, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x41, 0x42, 0x49, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x10, 0x30, 0x12, 0x1b, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x72, 0x6f, - 0x6b, 0x65, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x31, - 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x66, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x33, 0x12, 0x1b, - 0x0a, 0x17, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x6c, 0x41, 0x73, 0x73, 0x65, - 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x34, 0x12, 0x1d, 0x0a, 0x19, 0x4d, - 0x61, 0x72, 0x6b, 0x65, 0x74, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x35, 0x12, 0x1b, 0x0a, 0x17, 0x46, 0x72, - 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x36, 0x12, 0x1d, 0x0a, 0x19, 0x55, 0x6e, 0x66, 0x72, 0x65, - 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x10, 0x37, 0x12, 0x22, 0x0a, 0x1e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, - 0x61, 0x77, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x38, 0x12, 0x1c, 0x0a, 0x18, 0x44, 0x65, - 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x39, 0x12, 0x1e, 0x0a, 0x1a, 0x55, 0x6e, 0x44, 0x65, - 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x3a, 0x12, 0x1f, 0x0a, 0x1b, 0x43, 0x61, 0x6e, 0x63, - 0x65, 0x6c, 0x41, 0x6c, 0x6c, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x3b, 0x1a, 0xed, 0x09, 0x0a, 0x06, 0x52, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x65, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x03, 0x66, 0x65, 0x65, 0x12, 0x33, 0x0a, 0x03, 0x72, 0x65, 0x74, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x52, 0x03, 0x72, 0x65, 0x74, 0x12, 0x4d, 0x0a, 0x0b, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0b, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x73, - 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x49, 0x44, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x49, 0x44, 0x12, 0x27, - 0x0a, 0x0f, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, - 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, - 0x77, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x75, 0x6e, 0x66, 0x72, 0x65, - 0x65, 0x7a, 0x65, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0e, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, - 0x12, 0x38, 0x0a, 0x18, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x63, - 0x65, 0x69, 0x76, 0x65, 0x64, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x12, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x16, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, - 0x69, 0x76, 0x65, 0x64, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x43, 0x0a, 0x1e, 0x65, 0x78, - 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x6e, - 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x13, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x1b, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x6a, 0x65, - 0x63, 0x74, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, - 0x47, 0x0a, 0x20, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x77, 0x69, 0x74, 0x68, - 0x64, 0x72, 0x61, 0x77, 0x5f, 0x61, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x61, 0x6d, 0x6f, - 0x75, 0x6e, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1d, 0x65, 0x78, 0x63, 0x68, 0x61, - 0x6e, 0x67, 0x65, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x41, 0x6e, 0x6f, 0x74, 0x68, - 0x65, 0x72, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x63, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x15, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, - 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x38, 0x0a, 0x18, 0x73, 0x68, 0x69, - 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x73, 0x68, 0x69, - 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x46, 0x65, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x19, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x3f, 0x0a, - 0x0c, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x1a, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, - 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, - 0x52, 0x0c, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x34, - 0x0a, 0x16, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, - 0x65, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, - 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x41, 0x6d, - 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x72, 0x0a, 0x18, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x5f, 0x75, - 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, - 0x18, 0x1c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x55, 0x6e, 0x66, 0x72, 0x65, - 0x65, 0x7a, 0x65, 0x56, 0x32, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x52, 0x16, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, - 0x56, 0x32, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x49, 0x0a, 0x1b, 0x43, 0x61, 0x6e, 0x63, - 0x65, 0x6c, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x41, 0x6d, 0x6f, 0x75, - 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, - 0x02, 0x38, 0x01, 0x22, 0x1e, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x53, - 0x55, 0x43, 0x45, 0x53, 0x53, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, - 0x44, 0x10, 0x01, 0x22, 0xc3, 0x02, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, - 0x54, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x01, - 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x45, 0x56, 0x45, 0x52, 0x54, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, - 0x42, 0x41, 0x44, 0x5f, 0x4a, 0x55, 0x4d, 0x50, 0x5f, 0x44, 0x45, 0x53, 0x54, 0x49, 0x4e, 0x41, - 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, - 0x5f, 0x4d, 0x45, 0x4d, 0x4f, 0x52, 0x59, 0x10, 0x04, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x52, 0x45, - 0x43, 0x4f, 0x4d, 0x50, 0x49, 0x4c, 0x45, 0x44, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x41, 0x43, - 0x54, 0x10, 0x05, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x54, 0x4f, 0x4f, - 0x5f, 0x53, 0x4d, 0x41, 0x4c, 0x4c, 0x10, 0x06, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x54, 0x41, 0x43, - 0x4b, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 0x4c, 0x41, 0x52, 0x47, 0x45, 0x10, 0x07, 0x12, 0x15, 0x0a, - 0x11, 0x49, 0x4c, 0x4c, 0x45, 0x47, 0x41, 0x4c, 0x5f, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x49, - 0x4f, 0x4e, 0x10, 0x08, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x4f, 0x56, - 0x45, 0x52, 0x46, 0x4c, 0x4f, 0x57, 0x10, 0x09, 0x12, 0x11, 0x0a, 0x0d, 0x4f, 0x55, 0x54, 0x5f, - 0x4f, 0x46, 0x5f, 0x45, 0x4e, 0x45, 0x52, 0x47, 0x59, 0x10, 0x0a, 0x12, 0x0f, 0x0a, 0x0b, 0x4f, - 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x0b, 0x12, 0x17, 0x0a, 0x13, - 0x4a, 0x56, 0x4d, 0x5f, 0x53, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x5f, 0x46, - 0x4c, 0x4f, 0x57, 0x10, 0x0c, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, - 0x10, 0x0d, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x45, 0x52, 0x5f, 0x46, - 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0e, 0x12, 0x10, 0x0a, 0x0c, 0x49, 0x4e, 0x56, 0x41, 0x4c, - 0x49, 0x44, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x10, 0x0f, 0x1a, 0xe7, 0x02, 0x0a, 0x03, 0x72, 0x61, - 0x77, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x65, 0x66, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x62, - 0x79, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x72, 0x65, 0x66, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x72, 0x65, 0x66, - 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0b, 0x72, 0x65, 0x66, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x24, 0x0a, - 0x0e, 0x72, 0x65, 0x66, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, - 0x61, 0x73, 0x68, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x05, 0x61, 0x75, 0x74, 0x68, 0x73, 0x18, 0x09, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x61, 0x75, - 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, 0x05, 0x61, 0x75, 0x74, 0x68, 0x73, 0x12, 0x12, - 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, - 0x74, 0x61, 0x12, 0x3a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x18, 0x0b, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x18, - 0x0a, 0x07, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x07, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, - 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, - 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x65, 0x65, 0x5f, 0x6c, 0x69, - 0x6d, 0x69, 0x74, 0x18, 0x12, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x65, 0x65, 0x4c, 0x69, - 0x6d, 0x69, 0x74, 0x22, 0xd5, 0x0a, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x65, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x66, 0x65, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, - 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x26, 0x0a, 0x0e, 0x62, - 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, - 0x61, 0x6d, 0x70, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0e, 0x63, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x33, 0x0a, 0x07, 0x72, 0x65, 0x63, 0x65, 0x69, 0x70, - 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, - 0x70, 0x74, 0x52, 0x07, 0x72, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x12, 0x2f, 0x0a, 0x03, 0x6c, - 0x6f, 0x67, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x6e, 0x66, 0x6f, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x03, 0x6c, 0x6f, 0x67, 0x12, 0x36, 0x0a, 0x06, - 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x52, 0x06, 0x72, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, - 0x75, 0x65, 0x49, 0x44, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x73, 0x73, 0x65, - 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x49, 0x44, 0x12, 0x27, 0x0a, 0x0f, 0x77, 0x69, 0x74, 0x68, - 0x64, 0x72, 0x61, 0x77, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0e, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x41, 0x6d, 0x6f, 0x75, 0x6e, - 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x5f, 0x61, 0x6d, - 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, 0x6e, 0x66, 0x72, - 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x15, 0x69, 0x6e, - 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, - 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x38, - 0x0a, 0x18, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, - 0x76, 0x65, 0x64, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x12, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x16, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, - 0x65, 0x64, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x43, 0x0a, 0x1e, 0x65, 0x78, 0x63, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x6e, 0x6f, 0x74, - 0x68, 0x65, 0x72, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x13, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x1b, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, - 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x47, 0x0a, - 0x20, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, - 0x61, 0x77, 0x5f, 0x61, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, - 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1d, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, - 0x65, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, - 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, - 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x15, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x63, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x38, 0x0a, 0x18, 0x73, 0x68, 0x69, 0x65, 0x6c, - 0x64, 0x65, 0x64, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, - 0x66, 0x65, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x73, 0x68, 0x69, 0x65, 0x6c, - 0x64, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x65, - 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x19, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x0c, 0x6f, - 0x72, 0x64, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x1a, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, - 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x0c, - 0x6f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x1e, 0x0a, 0x0a, - 0x70, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x46, 0x65, 0x65, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0a, 0x70, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x46, 0x65, 0x65, 0x12, 0x34, 0x0a, 0x16, - 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, - 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, 0x77, 0x69, - 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x41, 0x6d, 0x6f, 0x75, - 0x6e, 0x74, 0x12, 0x6f, 0x0a, 0x18, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x5f, 0x75, 0x6e, 0x66, - 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x1d, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, - 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, - 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x16, 0x63, 0x61, 0x6e, - 0x63, 0x65, 0x6c, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x41, 0x6d, 0x6f, - 0x75, 0x6e, 0x74, 0x1a, 0x4b, 0x0a, 0x03, 0x4c, 0x6f, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x0c, 0x52, 0x06, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x12, 0x12, 0x0a, 0x04, - 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, - 0x1a, 0x49, 0x0a, 0x1b, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, - 0x7a, 0x65, 0x56, 0x32, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, - 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, - 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x1e, 0x0a, 0x04, 0x63, - 0x6f, 0x64, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x55, 0x43, 0x45, 0x53, 0x53, 0x10, 0x00, 0x12, - 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x22, 0x9f, 0x01, 0x0a, 0x0e, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x74, 0x12, 0x20, - 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, - 0x12, 0x26, 0x0a, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, - 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, - 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x43, 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x74, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x49, 0x0a, - 0x0c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x39, 0x0a, - 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x74, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xfc, 0x02, 0x0a, 0x0b, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x34, 0x0a, 0x08, 0x72, 0x61, 0x77, 0x5f, - 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, - 0x72, 0x2e, 0x72, 0x61, 0x77, 0x52, 0x07, 0x72, 0x61, 0x77, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2b, - 0x0a, 0x11, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, - 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x77, 0x69, 0x74, 0x6e, 0x65, - 0x73, 0x73, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x1a, 0x89, 0x02, 0x0a, 0x03, - 0x72, 0x61, 0x77, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x78, 0x54, 0x72, 0x69, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x74, 0x78, 0x54, 0x72, 0x69, 0x65, 0x52, 0x6f, 0x6f, - 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, 0x68, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, - 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x77, 0x69, 0x74, - 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x77, - 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x77, 0x69, 0x74, 0x6e, - 0x65, 0x73, 0x73, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x0e, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x10, 0x61, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x18, - 0x0b, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x22, 0x7c, 0x0a, 0x05, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x12, 0x39, 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x74, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x38, 0x0a, 0x0c, 0x62, - 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, - 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0x9a, 0x01, 0x0a, 0x0e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, - 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x32, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x52, 0x03, 0x69, 0x64, 0x73, 0x12, 0x1d, 0x0a, 0x0a, - 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x09, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x75, 0x6d, 0x1a, 0x35, 0x0a, 0x07, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, - 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, - 0x65, 0x72, 0x22, 0xd8, 0x01, 0x0a, 0x0e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x76, 0x65, - 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x32, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x49, 0x64, 0x52, 0x03, 0x69, 0x64, 0x73, 0x12, 0x31, 0x0a, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, - 0x79, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x1a, 0x35, 0x0a, 0x07, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6e, - 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x75, 0x6d, - 0x62, 0x65, 0x72, 0x22, 0x28, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x53, - 0x59, 0x4e, 0x43, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x44, 0x56, 0x54, 0x49, 0x53, 0x45, - 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x45, 0x54, 0x43, 0x48, 0x10, 0x02, 0x22, 0x79, 0x0a, - 0x09, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x35, 0x0a, 0x04, 0x74, 0x79, - 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x49, 0x6e, - 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x03, - 0x69, 0x64, 0x73, 0x22, 0x23, 0x0a, 0x0d, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x52, 0x58, 0x10, 0x00, 0x12, 0x09, 0x0a, - 0x05, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0x01, 0x22, 0x8f, 0x02, 0x0a, 0x05, 0x49, 0x74, 0x65, - 0x6d, 0x73, 0x12, 0x2c, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x74, 0x65, 0x6d, - 0x73, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, - 0x12, 0x27, 0x0a, 0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, - 0x6b, 0x52, 0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x3a, 0x0a, 0x0d, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, - 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, - 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x39, 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x22, 0x38, 0x0a, 0x08, 0x49, 0x74, 0x65, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, - 0x45, 0x52, 0x52, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x52, 0x58, 0x10, 0x01, 0x12, 0x09, - 0x0a, 0x05, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x42, 0x4c, 0x4f, - 0x43, 0x4b, 0x48, 0x45, 0x41, 0x44, 0x45, 0x52, 0x10, 0x03, 0x22, 0x4a, 0x0a, 0x11, 0x44, 0x79, - 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, - 0x35, 0x0a, 0x17, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, - 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x14, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x22, 0x41, 0x0a, 0x11, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, - 0x6e, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2c, 0x0a, 0x06, 0x72, - 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x43, 0x6f, 0x64, - 0x65, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0xef, 0x03, 0x0a, 0x0c, 0x48, 0x65, - 0x6c, 0x6c, 0x6f, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x26, 0x0a, 0x04, 0x66, 0x72, - 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x04, 0x66, 0x72, - 0x6f, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, - 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x46, 0x0a, 0x0e, 0x67, 0x65, - 0x6e, 0x65, 0x73, 0x69, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x48, 0x65, - 0x6c, 0x6c, 0x6f, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x49, 0x64, 0x52, 0x0e, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x49, 0x64, 0x12, 0x42, 0x0a, 0x0c, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x52, 0x0c, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x0b, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x52, 0x0b, 0x68, 0x65, 0x61, - 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, - 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, - 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x26, 0x0a, 0x0e, - 0x6c, 0x6f, 0x77, 0x65, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x0a, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x6c, 0x6f, 0x77, 0x65, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, - 0x6b, 0x4e, 0x75, 0x6d, 0x1a, 0x35, 0x0a, 0x07, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, - 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, - 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0xe1, 0x02, 0x0a, 0x13, - 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x61, 0x6c, 0x6c, 0x65, - 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x0d, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2d, - 0x0a, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x54, 0x6f, 0x5f, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x11, 0x74, 0x72, 0x61, 0x6e, - 0x73, 0x66, 0x65, 0x72, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x51, 0x0a, - 0x0d, 0x63, 0x61, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x04, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x66, - 0x6f, 0x52, 0x0d, 0x63, 0x61, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x66, 0x6f, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, - 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, - 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x1a, 0x47, 0x0a, 0x0d, 0x43, 0x61, 0x6c, 0x6c, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x61, 0x6c, 0x6c, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x22, - 0x9b, 0x01, 0x0a, 0x1d, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, - 0x78, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x66, - 0x72, 0x6f, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x0c, 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, - 0x1e, 0x0a, 0x0a, 0x74, 0x6f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, - 0x03, 0x28, 0x0c, 0x52, 0x0a, 0x74, 0x6f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, - 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xbd, 0x1a, - 0x0a, 0x08, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x65, - 0x67, 0x69, 0x6e, 0x53, 0x79, 0x6e, 0x63, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0c, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x53, 0x79, 0x6e, 0x63, 0x4e, 0x75, 0x6d, 0x12, 0x14, - 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, - 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x24, 0x0a, 0x0d, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x6f, 0x6c, - 0x69, 0x64, 0x69, 0x74, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x30, 0x0a, 0x13, 0x63, 0x75, - 0x72, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, - 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, - 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x12, - 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, - 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x13, - 0x70, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, - 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x70, 0x61, 0x73, 0x73, 0x69, - 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1c, - 0x0a, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x46, 0x6c, 0x6f, 0x77, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x46, 0x6c, 0x6f, 0x77, 0x12, 0x3f, 0x0a, 0x0c, - 0x70, 0x65, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, - 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, - 0x0c, 0x70, 0x65, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x49, 0x0a, - 0x0e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x40, 0x0a, 0x0b, 0x6d, 0x61, 0x63, 0x68, - 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, - 0x6f, 0x2e, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x6d, - 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5d, 0x0a, 0x13, 0x63, 0x68, - 0x65, 0x61, 0x74, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, - 0x70, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x68, 0x65, 0x61, - 0x74, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x63, 0x68, 0x65, 0x61, 0x74, 0x57, 0x69, 0x74, 0x6e, 0x65, - 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x1a, 0x46, 0x0a, 0x18, 0x43, 0x68, 0x65, - 0x61, 0x74, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, - 0x01, 0x1a, 0xc8, 0x07, 0x0a, 0x08, 0x50, 0x65, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x24, - 0x0a, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x79, 0x6e, 0x63, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x79, 0x6e, 0x63, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x75, - 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x4e, - 0x75, 0x6d, 0x12, 0x30, 0x0a, 0x13, 0x6c, 0x61, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x13, 0x6c, 0x61, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x79, 0x6e, 0x63, 0x46, 0x6c, 0x61, 0x67, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x79, 0x6e, 0x63, 0x46, 0x6c, 0x61, 0x67, - 0x12, 0x38, 0x0a, 0x17, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, - 0x65, 0x57, 0x65, 0x42, 0x6f, 0x74, 0x68, 0x48, 0x61, 0x76, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x17, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, - 0x57, 0x65, 0x42, 0x6f, 0x74, 0x68, 0x48, 0x61, 0x76, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x6e, 0x65, - 0x65, 0x64, 0x53, 0x79, 0x6e, 0x63, 0x46, 0x72, 0x6f, 0x6d, 0x50, 0x65, 0x65, 0x72, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x6e, 0x65, 0x65, 0x64, 0x53, 0x79, 0x6e, 0x63, 0x46, 0x72, - 0x6f, 0x6d, 0x50, 0x65, 0x65, 0x72, 0x12, 0x26, 0x0a, 0x0e, 0x6e, 0x65, 0x65, 0x64, 0x53, 0x79, - 0x6e, 0x63, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, - 0x6e, 0x65, 0x65, 0x64, 0x53, 0x79, 0x6e, 0x63, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x12, 0x12, - 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, - 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, - 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x20, - 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x69, 0x6d, 0x65, - 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x76, 0x67, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x0c, - 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x61, 0x76, 0x67, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, - 0x12, 0x28, 0x0a, 0x0f, 0x73, 0x79, 0x6e, 0x63, 0x54, 0x6f, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, - 0x69, 0x7a, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x73, 0x79, 0x6e, 0x63, 0x54, - 0x6f, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x36, 0x0a, 0x16, 0x73, 0x79, - 0x6e, 0x63, 0x54, 0x6f, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, 0x50, 0x65, 0x65, - 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x73, 0x79, 0x6e, 0x63, - 0x54, 0x6f, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, 0x50, 0x65, 0x65, 0x6b, 0x4e, - 0x75, 0x6d, 0x12, 0x36, 0x0a, 0x16, 0x73, 0x79, 0x6e, 0x63, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x0f, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x16, 0x73, 0x79, 0x6e, 0x63, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x75, 0x6e, - 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x79, 0x6e, 0x4e, 0x75, 0x6d, 0x18, 0x10, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0d, 0x75, 0x6e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x79, 0x6e, 0x4e, 0x75, 0x6d, - 0x12, 0x28, 0x0a, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x50, 0x6f, 0x72, 0x63, 0x53, - 0x69, 0x7a, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, - 0x49, 0x6e, 0x50, 0x6f, 0x72, 0x63, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x68, 0x65, - 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x57, 0x65, 0x42, 0x6f, 0x74, 0x68, 0x48, 0x61, 0x76, - 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x57, 0x65, 0x42, 0x6f, 0x74, 0x68, 0x48, 0x61, 0x76, 0x65, 0x12, 0x1a, 0x0a, 0x08, - 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, - 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, - 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1c, - 0x0a, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x15, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, - 0x69, 0x6e, 0x46, 0x6c, 0x6f, 0x77, 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x69, 0x6e, - 0x46, 0x6c, 0x6f, 0x77, 0x12, 0x28, 0x0a, 0x0f, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, - 0x63, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x18, 0x17, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x64, - 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x34, - 0x0a, 0x15, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, - 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x6c, - 0x6f, 0x63, 0x61, 0x6c, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, - 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x36, 0x0a, 0x16, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x44, 0x69, - 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x19, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x44, 0x69, 0x73, 0x63, - 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x1a, 0xa2, 0x06, 0x0a, - 0x0e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, - 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x32, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x32, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x50, 0x6f, 0x72, 0x74, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x50, 0x6f, 0x72, - 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x45, 0x6e, 0x61, - 0x62, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x64, 0x69, 0x73, 0x63, 0x6f, - 0x76, 0x65, 0x72, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x61, 0x63, 0x74, - 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x0e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, - 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x70, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x64, 0x65, - 0x53, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x70, 0x61, 0x73, 0x73, - 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x73, - 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x0c, 0x73, 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, - 0x28, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x6e, - 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x15, 0x73, 0x61, 0x6d, - 0x65, 0x49, 0x70, 0x4d, 0x61, 0x78, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15, 0x73, 0x61, 0x6d, 0x65, 0x49, 0x70, - 0x4d, 0x61, 0x78, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, - 0x2a, 0x0a, 0x10, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x50, - 0x6f, 0x72, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x62, 0x61, 0x63, 0x6b, 0x75, - 0x70, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x62, - 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x53, 0x69, 0x7a, 0x65, 0x18, - 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x62, 0x61, 0x63, 0x6b, 0x75, - 0x70, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x0e, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, - 0x1c, 0x0a, 0x09, 0x64, 0x62, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x09, 0x64, 0x62, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, - 0x14, 0x6d, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x61, 0x74, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x14, 0x6d, 0x69, 0x6e, - 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x74, - 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x73, - 0x74, 0x61, 0x6e, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x73, 0x75, 0x70, 0x70, - 0x6f, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x6d, - 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x10, 0x20, 0x01, 0x28, - 0x01, 0x52, 0x0c, 0x6d, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x12, - 0x22, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x18, - 0x11, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, - 0x74, 0x69, 0x6f, 0x12, 0x3a, 0x0a, 0x18, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x66, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x73, 0x18, - 0x12, 0x20, 0x01, 0x28, 0x03, 0x52, 0x18, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x66, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x73, 0x12, - 0x30, 0x0a, 0x13, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x41, 0x64, 0x61, 0x70, 0x74, 0x69, 0x76, 0x65, - 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x13, 0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x61, 0x6c, - 0x6c, 0x6f, 0x77, 0x41, 0x64, 0x61, 0x70, 0x74, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, - 0x79, 0x1a, 0xb9, 0x07, 0x0a, 0x0b, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, - 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, - 0x75, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x13, 0x64, 0x65, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x6b, 0x54, - 0x68, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x13, 0x64, 0x65, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, - 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x70, 0x75, 0x43, 0x6f, 0x75, 0x6e, - 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x63, 0x70, 0x75, 0x43, 0x6f, 0x75, 0x6e, - 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x6d, - 0x6f, 0x72, 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x72, 0x65, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, - 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x66, 0x72, 0x65, 0x65, 0x4d, 0x65, 0x6d, - 0x6f, 0x72, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x70, 0x75, 0x52, 0x61, 0x74, 0x65, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x63, 0x70, 0x75, 0x52, 0x61, 0x74, 0x65, 0x12, 0x20, 0x0a, - 0x0b, 0x6a, 0x61, 0x76, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x6a, 0x61, 0x76, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, - 0x16, 0x0a, 0x06, 0x6f, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x6f, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x6a, 0x76, 0x6d, 0x54, 0x6f, - 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0e, 0x6a, 0x76, 0x6d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, - 0x24, 0x0a, 0x0d, 0x6a, 0x76, 0x6d, 0x46, 0x72, 0x65, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, - 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6a, 0x76, 0x6d, 0x46, 0x72, 0x65, 0x65, 0x4d, - 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, - 0x43, 0x70, 0x75, 0x52, 0x61, 0x74, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e, 0x70, - 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x43, 0x70, 0x75, 0x52, 0x61, 0x74, 0x65, 0x12, 0x5d, 0x0a, - 0x12, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x44, 0x65, 0x73, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x4c, - 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4d, 0x61, - 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, - 0x44, 0x65, 0x73, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, - 0x44, 0x65, 0x73, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x69, 0x0a, 0x16, - 0x64, 0x65, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, 0x6e, - 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, - 0x2e, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x44, 0x65, 0x61, - 0x64, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, - 0x16, 0x64, 0x65, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, - 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x1a, 0x8e, 0x01, 0x0a, 0x0e, 0x4d, 0x65, 0x6d, 0x6f, - 0x72, 0x79, 0x44, 0x65, 0x73, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, - 0x0a, 0x08, 0x69, 0x6e, 0x69, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x08, 0x69, 0x6e, 0x69, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x73, - 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x75, 0x73, 0x65, - 0x53, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x18, - 0x0a, 0x07, 0x75, 0x73, 0x65, 0x52, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, - 0x07, 0x75, 0x73, 0x65, 0x52, 0x61, 0x74, 0x65, 0x1a, 0xd2, 0x01, 0x0a, 0x12, 0x44, 0x65, 0x61, - 0x64, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x1c, 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x6b, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x6b, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x14, 0x0a, - 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, - 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, - 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x61, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x08, 0x77, 0x61, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a, - 0x0a, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x63, 0x65, 0x22, 0xc0, 0x18, - 0x0a, 0x0b, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, - 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x32, 0x0a, 0x04, 0x6e, 0x6f, 0x64, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4e, - 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x44, 0x0a, - 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x68, - 0x61, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x63, 0x68, - 0x61, 0x69, 0x6e, 0x12, 0x2f, 0x0a, 0x03, 0x6e, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, - 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4e, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, - 0x03, 0x6e, 0x65, 0x74, 0x1a, 0x74, 0x0a, 0x08, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, - 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, - 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x62, 0x61, - 0x63, 0x6b, 0x75, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x1a, 0xee, 0x06, 0x0a, 0x0e, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, - 0x0c, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0c, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, - 0x6d, 0x12, 0x2e, 0x0a, 0x12, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, - 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x68, - 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x12, 0x24, 0x0a, 0x0d, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, - 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x6f, 0x72, 0x6b, 0x43, - 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x66, 0x6f, 0x72, 0x6b, - 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x66, 0x61, 0x69, 0x6c, 0x46, 0x6f, 0x72, - 0x6b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x66, 0x61, - 0x69, 0x6c, 0x46, 0x6f, 0x72, 0x6b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x4a, 0x0a, 0x10, 0x62, - 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, - 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x10, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x63, - 0x65, 0x73, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x03, 0x74, 0x70, 0x73, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, - 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x03, 0x74, 0x70, 0x73, 0x12, 0x32, 0x0a, 0x14, 0x74, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x53, 0x69, 0x7a, - 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x4c, 0x0a, - 0x11, 0x6d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, - 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x11, 0x6d, 0x69, 0x73, 0x73, 0x65, 0x64, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4a, 0x0a, 0x09, 0x77, - 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, - 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x68, 0x61, 0x69, 0x6e, - 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x52, 0x09, 0x77, 0x69, - 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x13, 0x66, 0x61, 0x69, 0x6c, 0x50, - 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x0b, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x66, 0x61, 0x69, 0x6c, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, - 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x36, 0x0a, 0x16, 0x66, 0x61, 0x69, - 0x6c, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x61, - 0x73, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x66, 0x61, 0x69, 0x6c, 0x50, - 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x61, 0x73, 0x6f, - 0x6e, 0x12, 0x4f, 0x0a, 0x0a, 0x64, 0x75, 0x70, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x18, - 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x42, 0x6c, 0x6f, - 0x63, 0x6b, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x44, 0x75, 0x70, 0x57, - 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x52, 0x0a, 0x64, 0x75, 0x70, 0x57, 0x69, 0x74, 0x6e, 0x65, - 0x73, 0x73, 0x1a, 0x3d, 0x0a, 0x07, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, - 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x1a, 0x58, 0x0a, 0x0a, 0x44, 0x75, 0x70, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, - 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0xb8, 0x01, 0x0a, 0x08, - 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1a, - 0x0a, 0x08, 0x6d, 0x65, 0x61, 0x6e, 0x52, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, - 0x52, 0x08, 0x6d, 0x65, 0x61, 0x6e, 0x52, 0x61, 0x74, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x6f, 0x6e, - 0x65, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x52, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x01, 0x52, 0x0d, 0x6f, 0x6e, 0x65, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x52, 0x61, 0x74, 0x65, - 0x12, 0x26, 0x0a, 0x0e, 0x66, 0x69, 0x76, 0x65, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x52, 0x61, - 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e, 0x66, 0x69, 0x76, 0x65, 0x4d, 0x69, - 0x6e, 0x75, 0x74, 0x65, 0x52, 0x61, 0x74, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x66, 0x69, 0x66, 0x74, - 0x65, 0x65, 0x6e, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x52, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x01, 0x52, 0x11, 0x66, 0x69, 0x66, 0x74, 0x65, 0x65, 0x6e, 0x4d, 0x69, 0x6e, 0x75, - 0x74, 0x65, 0x52, 0x61, 0x74, 0x65, 0x1a, 0xc7, 0x0d, 0x0a, 0x07, 0x4e, 0x65, 0x74, 0x49, 0x6e, - 0x66, 0x6f, 0x12, 0x28, 0x0a, 0x0f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x65, 0x72, 0x72, - 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x37, 0x0a, 0x03, - 0x61, 0x70, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, - 0x2e, 0x4e, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x70, 0x69, 0x49, 0x6e, 0x66, 0x6f, - 0x52, 0x03, 0x61, 0x70, 0x69, 0x12, 0x28, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, - 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, - 0x32, 0x0a, 0x14, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x14, 0x76, - 0x61, 0x6c, 0x69, 0x64, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, - 0x75, 0x6e, 0x74, 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x63, 0x70, 0x49, 0x6e, 0x54, 0x72, 0x61, 0x66, - 0x66, 0x69, 0x63, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, - 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x74, 0x63, 0x70, 0x49, 0x6e, - 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x12, 0x44, 0x0a, 0x0d, 0x74, 0x63, 0x70, 0x4f, 0x75, - 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, - 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, - 0x74, 0x63, 0x70, 0x4f, 0x75, 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x12, 0x2e, 0x0a, - 0x12, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, - 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x64, 0x69, 0x73, 0x63, 0x6f, - 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x67, 0x0a, - 0x13, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, - 0x74, 0x61, 0x69, 0x6c, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, - 0x6f, 0x2e, 0x4e, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, - 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, - 0x6f, 0x52, 0x13, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x42, 0x0a, 0x0c, 0x75, 0x64, 0x70, 0x49, 0x6e, 0x54, - 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, - 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x75, 0x64, - 0x70, 0x49, 0x6e, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x12, 0x44, 0x0a, 0x0d, 0x75, 0x64, - 0x70, 0x4f, 0x75, 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x18, 0x0a, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, - 0x6f, 0x52, 0x0d, 0x75, 0x64, 0x70, 0x4f, 0x75, 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, - 0x12, 0x43, 0x0a, 0x07, 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4e, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, - 0x2e, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x6c, 0x61, - 0x74, 0x65, 0x6e, 0x63, 0x79, 0x1a, 0xd4, 0x03, 0x0a, 0x07, 0x41, 0x70, 0x69, 0x49, 0x6e, 0x66, - 0x6f, 0x12, 0x30, 0x0a, 0x03, 0x71, 0x70, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, - 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x03, - 0x71, 0x70, 0x73, 0x12, 0x38, 0x0a, 0x07, 0x66, 0x61, 0x69, 0x6c, 0x51, 0x70, 0x73, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, - 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x66, 0x61, 0x69, 0x6c, 0x51, 0x70, 0x73, 0x12, 0x3e, 0x0a, - 0x0a, 0x6f, 0x75, 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, - 0x6f, 0x52, 0x0a, 0x6f, 0x75, 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x12, 0x4b, 0x0a, - 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, - 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4e, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x70, 0x69, - 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x70, 0x69, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, - 0x66, 0x6f, 0x52, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x1a, 0xcf, 0x01, 0x0a, 0x0d, 0x41, - 0x70, 0x69, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x30, 0x0a, 0x03, 0x71, 0x70, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, - 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x03, 0x71, - 0x70, 0x73, 0x12, 0x38, 0x0a, 0x07, 0x66, 0x61, 0x69, 0x6c, 0x51, 0x70, 0x73, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, - 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, - 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x66, 0x61, 0x69, 0x6c, 0x51, 0x70, 0x73, 0x12, 0x3e, 0x0a, 0x0a, - 0x6f, 0x75, 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, - 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, - 0x52, 0x0a, 0x6f, 0x75, 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x1a, 0x47, 0x0a, 0x17, - 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, - 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, - 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, - 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0xe8, 0x03, 0x0a, 0x0b, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, - 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x39, 0x39, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x39, 0x39, 0x12, 0x14, 0x0a, 0x05, 0x74, - 0x6f, 0x70, 0x39, 0x35, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x39, - 0x35, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x37, 0x35, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x05, 0x74, 0x6f, 0x70, 0x37, 0x35, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, - 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x74, 0x6f, 0x74, - 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, - 0x31, 0x53, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x31, - 0x53, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x32, 0x53, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x32, 0x53, 0x12, 0x18, 0x0a, 0x07, 0x64, - 0x65, 0x6c, 0x61, 0x79, 0x33, 0x53, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x64, 0x65, - 0x6c, 0x61, 0x79, 0x33, 0x53, 0x12, 0x53, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, - 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4e, 0x65, 0x74, - 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x49, 0x6e, 0x66, 0x6f, - 0x2e, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, - 0x66, 0x6f, 0x52, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x1a, 0xd3, 0x01, 0x0a, 0x11, 0x4c, - 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, - 0x12, 0x18, 0x0a, 0x07, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x07, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, - 0x70, 0x39, 0x39, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x39, 0x39, - 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x39, 0x35, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x05, 0x74, 0x6f, 0x70, 0x39, 0x35, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x37, 0x35, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x37, 0x35, 0x12, 0x14, 0x0a, 0x05, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x31, 0x53, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x31, 0x53, 0x12, 0x18, 0x0a, 0x07, - 0x64, 0x65, 0x6c, 0x61, 0x79, 0x32, 0x53, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x64, - 0x65, 0x6c, 0x61, 0x79, 0x32, 0x53, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x33, - 0x53, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x33, 0x53, - 0x22, 0x93, 0x03, 0x0a, 0x0b, 0x50, 0x42, 0x46, 0x54, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x12, 0x34, 0x0a, 0x08, 0x72, 0x61, 0x77, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x42, - 0x46, 0x54, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x52, 0x61, 0x77, 0x52, 0x07, 0x72, - 0x61, 0x77, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, - 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, - 0x74, 0x75, 0x72, 0x65, 0x1a, 0xbd, 0x01, 0x0a, 0x03, 0x52, 0x61, 0x77, 0x12, 0x38, 0x0a, 0x08, - 0x6d, 0x73, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x42, 0x46, 0x54, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x6d, - 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3b, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x42, 0x46, 0x54, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x2e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x6e, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x69, 0x65, 0x77, 0x4e, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x70, - 0x6f, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, - 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, - 0x64, 0x61, 0x74, 0x61, 0x22, 0x50, 0x0a, 0x07, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x0f, 0x0a, 0x0b, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x00, - 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0x01, 0x12, 0x0e, 0x0a, - 0x0a, 0x50, 0x52, 0x45, 0x50, 0x52, 0x45, 0x50, 0x41, 0x52, 0x45, 0x10, 0x02, 0x12, 0x0b, 0x0a, - 0x07, 0x50, 0x52, 0x45, 0x50, 0x41, 0x52, 0x45, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, - 0x4d, 0x4d, 0x49, 0x54, 0x10, 0x04, 0x22, 0x1e, 0x0a, 0x08, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0x00, 0x12, 0x07, 0x0a, - 0x03, 0x53, 0x52, 0x4c, 0x10, 0x01, 0x22, 0x44, 0x0a, 0x10, 0x50, 0x42, 0x46, 0x54, 0x43, 0x6f, - 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, - 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1c, - 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x23, 0x0a, 0x03, - 0x53, 0x52, 0x4c, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x2a, 0x37, 0x0a, 0x0b, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, - 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x02, 0x2a, 0xf9, 0x03, 0x0a, 0x0a, 0x52, - 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x45, 0x51, - 0x55, 0x45, 0x53, 0x54, 0x45, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x42, 0x41, 0x44, 0x5f, - 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x43, 0x4f, 0x4c, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x54, 0x4f, - 0x4f, 0x5f, 0x4d, 0x41, 0x4e, 0x59, 0x5f, 0x50, 0x45, 0x45, 0x52, 0x53, 0x10, 0x04, 0x12, 0x12, - 0x0a, 0x0e, 0x44, 0x55, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x45, 0x5f, 0x50, 0x45, 0x45, 0x52, - 0x10, 0x05, 0x12, 0x19, 0x0a, 0x15, 0x49, 0x4e, 0x43, 0x4f, 0x4d, 0x50, 0x41, 0x54, 0x49, 0x42, - 0x4c, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x43, 0x4f, 0x4c, 0x10, 0x06, 0x12, 0x16, 0x0a, - 0x12, 0x52, 0x41, 0x4e, 0x44, 0x4f, 0x4d, 0x5f, 0x45, 0x4c, 0x49, 0x4d, 0x49, 0x4e, 0x41, 0x54, - 0x49, 0x4f, 0x4e, 0x10, 0x07, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x45, 0x45, 0x52, 0x5f, 0x51, 0x55, - 0x49, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x08, 0x12, 0x17, 0x0a, 0x13, 0x55, 0x4e, 0x45, 0x58, 0x50, - 0x45, 0x43, 0x54, 0x45, 0x44, 0x5f, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x10, 0x09, - 0x12, 0x12, 0x0a, 0x0e, 0x4c, 0x4f, 0x43, 0x41, 0x4c, 0x5f, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x49, - 0x54, 0x59, 0x10, 0x0a, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x49, 0x4e, 0x47, 0x5f, 0x54, 0x49, 0x4d, - 0x45, 0x4f, 0x55, 0x54, 0x10, 0x0b, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x52, - 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x10, 0x10, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x45, 0x53, 0x45, 0x54, - 0x10, 0x11, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, - 0x12, 0x12, 0x0e, 0x0a, 0x0a, 0x46, 0x45, 0x54, 0x43, 0x48, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, - 0x13, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x41, 0x44, 0x5f, 0x54, 0x58, 0x10, 0x14, 0x12, 0x0d, 0x0a, - 0x09, 0x42, 0x41, 0x44, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0x15, 0x12, 0x0a, 0x0a, 0x06, - 0x46, 0x4f, 0x52, 0x4b, 0x45, 0x44, 0x10, 0x16, 0x12, 0x0e, 0x0a, 0x0a, 0x55, 0x4e, 0x4c, 0x49, - 0x4e, 0x4b, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x17, 0x12, 0x18, 0x0a, 0x14, 0x49, 0x4e, 0x43, 0x4f, - 0x4d, 0x50, 0x41, 0x54, 0x49, 0x42, 0x4c, 0x45, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, - 0x10, 0x18, 0x12, 0x16, 0x0a, 0x12, 0x49, 0x4e, 0x43, 0x4f, 0x4d, 0x50, 0x41, 0x54, 0x49, 0x42, - 0x4c, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x49, 0x4e, 0x10, 0x19, 0x12, 0x0c, 0x0a, 0x08, 0x54, 0x49, - 0x4d, 0x45, 0x5f, 0x4f, 0x55, 0x54, 0x10, 0x20, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x4f, 0x4e, 0x4e, - 0x45, 0x43, 0x54, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0x21, 0x12, 0x1f, 0x0a, 0x1b, 0x54, 0x4f, - 0x4f, 0x5f, 0x4d, 0x41, 0x4e, 0x59, 0x5f, 0x50, 0x45, 0x45, 0x52, 0x53, 0x5f, 0x57, 0x49, 0x54, - 0x48, 0x5f, 0x53, 0x41, 0x4d, 0x45, 0x5f, 0x49, 0x50, 0x10, 0x22, 0x12, 0x18, 0x0a, 0x14, 0x4c, - 0x49, 0x47, 0x48, 0x54, 0x5f, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x46, - 0x41, 0x49, 0x4c, 0x10, 0x23, 0x12, 0x11, 0x0a, 0x0d, 0x42, 0x45, 0x4c, 0x4f, 0x57, 0x5f, 0x54, - 0x48, 0x41, 0x4e, 0x5f, 0x4d, 0x45, 0x10, 0x24, 0x12, 0x0c, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, - 0x4f, 0x57, 0x4e, 0x10, 0xff, 0x01, 0x42, 0x46, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, - 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x42, 0x08, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, - 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x72, 0x70, - 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_core_Tron_proto_rawDesc = "" + + "\n" + + "\x0fcore/Tron.proto\x12\bprotocol\x1a\x19google/protobuf/any.proto\x1a\x13core/Discover.proto\x1a\x1acore/contract/common.proto\"9\n" + + "\tAccountId\x12\x12\n" + + "\x04name\x18\x01 \x01(\fR\x04name\x12\x18\n" + + "\aaddress\x18\x02 \x01(\fR\aaddress\"H\n" + + "\x04Vote\x12!\n" + + "\fvote_address\x18\x01 \x01(\fR\vvoteAddress\x12\x1d\n" + + "\n" + + "vote_count\x18\x02 \x01(\x03R\tvoteCount\"\xb4\x03\n" + + "\bProposal\x12\x1f\n" + + "\vproposal_id\x18\x01 \x01(\x03R\n" + + "proposalId\x12)\n" + + "\x10proposer_address\x18\x02 \x01(\fR\x0fproposerAddress\x12B\n" + + "\n" + + "parameters\x18\x03 \x03(\v2\".protocol.Proposal.ParametersEntryR\n" + + "parameters\x12'\n" + + "\x0fexpiration_time\x18\x04 \x01(\x03R\x0eexpirationTime\x12\x1f\n" + + "\vcreate_time\x18\x05 \x01(\x03R\n" + + "createTime\x12\x1c\n" + + "\tapprovals\x18\x06 \x03(\fR\tapprovals\x12.\n" + + "\x05state\x18\a \x01(\x0e2\x18.protocol.Proposal.StateR\x05state\x1a=\n" + + "\x0fParametersEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x03R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\"A\n" + + "\x05State\x12\v\n" + + "\aPENDING\x10\x00\x12\x0f\n" + + "\vDISAPPROVED\x10\x01\x12\f\n" + + "\bAPPROVED\x10\x02\x12\f\n" + + "\bCANCELED\x10\x03\"\xa5\x02\n" + + "\bExchange\x12\x1f\n" + + "\vexchange_id\x18\x01 \x01(\x03R\n" + + "exchangeId\x12'\n" + + "\x0fcreator_address\x18\x02 \x01(\fR\x0ecreatorAddress\x12\x1f\n" + + "\vcreate_time\x18\x03 \x01(\x03R\n" + + "createTime\x12$\n" + + "\x0efirst_token_id\x18\x06 \x01(\fR\ffirstTokenId\x12.\n" + + "\x13first_token_balance\x18\a \x01(\x03R\x11firstTokenBalance\x12&\n" + + "\x0fsecond_token_id\x18\b \x01(\fR\rsecondTokenId\x120\n" + + "\x14second_token_balance\x18\t \x01(\x03R\x12secondTokenBalance\"\x98\x04\n" + + "\vMarketOrder\x12\x19\n" + + "\border_id\x18\x01 \x01(\fR\aorderId\x12#\n" + + "\rowner_address\x18\x02 \x01(\fR\fownerAddress\x12\x1f\n" + + "\vcreate_time\x18\x03 \x01(\x03R\n" + + "createTime\x12\"\n" + + "\rsell_token_id\x18\x04 \x01(\fR\vsellTokenId\x12.\n" + + "\x13sell_token_quantity\x18\x05 \x01(\x03R\x11sellTokenQuantity\x12 \n" + + "\fbuy_token_id\x18\x06 \x01(\fR\n" + + "buyTokenId\x12,\n" + + "\x12buy_token_quantity\x18\a \x01(\x03R\x10buyTokenQuantity\x12;\n" + + "\x1asell_token_quantity_remain\x18\t \x01(\x03R\x17sellTokenQuantityRemain\x12;\n" + + "\x1asell_token_quantity_return\x18\n" + + " \x01(\x03R\x17sellTokenQuantityReturn\x121\n" + + "\x05state\x18\v \x01(\x0e2\x1b.protocol.MarketOrder.StateR\x05state\x12\x12\n" + + "\x04prev\x18\f \x01(\fR\x04prev\x12\x12\n" + + "\x04next\x18\r \x01(\fR\x04next\"/\n" + + "\x05State\x12\n" + + "\n" + + "\x06ACTIVE\x10\x00\x12\f\n" + + "\bINACTIVE\x10\x01\x12\f\n" + + "\bCANCELED\x10\x02\"@\n" + + "\x0fMarketOrderList\x12-\n" + + "\x06orders\x18\x01 \x03(\v2\x15.protocol.MarketOrderR\x06orders\"N\n" + + "\x13MarketOrderPairList\x127\n" + + "\torderPair\x18\x01 \x03(\v2\x19.protocol.MarketOrderPairR\torderPair\"W\n" + + "\x0fMarketOrderPair\x12\"\n" + + "\rsell_token_id\x18\x01 \x01(\fR\vsellTokenId\x12 \n" + + "\fbuy_token_id\x18\x02 \x01(\fR\n" + + "buyTokenId\"\x88\x01\n" + + "\x12MarketAccountOrder\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x12\x16\n" + + "\x06orders\x18\x02 \x03(\fR\x06orders\x12\x14\n" + + "\x05count\x18\x03 \x01(\x03R\x05count\x12\x1f\n" + + "\vtotal_count\x18\x04 \x01(\x03R\n" + + "totalCount\"k\n" + + "\vMarketPrice\x12.\n" + + "\x13sell_token_quantity\x18\x01 \x01(\x03R\x11sellTokenQuantity\x12,\n" + + "\x12buy_token_quantity\x18\x02 \x01(\x03R\x10buyTokenQuantity\"\x86\x01\n" + + "\x0fMarketPriceList\x12\"\n" + + "\rsell_token_id\x18\x01 \x01(\fR\vsellTokenId\x12 \n" + + "\fbuy_token_id\x18\x02 \x01(\fR\n" + + "buyTokenId\x12-\n" + + "\x06prices\x18\x03 \x03(\v2\x15.protocol.MarketPriceR\x06prices\";\n" + + "\x11MarketOrderIdList\x12\x12\n" + + "\x04head\x18\x01 \x01(\fR\x04head\x12\x12\n" + + "\x04tail\x18\x02 \x01(\fR\x04tail\"\x9d\x01\n" + + "\x0fChainParameters\x12P\n" + + "\x0echainParameter\x18\x01 \x03(\v2(.protocol.ChainParameters.ChainParameterR\x0echainParameter\x1a8\n" + + "\x0eChainParameter\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x03R\x05value\"\xca\x1e\n" + + "\aAccount\x12!\n" + + "\faccount_name\x18\x01 \x01(\fR\vaccountName\x12)\n" + + "\x04type\x18\x02 \x01(\x0e2\x15.protocol.AccountTypeR\x04type\x12\x18\n" + + "\aaddress\x18\x03 \x01(\fR\aaddress\x12\x18\n" + + "\abalance\x18\x04 \x01(\x03R\abalance\x12$\n" + + "\x05votes\x18\x05 \x03(\v2\x0e.protocol.VoteR\x05votes\x122\n" + + "\x05asset\x18\x06 \x03(\v2\x1c.protocol.Account.AssetEntryR\x05asset\x128\n" + + "\aassetV2\x188 \x03(\v2\x1e.protocol.Account.AssetV2EntryR\aassetV2\x120\n" + + "\x06frozen\x18\a \x03(\v2\x18.protocol.Account.FrozenR\x06frozen\x12\x1b\n" + + "\tnet_usage\x18\b \x01(\x03R\bnetUsage\x12c\n" + + "/acquired_delegated_frozen_balance_for_bandwidth\x18) \x01(\x03R*acquiredDelegatedFrozenBalanceForBandwidth\x12R\n" + + "&delegated_frozen_balance_for_bandwidth\x18* \x01(\x03R\"delegatedFrozenBalanceForBandwidth\x12$\n" + + "\x0eold_tron_power\x18. \x01(\x03R\foldTronPower\x127\n" + + "\n" + + "tron_power\x18/ \x01(\v2\x18.protocol.Account.FrozenR\ttronPower\x12'\n" + + "\x0fasset_optimized\x18< \x01(\bR\x0eassetOptimized\x12\x1f\n" + + "\vcreate_time\x18\t \x01(\x03R\n" + + "createTime\x120\n" + + "\x14latest_opration_time\x18\n" + + " \x01(\x03R\x12latestOprationTime\x12\x1c\n" + + "\tallowance\x18\v \x01(\x03R\tallowance\x120\n" + + "\x14latest_withdraw_time\x18\f \x01(\x03R\x12latestWithdrawTime\x12\x12\n" + + "\x04code\x18\r \x01(\fR\x04code\x12\x1d\n" + + "\n" + + "is_witness\x18\x0e \x01(\bR\tisWitness\x12!\n" + + "\fis_committee\x18\x0f \x01(\bR\visCommittee\x12=\n" + + "\rfrozen_supply\x18\x10 \x03(\v2\x18.protocol.Account.FrozenR\ffrozenSupply\x12*\n" + + "\x11asset_issued_name\x18\x11 \x01(\fR\x0fassetIssuedName\x12&\n" + + "\x0fasset_issued_ID\x189 \x01(\fR\rassetIssuedID\x12n\n" + + "\x1blatest_asset_operation_time\x18\x12 \x03(\v2/.protocol.Account.LatestAssetOperationTimeEntryR\x18latestAssetOperationTime\x12t\n" + + "\x1dlatest_asset_operation_timeV2\x18: \x03(\v21.protocol.Account.LatestAssetOperationTimeV2EntryR\x1alatestAssetOperationTimeV2\x12$\n" + + "\x0efree_net_usage\x18\x13 \x01(\x03R\ffreeNetUsage\x12Y\n" + + "\x14free_asset_net_usage\x18\x14 \x03(\v2(.protocol.Account.FreeAssetNetUsageEntryR\x11freeAssetNetUsage\x12_\n" + + "\x16free_asset_net_usageV2\x18; \x03(\v2*.protocol.Account.FreeAssetNetUsageV2EntryR\x13freeAssetNetUsageV2\x12.\n" + + "\x13latest_consume_time\x18\x15 \x01(\x03R\x11latestConsumeTime\x127\n" + + "\x18latest_consume_free_time\x18\x16 \x01(\x03R\x15latestConsumeFreeTime\x12\x1d\n" + + "\n" + + "account_id\x18\x17 \x01(\fR\taccountId\x12&\n" + + "\x0fnet_window_size\x18\x18 \x01(\x03R\rnetWindowSize\x120\n" + + "\x14net_window_optimized\x18\x19 \x01(\bR\x12netWindowOptimized\x12L\n" + + "\x10account_resource\x18\x1a \x01(\v2!.protocol.Account.AccountResourceR\x0faccountResource\x12\x1a\n" + + "\bcodeHash\x18\x1e \x01(\fR\bcodeHash\x12?\n" + + "\x10owner_permission\x18\x1f \x01(\v2\x14.protocol.PermissionR\x0fownerPermission\x12C\n" + + "\x12witness_permission\x18 \x01(\v2\x14.protocol.PermissionR\x11witnessPermission\x12A\n" + + "\x11active_permission\x18! \x03(\v2\x14.protocol.PermissionR\x10activePermission\x126\n" + + "\bfrozenV2\x18\" \x03(\v2\x1a.protocol.Account.FreezeV2R\bfrozenV2\x12<\n" + + "\n" + + "unfrozenV2\x18# \x03(\v2\x1c.protocol.Account.UnFreezeV2R\n" + + "unfrozenV2\x12V\n" + + "(delegated_frozenV2_balance_for_bandwidth\x18$ \x01(\x03R$delegatedFrozenV2BalanceForBandwidth\x12g\n" + + "1acquired_delegated_frozenV2_balance_for_bandwidth\x18% \x01(\x03R,acquiredDelegatedFrozenV2BalanceForBandwidth\x1aP\n" + + "\x06Frozen\x12%\n" + + "\x0efrozen_balance\x18\x01 \x01(\x03R\rfrozenBalance\x12\x1f\n" + + "\vexpire_time\x18\x02 \x01(\x03R\n" + + "expireTime\x1a8\n" + + "\n" + + "AssetEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\x1a:\n" + + "\fAssetV2Entry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\x1aK\n" + + "\x1dLatestAssetOperationTimeEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\x1aM\n" + + "\x1fLatestAssetOperationTimeV2Entry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\x1aD\n" + + "\x16FreeAssetNetUsageEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\x1aF\n" + + "\x18FreeAssetNetUsageV2Entry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\x1a\xa0\x06\n" + + "\x0fAccountResource\x12!\n" + + "\fenergy_usage\x18\x01 \x01(\x03R\venergyUsage\x12S\n" + + "\x19frozen_balance_for_energy\x18\x02 \x01(\v2\x18.protocol.Account.FrozenR\x16frozenBalanceForEnergy\x12B\n" + + "\x1elatest_consume_time_for_energy\x18\x03 \x01(\x03R\x1alatestConsumeTimeForEnergy\x12]\n" + + ",acquired_delegated_frozen_balance_for_energy\x18\x04 \x01(\x03R'acquiredDelegatedFrozenBalanceForEnergy\x12L\n" + + "#delegated_frozen_balance_for_energy\x18\x05 \x01(\x03R\x1fdelegatedFrozenBalanceForEnergy\x12#\n" + + "\rstorage_limit\x18\x06 \x01(\x03R\fstorageLimit\x12#\n" + + "\rstorage_usage\x18\a \x01(\x03R\fstorageUsage\x12?\n" + + "\x1clatest_exchange_storage_time\x18\b \x01(\x03R\x19latestExchangeStorageTime\x12,\n" + + "\x12energy_window_size\x18\t \x01(\x03R\x10energyWindowSize\x12P\n" + + "%delegated_frozenV2_balance_for_energy\x18\n" + + " \x01(\x03R!delegatedFrozenV2BalanceForEnergy\x12a\n" + + ".acquired_delegated_frozenV2_balance_for_energy\x18\v \x01(\x03R)acquiredDelegatedFrozenV2BalanceForEnergy\x126\n" + + "\x17energy_window_optimized\x18\f \x01(\bR\x15energyWindowOptimized\x1aN\n" + + "\bFreezeV2\x12*\n" + + "\x04type\x18\x01 \x01(\x0e2\x16.protocol.ResourceCodeR\x04type\x12\x16\n" + + "\x06amount\x18\x02 \x01(\x03R\x06amount\x1a\x93\x01\n" + + "\n" + + "UnFreezeV2\x12*\n" + + "\x04type\x18\x01 \x01(\x0e2\x16.protocol.ResourceCodeR\x04type\x12'\n" + + "\x0funfreeze_amount\x18\x03 \x01(\x03R\x0eunfreezeAmount\x120\n" + + "\x14unfreeze_expire_time\x18\x04 \x01(\x03R\x12unfreezeExpireTime\"7\n" + + "\x03Key\x12\x18\n" + + "\aaddress\x18\x01 \x01(\fR\aaddress\x12\x16\n" + + "\x06weight\x18\x02 \x01(\x03R\x06weight\"\xa3\x02\n" + + "\x11DelegatedResource\x12\x12\n" + + "\x04from\x18\x01 \x01(\fR\x04from\x12\x0e\n" + + "\x02to\x18\x02 \x01(\fR\x02to\x12?\n" + + "\x1cfrozen_balance_for_bandwidth\x18\x03 \x01(\x03R\x19frozenBalanceForBandwidth\x129\n" + + "\x19frozen_balance_for_energy\x18\x04 \x01(\x03R\x16frozenBalanceForEnergy\x129\n" + + "\x19expire_time_for_bandwidth\x18\x05 \x01(\x03R\x16expireTimeForBandwidth\x123\n" + + "\x16expire_time_for_energy\x18\x06 \x01(\x03R\x13expireTimeForEnergy\"c\n" + + "\tauthority\x12-\n" + + "\aaccount\x18\x01 \x01(\v2\x13.protocol.AccountIdR\aaccount\x12'\n" + + "\x0fpermission_name\x18\x02 \x01(\fR\x0epermissionName\"\xb2\x02\n" + + "\n" + + "Permission\x127\n" + + "\x04type\x18\x01 \x01(\x0e2#.protocol.Permission.PermissionTypeR\x04type\x12\x0e\n" + + "\x02id\x18\x02 \x01(\x05R\x02id\x12'\n" + + "\x0fpermission_name\x18\x03 \x01(\tR\x0epermissionName\x12\x1c\n" + + "\tthreshold\x18\x04 \x01(\x03R\tthreshold\x12\x1b\n" + + "\tparent_id\x18\x05 \x01(\x05R\bparentId\x12\x1e\n" + + "\n" + + "operations\x18\x06 \x01(\fR\n" + + "operations\x12!\n" + + "\x04keys\x18\a \x03(\v2\r.protocol.KeyR\x04keys\"4\n" + + "\x0ePermissionType\x12\t\n" + + "\x05Owner\x10\x00\x12\v\n" + + "\aWitness\x10\x01\x12\n" + + "\n" + + "\x06Active\x10\x02\"\x99\x02\n" + + "\aWitness\x12\x18\n" + + "\aaddress\x18\x01 \x01(\fR\aaddress\x12\x1c\n" + + "\tvoteCount\x18\x02 \x01(\x03R\tvoteCount\x12\x16\n" + + "\x06pubKey\x18\x03 \x01(\fR\x06pubKey\x12\x10\n" + + "\x03url\x18\x04 \x01(\tR\x03url\x12$\n" + + "\rtotalProduced\x18\x05 \x01(\x03R\rtotalProduced\x12 \n" + + "\vtotalMissed\x18\x06 \x01(\x03R\vtotalMissed\x12&\n" + + "\x0elatestBlockNum\x18\a \x01(\x03R\x0elatestBlockNum\x12$\n" + + "\rlatestSlotNum\x18\b \x01(\x03R\rlatestSlotNum\x12\x16\n" + + "\x06isJobs\x18\t \x01(\bR\x06isJobs\"{\n" + + "\x05Votes\x12\x18\n" + + "\aaddress\x18\x01 \x01(\fR\aaddress\x12+\n" + + "\told_votes\x18\x02 \x03(\v2\x0e.protocol.VoteR\boldVotes\x12+\n" + + "\tnew_votes\x18\x03 \x03(\v2\x0e.protocol.VoteR\bnewVotes\"@\n" + + "\bTXOutput\x12\x14\n" + + "\x05value\x18\x01 \x01(\x03R\x05value\x12\x1e\n" + + "\n" + + "pubKeyHash\x18\x02 \x01(\fR\n" + + "pubKeyHash\"\xa0\x01\n" + + "\aTXInput\x120\n" + + "\braw_data\x18\x01 \x01(\v2\x15.protocol.TXInput.rawR\arawData\x12\x1c\n" + + "\tsignature\x18\x04 \x01(\fR\tsignature\x1aE\n" + + "\x03raw\x12\x12\n" + + "\x04txID\x18\x01 \x01(\fR\x04txID\x12\x12\n" + + "\x04vout\x18\x02 \x01(\x03R\x04vout\x12\x16\n" + + "\x06pubKey\x18\x03 \x01(\fR\x06pubKey\"9\n" + + "\tTXOutputs\x12,\n" + + "\aoutputs\x18\x01 \x03(\v2\x12.protocol.TXOutputR\aoutputs\"\xde\x02\n" + + "\x0fResourceReceipt\x12!\n" + + "\fenergy_usage\x18\x01 \x01(\x03R\venergyUsage\x12\x1d\n" + + "\n" + + "energy_fee\x18\x02 \x01(\x03R\tenergyFee\x12.\n" + + "\x13origin_energy_usage\x18\x03 \x01(\x03R\x11originEnergyUsage\x12,\n" + + "\x12energy_usage_total\x18\x04 \x01(\x03R\x10energyUsageTotal\x12\x1b\n" + + "\tnet_usage\x18\x05 \x01(\x03R\bnetUsage\x12\x17\n" + + "\anet_fee\x18\x06 \x01(\x03R\x06netFee\x12C\n" + + "\x06result\x18\a \x01(\x0e2+.protocol.Transaction.Result.contractResultR\x06result\x120\n" + + "\x14energy_penalty_total\x18\b \x01(\x03R\x12energyPenaltyTotal\"\xb1\x01\n" + + "\x11MarketOrderDetail\x12\"\n" + + "\fmakerOrderId\x18\x01 \x01(\fR\fmakerOrderId\x12\"\n" + + "\ftakerOrderId\x18\x02 \x01(\fR\ftakerOrderId\x12*\n" + + "\x10fillSellQuantity\x18\x03 \x01(\x03R\x10fillSellQuantity\x12(\n" + + "\x0ffillBuyQuantity\x18\x04 \x01(\x03R\x0ffillBuyQuantity\"\xdd\x18\n" + + "\vTransaction\x124\n" + + "\braw_data\x18\x01 \x01(\v2\x19.protocol.Transaction.rawR\arawData\x12\x1c\n" + + "\tsignature\x18\x02 \x03(\fR\tsignature\x12.\n" + + "\x03ret\x18\x05 \x03(\v2\x1c.protocol.Transaction.ResultR\x03ret\x1a\xef\n" + + "\n" + + "\bContract\x12?\n" + + "\x04type\x18\x01 \x01(\x0e2+.protocol.Transaction.Contract.ContractTypeR\x04type\x122\n" + + "\tparameter\x18\x02 \x01(\v2\x14.google.protobuf.AnyR\tparameter\x12\x1a\n" + + "\bprovider\x18\x03 \x01(\fR\bprovider\x12\"\n" + + "\fContractName\x18\x04 \x01(\fR\fContractName\x12#\n" + + "\rPermission_id\x18\x05 \x01(\x05R\fPermissionId\"\x88\t\n" + + "\fContractType\x12\x19\n" + + "\x15AccountCreateContract\x10\x00\x12\x14\n" + + "\x10TransferContract\x10\x01\x12\x19\n" + + "\x15TransferAssetContract\x10\x02\x12\x15\n" + + "\x11VoteAssetContract\x10\x03\x12\x17\n" + + "\x13VoteWitnessContract\x10\x04\x12\x19\n" + + "\x15WitnessCreateContract\x10\x05\x12\x16\n" + + "\x12AssetIssueContract\x10\x06\x12\x19\n" + + "\x15WitnessUpdateContract\x10\b\x12!\n" + + "\x1dParticipateAssetIssueContract\x10\t\x12\x19\n" + + "\x15AccountUpdateContract\x10\n" + + "\x12\x19\n" + + "\x15FreezeBalanceContract\x10\v\x12\x1b\n" + + "\x17UnfreezeBalanceContract\x10\f\x12\x1b\n" + + "\x17WithdrawBalanceContract\x10\r\x12\x19\n" + + "\x15UnfreezeAssetContract\x10\x0e\x12\x17\n" + + "\x13UpdateAssetContract\x10\x0f\x12\x1a\n" + + "\x16ProposalCreateContract\x10\x10\x12\x1b\n" + + "\x17ProposalApproveContract\x10\x11\x12\x1a\n" + + "\x16ProposalDeleteContract\x10\x12\x12\x18\n" + + "\x14SetAccountIdContract\x10\x13\x12\x12\n" + + "\x0eCustomContract\x10\x14\x12\x17\n" + + "\x13CreateSmartContract\x10\x1e\x12\x18\n" + + "\x14TriggerSmartContract\x10\x1f\x12\x0f\n" + + "\vGetContract\x10 \x12\x19\n" + + "\x15UpdateSettingContract\x10!\x12\x1a\n" + + "\x16ExchangeCreateContract\x10)\x12\x1a\n" + + "\x16ExchangeInjectContract\x10*\x12\x1c\n" + + "\x18ExchangeWithdrawContract\x10+\x12\x1f\n" + + "\x1bExchangeTransactionContract\x10,\x12\x1d\n" + + "\x19UpdateEnergyLimitContract\x10-\x12#\n" + + "\x1fAccountPermissionUpdateContract\x10.\x12\x14\n" + + "\x10ClearABIContract\x100\x12\x1b\n" + + "\x17UpdateBrokerageContract\x101\x12\x1c\n" + + "\x18ShieldedTransferContract\x103\x12\x1b\n" + + "\x17MarketSellAssetContract\x104\x12\x1d\n" + + "\x19MarketCancelOrderContract\x105\x12\x1b\n" + + "\x17FreezeBalanceV2Contract\x106\x12\x1d\n" + + "\x19UnfreezeBalanceV2Contract\x107\x12\"\n" + + "\x1eWithdrawExpireUnfreezeContract\x108\x12\x1c\n" + + "\x18DelegateResourceContract\x109\x12\x1e\n" + + "\x1aUnDelegateResourceContract\x10:\x12\x1f\n" + + "\x1bCancelAllUnfreezeV2Contract\x10;\x1a\xed\t\n" + + "\x06Result\x12\x10\n" + + "\x03fee\x18\x01 \x01(\x03R\x03fee\x123\n" + + "\x03ret\x18\x02 \x01(\x0e2!.protocol.Transaction.Result.codeR\x03ret\x12M\n" + + "\vcontractRet\x18\x03 \x01(\x0e2+.protocol.Transaction.Result.contractResultR\vcontractRet\x12\"\n" + + "\fassetIssueID\x18\x0e \x01(\tR\fassetIssueID\x12'\n" + + "\x0fwithdraw_amount\x18\x0f \x01(\x03R\x0ewithdrawAmount\x12'\n" + + "\x0funfreeze_amount\x18\x10 \x01(\x03R\x0eunfreezeAmount\x128\n" + + "\x18exchange_received_amount\x18\x12 \x01(\x03R\x16exchangeReceivedAmount\x12C\n" + + "\x1eexchange_inject_another_amount\x18\x13 \x01(\x03R\x1bexchangeInjectAnotherAmount\x12G\n" + + " exchange_withdraw_another_amount\x18\x14 \x01(\x03R\x1dexchangeWithdrawAnotherAmount\x12\x1f\n" + + "\vexchange_id\x18\x15 \x01(\x03R\n" + + "exchangeId\x128\n" + + "\x18shielded_transaction_fee\x18\x16 \x01(\x03R\x16shieldedTransactionFee\x12\x18\n" + + "\aorderId\x18\x19 \x01(\fR\aorderId\x12?\n" + + "\forderDetails\x18\x1a \x03(\v2\x1b.protocol.MarketOrderDetailR\forderDetails\x124\n" + + "\x16withdraw_expire_amount\x18\x1b \x01(\x03R\x14withdrawExpireAmount\x12r\n" + + "\x18cancel_unfreezeV2_amount\x18\x1c \x03(\v28.protocol.Transaction.Result.CancelUnfreezeV2AmountEntryR\x16cancelUnfreezeV2Amount\x1aI\n" + + "\x1bCancelUnfreezeV2AmountEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\"\x1e\n" + + "\x04code\x12\n" + + "\n" + + "\x06SUCESS\x10\x00\x12\n" + + "\n" + + "\x06FAILED\x10\x01\"\xc3\x02\n" + + "\x0econtractResult\x12\v\n" + + "\aDEFAULT\x10\x00\x12\v\n" + + "\aSUCCESS\x10\x01\x12\n" + + "\n" + + "\x06REVERT\x10\x02\x12\x18\n" + + "\x14BAD_JUMP_DESTINATION\x10\x03\x12\x11\n" + + "\rOUT_OF_MEMORY\x10\x04\x12\x18\n" + + "\x14PRECOMPILED_CONTRACT\x10\x05\x12\x13\n" + + "\x0fSTACK_TOO_SMALL\x10\x06\x12\x13\n" + + "\x0fSTACK_TOO_LARGE\x10\a\x12\x15\n" + + "\x11ILLEGAL_OPERATION\x10\b\x12\x12\n" + + "\x0eSTACK_OVERFLOW\x10\t\x12\x11\n" + + "\rOUT_OF_ENERGY\x10\n" + + "\x12\x0f\n" + + "\vOUT_OF_TIME\x10\v\x12\x17\n" + + "\x13JVM_STACK_OVER_FLOW\x10\f\x12\v\n" + + "\aUNKNOWN\x10\r\x12\x13\n" + + "\x0fTRANSFER_FAILED\x10\x0e\x12\x10\n" + + "\fINVALID_CODE\x10\x0f\x1a\xe7\x02\n" + + "\x03raw\x12&\n" + + "\x0fref_block_bytes\x18\x01 \x01(\fR\rrefBlockBytes\x12\"\n" + + "\rref_block_num\x18\x03 \x01(\x03R\vrefBlockNum\x12$\n" + + "\x0eref_block_hash\x18\x04 \x01(\fR\frefBlockHash\x12\x1e\n" + + "\n" + + "expiration\x18\b \x01(\x03R\n" + + "expiration\x12)\n" + + "\x05auths\x18\t \x03(\v2\x13.protocol.authorityR\x05auths\x12\x12\n" + + "\x04data\x18\n" + + " \x01(\fR\x04data\x12:\n" + + "\bcontract\x18\v \x03(\v2\x1e.protocol.Transaction.ContractR\bcontract\x12\x18\n" + + "\ascripts\x18\f \x01(\fR\ascripts\x12\x1c\n" + + "\ttimestamp\x18\x0e \x01(\x03R\ttimestamp\x12\x1b\n" + + "\tfee_limit\x18\x12 \x01(\x03R\bfeeLimit\"\xd5\n" + + "\n" + + "\x0fTransactionInfo\x12\x0e\n" + + "\x02id\x18\x01 \x01(\fR\x02id\x12\x10\n" + + "\x03fee\x18\x02 \x01(\x03R\x03fee\x12 \n" + + "\vblockNumber\x18\x03 \x01(\x03R\vblockNumber\x12&\n" + + "\x0eblockTimeStamp\x18\x04 \x01(\x03R\x0eblockTimeStamp\x12&\n" + + "\x0econtractResult\x18\x05 \x03(\fR\x0econtractResult\x12)\n" + + "\x10contract_address\x18\x06 \x01(\fR\x0fcontractAddress\x123\n" + + "\areceipt\x18\a \x01(\v2\x19.protocol.ResourceReceiptR\areceipt\x12/\n" + + "\x03log\x18\b \x03(\v2\x1d.protocol.TransactionInfo.LogR\x03log\x126\n" + + "\x06result\x18\t \x01(\x0e2\x1e.protocol.TransactionInfo.codeR\x06result\x12\x1e\n" + + "\n" + + "resMessage\x18\n" + + " \x01(\fR\n" + + "resMessage\x12\"\n" + + "\fassetIssueID\x18\x0e \x01(\tR\fassetIssueID\x12'\n" + + "\x0fwithdraw_amount\x18\x0f \x01(\x03R\x0ewithdrawAmount\x12'\n" + + "\x0funfreeze_amount\x18\x10 \x01(\x03R\x0eunfreezeAmount\x12R\n" + + "\x15internal_transactions\x18\x11 \x03(\v2\x1d.protocol.InternalTransactionR\x14internalTransactions\x128\n" + + "\x18exchange_received_amount\x18\x12 \x01(\x03R\x16exchangeReceivedAmount\x12C\n" + + "\x1eexchange_inject_another_amount\x18\x13 \x01(\x03R\x1bexchangeInjectAnotherAmount\x12G\n" + + " exchange_withdraw_another_amount\x18\x14 \x01(\x03R\x1dexchangeWithdrawAnotherAmount\x12\x1f\n" + + "\vexchange_id\x18\x15 \x01(\x03R\n" + + "exchangeId\x128\n" + + "\x18shielded_transaction_fee\x18\x16 \x01(\x03R\x16shieldedTransactionFee\x12\x18\n" + + "\aorderId\x18\x19 \x01(\fR\aorderId\x12?\n" + + "\forderDetails\x18\x1a \x03(\v2\x1b.protocol.MarketOrderDetailR\forderDetails\x12\x1e\n" + + "\n" + + "packingFee\x18\x1b \x01(\x03R\n" + + "packingFee\x124\n" + + "\x16withdraw_expire_amount\x18\x1c \x01(\x03R\x14withdrawExpireAmount\x12o\n" + + "\x18cancel_unfreezeV2_amount\x18\x1d \x03(\v25.protocol.TransactionInfo.CancelUnfreezeV2AmountEntryR\x16cancelUnfreezeV2Amount\x1aK\n" + + "\x03Log\x12\x18\n" + + "\aaddress\x18\x01 \x01(\fR\aaddress\x12\x16\n" + + "\x06topics\x18\x02 \x03(\fR\x06topics\x12\x12\n" + + "\x04data\x18\x03 \x01(\fR\x04data\x1aI\n" + + "\x1bCancelUnfreezeV2AmountEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\"\x1e\n" + + "\x04code\x12\n" + + "\n" + + "\x06SUCESS\x10\x00\x12\n" + + "\n" + + "\x06FAILED\x10\x01\"\x9f\x01\n" + + "\x0eTransactionRet\x12 \n" + + "\vblockNumber\x18\x01 \x01(\x03R\vblockNumber\x12&\n" + + "\x0eblockTimeStamp\x18\x02 \x01(\x03R\x0eblockTimeStamp\x12C\n" + + "\x0ftransactioninfo\x18\x03 \x03(\v2\x19.protocol.TransactionInfoR\x0ftransactioninfo\"I\n" + + "\fTransactions\x129\n" + + "\ftransactions\x18\x01 \x03(\v2\x15.protocol.TransactionR\ftransactions\"\xfc\x02\n" + + "\vBlockHeader\x124\n" + + "\braw_data\x18\x01 \x01(\v2\x19.protocol.BlockHeader.rawR\arawData\x12+\n" + + "\x11witness_signature\x18\x02 \x01(\fR\x10witnessSignature\x1a\x89\x02\n" + + "\x03raw\x12\x1c\n" + + "\ttimestamp\x18\x01 \x01(\x03R\ttimestamp\x12\x1e\n" + + "\n" + + "txTrieRoot\x18\x02 \x01(\fR\n" + + "txTrieRoot\x12\x1e\n" + + "\n" + + "parentHash\x18\x03 \x01(\fR\n" + + "parentHash\x12\x16\n" + + "\x06number\x18\a \x01(\x03R\x06number\x12\x1d\n" + + "\n" + + "witness_id\x18\b \x01(\x03R\twitnessId\x12'\n" + + "\x0fwitness_address\x18\t \x01(\fR\x0ewitnessAddress\x12\x18\n" + + "\aversion\x18\n" + + " \x01(\x05R\aversion\x12*\n" + + "\x10accountStateRoot\x18\v \x01(\fR\x10accountStateRoot\"|\n" + + "\x05Block\x129\n" + + "\ftransactions\x18\x01 \x03(\v2\x15.protocol.TransactionR\ftransactions\x128\n" + + "\fblock_header\x18\x02 \x01(\v2\x15.protocol.BlockHeaderR\vblockHeader\"\x9a\x01\n" + + "\x0eChainInventory\x122\n" + + "\x03ids\x18\x01 \x03(\v2 .protocol.ChainInventory.BlockIdR\x03ids\x12\x1d\n" + + "\n" + + "remain_num\x18\x02 \x01(\x03R\tremainNum\x1a5\n" + + "\aBlockId\x12\x12\n" + + "\x04hash\x18\x01 \x01(\fR\x04hash\x12\x16\n" + + "\x06number\x18\x02 \x01(\x03R\x06number\"\xd8\x01\n" + + "\x0eBlockInventory\x122\n" + + "\x03ids\x18\x01 \x03(\v2 .protocol.BlockInventory.BlockIdR\x03ids\x121\n" + + "\x04type\x18\x02 \x01(\x0e2\x1d.protocol.BlockInventory.TypeR\x04type\x1a5\n" + + "\aBlockId\x12\x12\n" + + "\x04hash\x18\x01 \x01(\fR\x04hash\x12\x16\n" + + "\x06number\x18\x02 \x01(\x03R\x06number\"(\n" + + "\x04Type\x12\b\n" + + "\x04SYNC\x10\x00\x12\v\n" + + "\aADVTISE\x10\x01\x12\t\n" + + "\x05FETCH\x10\x02\"y\n" + + "\tInventory\x125\n" + + "\x04type\x18\x01 \x01(\x0e2!.protocol.Inventory.InventoryTypeR\x04type\x12\x10\n" + + "\x03ids\x18\x02 \x03(\fR\x03ids\"#\n" + + "\rInventoryType\x12\a\n" + + "\x03TRX\x10\x00\x12\t\n" + + "\x05BLOCK\x10\x01\"\x8f\x02\n" + + "\x05Items\x12,\n" + + "\x04type\x18\x01 \x01(\x0e2\x18.protocol.Items.ItemTypeR\x04type\x12'\n" + + "\x06blocks\x18\x02 \x03(\v2\x0f.protocol.BlockR\x06blocks\x12:\n" + + "\rblock_headers\x18\x03 \x03(\v2\x15.protocol.BlockHeaderR\fblockHeaders\x129\n" + + "\ftransactions\x18\x04 \x03(\v2\x15.protocol.TransactionR\ftransactions\"8\n" + + "\bItemType\x12\a\n" + + "\x03ERR\x10\x00\x12\a\n" + + "\x03TRX\x10\x01\x12\t\n" + + "\x05BLOCK\x10\x02\x12\x0f\n" + + "\vBLOCKHEADER\x10\x03\"J\n" + + "\x11DynamicProperties\x125\n" + + "\x17last_solidity_block_num\x18\x01 \x01(\x03R\x14lastSolidityBlockNum\"A\n" + + "\x11DisconnectMessage\x12,\n" + + "\x06reason\x18\x01 \x01(\x0e2\x14.protocol.ReasonCodeR\x06reason\"\x91\x04\n" + + "\fHelloMessage\x12&\n" + + "\x04from\x18\x01 \x01(\v2\x12.protocol.EndpointR\x04from\x12\x18\n" + + "\aversion\x18\x02 \x01(\x05R\aversion\x12\x1c\n" + + "\ttimestamp\x18\x03 \x01(\x03R\ttimestamp\x12F\n" + + "\x0egenesisBlockId\x18\x04 \x01(\v2\x1e.protocol.HelloMessage.BlockIdR\x0egenesisBlockId\x12B\n" + + "\fsolidBlockId\x18\x05 \x01(\v2\x1e.protocol.HelloMessage.BlockIdR\fsolidBlockId\x12@\n" + + "\vheadBlockId\x18\x06 \x01(\v2\x1e.protocol.HelloMessage.BlockIdR\vheadBlockId\x12\x18\n" + + "\aaddress\x18\a \x01(\fR\aaddress\x12\x1c\n" + + "\tsignature\x18\b \x01(\fR\tsignature\x12\x1a\n" + + "\bnodeType\x18\t \x01(\x05R\bnodeType\x12&\n" + + "\x0elowestBlockNum\x18\n" + + " \x01(\x03R\x0elowestBlockNum\x12 \n" + + "\vcodeVersion\x18\v \x01(\fR\vcodeVersion\x1a5\n" + + "\aBlockId\x12\x12\n" + + "\x04hash\x18\x01 \x01(\fR\x04hash\x12\x16\n" + + "\x06number\x18\x02 \x01(\x03R\x06number\"\xe1\x02\n" + + "\x13InternalTransaction\x12\x12\n" + + "\x04hash\x18\x01 \x01(\fR\x04hash\x12%\n" + + "\x0ecaller_address\x18\x02 \x01(\fR\rcallerAddress\x12-\n" + + "\x12transferTo_address\x18\x03 \x01(\fR\x11transferToAddress\x12Q\n" + + "\rcallValueInfo\x18\x04 \x03(\v2+.protocol.InternalTransaction.CallValueInfoR\rcallValueInfo\x12\x12\n" + + "\x04note\x18\x05 \x01(\fR\x04note\x12\x1a\n" + + "\brejected\x18\x06 \x01(\bR\brejected\x12\x14\n" + + "\x05extra\x18\a \x01(\tR\x05extra\x1aG\n" + + "\rCallValueInfo\x12\x1c\n" + + "\tcallValue\x18\x01 \x01(\x03R\tcallValue\x12\x18\n" + + "\atokenId\x18\x02 \x01(\tR\atokenId\"\x9b\x01\n" + + "\x1dDelegatedResourceAccountIndex\x12\x18\n" + + "\aaccount\x18\x01 \x01(\fR\aaccount\x12\"\n" + + "\ffromAccounts\x18\x02 \x03(\fR\ffromAccounts\x12\x1e\n" + + "\n" + + "toAccounts\x18\x03 \x03(\fR\n" + + "toAccounts\x12\x1c\n" + + "\ttimestamp\x18\x04 \x01(\x03R\ttimestamp\"\xbd\x1a\n" + + "\bNodeInfo\x12\"\n" + + "\fbeginSyncNum\x18\x01 \x01(\x03R\fbeginSyncNum\x12\x14\n" + + "\x05block\x18\x02 \x01(\tR\x05block\x12$\n" + + "\rsolidityBlock\x18\x03 \x01(\tR\rsolidityBlock\x120\n" + + "\x13currentConnectCount\x18\x04 \x01(\x05R\x13currentConnectCount\x12.\n" + + "\x12activeConnectCount\x18\x05 \x01(\x05R\x12activeConnectCount\x120\n" + + "\x13passiveConnectCount\x18\x06 \x01(\x05R\x13passiveConnectCount\x12\x1c\n" + + "\ttotalFlow\x18\a \x01(\x03R\ttotalFlow\x12?\n" + + "\fpeerInfoList\x18\b \x03(\v2\x1b.protocol.NodeInfo.PeerInfoR\fpeerInfoList\x12I\n" + + "\x0econfigNodeInfo\x18\t \x01(\v2!.protocol.NodeInfo.ConfigNodeInfoR\x0econfigNodeInfo\x12@\n" + + "\vmachineInfo\x18\n" + + " \x01(\v2\x1e.protocol.NodeInfo.MachineInfoR\vmachineInfo\x12]\n" + + "\x13cheatWitnessInfoMap\x18\v \x03(\v2+.protocol.NodeInfo.CheatWitnessInfoMapEntryR\x13cheatWitnessInfoMap\x1aF\n" + + "\x18CheatWitnessInfoMapEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1a\xc8\a\n" + + "\bPeerInfo\x12$\n" + + "\rlastSyncBlock\x18\x01 \x01(\tR\rlastSyncBlock\x12\x1c\n" + + "\tremainNum\x18\x02 \x01(\x03R\tremainNum\x120\n" + + "\x13lastBlockUpdateTime\x18\x03 \x01(\x03R\x13lastBlockUpdateTime\x12\x1a\n" + + "\bsyncFlag\x18\x04 \x01(\bR\bsyncFlag\x128\n" + + "\x17headBlockTimeWeBothHave\x18\x05 \x01(\x03R\x17headBlockTimeWeBothHave\x12*\n" + + "\x10needSyncFromPeer\x18\x06 \x01(\bR\x10needSyncFromPeer\x12&\n" + + "\x0eneedSyncFromUs\x18\a \x01(\bR\x0eneedSyncFromUs\x12\x12\n" + + "\x04host\x18\b \x01(\tR\x04host\x12\x12\n" + + "\x04port\x18\t \x01(\x05R\x04port\x12\x16\n" + + "\x06nodeId\x18\n" + + " \x01(\tR\x06nodeId\x12 \n" + + "\vconnectTime\x18\v \x01(\x03R\vconnectTime\x12\x1e\n" + + "\n" + + "avgLatency\x18\f \x01(\x01R\n" + + "avgLatency\x12(\n" + + "\x0fsyncToFetchSize\x18\r \x01(\x05R\x0fsyncToFetchSize\x126\n" + + "\x16syncToFetchSizePeekNum\x18\x0e \x01(\x03R\x16syncToFetchSizePeekNum\x126\n" + + "\x16syncBlockRequestedSize\x18\x0f \x01(\x05R\x16syncBlockRequestedSize\x12$\n" + + "\runFetchSynNum\x18\x10 \x01(\x03R\runFetchSynNum\x12(\n" + + "\x0fblockInPorcSize\x18\x11 \x01(\x05R\x0fblockInPorcSize\x120\n" + + "\x13headBlockWeBothHave\x18\x12 \x01(\tR\x13headBlockWeBothHave\x12\x1a\n" + + "\bisActive\x18\x13 \x01(\bR\bisActive\x12\x14\n" + + "\x05score\x18\x14 \x01(\x05R\x05score\x12\x1c\n" + + "\tnodeCount\x18\x15 \x01(\x05R\tnodeCount\x12\x16\n" + + "\x06inFlow\x18\x16 \x01(\x03R\x06inFlow\x12(\n" + + "\x0fdisconnectTimes\x18\x17 \x01(\x05R\x0fdisconnectTimes\x124\n" + + "\x15localDisconnectReason\x18\x18 \x01(\tR\x15localDisconnectReason\x126\n" + + "\x16remoteDisconnectReason\x18\x19 \x01(\tR\x16remoteDisconnectReason\x1a\xa2\x06\n" + + "\x0eConfigNodeInfo\x12 \n" + + "\vcodeVersion\x18\x01 \x01(\tR\vcodeVersion\x12\x1e\n" + + "\n" + + "p2pVersion\x18\x02 \x01(\tR\n" + + "p2pVersion\x12\x1e\n" + + "\n" + + "listenPort\x18\x03 \x01(\x05R\n" + + "listenPort\x12&\n" + + "\x0ediscoverEnable\x18\x04 \x01(\bR\x0ediscoverEnable\x12&\n" + + "\x0eactiveNodeSize\x18\x05 \x01(\x05R\x0eactiveNodeSize\x12(\n" + + "\x0fpassiveNodeSize\x18\x06 \x01(\x05R\x0fpassiveNodeSize\x12\"\n" + + "\fsendNodeSize\x18\a \x01(\x05R\fsendNodeSize\x12(\n" + + "\x0fmaxConnectCount\x18\b \x01(\x05R\x0fmaxConnectCount\x124\n" + + "\x15sameIpMaxConnectCount\x18\t \x01(\x05R\x15sameIpMaxConnectCount\x12*\n" + + "\x10backupListenPort\x18\n" + + " \x01(\x05R\x10backupListenPort\x12*\n" + + "\x10backupMemberSize\x18\v \x01(\x05R\x10backupMemberSize\x12&\n" + + "\x0ebackupPriority\x18\f \x01(\x05R\x0ebackupPriority\x12\x1c\n" + + "\tdbVersion\x18\r \x01(\x05R\tdbVersion\x122\n" + + "\x14minParticipationRate\x18\x0e \x01(\x05R\x14minParticipationRate\x12(\n" + + "\x0fsupportConstant\x18\x0f \x01(\bR\x0fsupportConstant\x12\"\n" + + "\fminTimeRatio\x18\x10 \x01(\x01R\fminTimeRatio\x12\"\n" + + "\fmaxTimeRatio\x18\x11 \x01(\x01R\fmaxTimeRatio\x12:\n" + + "\x18allowCreationOfContracts\x18\x12 \x01(\x03R\x18allowCreationOfContracts\x120\n" + + "\x13allowAdaptiveEnergy\x18\x13 \x01(\x03R\x13allowAdaptiveEnergy\x1a\xb9\a\n" + + "\vMachineInfo\x12 \n" + + "\vthreadCount\x18\x01 \x01(\x05R\vthreadCount\x120\n" + + "\x13deadLockThreadCount\x18\x02 \x01(\x05R\x13deadLockThreadCount\x12\x1a\n" + + "\bcpuCount\x18\x03 \x01(\x05R\bcpuCount\x12 \n" + + "\vtotalMemory\x18\x04 \x01(\x03R\vtotalMemory\x12\x1e\n" + + "\n" + + "freeMemory\x18\x05 \x01(\x03R\n" + + "freeMemory\x12\x18\n" + + "\acpuRate\x18\x06 \x01(\x01R\acpuRate\x12 \n" + + "\vjavaVersion\x18\a \x01(\tR\vjavaVersion\x12\x16\n" + + "\x06osName\x18\b \x01(\tR\x06osName\x12&\n" + + "\x0ejvmTotalMemory\x18\t \x01(\x03R\x0ejvmTotalMemory\x12$\n" + + "\rjvmFreeMemory\x18\n" + + " \x01(\x03R\rjvmFreeMemory\x12&\n" + + "\x0eprocessCpuRate\x18\v \x01(\x01R\x0eprocessCpuRate\x12]\n" + + "\x12memoryDescInfoList\x18\f \x03(\v2-.protocol.NodeInfo.MachineInfo.MemoryDescInfoR\x12memoryDescInfoList\x12i\n" + + "\x16deadLockThreadInfoList\x18\r \x03(\v21.protocol.NodeInfo.MachineInfo.DeadLockThreadInfoR\x16deadLockThreadInfoList\x1a\x8e\x01\n" + + "\x0eMemoryDescInfo\x12\x12\n" + + "\x04name\x18\x01 \x01(\tR\x04name\x12\x1a\n" + + "\binitSize\x18\x02 \x01(\x03R\binitSize\x12\x18\n" + + "\auseSize\x18\x03 \x01(\x03R\auseSize\x12\x18\n" + + "\amaxSize\x18\x04 \x01(\x03R\amaxSize\x12\x18\n" + + "\auseRate\x18\x05 \x01(\x01R\auseRate\x1a\xd2\x01\n" + + "\x12DeadLockThreadInfo\x12\x12\n" + + "\x04name\x18\x01 \x01(\tR\x04name\x12\x1a\n" + + "\blockName\x18\x02 \x01(\tR\blockName\x12\x1c\n" + + "\tlockOwner\x18\x03 \x01(\tR\tlockOwner\x12\x14\n" + + "\x05state\x18\x04 \x01(\tR\x05state\x12\x1c\n" + + "\tblockTime\x18\x05 \x01(\x03R\tblockTime\x12\x1a\n" + + "\bwaitTime\x18\x06 \x01(\x03R\bwaitTime\x12\x1e\n" + + "\n" + + "stackTrace\x18\a \x01(\tR\n" + + "stackTrace\"\xc0\x18\n" + + "\vMetricsInfo\x12\x1a\n" + + "\binterval\x18\x01 \x01(\x03R\binterval\x122\n" + + "\x04node\x18\x02 \x01(\v2\x1e.protocol.MetricsInfo.NodeInfoR\x04node\x12D\n" + + "\n" + + "blockchain\x18\x03 \x01(\v2$.protocol.MetricsInfo.BlockChainInfoR\n" + + "blockchain\x12/\n" + + "\x03net\x18\x04 \x01(\v2\x1d.protocol.MetricsInfo.NetInfoR\x03net\x1at\n" + + "\bNodeInfo\x12\x0e\n" + + "\x02ip\x18\x01 \x01(\tR\x02ip\x12\x1a\n" + + "\bnodeType\x18\x02 \x01(\x05R\bnodeType\x12\x18\n" + + "\aversion\x18\x03 \x01(\tR\aversion\x12\"\n" + + "\fbackupStatus\x18\x04 \x01(\x05R\fbackupStatus\x1a\xee\x06\n" + + "\x0eBlockChainInfo\x12\"\n" + + "\fheadBlockNum\x18\x01 \x01(\x03R\fheadBlockNum\x12.\n" + + "\x12headBlockTimestamp\x18\x02 \x01(\x03R\x12headBlockTimestamp\x12$\n" + + "\rheadBlockHash\x18\x03 \x01(\tR\rheadBlockHash\x12\x1c\n" + + "\tforkCount\x18\x04 \x01(\x05R\tforkCount\x12$\n" + + "\rfailForkCount\x18\x05 \x01(\x05R\rfailForkCount\x12J\n" + + "\x10blockProcessTime\x18\x06 \x01(\v2\x1e.protocol.MetricsInfo.RateInfoR\x10blockProcessTime\x120\n" + + "\x03tps\x18\a \x01(\v2\x1e.protocol.MetricsInfo.RateInfoR\x03tps\x122\n" + + "\x14transactionCacheSize\x18\b \x01(\x05R\x14transactionCacheSize\x12L\n" + + "\x11missedTransaction\x18\t \x01(\v2\x1e.protocol.MetricsInfo.RateInfoR\x11missedTransaction\x12J\n" + + "\twitnesses\x18\n" + + " \x03(\v2,.protocol.MetricsInfo.BlockChainInfo.WitnessR\twitnesses\x120\n" + + "\x13failProcessBlockNum\x18\v \x01(\x03R\x13failProcessBlockNum\x126\n" + + "\x16failProcessBlockReason\x18\f \x01(\tR\x16failProcessBlockReason\x12O\n" + + "\n" + + "dupWitness\x18\r \x03(\v2/.protocol.MetricsInfo.BlockChainInfo.DupWitnessR\n" + + "dupWitness\x1a=\n" + + "\aWitness\x12\x18\n" + + "\aaddress\x18\x01 \x01(\tR\aaddress\x12\x18\n" + + "\aversion\x18\x02 \x01(\x05R\aversion\x1aX\n" + + "\n" + + "DupWitness\x12\x18\n" + + "\aaddress\x18\x01 \x01(\tR\aaddress\x12\x1a\n" + + "\bblockNum\x18\x02 \x01(\x03R\bblockNum\x12\x14\n" + + "\x05count\x18\x03 \x01(\x05R\x05count\x1a\xb8\x01\n" + + "\bRateInfo\x12\x14\n" + + "\x05count\x18\x01 \x01(\x03R\x05count\x12\x1a\n" + + "\bmeanRate\x18\x02 \x01(\x01R\bmeanRate\x12$\n" + + "\roneMinuteRate\x18\x03 \x01(\x01R\roneMinuteRate\x12&\n" + + "\x0efiveMinuteRate\x18\x04 \x01(\x01R\x0efiveMinuteRate\x12,\n" + + "\x11fifteenMinuteRate\x18\x05 \x01(\x01R\x11fifteenMinuteRate\x1a\xc7\r\n" + + "\aNetInfo\x12(\n" + + "\x0ferrorProtoCount\x18\x01 \x01(\x05R\x0ferrorProtoCount\x127\n" + + "\x03api\x18\x02 \x01(\v2%.protocol.MetricsInfo.NetInfo.ApiInfoR\x03api\x12(\n" + + "\x0fconnectionCount\x18\x03 \x01(\x05R\x0fconnectionCount\x122\n" + + "\x14validConnectionCount\x18\x04 \x01(\x05R\x14validConnectionCount\x12B\n" + + "\ftcpInTraffic\x18\x05 \x01(\v2\x1e.protocol.MetricsInfo.RateInfoR\ftcpInTraffic\x12D\n" + + "\rtcpOutTraffic\x18\x06 \x01(\v2\x1e.protocol.MetricsInfo.RateInfoR\rtcpOutTraffic\x12.\n" + + "\x12disconnectionCount\x18\a \x01(\x05R\x12disconnectionCount\x12g\n" + + "\x13disconnectionDetail\x18\b \x03(\v25.protocol.MetricsInfo.NetInfo.DisconnectionDetailInfoR\x13disconnectionDetail\x12B\n" + + "\fudpInTraffic\x18\t \x01(\v2\x1e.protocol.MetricsInfo.RateInfoR\fudpInTraffic\x12D\n" + + "\rudpOutTraffic\x18\n" + + " \x01(\v2\x1e.protocol.MetricsInfo.RateInfoR\rudpOutTraffic\x12C\n" + + "\alatency\x18\v \x01(\v2).protocol.MetricsInfo.NetInfo.LatencyInfoR\alatency\x1a\xd4\x03\n" + + "\aApiInfo\x120\n" + + "\x03qps\x18\x01 \x01(\v2\x1e.protocol.MetricsInfo.RateInfoR\x03qps\x128\n" + + "\afailQps\x18\x02 \x01(\v2\x1e.protocol.MetricsInfo.RateInfoR\afailQps\x12>\n" + + "\n" + + "outTraffic\x18\x03 \x01(\v2\x1e.protocol.MetricsInfo.RateInfoR\n" + + "outTraffic\x12K\n" + + "\x06detail\x18\x04 \x03(\v23.protocol.MetricsInfo.NetInfo.ApiInfo.ApiDetailInfoR\x06detail\x1a\xcf\x01\n" + + "\rApiDetailInfo\x12\x12\n" + + "\x04name\x18\x01 \x01(\tR\x04name\x120\n" + + "\x03qps\x18\x02 \x01(\v2\x1e.protocol.MetricsInfo.RateInfoR\x03qps\x128\n" + + "\afailQps\x18\x03 \x01(\v2\x1e.protocol.MetricsInfo.RateInfoR\afailQps\x12>\n" + + "\n" + + "outTraffic\x18\x04 \x01(\v2\x1e.protocol.MetricsInfo.RateInfoR\n" + + "outTraffic\x1aG\n" + + "\x17DisconnectionDetailInfo\x12\x16\n" + + "\x06reason\x18\x01 \x01(\tR\x06reason\x12\x14\n" + + "\x05count\x18\x02 \x01(\x05R\x05count\x1a\xe8\x03\n" + + "\vLatencyInfo\x12\x14\n" + + "\x05top99\x18\x01 \x01(\x05R\x05top99\x12\x14\n" + + "\x05top95\x18\x02 \x01(\x05R\x05top95\x12\x14\n" + + "\x05top75\x18\x03 \x01(\x05R\x05top75\x12\x1e\n" + + "\n" + + "totalCount\x18\x04 \x01(\x05R\n" + + "totalCount\x12\x18\n" + + "\adelay1S\x18\x05 \x01(\x05R\adelay1S\x12\x18\n" + + "\adelay2S\x18\x06 \x01(\x05R\adelay2S\x12\x18\n" + + "\adelay3S\x18\a \x01(\x05R\adelay3S\x12S\n" + + "\x06detail\x18\b \x03(\v2;.protocol.MetricsInfo.NetInfo.LatencyInfo.LatencyDetailInfoR\x06detail\x1a\xd3\x01\n" + + "\x11LatencyDetailInfo\x12\x18\n" + + "\awitness\x18\x01 \x01(\tR\awitness\x12\x14\n" + + "\x05top99\x18\x02 \x01(\x05R\x05top99\x12\x14\n" + + "\x05top95\x18\x03 \x01(\x05R\x05top95\x12\x14\n" + + "\x05top75\x18\x04 \x01(\x05R\x05top75\x12\x14\n" + + "\x05count\x18\x05 \x01(\x05R\x05count\x12\x18\n" + + "\adelay1S\x18\x06 \x01(\x05R\adelay1S\x12\x18\n" + + "\adelay2S\x18\a \x01(\x05R\adelay2S\x12\x18\n" + + "\adelay3S\x18\b \x01(\x05R\adelay3S\"\x93\x03\n" + + "\vPBFTMessage\x124\n" + + "\braw_data\x18\x01 \x01(\v2\x19.protocol.PBFTMessage.RawR\arawData\x12\x1c\n" + + "\tsignature\x18\x02 \x01(\fR\tsignature\x1a\xbd\x01\n" + + "\x03Raw\x128\n" + + "\bmsg_type\x18\x01 \x01(\x0e2\x1d.protocol.PBFTMessage.MsgTypeR\amsgType\x12;\n" + + "\tdata_type\x18\x02 \x01(\x0e2\x1e.protocol.PBFTMessage.DataTypeR\bdataType\x12\x15\n" + + "\x06view_n\x18\x03 \x01(\x03R\x05viewN\x12\x14\n" + + "\x05epoch\x18\x04 \x01(\x03R\x05epoch\x12\x12\n" + + "\x04data\x18\x05 \x01(\fR\x04data\"P\n" + + "\aMsgType\x12\x0f\n" + + "\vVIEW_CHANGE\x10\x00\x12\v\n" + + "\aREQUEST\x10\x01\x12\x0e\n" + + "\n" + + "PREPREPARE\x10\x02\x12\v\n" + + "\aPREPARE\x10\x03\x12\n" + + "\n" + + "\x06COMMIT\x10\x04\"\x1e\n" + + "\bDataType\x12\t\n" + + "\x05BLOCK\x10\x00\x12\a\n" + + "\x03SRL\x10\x01\"D\n" + + "\x10PBFTCommitResult\x12\x12\n" + + "\x04data\x18\x01 \x01(\fR\x04data\x12\x1c\n" + + "\tsignature\x18\x02 \x03(\fR\tsignature\"#\n" + + "\x03SRL\x12\x1c\n" + + "\tsrAddress\x18\x01 \x03(\fR\tsrAddress*7\n" + + "\vAccountType\x12\n" + + "\n" + + "\x06Normal\x10\x00\x12\x0e\n" + + "\n" + + "AssetIssue\x10\x01\x12\f\n" + + "\bContract\x10\x02*\x9f\x04\n" + + "\n" + + "ReasonCode\x12\r\n" + + "\tREQUESTED\x10\x00\x12\x10\n" + + "\fBAD_PROTOCOL\x10\x02\x12\x12\n" + + "\x0eTOO_MANY_PEERS\x10\x04\x12\x12\n" + + "\x0eDUPLICATE_PEER\x10\x05\x12\x19\n" + + "\x15INCOMPATIBLE_PROTOCOL\x10\x06\x12\x16\n" + + "\x12RANDOM_ELIMINATION\x10\a\x12\x10\n" + + "\fPEER_QUITING\x10\b\x12\x17\n" + + "\x13UNEXPECTED_IDENTITY\x10\t\x12\x12\n" + + "\x0eLOCAL_IDENTITY\x10\n" + + "\x12\x10\n" + + "\fPING_TIMEOUT\x10\v\x12\x0f\n" + + "\vUSER_REASON\x10\x10\x12\t\n" + + "\x05RESET\x10\x11\x12\r\n" + + "\tSYNC_FAIL\x10\x12\x12\x0e\n" + + "\n" + + "FETCH_FAIL\x10\x13\x12\n" + + "\n" + + "\x06BAD_TX\x10\x14\x12\r\n" + + "\tBAD_BLOCK\x10\x15\x12\n" + + "\n" + + "\x06FORKED\x10\x16\x12\x0e\n" + + "\n" + + "UNLINKABLE\x10\x17\x12\x18\n" + + "\x14INCOMPATIBLE_VERSION\x10\x18\x12\x16\n" + + "\x12INCOMPATIBLE_CHAIN\x10\x19\x12\f\n" + + "\bTIME_OUT\x10 \x12\x10\n" + + "\fCONNECT_FAIL\x10!\x12\x1f\n" + + "\x1bTOO_MANY_PEERS_WITH_SAME_IP\x10\"\x12\x18\n" + + "\x14LIGHT_NODE_SYNC_FAIL\x10#\x12\x11\n" + + "\rBELOW_THAN_ME\x10$\x12\x0f\n" + + "\vNOT_WITNESS\x10%\x12\x13\n" + + "\x0fNO_SUCH_MESSAGE\x10&\x12\f\n" + + "\aUNKNOWN\x10\xff\x01BL\n" + + "\x0forg.tron.protosB\bProtocolZ/github.com/fbsobreira/gotron-sdk/pkg/proto/coreb\x06proto3" var ( file_core_Tron_proto_rawDescOnce sync.Once - file_core_Tron_proto_rawDescData = file_core_Tron_proto_rawDesc + file_core_Tron_proto_rawDescData []byte ) func file_core_Tron_proto_rawDescGZIP() []byte { file_core_Tron_proto_rawDescOnce.Do(func() { - file_core_Tron_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_Tron_proto_rawDescData) + file_core_Tron_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_core_Tron_proto_rawDesc), len(file_core_Tron_proto_rawDesc))) }) return file_core_Tron_proto_rawDescData } var file_core_Tron_proto_enumTypes = make([]protoimpl.EnumInfo, 14) var file_core_Tron_proto_msgTypes = make([]protoimpl.MessageInfo, 87) -var file_core_Tron_proto_goTypes = []interface{}{ +var file_core_Tron_proto_goTypes = []any{ (AccountType)(0), // 0: protocol.AccountType (ReasonCode)(0), // 1: protocol.ReasonCode (Proposal_State)(0), // 2: protocol.Proposal.State @@ -9146,937 +8256,11 @@ func file_core_Tron_proto_init() { } file_core_Discover_proto_init() file_core_contract_common_proto_init() - if !protoimpl.UnsafeEnabled { - file_core_Tron_proto_msgTypes[0].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_core_Tron_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Vote); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proposal); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Exchange); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarketOrder); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarketOrderList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarketOrderPairList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarketOrderPair); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarketAccountOrder); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarketPrice); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarketPriceList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarketOrderIdList); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChainParameters); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Account); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[14].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_core_Tron_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DelegatedResource); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Authority); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Permission); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Witness); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Votes); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TXOutput); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TXInput); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TXOutputs); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResourceReceipt); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarketOrderDetail); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[25].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 - } - } - file_core_Tron_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionRet); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Transactions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockHeader); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Block); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChainInventory); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockInventory); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Inventory); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Items); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DynamicProperties); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DisconnectMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HelloMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InternalTransaction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DelegatedResourceAccountIndex); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetricsInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PBFTMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PBFTCommitResult); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SRL); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChainParameters_ChainParameter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Account_Frozen); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Account_AccountResource); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Account_FreezeV2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Account_UnFreezeV2); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TXInputRaw); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Transaction_Contract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Transaction_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionRaw); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionInfo_Log); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockHeaderRaw); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChainInventory_BlockId); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockInventory_BlockId); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HelloMessage_BlockId); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InternalTransaction_CallValueInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeInfo_PeerInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeInfo_ConfigNodeInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeInfo_MachineInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeInfo_MachineInfo_MemoryDescInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NodeInfo_MachineInfo_DeadLockThreadInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetricsInfo_NodeInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetricsInfo_BlockChainInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetricsInfo_RateInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetricsInfo_NetInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetricsInfo_BlockChainInfo_Witness); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetricsInfo_BlockChainInfo_DupWitness); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetricsInfo_NetInfo_ApiInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetricsInfo_NetInfo_DisconnectionDetailInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetricsInfo_NetInfo_LatencyInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_Tron_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PBFTMessage_Raw); 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_core_Tron_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_core_Tron_proto_rawDesc), len(file_core_Tron_proto_rawDesc)), NumEnums: 14, NumMessages: 87, NumExtensions: 0, @@ -10088,7 +8272,6 @@ func file_core_Tron_proto_init() { MessageInfos: file_core_Tron_proto_msgTypes, }.Build() File_core_Tron_proto = out.File - file_core_Tron_proto_rawDesc = nil file_core_Tron_proto_goTypes = nil file_core_Tron_proto_depIdxs = nil } diff --git a/pkg/proto/core/TronInventoryItems.pb.go b/pkg/proto/core/TronInventoryItems.pb.go index dc8da6caa..7a75008f1 100644 --- a/pkg/proto/core/TronInventoryItems.pb.go +++ b/pkg/proto/core/TronInventoryItems.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 -// protoc v3.21.12 +// protoc-gen-go v1.36.6 +// protoc v5.29.3 // source: core/TronInventoryItems.proto package core @@ -11,6 +11,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -21,21 +22,18 @@ const ( ) type InventoryItems struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` + Items [][]byte `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` unknownFields protoimpl.UnknownFields - - Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` - Items [][]byte `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` + sizeCache protoimpl.SizeCache } func (x *InventoryItems) Reset() { *x = InventoryItems{} - if protoimpl.UnsafeEnabled { - mi := &file_core_TronInventoryItems_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_TronInventoryItems_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InventoryItems) String() string { @@ -46,7 +44,7 @@ func (*InventoryItems) ProtoMessage() {} func (x *InventoryItems) ProtoReflect() protoreflect.Message { mi := &file_core_TronInventoryItems_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) @@ -77,35 +75,28 @@ func (x *InventoryItems) GetItems() [][]byte { var File_core_TronInventoryItems_proto protoreflect.FileDescriptor -var file_core_TronInventoryItems_proto_rawDesc = []byte{ - 0x0a, 0x1d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x54, 0x72, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x65, 0x6e, - 0x74, 0x6f, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, - 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0x3a, 0x0a, 0x0e, 0x49, 0x6e, 0x76, - 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, - 0x14, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x05, - 0x69, 0x74, 0x65, 0x6d, 0x73, 0x42, 0x50, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, - 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x42, 0x12, 0x54, 0x72, 0x6f, 0x6e, 0x49, 0x6e, - 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x5a, 0x29, 0x67, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, - 0x61, 0x79, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_core_TronInventoryItems_proto_rawDesc = "" + + "\n" + + "\x1dcore/TronInventoryItems.proto\x12\bprotocol\":\n" + + "\x0eInventoryItems\x12\x12\n" + + "\x04type\x18\x01 \x01(\x05R\x04type\x12\x14\n" + + "\x05items\x18\x02 \x03(\fR\x05itemsBV\n" + + "\x0forg.tron.protosB\x12TronInventoryItemsZ/github.com/fbsobreira/gotron-sdk/pkg/proto/coreb\x06proto3" var ( file_core_TronInventoryItems_proto_rawDescOnce sync.Once - file_core_TronInventoryItems_proto_rawDescData = file_core_TronInventoryItems_proto_rawDesc + file_core_TronInventoryItems_proto_rawDescData []byte ) func file_core_TronInventoryItems_proto_rawDescGZIP() []byte { file_core_TronInventoryItems_proto_rawDescOnce.Do(func() { - file_core_TronInventoryItems_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_TronInventoryItems_proto_rawDescData) + file_core_TronInventoryItems_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_core_TronInventoryItems_proto_rawDesc), len(file_core_TronInventoryItems_proto_rawDesc))) }) return file_core_TronInventoryItems_proto_rawDescData } var file_core_TronInventoryItems_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_core_TronInventoryItems_proto_goTypes = []interface{}{ +var file_core_TronInventoryItems_proto_goTypes = []any{ (*InventoryItems)(nil), // 0: protocol.InventoryItems } var file_core_TronInventoryItems_proto_depIdxs = []int32{ @@ -121,25 +112,11 @@ func file_core_TronInventoryItems_proto_init() { if File_core_TronInventoryItems_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_core_TronInventoryItems_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InventoryItems); 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_core_TronInventoryItems_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_core_TronInventoryItems_proto_rawDesc), len(file_core_TronInventoryItems_proto_rawDesc)), NumEnums: 0, NumMessages: 1, NumExtensions: 0, @@ -150,7 +127,6 @@ func file_core_TronInventoryItems_proto_init() { MessageInfos: file_core_TronInventoryItems_proto_msgTypes, }.Build() File_core_TronInventoryItems_proto = out.File - file_core_TronInventoryItems_proto_rawDesc = nil file_core_TronInventoryItems_proto_goTypes = nil file_core_TronInventoryItems_proto_depIdxs = nil } diff --git a/pkg/proto/core/account_contract.pb.go b/pkg/proto/core/account_contract.pb.go index fd220e573..359d6b517 100644 --- a/pkg/proto/core/account_contract.pb.go +++ b/pkg/proto/core/account_contract.pb.go @@ -14,9 +14,9 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 -// protoc v3.21.12 -// source: core/account_contract.proto +// protoc-gen-go v1.36.6 +// protoc v5.29.3 +// source: core/contract/account_contract.proto package core @@ -25,6 +25,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -35,22 +36,19 @@ const ( ) type AccountCreateContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - AccountAddress []byte `protobuf:"bytes,2,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` - Type AccountType `protobuf:"varint,3,opt,name=type,proto3,enum=protocol.AccountType" json:"type,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + AccountAddress []byte `protobuf:"bytes,2,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` + Type AccountType `protobuf:"varint,3,opt,name=type,proto3,enum=protocol.AccountType" json:"type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AccountCreateContract) Reset() { *x = AccountCreateContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_account_contract_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_account_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AccountCreateContract) String() string { @@ -61,7 +59,7 @@ func (*AccountCreateContract) ProtoMessage() {} func (x *AccountCreateContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_account_contract_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) @@ -99,21 +97,18 @@ func (x *AccountCreateContract) GetType() AccountType { // Update account name. Account name is not unique now. type AccountUpdateContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + AccountName []byte `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` + OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` unknownFields protoimpl.UnknownFields - - AccountName []byte `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` - OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AccountUpdateContract) Reset() { *x = AccountUpdateContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_account_contract_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_account_contract_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AccountUpdateContract) String() string { @@ -124,7 +119,7 @@ func (*AccountUpdateContract) ProtoMessage() {} func (x *AccountUpdateContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_account_contract_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) @@ -155,21 +150,18 @@ func (x *AccountUpdateContract) GetOwnerAddress() []byte { // Set account id if the account has no id. Account id is unique and case insensitive. type SetAccountIdContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + AccountId []byte `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` + OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` unknownFields protoimpl.UnknownFields - - AccountId []byte `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` - OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SetAccountIdContract) Reset() { *x = SetAccountIdContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_account_contract_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_account_contract_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SetAccountIdContract) String() string { @@ -180,7 +172,7 @@ func (*SetAccountIdContract) ProtoMessage() {} func (x *SetAccountIdContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_account_contract_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) @@ -210,23 +202,20 @@ func (x *SetAccountIdContract) GetOwnerAddress() []byte { } type AccountPermissionUpdateContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Owner *Permission `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` //Empty is invalidate + Witness *Permission `protobuf:"bytes,3,opt,name=witness,proto3" json:"witness,omitempty"` //Can be empty + Actives []*Permission `protobuf:"bytes,4,rep,name=actives,proto3" json:"actives,omitempty"` //Empty is invalidate unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Owner *Permission `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` //Empty is invalidate - Witness *Permission `protobuf:"bytes,3,opt,name=witness,proto3" json:"witness,omitempty"` //Can be empty - Actives []*Permission `protobuf:"bytes,4,rep,name=actives,proto3" json:"actives,omitempty"` //Empty is invalidate + sizeCache protoimpl.SizeCache } func (x *AccountPermissionUpdateContract) Reset() { *x = AccountPermissionUpdateContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_account_contract_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_account_contract_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AccountPermissionUpdateContract) String() string { @@ -237,7 +226,7 @@ func (*AccountPermissionUpdateContract) ProtoMessage() {} func (x *AccountPermissionUpdateContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_account_contract_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) @@ -282,67 +271,41 @@ func (x *AccountPermissionUpdateContract) GetActives() []*Permission { var File_core_contract_account_contract_proto protoreflect.FileDescriptor -var file_core_contract_account_contract_proto_rawDesc = []byte{ - 0x0a, 0x24, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, - 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x1a, 0x0f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x54, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x22, 0x90, 0x01, 0x0a, 0x15, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x22, 0x5f, 0x0a, 0x15, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x21, 0x0a, - 0x0c, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x5a, 0x0a, 0x14, 0x53, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x49, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x1d, 0x0a, - 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x22, 0xd2, 0x01, 0x0a, 0x1f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2a, 0x0a, 0x05, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, - 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x2e, 0x0a, 0x07, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, - 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x77, - 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x2e, 0x0a, 0x07, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, - 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x61, - 0x63, 0x74, 0x69, 0x76, 0x65, 0x73, 0x42, 0x45, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, - 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, - 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, - 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_core_contract_account_contract_proto_rawDesc = "" + + "\n" + + "$core/contract/account_contract.proto\x12\bprotocol\x1a\x0fcore/Tron.proto\"\x90\x01\n" + + "\x15AccountCreateContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x12'\n" + + "\x0faccount_address\x18\x02 \x01(\fR\x0eaccountAddress\x12)\n" + + "\x04type\x18\x03 \x01(\x0e2\x15.protocol.AccountTypeR\x04type\"_\n" + + "\x15AccountUpdateContract\x12!\n" + + "\faccount_name\x18\x01 \x01(\fR\vaccountName\x12#\n" + + "\rowner_address\x18\x02 \x01(\fR\fownerAddress\"Z\n" + + "\x14SetAccountIdContract\x12\x1d\n" + + "\n" + + "account_id\x18\x01 \x01(\fR\taccountId\x12#\n" + + "\rowner_address\x18\x02 \x01(\fR\fownerAddress\"\xd2\x01\n" + + "\x1fAccountPermissionUpdateContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x12*\n" + + "\x05owner\x18\x02 \x01(\v2\x14.protocol.PermissionR\x05owner\x12.\n" + + "\awitness\x18\x03 \x01(\v2\x14.protocol.PermissionR\awitness\x12.\n" + + "\aactives\x18\x04 \x03(\v2\x14.protocol.PermissionR\aactivesBK\n" + + "\x18org.tron.protos.contractZ/github.com/fbsobreira/gotron-sdk/pkg/proto/coreb\x06proto3" var ( file_core_contract_account_contract_proto_rawDescOnce sync.Once - file_core_contract_account_contract_proto_rawDescData = file_core_contract_account_contract_proto_rawDesc + file_core_contract_account_contract_proto_rawDescData []byte ) func file_core_contract_account_contract_proto_rawDescGZIP() []byte { file_core_contract_account_contract_proto_rawDescOnce.Do(func() { - file_core_contract_account_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_account_contract_proto_rawDescData) + file_core_contract_account_contract_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_core_contract_account_contract_proto_rawDesc), len(file_core_contract_account_contract_proto_rawDesc))) }) return file_core_contract_account_contract_proto_rawDescData } var file_core_contract_account_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_core_contract_account_contract_proto_goTypes = []interface{}{ +var file_core_contract_account_contract_proto_goTypes = []any{ (*AccountCreateContract)(nil), // 0: protocol.AccountCreateContract (*AccountUpdateContract)(nil), // 1: protocol.AccountUpdateContract (*SetAccountIdContract)(nil), // 2: protocol.SetAccountIdContract @@ -368,61 +331,11 @@ func file_core_contract_account_contract_proto_init() { return } file_core_Tron_proto_init() - if !protoimpl.UnsafeEnabled { - file_core_contract_account_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AccountCreateContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_account_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AccountUpdateContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_account_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetAccountIdContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_account_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AccountPermissionUpdateContract); 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_core_contract_account_contract_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_core_contract_account_contract_proto_rawDesc), len(file_core_contract_account_contract_proto_rawDesc)), NumEnums: 0, NumMessages: 4, NumExtensions: 0, @@ -433,7 +346,6 @@ func file_core_contract_account_contract_proto_init() { MessageInfos: file_core_contract_account_contract_proto_msgTypes, }.Build() File_core_contract_account_contract_proto = out.File - file_core_contract_account_contract_proto_rawDesc = nil file_core_contract_account_contract_proto_goTypes = nil file_core_contract_account_contract_proto_depIdxs = nil } diff --git a/pkg/proto/core/asset_issue_contract.pb.go b/pkg/proto/core/asset_issue_contract.pb.go index ce4c492ea..90b5ff4d4 100644 --- a/pkg/proto/core/asset_issue_contract.pb.go +++ b/pkg/proto/core/asset_issue_contract.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 -// protoc v3.21.12 -// source: core/asset_issue_contract.proto +// protoc-gen-go v1.36.6 +// protoc v5.29.3 +// source: core/contract/asset_issue_contract.proto package core @@ -11,6 +11,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -21,10 +22,7 @@ const ( ) type AssetIssueContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Id string `protobuf:"bytes,41,opt,name=id,proto3" json:"id,omitempty"` OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` @@ -44,15 +42,15 @@ type AssetIssueContract struct { PublicFreeAssetNetLimit int64 `protobuf:"varint,23,opt,name=public_free_asset_net_limit,json=publicFreeAssetNetLimit,proto3" json:"public_free_asset_net_limit,omitempty"` PublicFreeAssetNetUsage int64 `protobuf:"varint,24,opt,name=public_free_asset_net_usage,json=publicFreeAssetNetUsage,proto3" json:"public_free_asset_net_usage,omitempty"` PublicLatestFreeNetTime int64 `protobuf:"varint,25,opt,name=public_latest_free_net_time,json=publicLatestFreeNetTime,proto3" json:"public_latest_free_net_time,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AssetIssueContract) Reset() { *x = AssetIssueContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_asset_issue_contract_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_asset_issue_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AssetIssueContract) String() string { @@ -63,7 +61,7 @@ func (*AssetIssueContract) ProtoMessage() {} func (x *AssetIssueContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_asset_issue_contract_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) @@ -212,23 +210,20 @@ func (x *AssetIssueContract) GetPublicLatestFreeNetTime() int64 { } type TransferAssetContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + AssetName []byte `protobuf:"bytes,1,opt,name=asset_name,json=assetName,proto3" json:"asset_name,omitempty"` // this field is token name before the proposal ALLOW_SAME_TOKEN_NAME is active, otherwise it is token id and token is should be in string format. + OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ToAddress []byte `protobuf:"bytes,3,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` + Amount int64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` unknownFields protoimpl.UnknownFields - - AssetName []byte `protobuf:"bytes,1,opt,name=asset_name,json=assetName,proto3" json:"asset_name,omitempty"` // this field is token name before the proposal ALLOW_SAME_TOKEN_NAME is active, otherwise it is token id and token is should be in string format. - OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ToAddress []byte `protobuf:"bytes,3,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` - Amount int64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TransferAssetContract) Reset() { *x = TransferAssetContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_asset_issue_contract_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_asset_issue_contract_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransferAssetContract) String() string { @@ -239,7 +234,7 @@ func (*TransferAssetContract) ProtoMessage() {} func (x *TransferAssetContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_asset_issue_contract_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) @@ -283,20 +278,17 @@ func (x *TransferAssetContract) GetAmount() int64 { } type UnfreezeAssetContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UnfreezeAssetContract) Reset() { *x = UnfreezeAssetContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_asset_issue_contract_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_asset_issue_contract_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UnfreezeAssetContract) String() string { @@ -307,7 +299,7 @@ func (*UnfreezeAssetContract) ProtoMessage() {} func (x *UnfreezeAssetContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_asset_issue_contract_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) @@ -330,24 +322,21 @@ func (x *UnfreezeAssetContract) GetOwnerAddress() []byte { } type UpdateAssetContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Description []byte `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - Url []byte `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` - NewLimit int64 `protobuf:"varint,4,opt,name=new_limit,json=newLimit,proto3" json:"new_limit,omitempty"` - NewPublicLimit int64 `protobuf:"varint,5,opt,name=new_public_limit,json=newPublicLimit,proto3" json:"new_public_limit,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Description []byte `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + Url []byte `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` + NewLimit int64 `protobuf:"varint,4,opt,name=new_limit,json=newLimit,proto3" json:"new_limit,omitempty"` + NewPublicLimit int64 `protobuf:"varint,5,opt,name=new_public_limit,json=newPublicLimit,proto3" json:"new_public_limit,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateAssetContract) Reset() { *x = UpdateAssetContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_asset_issue_contract_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_asset_issue_contract_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateAssetContract) String() string { @@ -358,7 +347,7 @@ func (*UpdateAssetContract) ProtoMessage() {} func (x *UpdateAssetContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_asset_issue_contract_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) @@ -409,23 +398,20 @@ func (x *UpdateAssetContract) GetNewPublicLimit() int64 { } type ParticipateAssetIssueContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ToAddress []byte `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` + AssetName []byte `protobuf:"bytes,3,opt,name=asset_name,json=assetName,proto3" json:"asset_name,omitempty"` // this field is token name before the proposal ALLOW_SAME_TOKEN_NAME is active, otherwise it is token id and token is should be in string format. + Amount int64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` // the amount of drops unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ToAddress []byte `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` - AssetName []byte `protobuf:"bytes,3,opt,name=asset_name,json=assetName,proto3" json:"asset_name,omitempty"` // this field is token name before the proposal ALLOW_SAME_TOKEN_NAME is active, otherwise it is token id and token is should be in string format. - Amount int64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` // the amount of drops + sizeCache protoimpl.SizeCache } func (x *ParticipateAssetIssueContract) Reset() { *x = ParticipateAssetIssueContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_asset_issue_contract_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_asset_issue_contract_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ParticipateAssetIssueContract) String() string { @@ -436,7 +422,7 @@ func (*ParticipateAssetIssueContract) ProtoMessage() {} func (x *ParticipateAssetIssueContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_asset_issue_contract_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) @@ -480,21 +466,18 @@ func (x *ParticipateAssetIssueContract) GetAmount() int64 { } type AssetIssueContract_FrozenSupply struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + FrozenAmount int64 `protobuf:"varint,1,opt,name=frozen_amount,json=frozenAmount,proto3" json:"frozen_amount,omitempty"` + FrozenDays int64 `protobuf:"varint,2,opt,name=frozen_days,json=frozenDays,proto3" json:"frozen_days,omitempty"` unknownFields protoimpl.UnknownFields - - FrozenAmount int64 `protobuf:"varint,1,opt,name=frozen_amount,json=frozenAmount,proto3" json:"frozen_amount,omitempty"` - FrozenDays int64 `protobuf:"varint,2,opt,name=frozen_days,json=frozenDays,proto3" json:"frozen_days,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AssetIssueContract_FrozenSupply) Reset() { *x = AssetIssueContract_FrozenSupply{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_asset_issue_contract_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_asset_issue_contract_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AssetIssueContract_FrozenSupply) String() string { @@ -505,7 +488,7 @@ func (*AssetIssueContract_FrozenSupply) ProtoMessage() {} func (x *AssetIssueContract_FrozenSupply) ProtoReflect() protoreflect.Message { mi := &file_core_contract_asset_issue_contract_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) @@ -536,115 +519,74 @@ func (x *AssetIssueContract_FrozenSupply) GetFrozenDays() int64 { var File_core_contract_asset_issue_contract_proto protoreflect.FileDescriptor -var file_core_contract_asset_issue_contract_proto_rawDesc = []byte{ - 0x0a, 0x28, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, - 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0x91, 0x06, 0x0a, 0x12, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, - 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x29, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x62, 0x62, 0x72, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x04, 0x61, 0x62, 0x62, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x6f, 0x74, 0x61, - 0x6c, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, - 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x4e, 0x0a, 0x0d, 0x66, - 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x18, 0x05, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, - 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x2e, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x0c, 0x66, - 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x74, - 0x72, 0x78, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x72, - 0x78, 0x4e, 0x75, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, - 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, - 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x75, 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x03, 0x6e, 0x75, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, - 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, - 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, - 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6f, - 0x72, 0x64, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x73, 0x63, 0x6f, - 0x72, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x76, 0x6f, 0x74, 0x65, 0x53, 0x63, - 0x6f, 0x72, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x15, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x2f, 0x0a, 0x14, 0x66, 0x72, 0x65, 0x65, 0x5f, - 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x65, 0x74, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, - 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x66, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, - 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x3c, 0x0a, 0x1b, 0x70, 0x75, 0x62, 0x6c, - 0x69, 0x63, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x65, - 0x74, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x17, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x70, - 0x75, 0x62, 0x6c, 0x69, 0x63, 0x46, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, - 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x3c, 0x0a, 0x1b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, - 0x5f, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x65, 0x74, 0x5f, - 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x70, 0x75, 0x62, - 0x6c, 0x69, 0x63, 0x46, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, - 0x73, 0x61, 0x67, 0x65, 0x12, 0x3c, 0x0a, 0x1b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6c, - 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x6e, 0x65, 0x74, 0x5f, 0x74, - 0x69, 0x6d, 0x65, 0x18, 0x19, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x70, 0x75, 0x62, 0x6c, 0x69, - 0x63, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x46, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x54, 0x69, - 0x6d, 0x65, 0x1a, 0x54, 0x0a, 0x0c, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x53, 0x75, 0x70, 0x70, - 0x6c, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x61, 0x6d, 0x6f, - 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x7a, 0x65, - 0x6e, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x7a, 0x65, - 0x6e, 0x5f, 0x64, 0x61, 0x79, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x66, 0x72, - 0x6f, 0x7a, 0x65, 0x6e, 0x44, 0x61, 0x79, 0x73, 0x22, 0x92, 0x01, 0x0a, 0x15, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x6f, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x3c, 0x0a, - 0x15, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xb5, 0x01, 0x0a, 0x13, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x64, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, - 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1b, 0x0a, 0x09, - 0x6e, 0x65, 0x77, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x08, 0x6e, 0x65, 0x77, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x6e, 0x65, 0x77, - 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0e, 0x6e, 0x65, 0x77, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4c, 0x69, - 0x6d, 0x69, 0x74, 0x22, 0x9a, 0x01, 0x0a, 0x1d, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, - 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, - 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, - 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x73, 0x73, - 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x61, - 0x73, 0x73, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, - 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, - 0x42, 0x45, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x29, 0x67, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, - 0x61, 0x79, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_core_contract_asset_issue_contract_proto_rawDesc = "" + + "\n" + + "(core/contract/asset_issue_contract.proto\x12\bprotocol\"\x91\x06\n" + + "\x12AssetIssueContract\x12\x0e\n" + + "\x02id\x18) \x01(\tR\x02id\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x12\x12\n" + + "\x04name\x18\x02 \x01(\fR\x04name\x12\x12\n" + + "\x04abbr\x18\x03 \x01(\fR\x04abbr\x12!\n" + + "\ftotal_supply\x18\x04 \x01(\x03R\vtotalSupply\x12N\n" + + "\rfrozen_supply\x18\x05 \x03(\v2).protocol.AssetIssueContract.FrozenSupplyR\ffrozenSupply\x12\x17\n" + + "\atrx_num\x18\x06 \x01(\x05R\x06trxNum\x12\x1c\n" + + "\tprecision\x18\a \x01(\x05R\tprecision\x12\x10\n" + + "\x03num\x18\b \x01(\x05R\x03num\x12\x1d\n" + + "\n" + + "start_time\x18\t \x01(\x03R\tstartTime\x12\x19\n" + + "\bend_time\x18\n" + + " \x01(\x03R\aendTime\x12\x14\n" + + "\x05order\x18\v \x01(\x03R\x05order\x12\x1d\n" + + "\n" + + "vote_score\x18\x10 \x01(\x05R\tvoteScore\x12 \n" + + "\vdescription\x18\x14 \x01(\fR\vdescription\x12\x10\n" + + "\x03url\x18\x15 \x01(\fR\x03url\x12/\n" + + "\x14free_asset_net_limit\x18\x16 \x01(\x03R\x11freeAssetNetLimit\x12<\n" + + "\x1bpublic_free_asset_net_limit\x18\x17 \x01(\x03R\x17publicFreeAssetNetLimit\x12<\n" + + "\x1bpublic_free_asset_net_usage\x18\x18 \x01(\x03R\x17publicFreeAssetNetUsage\x12<\n" + + "\x1bpublic_latest_free_net_time\x18\x19 \x01(\x03R\x17publicLatestFreeNetTime\x1aT\n" + + "\fFrozenSupply\x12#\n" + + "\rfrozen_amount\x18\x01 \x01(\x03R\ffrozenAmount\x12\x1f\n" + + "\vfrozen_days\x18\x02 \x01(\x03R\n" + + "frozenDays\"\x92\x01\n" + + "\x15TransferAssetContract\x12\x1d\n" + + "\n" + + "asset_name\x18\x01 \x01(\fR\tassetName\x12#\n" + + "\rowner_address\x18\x02 \x01(\fR\fownerAddress\x12\x1d\n" + + "\n" + + "to_address\x18\x03 \x01(\fR\ttoAddress\x12\x16\n" + + "\x06amount\x18\x04 \x01(\x03R\x06amount\"<\n" + + "\x15UnfreezeAssetContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\"\xb5\x01\n" + + "\x13UpdateAssetContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x12 \n" + + "\vdescription\x18\x02 \x01(\fR\vdescription\x12\x10\n" + + "\x03url\x18\x03 \x01(\fR\x03url\x12\x1b\n" + + "\tnew_limit\x18\x04 \x01(\x03R\bnewLimit\x12(\n" + + "\x10new_public_limit\x18\x05 \x01(\x03R\x0enewPublicLimit\"\x9a\x01\n" + + "\x1dParticipateAssetIssueContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x12\x1d\n" + + "\n" + + "to_address\x18\x02 \x01(\fR\ttoAddress\x12\x1d\n" + + "\n" + + "asset_name\x18\x03 \x01(\fR\tassetName\x12\x16\n" + + "\x06amount\x18\x04 \x01(\x03R\x06amountBK\n" + + "\x18org.tron.protos.contractZ/github.com/fbsobreira/gotron-sdk/pkg/proto/coreb\x06proto3" var ( file_core_contract_asset_issue_contract_proto_rawDescOnce sync.Once - file_core_contract_asset_issue_contract_proto_rawDescData = file_core_contract_asset_issue_contract_proto_rawDesc + file_core_contract_asset_issue_contract_proto_rawDescData []byte ) func file_core_contract_asset_issue_contract_proto_rawDescGZIP() []byte { file_core_contract_asset_issue_contract_proto_rawDescOnce.Do(func() { - file_core_contract_asset_issue_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_asset_issue_contract_proto_rawDescData) + file_core_contract_asset_issue_contract_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_core_contract_asset_issue_contract_proto_rawDesc), len(file_core_contract_asset_issue_contract_proto_rawDesc))) }) return file_core_contract_asset_issue_contract_proto_rawDescData } var file_core_contract_asset_issue_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_core_contract_asset_issue_contract_proto_goTypes = []interface{}{ +var file_core_contract_asset_issue_contract_proto_goTypes = []any{ (*AssetIssueContract)(nil), // 0: protocol.AssetIssueContract (*TransferAssetContract)(nil), // 1: protocol.TransferAssetContract (*UnfreezeAssetContract)(nil), // 2: protocol.UnfreezeAssetContract @@ -666,85 +608,11 @@ func file_core_contract_asset_issue_contract_proto_init() { if File_core_contract_asset_issue_contract_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_core_contract_asset_issue_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AssetIssueContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_asset_issue_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransferAssetContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_asset_issue_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnfreezeAssetContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_asset_issue_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateAssetContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_asset_issue_contract_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ParticipateAssetIssueContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_asset_issue_contract_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AssetIssueContract_FrozenSupply); 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_core_contract_asset_issue_contract_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_core_contract_asset_issue_contract_proto_rawDesc), len(file_core_contract_asset_issue_contract_proto_rawDesc)), NumEnums: 0, NumMessages: 6, NumExtensions: 0, @@ -755,7 +623,6 @@ func file_core_contract_asset_issue_contract_proto_init() { MessageInfos: file_core_contract_asset_issue_contract_proto_msgTypes, }.Build() File_core_contract_asset_issue_contract_proto = out.File - file_core_contract_asset_issue_contract_proto_rawDesc = nil file_core_contract_asset_issue_contract_proto_goTypes = nil file_core_contract_asset_issue_contract_proto_depIdxs = nil } diff --git a/pkg/proto/core/balance_contract.pb.go b/pkg/proto/core/balance_contract.pb.go index 8f825f703..189fd4f1b 100644 --- a/pkg/proto/core/balance_contract.pb.go +++ b/pkg/proto/core/balance_contract.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 -// protoc v3.21.12 -// source: core/balance_contract.proto +// protoc-gen-go v1.36.6 +// protoc v5.29.3 +// source: core/contract/balance_contract.proto package core @@ -11,6 +11,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -21,24 +22,21 @@ const ( ) type FreezeBalanceContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - FrozenBalance int64 `protobuf:"varint,2,opt,name=frozen_balance,json=frozenBalance,proto3" json:"frozen_balance,omitempty"` - FrozenDuration int64 `protobuf:"varint,3,opt,name=frozen_duration,json=frozenDuration,proto3" json:"frozen_duration,omitempty"` - Resource ResourceCode `protobuf:"varint,10,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"` - ReceiverAddress []byte `protobuf:"bytes,15,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + FrozenBalance int64 `protobuf:"varint,2,opt,name=frozen_balance,json=frozenBalance,proto3" json:"frozen_balance,omitempty"` + FrozenDuration int64 `protobuf:"varint,3,opt,name=frozen_duration,json=frozenDuration,proto3" json:"frozen_duration,omitempty"` + Resource ResourceCode `protobuf:"varint,10,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"` + ReceiverAddress []byte `protobuf:"bytes,15,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *FreezeBalanceContract) Reset() { *x = FreezeBalanceContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_balance_contract_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_balance_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FreezeBalanceContract) String() string { @@ -49,7 +47,7 @@ func (*FreezeBalanceContract) ProtoMessage() {} func (x *FreezeBalanceContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_balance_contract_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,22 +98,19 @@ func (x *FreezeBalanceContract) GetReceiverAddress() []byte { } type UnfreezeBalanceContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Resource ResourceCode `protobuf:"varint,10,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"` - ReceiverAddress []byte `protobuf:"bytes,15,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Resource ResourceCode `protobuf:"varint,10,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"` + ReceiverAddress []byte `protobuf:"bytes,15,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UnfreezeBalanceContract) Reset() { *x = UnfreezeBalanceContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_balance_contract_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_balance_contract_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UnfreezeBalanceContract) String() string { @@ -126,7 +121,7 @@ func (*UnfreezeBalanceContract) ProtoMessage() {} func (x *UnfreezeBalanceContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_balance_contract_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,20 +158,17 @@ func (x *UnfreezeBalanceContract) GetReceiverAddress() []byte { } type WithdrawBalanceContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + sizeCache protoimpl.SizeCache } func (x *WithdrawBalanceContract) Reset() { *x = WithdrawBalanceContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_balance_contract_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_balance_contract_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WithdrawBalanceContract) String() string { @@ -187,7 +179,7 @@ func (*WithdrawBalanceContract) ProtoMessage() {} func (x *WithdrawBalanceContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_balance_contract_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) @@ -210,22 +202,19 @@ func (x *WithdrawBalanceContract) GetOwnerAddress() []byte { } type TransferContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ToAddress []byte `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` + Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ToAddress []byte `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` - Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` + sizeCache protoimpl.SizeCache } func (x *TransferContract) Reset() { *x = TransferContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_balance_contract_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_balance_contract_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransferContract) String() string { @@ -236,7 +225,7 @@ func (*TransferContract) ProtoMessage() {} func (x *TransferContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_balance_contract_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) @@ -273,23 +262,20 @@ func (x *TransferContract) GetAmount() int64 { } type TransactionBalanceTrace struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` TransactionIdentifier []byte `protobuf:"bytes,1,opt,name=transaction_identifier,json=transactionIdentifier,proto3" json:"transaction_identifier,omitempty"` Operation []*TransactionBalanceTrace_Operation `protobuf:"bytes,2,rep,name=operation,proto3" json:"operation,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TransactionBalanceTrace) Reset() { *x = TransactionBalanceTrace{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_balance_contract_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_balance_contract_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransactionBalanceTrace) String() string { @@ -300,7 +286,7 @@ func (*TransactionBalanceTrace) ProtoMessage() {} func (x *TransactionBalanceTrace) ProtoReflect() protoreflect.Message { mi := &file_core_contract_balance_contract_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) @@ -344,22 +330,19 @@ func (x *TransactionBalanceTrace) GetStatus() string { } type BlockBalanceTrace struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` BlockIdentifier *BlockBalanceTrace_BlockIdentifier `protobuf:"bytes,1,opt,name=block_identifier,json=blockIdentifier,proto3" json:"block_identifier,omitempty"` Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` TransactionBalanceTrace []*TransactionBalanceTrace `protobuf:"bytes,3,rep,name=transaction_balance_trace,json=transactionBalanceTrace,proto3" json:"transaction_balance_trace,omitempty"` // BlockIdentifier parent_block_identifier = 4; + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *BlockBalanceTrace) Reset() { *x = BlockBalanceTrace{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_balance_contract_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_balance_contract_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BlockBalanceTrace) String() string { @@ -370,7 +353,7 @@ func (*BlockBalanceTrace) ProtoMessage() {} func (x *BlockBalanceTrace) ProtoReflect() protoreflect.Message { mi := &file_core_contract_balance_contract_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) @@ -407,21 +390,18 @@ func (x *BlockBalanceTrace) GetTransactionBalanceTrace() []*TransactionBalanceTr } type AccountTrace struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Balance int64 `protobuf:"varint,1,opt,name=balance,proto3" json:"balance,omitempty"` + Placeholder int64 `protobuf:"varint,99,opt,name=placeholder,proto3" json:"placeholder,omitempty"` unknownFields protoimpl.UnknownFields - - Balance int64 `protobuf:"varint,1,opt,name=balance,proto3" json:"balance,omitempty"` - Placeholder int64 `protobuf:"varint,99,opt,name=placeholder,proto3" json:"placeholder,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AccountTrace) Reset() { *x = AccountTrace{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_balance_contract_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_balance_contract_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AccountTrace) String() string { @@ -432,7 +412,7 @@ func (*AccountTrace) ProtoMessage() {} func (x *AccountTrace) ProtoReflect() protoreflect.Message { mi := &file_core_contract_balance_contract_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) @@ -462,20 +442,17 @@ func (x *AccountTrace) GetPlaceholder() int64 { } type AccountIdentifier struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` unknownFields protoimpl.UnknownFields - - Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AccountIdentifier) Reset() { *x = AccountIdentifier{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_balance_contract_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_balance_contract_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AccountIdentifier) String() string { @@ -486,7 +463,7 @@ func (*AccountIdentifier) ProtoMessage() {} func (x *AccountIdentifier) ProtoReflect() protoreflect.Message { mi := &file_core_contract_balance_contract_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) @@ -509,21 +486,18 @@ func (x *AccountIdentifier) GetAddress() []byte { } type AccountBalanceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` AccountIdentifier *AccountIdentifier `protobuf:"bytes,1,opt,name=account_identifier,json=accountIdentifier,proto3" json:"account_identifier,omitempty"` BlockIdentifier *BlockBalanceTrace_BlockIdentifier `protobuf:"bytes,2,opt,name=block_identifier,json=blockIdentifier,proto3" json:"block_identifier,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AccountBalanceRequest) Reset() { *x = AccountBalanceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_balance_contract_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_balance_contract_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AccountBalanceRequest) String() string { @@ -534,7 +508,7 @@ func (*AccountBalanceRequest) ProtoMessage() {} func (x *AccountBalanceRequest) ProtoReflect() protoreflect.Message { mi := &file_core_contract_balance_contract_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) @@ -564,21 +538,18 @@ func (x *AccountBalanceRequest) GetBlockIdentifier() *BlockBalanceTrace_BlockIde } type AccountBalanceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Balance int64 `protobuf:"varint,1,opt,name=balance,proto3" json:"balance,omitempty"` BlockIdentifier *BlockBalanceTrace_BlockIdentifier `protobuf:"bytes,2,opt,name=block_identifier,json=blockIdentifier,proto3" json:"block_identifier,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AccountBalanceResponse) Reset() { *x = AccountBalanceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_balance_contract_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_balance_contract_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AccountBalanceResponse) String() string { @@ -589,7 +560,7 @@ func (*AccountBalanceResponse) ProtoMessage() {} func (x *AccountBalanceResponse) ProtoReflect() protoreflect.Message { mi := &file_core_contract_balance_contract_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) @@ -619,22 +590,19 @@ func (x *AccountBalanceResponse) GetBlockIdentifier() *BlockBalanceTrace_BlockId } type FreezeBalanceV2Contract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + FrozenBalance int64 `protobuf:"varint,2,opt,name=frozen_balance,json=frozenBalance,proto3" json:"frozen_balance,omitempty"` + Resource ResourceCode `protobuf:"varint,3,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"` unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - FrozenBalance int64 `protobuf:"varint,2,opt,name=frozen_balance,json=frozenBalance,proto3" json:"frozen_balance,omitempty"` - Resource ResourceCode `protobuf:"varint,3,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"` + sizeCache protoimpl.SizeCache } func (x *FreezeBalanceV2Contract) Reset() { *x = FreezeBalanceV2Contract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_balance_contract_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_balance_contract_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *FreezeBalanceV2Contract) String() string { @@ -645,7 +613,7 @@ func (*FreezeBalanceV2Contract) ProtoMessage() {} func (x *FreezeBalanceV2Contract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_balance_contract_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) @@ -682,22 +650,19 @@ func (x *FreezeBalanceV2Contract) GetResource() ResourceCode { } type UnfreezeBalanceV2Contract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - UnfreezeBalance int64 `protobuf:"varint,2,opt,name=unfreeze_balance,json=unfreezeBalance,proto3" json:"unfreeze_balance,omitempty"` - Resource ResourceCode `protobuf:"varint,3,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + UnfreezeBalance int64 `protobuf:"varint,2,opt,name=unfreeze_balance,json=unfreezeBalance,proto3" json:"unfreeze_balance,omitempty"` + Resource ResourceCode `protobuf:"varint,3,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UnfreezeBalanceV2Contract) Reset() { *x = UnfreezeBalanceV2Contract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_balance_contract_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_balance_contract_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UnfreezeBalanceV2Contract) String() string { @@ -708,7 +673,7 @@ func (*UnfreezeBalanceV2Contract) ProtoMessage() {} func (x *UnfreezeBalanceV2Contract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_balance_contract_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) @@ -745,20 +710,17 @@ func (x *UnfreezeBalanceV2Contract) GetResource() ResourceCode { } type WithdrawExpireUnfreezeContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + sizeCache protoimpl.SizeCache } func (x *WithdrawExpireUnfreezeContract) Reset() { *x = WithdrawExpireUnfreezeContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_balance_contract_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_balance_contract_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WithdrawExpireUnfreezeContract) String() string { @@ -769,7 +731,7 @@ func (*WithdrawExpireUnfreezeContract) ProtoMessage() {} func (x *WithdrawExpireUnfreezeContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_balance_contract_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) @@ -792,25 +754,22 @@ func (x *WithdrawExpireUnfreezeContract) GetOwnerAddress() []byte { } type DelegateResourceContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Resource ResourceCode `protobuf:"varint,2,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"` - Balance int64 `protobuf:"varint,3,opt,name=balance,proto3" json:"balance,omitempty"` - ReceiverAddress []byte `protobuf:"bytes,4,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"` - Lock bool `protobuf:"varint,5,opt,name=lock,proto3" json:"lock,omitempty"` - LockPeriod int64 `protobuf:"varint,6,opt,name=lock_period,json=lockPeriod,proto3" json:"lock_period,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Resource ResourceCode `protobuf:"varint,2,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"` + Balance int64 `protobuf:"varint,3,opt,name=balance,proto3" json:"balance,omitempty"` + ReceiverAddress []byte `protobuf:"bytes,4,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"` + Lock bool `protobuf:"varint,5,opt,name=lock,proto3" json:"lock,omitempty"` + LockPeriod int64 `protobuf:"varint,6,opt,name=lock_period,json=lockPeriod,proto3" json:"lock_period,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DelegateResourceContract) Reset() { *x = DelegateResourceContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_balance_contract_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_balance_contract_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DelegateResourceContract) String() string { @@ -821,7 +780,7 @@ func (*DelegateResourceContract) ProtoMessage() {} func (x *DelegateResourceContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_balance_contract_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) @@ -879,23 +838,20 @@ func (x *DelegateResourceContract) GetLockPeriod() int64 { } type UnDelegateResourceContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Resource ResourceCode `protobuf:"varint,2,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"` - Balance int64 `protobuf:"varint,3,opt,name=balance,proto3" json:"balance,omitempty"` - ReceiverAddress []byte `protobuf:"bytes,4,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Resource ResourceCode `protobuf:"varint,2,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"` + Balance int64 `protobuf:"varint,3,opt,name=balance,proto3" json:"balance,omitempty"` + ReceiverAddress []byte `protobuf:"bytes,4,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UnDelegateResourceContract) Reset() { *x = UnDelegateResourceContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_balance_contract_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_balance_contract_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UnDelegateResourceContract) String() string { @@ -906,7 +862,7 @@ func (*UnDelegateResourceContract) ProtoMessage() {} func (x *UnDelegateResourceContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_balance_contract_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) @@ -950,20 +906,17 @@ func (x *UnDelegateResourceContract) GetReceiverAddress() []byte { } type CancelAllUnfreezeV2Contract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CancelAllUnfreezeV2Contract) Reset() { *x = CancelAllUnfreezeV2Contract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_balance_contract_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_balance_contract_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CancelAllUnfreezeV2Contract) String() string { @@ -974,7 +927,7 @@ func (*CancelAllUnfreezeV2Contract) ProtoMessage() {} func (x *CancelAllUnfreezeV2Contract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_balance_contract_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) @@ -997,22 +950,19 @@ func (x *CancelAllUnfreezeV2Contract) GetOwnerAddress() []byte { } type TransactionBalanceTrace_Operation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OperationIdentifier int64 `protobuf:"varint,1,opt,name=operation_identifier,json=operationIdentifier,proto3" json:"operation_identifier,omitempty"` - Address []byte `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` - Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + OperationIdentifier int64 `protobuf:"varint,1,opt,name=operation_identifier,json=operationIdentifier,proto3" json:"operation_identifier,omitempty"` + Address []byte `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` + Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TransactionBalanceTrace_Operation) Reset() { *x = TransactionBalanceTrace_Operation{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_balance_contract_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_balance_contract_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TransactionBalanceTrace_Operation) String() string { @@ -1023,7 +973,7 @@ func (*TransactionBalanceTrace_Operation) ProtoMessage() {} func (x *TransactionBalanceTrace_Operation) ProtoReflect() protoreflect.Message { mi := &file_core_contract_balance_contract_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) @@ -1060,21 +1010,18 @@ func (x *TransactionBalanceTrace_Operation) GetAmount() int64 { } type BlockBalanceTrace_BlockIdentifier struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` + Number int64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` unknownFields protoimpl.UnknownFields - - Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - Number int64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` + sizeCache protoimpl.SizeCache } func (x *BlockBalanceTrace_BlockIdentifier) Reset() { *x = BlockBalanceTrace_BlockIdentifier{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_balance_contract_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_balance_contract_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BlockBalanceTrace_BlockIdentifier) String() string { @@ -1085,7 +1032,7 @@ func (*BlockBalanceTrace_BlockIdentifier) ProtoMessage() {} func (x *BlockBalanceTrace_BlockIdentifier) ProtoReflect() protoreflect.Message { mi := &file_core_contract_balance_contract_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) @@ -1116,191 +1063,96 @@ func (x *BlockBalanceTrace_BlockIdentifier) GetNumber() int64 { var File_core_contract_balance_contract_proto protoreflect.FileDescriptor -var file_core_contract_balance_contract_proto_rawDesc = []byte{ - 0x0a, 0x24, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, - 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x1a, 0x1a, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, - 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xeb, 0x01, 0x0a, - 0x15, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x66, - 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0d, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, - 0x63, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x64, 0x75, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x66, 0x72, 0x6f, - 0x7a, 0x65, 0x6e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x08, 0x72, - 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, - 0x29, 0x0a, 0x10, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x65, 0x69, - 0x76, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x9d, 0x01, 0x0a, 0x17, 0x55, - 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x32, 0x0a, 0x08, 0x72, - 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, - 0x29, 0x0a, 0x10, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x65, 0x69, - 0x76, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x3e, 0x0a, 0x17, 0x57, 0x69, - 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x6e, 0x0a, 0x10, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, - 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 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, 0xb9, 0x02, 0x0a, 0x17, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, - 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x12, 0x35, 0x0a, 0x16, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x15, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x49, 0x0a, - 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, - 0x61, 0x63, 0x65, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6f, - 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, - 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x1a, 0x70, 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x31, 0x0a, 0x14, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x13, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x66, 0x69, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 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, 0xa7, 0x02, 0x0a, 0x11, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x12, 0x56, 0x0a, 0x10, - 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, - 0x61, 0x63, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, - 0x69, 0x65, 0x72, 0x52, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x66, 0x69, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, - 0x6d, 0x70, 0x12, 0x5d, 0x0a, 0x19, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x18, - 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x61, 0x6c, 0x61, - 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x52, 0x17, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x63, - 0x65, 0x1a, 0x3d, 0x0a, 0x0f, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x66, 0x69, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, - 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, - 0x22, 0x4a, 0x0a, 0x0c, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x72, 0x61, 0x63, 0x65, - 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x6c, - 0x61, 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x63, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0b, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x22, 0x2d, 0x0a, 0x11, - 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, - 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xbb, 0x01, 0x0a, 0x15, - 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x12, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x11, - 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, - 0x72, 0x12, 0x56, 0x0a, 0x10, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x61, 0x6c, 0x61, - 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x22, 0x8a, 0x01, 0x0a, 0x16, 0x41, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x56, - 0x0a, 0x10, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, - 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, - 0x54, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x65, 0x6e, - 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x22, 0x99, 0x01, 0x0a, 0x17, 0x46, 0x72, 0x65, 0x65, 0x7a, - 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x66, 0x72, 0x6f, 0x7a, 0x65, - 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0d, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x32, - 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x22, 0x9f, 0x01, 0x0a, 0x19, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, - 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, - 0x65, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0f, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, - 0x12, 0x32, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x22, 0x45, 0x0a, 0x1e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, - 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xed, 0x01, 0x0a, 0x18, - 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x32, 0x0a, - 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 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, 0x29, 0x0a, 0x10, 0x72, - 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, - 0x63, 0x6b, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0a, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x22, 0xba, 0x01, 0x0a, 0x1a, - 0x55, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, - 0x32, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 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, 0x29, 0x0a, - 0x10, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, - 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x42, 0x0a, 0x1b, 0x43, 0x61, 0x6e, 0x63, - 0x65, 0x6c, 0x41, 0x6c, 0x6c, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x45, 0x0a, 0x18, - 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, - 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x63, - 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_core_contract_balance_contract_proto_rawDesc = "" + + "\n" + + "$core/contract/balance_contract.proto\x12\bprotocol\x1a\x1acore/contract/common.proto\"\xeb\x01\n" + + "\x15FreezeBalanceContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x12%\n" + + "\x0efrozen_balance\x18\x02 \x01(\x03R\rfrozenBalance\x12'\n" + + "\x0ffrozen_duration\x18\x03 \x01(\x03R\x0efrozenDuration\x122\n" + + "\bresource\x18\n" + + " \x01(\x0e2\x16.protocol.ResourceCodeR\bresource\x12)\n" + + "\x10receiver_address\x18\x0f \x01(\fR\x0freceiverAddress\"\x9d\x01\n" + + "\x17UnfreezeBalanceContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x122\n" + + "\bresource\x18\n" + + " \x01(\x0e2\x16.protocol.ResourceCodeR\bresource\x12)\n" + + "\x10receiver_address\x18\x0f \x01(\fR\x0freceiverAddress\">\n" + + "\x17WithdrawBalanceContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\"n\n" + + "\x10TransferContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x12\x1d\n" + + "\n" + + "to_address\x18\x02 \x01(\fR\ttoAddress\x12\x16\n" + + "\x06amount\x18\x03 \x01(\x03R\x06amount\"\xb9\x02\n" + + "\x17TransactionBalanceTrace\x125\n" + + "\x16transaction_identifier\x18\x01 \x01(\fR\x15transactionIdentifier\x12I\n" + + "\toperation\x18\x02 \x03(\v2+.protocol.TransactionBalanceTrace.OperationR\toperation\x12\x12\n" + + "\x04type\x18\x03 \x01(\tR\x04type\x12\x16\n" + + "\x06status\x18\x04 \x01(\tR\x06status\x1ap\n" + + "\tOperation\x121\n" + + "\x14operation_identifier\x18\x01 \x01(\x03R\x13operationIdentifier\x12\x18\n" + + "\aaddress\x18\x02 \x01(\fR\aaddress\x12\x16\n" + + "\x06amount\x18\x03 \x01(\x03R\x06amount\"\xa7\x02\n" + + "\x11BlockBalanceTrace\x12V\n" + + "\x10block_identifier\x18\x01 \x01(\v2+.protocol.BlockBalanceTrace.BlockIdentifierR\x0fblockIdentifier\x12\x1c\n" + + "\ttimestamp\x18\x02 \x01(\x03R\ttimestamp\x12]\n" + + "\x19transaction_balance_trace\x18\x03 \x03(\v2!.protocol.TransactionBalanceTraceR\x17transactionBalanceTrace\x1a=\n" + + "\x0fBlockIdentifier\x12\x12\n" + + "\x04hash\x18\x01 \x01(\fR\x04hash\x12\x16\n" + + "\x06number\x18\x02 \x01(\x03R\x06number\"J\n" + + "\fAccountTrace\x12\x18\n" + + "\abalance\x18\x01 \x01(\x03R\abalance\x12 \n" + + "\vplaceholder\x18c \x01(\x03R\vplaceholder\"-\n" + + "\x11AccountIdentifier\x12\x18\n" + + "\aaddress\x18\x01 \x01(\fR\aaddress\"\xbb\x01\n" + + "\x15AccountBalanceRequest\x12J\n" + + "\x12account_identifier\x18\x01 \x01(\v2\x1b.protocol.AccountIdentifierR\x11accountIdentifier\x12V\n" + + "\x10block_identifier\x18\x02 \x01(\v2+.protocol.BlockBalanceTrace.BlockIdentifierR\x0fblockIdentifier\"\x8a\x01\n" + + "\x16AccountBalanceResponse\x12\x18\n" + + "\abalance\x18\x01 \x01(\x03R\abalance\x12V\n" + + "\x10block_identifier\x18\x02 \x01(\v2+.protocol.BlockBalanceTrace.BlockIdentifierR\x0fblockIdentifier\"\x99\x01\n" + + "\x17FreezeBalanceV2Contract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x12%\n" + + "\x0efrozen_balance\x18\x02 \x01(\x03R\rfrozenBalance\x122\n" + + "\bresource\x18\x03 \x01(\x0e2\x16.protocol.ResourceCodeR\bresource\"\x9f\x01\n" + + "\x19UnfreezeBalanceV2Contract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x12)\n" + + "\x10unfreeze_balance\x18\x02 \x01(\x03R\x0funfreezeBalance\x122\n" + + "\bresource\x18\x03 \x01(\x0e2\x16.protocol.ResourceCodeR\bresource\"E\n" + + "\x1eWithdrawExpireUnfreezeContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\"\xed\x01\n" + + "\x18DelegateResourceContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x122\n" + + "\bresource\x18\x02 \x01(\x0e2\x16.protocol.ResourceCodeR\bresource\x12\x18\n" + + "\abalance\x18\x03 \x01(\x03R\abalance\x12)\n" + + "\x10receiver_address\x18\x04 \x01(\fR\x0freceiverAddress\x12\x12\n" + + "\x04lock\x18\x05 \x01(\bR\x04lock\x12\x1f\n" + + "\vlock_period\x18\x06 \x01(\x03R\n" + + "lockPeriod\"\xba\x01\n" + + "\x1aUnDelegateResourceContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x122\n" + + "\bresource\x18\x02 \x01(\x0e2\x16.protocol.ResourceCodeR\bresource\x12\x18\n" + + "\abalance\x18\x03 \x01(\x03R\abalance\x12)\n" + + "\x10receiver_address\x18\x04 \x01(\fR\x0freceiverAddress\"B\n" + + "\x1bCancelAllUnfreezeV2Contract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddressBK\n" + + "\x18org.tron.protos.contractZ/github.com/fbsobreira/gotron-sdk/pkg/proto/coreb\x06proto3" var ( file_core_contract_balance_contract_proto_rawDescOnce sync.Once - file_core_contract_balance_contract_proto_rawDescData = file_core_contract_balance_contract_proto_rawDesc + file_core_contract_balance_contract_proto_rawDescData []byte ) func file_core_contract_balance_contract_proto_rawDescGZIP() []byte { file_core_contract_balance_contract_proto_rawDescOnce.Do(func() { - file_core_contract_balance_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_balance_contract_proto_rawDescData) + file_core_contract_balance_contract_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_core_contract_balance_contract_proto_rawDesc), len(file_core_contract_balance_contract_proto_rawDesc))) }) return file_core_contract_balance_contract_proto_rawDescData } var file_core_contract_balance_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 18) -var file_core_contract_balance_contract_proto_goTypes = []interface{}{ +var file_core_contract_balance_contract_proto_goTypes = []any{ (*FreezeBalanceContract)(nil), // 0: protocol.FreezeBalanceContract (*UnfreezeBalanceContract)(nil), // 1: protocol.UnfreezeBalanceContract (*WithdrawBalanceContract)(nil), // 2: protocol.WithdrawBalanceContract @@ -1347,229 +1199,11 @@ func file_core_contract_balance_contract_proto_init() { return } file_core_contract_common_proto_init() - if !protoimpl.UnsafeEnabled { - file_core_contract_balance_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FreezeBalanceContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_balance_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnfreezeBalanceContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_balance_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WithdrawBalanceContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_balance_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransferContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_balance_contract_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionBalanceTrace); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_balance_contract_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockBalanceTrace); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_balance_contract_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AccountTrace); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_balance_contract_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AccountIdentifier); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_balance_contract_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AccountBalanceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_balance_contract_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AccountBalanceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_balance_contract_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FreezeBalanceV2Contract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_balance_contract_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnfreezeBalanceV2Contract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_balance_contract_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WithdrawExpireUnfreezeContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_balance_contract_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DelegateResourceContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_balance_contract_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnDelegateResourceContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_balance_contract_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CancelAllUnfreezeV2Contract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_balance_contract_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransactionBalanceTrace_Operation); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_balance_contract_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BlockBalanceTrace_BlockIdentifier); 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_core_contract_balance_contract_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_core_contract_balance_contract_proto_rawDesc), len(file_core_contract_balance_contract_proto_rawDesc)), NumEnums: 0, NumMessages: 18, NumExtensions: 0, @@ -1580,7 +1214,6 @@ func file_core_contract_balance_contract_proto_init() { MessageInfos: file_core_contract_balance_contract_proto_msgTypes, }.Build() File_core_contract_balance_contract_proto = out.File - file_core_contract_balance_contract_proto_rawDesc = nil file_core_contract_balance_contract_proto_goTypes = nil file_core_contract_balance_contract_proto_depIdxs = nil } diff --git a/pkg/proto/core/common.pb.go b/pkg/proto/core/common.pb.go index 2a902352e..bec4f7f93 100644 --- a/pkg/proto/core/common.pb.go +++ b/pkg/proto/core/common.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 -// protoc v3.21.12 -// source: core/common.proto +// protoc-gen-go v1.36.6 +// protoc v5.29.3 +// source: core/contract/common.proto package core @@ -11,6 +11,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -71,34 +72,31 @@ func (ResourceCode) EnumDescriptor() ([]byte, []int) { var File_core_contract_common_proto protoreflect.FileDescriptor -var file_core_contract_common_proto_rawDesc = []byte{ - 0x0a, 0x1a, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, - 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2a, 0x39, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x0d, 0x0a, 0x09, 0x42, 0x41, 0x4e, 0x44, 0x57, 0x49, - 0x44, 0x54, 0x48, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x45, 0x4e, 0x45, 0x52, 0x47, 0x59, 0x10, - 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x52, 0x4f, 0x4e, 0x5f, 0x50, 0x4f, 0x57, 0x45, 0x52, 0x10, - 0x02, 0x42, 0x45, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x29, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, - 0x77, 0x61, 0x79, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_core_contract_common_proto_rawDesc = "" + + "\n" + + "\x1acore/contract/common.proto\x12\bprotocol*9\n" + + "\fResourceCode\x12\r\n" + + "\tBANDWIDTH\x10\x00\x12\n" + + "\n" + + "\x06ENERGY\x10\x01\x12\x0e\n" + + "\n" + + "TRON_POWER\x10\x02BK\n" + + "\x18org.tron.protos.contractZ/github.com/fbsobreira/gotron-sdk/pkg/proto/coreb\x06proto3" var ( file_core_contract_common_proto_rawDescOnce sync.Once - file_core_contract_common_proto_rawDescData = file_core_contract_common_proto_rawDesc + file_core_contract_common_proto_rawDescData []byte ) func file_core_contract_common_proto_rawDescGZIP() []byte { file_core_contract_common_proto_rawDescOnce.Do(func() { - file_core_contract_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_common_proto_rawDescData) + file_core_contract_common_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_core_contract_common_proto_rawDesc), len(file_core_contract_common_proto_rawDesc))) }) return file_core_contract_common_proto_rawDescData } var file_core_contract_common_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_core_contract_common_proto_goTypes = []interface{}{ +var file_core_contract_common_proto_goTypes = []any{ (ResourceCode)(0), // 0: protocol.ResourceCode } var file_core_contract_common_proto_depIdxs = []int32{ @@ -118,7 +116,7 @@ func file_core_contract_common_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_core_contract_common_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_core_contract_common_proto_rawDesc), len(file_core_contract_common_proto_rawDesc)), NumEnums: 1, NumMessages: 0, NumExtensions: 0, @@ -129,7 +127,6 @@ func file_core_contract_common_proto_init() { EnumInfos: file_core_contract_common_proto_enumTypes, }.Build() File_core_contract_common_proto = out.File - file_core_contract_common_proto_rawDesc = nil file_core_contract_common_proto_goTypes = nil file_core_contract_common_proto_depIdxs = nil } diff --git a/pkg/proto/core/exchange_contract.pb.go b/pkg/proto/core/exchange_contract.pb.go index 4bf470216..81feb69da 100644 --- a/pkg/proto/core/exchange_contract.pb.go +++ b/pkg/proto/core/exchange_contract.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 -// protoc v3.21.12 -// source: core/exchange_contract.proto +// protoc-gen-go v1.36.6 +// protoc v5.29.3 +// source: core/contract/exchange_contract.proto package core @@ -11,6 +11,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -21,24 +22,21 @@ const ( ) type ExchangeCreateContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - FirstTokenId []byte `protobuf:"bytes,2,opt,name=first_token_id,json=firstTokenId,proto3" json:"first_token_id,omitempty"` - FirstTokenBalance int64 `protobuf:"varint,3,opt,name=first_token_balance,json=firstTokenBalance,proto3" json:"first_token_balance,omitempty"` - SecondTokenId []byte `protobuf:"bytes,4,opt,name=second_token_id,json=secondTokenId,proto3" json:"second_token_id,omitempty"` - SecondTokenBalance int64 `protobuf:"varint,5,opt,name=second_token_balance,json=secondTokenBalance,proto3" json:"second_token_balance,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + FirstTokenId []byte `protobuf:"bytes,2,opt,name=first_token_id,json=firstTokenId,proto3" json:"first_token_id,omitempty"` + FirstTokenBalance int64 `protobuf:"varint,3,opt,name=first_token_balance,json=firstTokenBalance,proto3" json:"first_token_balance,omitempty"` + SecondTokenId []byte `protobuf:"bytes,4,opt,name=second_token_id,json=secondTokenId,proto3" json:"second_token_id,omitempty"` + SecondTokenBalance int64 `protobuf:"varint,5,opt,name=second_token_balance,json=secondTokenBalance,proto3" json:"second_token_balance,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ExchangeCreateContract) Reset() { *x = ExchangeCreateContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_exchange_contract_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_exchange_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExchangeCreateContract) String() string { @@ -49,7 +47,7 @@ func (*ExchangeCreateContract) ProtoMessage() {} func (x *ExchangeCreateContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_exchange_contract_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,23 +98,20 @@ func (x *ExchangeCreateContract) GetSecondTokenBalance() int64 { } type ExchangeInjectContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ExchangeId int64 `protobuf:"varint,2,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"` + TokenId []byte `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` + Quant int64 `protobuf:"varint,4,opt,name=quant,proto3" json:"quant,omitempty"` unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ExchangeId int64 `protobuf:"varint,2,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"` - TokenId []byte `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` - Quant int64 `protobuf:"varint,4,opt,name=quant,proto3" json:"quant,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ExchangeInjectContract) Reset() { *x = ExchangeInjectContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_exchange_contract_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_exchange_contract_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExchangeInjectContract) String() string { @@ -127,7 +122,7 @@ func (*ExchangeInjectContract) ProtoMessage() {} func (x *ExchangeInjectContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_exchange_contract_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,23 +166,20 @@ func (x *ExchangeInjectContract) GetQuant() int64 { } type ExchangeWithdrawContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ExchangeId int64 `protobuf:"varint,2,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"` + TokenId []byte `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` + Quant int64 `protobuf:"varint,4,opt,name=quant,proto3" json:"quant,omitempty"` unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ExchangeId int64 `protobuf:"varint,2,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"` - TokenId []byte `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` - Quant int64 `protobuf:"varint,4,opt,name=quant,proto3" json:"quant,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ExchangeWithdrawContract) Reset() { *x = ExchangeWithdrawContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_exchange_contract_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_exchange_contract_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExchangeWithdrawContract) String() string { @@ -198,7 +190,7 @@ func (*ExchangeWithdrawContract) ProtoMessage() {} func (x *ExchangeWithdrawContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_exchange_contract_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) @@ -242,24 +234,21 @@ func (x *ExchangeWithdrawContract) GetQuant() int64 { } type ExchangeTransactionContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ExchangeId int64 `protobuf:"varint,2,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"` + TokenId []byte `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` + Quant int64 `protobuf:"varint,4,opt,name=quant,proto3" json:"quant,omitempty"` + Expected int64 `protobuf:"varint,5,opt,name=expected,proto3" json:"expected,omitempty"` unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ExchangeId int64 `protobuf:"varint,2,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"` - TokenId []byte `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` - Quant int64 `protobuf:"varint,4,opt,name=quant,proto3" json:"quant,omitempty"` - Expected int64 `protobuf:"varint,5,opt,name=expected,proto3" json:"expected,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ExchangeTransactionContract) Reset() { *x = ExchangeTransactionContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_exchange_contract_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_exchange_contract_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExchangeTransactionContract) String() string { @@ -270,7 +259,7 @@ func (*ExchangeTransactionContract) ProtoMessage() {} func (x *ExchangeTransactionContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_exchange_contract_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) @@ -322,76 +311,50 @@ func (x *ExchangeTransactionContract) GetExpected() int64 { var File_core_contract_exchange_contract_proto protoreflect.FileDescriptor -var file_core_contract_exchange_contract_proto_rawDesc = []byte{ - 0x0a, 0x25, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, - 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x22, 0xed, 0x01, 0x0a, 0x16, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, - 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x66, 0x69, 0x72, 0x73, 0x74, - 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x66, 0x69, 0x72, 0x73, 0x74, - 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x66, 0x69, 0x72, 0x73, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, - 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x65, 0x63, 0x6f, 0x6e, - 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x0d, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, - 0x30, 0x0a, 0x14, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, - 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x73, - 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, - 0x65, 0x22, 0x8f, 0x01, 0x0a, 0x16, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, - 0x6a, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, - 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x71, 0x75, - 0x61, 0x6e, 0x74, 0x22, 0x91, 0x01, 0x0a, 0x18, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, - 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x63, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, - 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, - 0x64, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x22, 0xb0, 0x01, 0x0a, 0x1b, 0x45, 0x78, 0x63, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, - 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0a, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, - 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x61, 0x6e, - 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x12, 0x1a, - 0x0a, 0x08, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x08, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x45, 0x0a, 0x18, 0x6f, 0x72, - 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, - 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x63, 0x6f, 0x72, - 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_core_contract_exchange_contract_proto_rawDesc = "" + + "\n" + + "%core/contract/exchange_contract.proto\x12\bprotocol\"\xed\x01\n" + + "\x16ExchangeCreateContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x12$\n" + + "\x0efirst_token_id\x18\x02 \x01(\fR\ffirstTokenId\x12.\n" + + "\x13first_token_balance\x18\x03 \x01(\x03R\x11firstTokenBalance\x12&\n" + + "\x0fsecond_token_id\x18\x04 \x01(\fR\rsecondTokenId\x120\n" + + "\x14second_token_balance\x18\x05 \x01(\x03R\x12secondTokenBalance\"\x8f\x01\n" + + "\x16ExchangeInjectContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x12\x1f\n" + + "\vexchange_id\x18\x02 \x01(\x03R\n" + + "exchangeId\x12\x19\n" + + "\btoken_id\x18\x03 \x01(\fR\atokenId\x12\x14\n" + + "\x05quant\x18\x04 \x01(\x03R\x05quant\"\x91\x01\n" + + "\x18ExchangeWithdrawContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x12\x1f\n" + + "\vexchange_id\x18\x02 \x01(\x03R\n" + + "exchangeId\x12\x19\n" + + "\btoken_id\x18\x03 \x01(\fR\atokenId\x12\x14\n" + + "\x05quant\x18\x04 \x01(\x03R\x05quant\"\xb0\x01\n" + + "\x1bExchangeTransactionContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x12\x1f\n" + + "\vexchange_id\x18\x02 \x01(\x03R\n" + + "exchangeId\x12\x19\n" + + "\btoken_id\x18\x03 \x01(\fR\atokenId\x12\x14\n" + + "\x05quant\x18\x04 \x01(\x03R\x05quant\x12\x1a\n" + + "\bexpected\x18\x05 \x01(\x03R\bexpectedBK\n" + + "\x18org.tron.protos.contractZ/github.com/fbsobreira/gotron-sdk/pkg/proto/coreb\x06proto3" var ( file_core_contract_exchange_contract_proto_rawDescOnce sync.Once - file_core_contract_exchange_contract_proto_rawDescData = file_core_contract_exchange_contract_proto_rawDesc + file_core_contract_exchange_contract_proto_rawDescData []byte ) func file_core_contract_exchange_contract_proto_rawDescGZIP() []byte { file_core_contract_exchange_contract_proto_rawDescOnce.Do(func() { - file_core_contract_exchange_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_exchange_contract_proto_rawDescData) + file_core_contract_exchange_contract_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_core_contract_exchange_contract_proto_rawDesc), len(file_core_contract_exchange_contract_proto_rawDesc))) }) return file_core_contract_exchange_contract_proto_rawDescData } var file_core_contract_exchange_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_core_contract_exchange_contract_proto_goTypes = []interface{}{ +var file_core_contract_exchange_contract_proto_goTypes = []any{ (*ExchangeCreateContract)(nil), // 0: protocol.ExchangeCreateContract (*ExchangeInjectContract)(nil), // 1: protocol.ExchangeInjectContract (*ExchangeWithdrawContract)(nil), // 2: protocol.ExchangeWithdrawContract @@ -410,61 +373,11 @@ func file_core_contract_exchange_contract_proto_init() { if File_core_contract_exchange_contract_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_core_contract_exchange_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExchangeCreateContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_exchange_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExchangeInjectContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_exchange_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExchangeWithdrawContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_exchange_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExchangeTransactionContract); 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_core_contract_exchange_contract_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_core_contract_exchange_contract_proto_rawDesc), len(file_core_contract_exchange_contract_proto_rawDesc)), NumEnums: 0, NumMessages: 4, NumExtensions: 0, @@ -475,7 +388,6 @@ func file_core_contract_exchange_contract_proto_init() { MessageInfos: file_core_contract_exchange_contract_proto_msgTypes, }.Build() File_core_contract_exchange_contract_proto = out.File - file_core_contract_exchange_contract_proto_rawDesc = nil file_core_contract_exchange_contract_proto_goTypes = nil file_core_contract_exchange_contract_proto_depIdxs = nil } diff --git a/pkg/proto/core/market_contract.pb.go b/pkg/proto/core/market_contract.pb.go index 510efe4c8..cde82b58a 100644 --- a/pkg/proto/core/market_contract.pb.go +++ b/pkg/proto/core/market_contract.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 -// protoc v3.21.12 -// source: core/market_contract.proto +// protoc-gen-go v1.36.6 +// protoc v5.29.3 +// source: core/contract/market_contract.proto package core @@ -11,6 +11,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -21,24 +22,21 @@ const ( ) type MarketSellAssetContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - SellTokenId []byte `protobuf:"bytes,2,opt,name=sell_token_id,json=sellTokenId,proto3" json:"sell_token_id,omitempty"` - SellTokenQuantity int64 `protobuf:"varint,3,opt,name=sell_token_quantity,json=sellTokenQuantity,proto3" json:"sell_token_quantity,omitempty"` - BuyTokenId []byte `protobuf:"bytes,4,opt,name=buy_token_id,json=buyTokenId,proto3" json:"buy_token_id,omitempty"` - BuyTokenQuantity int64 `protobuf:"varint,5,opt,name=buy_token_quantity,json=buyTokenQuantity,proto3" json:"buy_token_quantity,omitempty"` // min to receive + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + SellTokenId []byte `protobuf:"bytes,2,opt,name=sell_token_id,json=sellTokenId,proto3" json:"sell_token_id,omitempty"` + SellTokenQuantity int64 `protobuf:"varint,3,opt,name=sell_token_quantity,json=sellTokenQuantity,proto3" json:"sell_token_quantity,omitempty"` + BuyTokenId []byte `protobuf:"bytes,4,opt,name=buy_token_id,json=buyTokenId,proto3" json:"buy_token_id,omitempty"` + BuyTokenQuantity int64 `protobuf:"varint,5,opt,name=buy_token_quantity,json=buyTokenQuantity,proto3" json:"buy_token_quantity,omitempty"` // min to receive + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MarketSellAssetContract) Reset() { *x = MarketSellAssetContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_market_contract_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_market_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MarketSellAssetContract) String() string { @@ -49,7 +47,7 @@ func (*MarketSellAssetContract) ProtoMessage() {} func (x *MarketSellAssetContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_market_contract_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,21 +98,18 @@ func (x *MarketSellAssetContract) GetBuyTokenQuantity() int64 { } type MarketCancelOrderContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + OrderId []byte `protobuf:"bytes,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - OrderId []byte `protobuf:"bytes,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MarketCancelOrderContract) Reset() { *x = MarketCancelOrderContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_market_contract_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_market_contract_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MarketCancelOrderContract) String() string { @@ -125,7 +120,7 @@ func (*MarketCancelOrderContract) ProtoMessage() {} func (x *MarketCancelOrderContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_market_contract_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) @@ -156,51 +151,35 @@ func (x *MarketCancelOrderContract) GetOrderId() []byte { var File_core_contract_market_contract_proto protoreflect.FileDescriptor -var file_core_contract_market_contract_proto_rawDesc = []byte{ - 0x0a, 0x23, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, - 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, - 0xe2, 0x01, 0x0a, 0x17, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x6c, 0x41, 0x73, - 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, - 0x65, 0x6e, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, - 0x65, 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x11, 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x51, 0x75, 0x61, 0x6e, - 0x74, 0x69, 0x74, 0x79, 0x12, 0x20, 0x0a, 0x0c, 0x62, 0x75, 0x79, 0x5f, 0x74, 0x6f, 0x6b, 0x65, - 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x62, 0x75, 0x79, 0x54, - 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x62, 0x75, 0x79, 0x5f, 0x74, 0x6f, - 0x6b, 0x65, 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x10, 0x62, 0x75, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x51, 0x75, 0x61, 0x6e, - 0x74, 0x69, 0x74, 0x79, 0x22, 0x5b, 0x0a, 0x19, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x43, 0x61, - 0x6e, 0x63, 0x65, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, - 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, - 0x64, 0x42, 0x45, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x29, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, - 0x77, 0x61, 0x79, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_core_contract_market_contract_proto_rawDesc = "" + + "\n" + + "#core/contract/market_contract.proto\x12\bprotocol\"\xe2\x01\n" + + "\x17MarketSellAssetContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x12\"\n" + + "\rsell_token_id\x18\x02 \x01(\fR\vsellTokenId\x12.\n" + + "\x13sell_token_quantity\x18\x03 \x01(\x03R\x11sellTokenQuantity\x12 \n" + + "\fbuy_token_id\x18\x04 \x01(\fR\n" + + "buyTokenId\x12,\n" + + "\x12buy_token_quantity\x18\x05 \x01(\x03R\x10buyTokenQuantity\"[\n" + + "\x19MarketCancelOrderContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x12\x19\n" + + "\border_id\x18\x02 \x01(\fR\aorderIdBK\n" + + "\x18org.tron.protos.contractZ/github.com/fbsobreira/gotron-sdk/pkg/proto/coreb\x06proto3" var ( file_core_contract_market_contract_proto_rawDescOnce sync.Once - file_core_contract_market_contract_proto_rawDescData = file_core_contract_market_contract_proto_rawDesc + file_core_contract_market_contract_proto_rawDescData []byte ) func file_core_contract_market_contract_proto_rawDescGZIP() []byte { file_core_contract_market_contract_proto_rawDescOnce.Do(func() { - file_core_contract_market_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_market_contract_proto_rawDescData) + file_core_contract_market_contract_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_core_contract_market_contract_proto_rawDesc), len(file_core_contract_market_contract_proto_rawDesc))) }) return file_core_contract_market_contract_proto_rawDescData } var file_core_contract_market_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_core_contract_market_contract_proto_goTypes = []interface{}{ +var file_core_contract_market_contract_proto_goTypes = []any{ (*MarketSellAssetContract)(nil), // 0: protocol.MarketSellAssetContract (*MarketCancelOrderContract)(nil), // 1: protocol.MarketCancelOrderContract } @@ -217,37 +196,11 @@ func file_core_contract_market_contract_proto_init() { if File_core_contract_market_contract_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_core_contract_market_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarketSellAssetContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_market_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarketCancelOrderContract); 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_core_contract_market_contract_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_core_contract_market_contract_proto_rawDesc), len(file_core_contract_market_contract_proto_rawDesc)), NumEnums: 0, NumMessages: 2, NumExtensions: 0, @@ -258,7 +211,6 @@ func file_core_contract_market_contract_proto_init() { MessageInfos: file_core_contract_market_contract_proto_msgTypes, }.Build() File_core_contract_market_contract_proto = out.File - file_core_contract_market_contract_proto_rawDesc = nil file_core_contract_market_contract_proto_goTypes = nil file_core_contract_market_contract_proto_depIdxs = nil } diff --git a/pkg/proto/core/proposal_contract.pb.go b/pkg/proto/core/proposal_contract.pb.go index dcb77a152..2d622138b 100644 --- a/pkg/proto/core/proposal_contract.pb.go +++ b/pkg/proto/core/proposal_contract.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 -// protoc v3.21.12 -// source: core/proposal_contract.proto +// protoc-gen-go v1.36.6 +// protoc v5.29.3 +// source: core/contract/proposal_contract.proto package core @@ -11,6 +11,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -21,22 +22,19 @@ const ( ) type ProposalApproveContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ProposalId int64 `protobuf:"varint,2,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` + IsAddApproval bool `protobuf:"varint,3,opt,name=is_add_approval,json=isAddApproval,proto3" json:"is_add_approval,omitempty"` // add or remove approval unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ProposalId int64 `protobuf:"varint,2,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` - IsAddApproval bool `protobuf:"varint,3,opt,name=is_add_approval,json=isAddApproval,proto3" json:"is_add_approval,omitempty"` // add or remove approval + sizeCache protoimpl.SizeCache } func (x *ProposalApproveContract) Reset() { *x = ProposalApproveContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_proposal_contract_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_proposal_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProposalApproveContract) String() string { @@ -47,7 +45,7 @@ func (*ProposalApproveContract) ProtoMessage() {} func (x *ProposalApproveContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_proposal_contract_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) @@ -84,21 +82,18 @@ func (x *ProposalApproveContract) GetIsAddApproval() bool { } type ProposalCreateContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Parameters map[int64]int64 `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Parameters map[int64]int64 `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + sizeCache protoimpl.SizeCache } func (x *ProposalCreateContract) Reset() { *x = ProposalCreateContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_proposal_contract_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_proposal_contract_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProposalCreateContract) String() string { @@ -109,7 +104,7 @@ func (*ProposalCreateContract) ProtoMessage() {} func (x *ProposalCreateContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_proposal_contract_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) @@ -139,21 +134,18 @@ func (x *ProposalCreateContract) GetParameters() map[int64]int64 { } type ProposalDeleteContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ProposalId int64 `protobuf:"varint,2,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ProposalId int64 `protobuf:"varint,2,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ProposalDeleteContract) Reset() { *x = ProposalDeleteContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_proposal_contract_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_proposal_contract_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProposalDeleteContract) String() string { @@ -164,7 +156,7 @@ func (*ProposalDeleteContract) ProtoMessage() {} func (x *ProposalDeleteContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_proposal_contract_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) @@ -195,59 +187,42 @@ func (x *ProposalDeleteContract) GetProposalId() int64 { var File_core_contract_proposal_contract_proto protoreflect.FileDescriptor -var file_core_contract_proposal_contract_proto_rawDesc = []byte{ - 0x0a, 0x25, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, - 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x22, 0x87, 0x01, 0x0a, 0x17, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x41, 0x70, - 0x70, 0x72, 0x6f, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, - 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x69, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, - 0x6c, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x69, 0x73, 0x5f, 0x61, 0x64, 0x64, 0x5f, 0x61, 0x70, - 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, - 0x41, 0x64, 0x64, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x22, 0xce, 0x01, 0x0a, 0x16, - 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x50, 0x0a, 0x0a, 0x70, - 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x30, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, - 0x73, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x3d, 0x0a, - 0x0f, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6b, - 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5e, 0x0a, 0x16, - 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x70, - 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x64, 0x42, 0x45, 0x0a, 0x18, - 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, - 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x63, - 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_core_contract_proposal_contract_proto_rawDesc = "" + + "\n" + + "%core/contract/proposal_contract.proto\x12\bprotocol\"\x87\x01\n" + + "\x17ProposalApproveContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x12\x1f\n" + + "\vproposal_id\x18\x02 \x01(\x03R\n" + + "proposalId\x12&\n" + + "\x0fis_add_approval\x18\x03 \x01(\bR\risAddApproval\"\xce\x01\n" + + "\x16ProposalCreateContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x12P\n" + + "\n" + + "parameters\x18\x02 \x03(\v20.protocol.ProposalCreateContract.ParametersEntryR\n" + + "parameters\x1a=\n" + + "\x0fParametersEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\x03R\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\"^\n" + + "\x16ProposalDeleteContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x12\x1f\n" + + "\vproposal_id\x18\x02 \x01(\x03R\n" + + "proposalIdBK\n" + + "\x18org.tron.protos.contractZ/github.com/fbsobreira/gotron-sdk/pkg/proto/coreb\x06proto3" var ( file_core_contract_proposal_contract_proto_rawDescOnce sync.Once - file_core_contract_proposal_contract_proto_rawDescData = file_core_contract_proposal_contract_proto_rawDesc + file_core_contract_proposal_contract_proto_rawDescData []byte ) func file_core_contract_proposal_contract_proto_rawDescGZIP() []byte { file_core_contract_proposal_contract_proto_rawDescOnce.Do(func() { - file_core_contract_proposal_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_proposal_contract_proto_rawDescData) + file_core_contract_proposal_contract_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_core_contract_proposal_contract_proto_rawDesc), len(file_core_contract_proposal_contract_proto_rawDesc))) }) return file_core_contract_proposal_contract_proto_rawDescData } var file_core_contract_proposal_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_core_contract_proposal_contract_proto_goTypes = []interface{}{ +var file_core_contract_proposal_contract_proto_goTypes = []any{ (*ProposalApproveContract)(nil), // 0: protocol.ProposalApproveContract (*ProposalCreateContract)(nil), // 1: protocol.ProposalCreateContract (*ProposalDeleteContract)(nil), // 2: protocol.ProposalDeleteContract @@ -267,49 +242,11 @@ func file_core_contract_proposal_contract_proto_init() { if File_core_contract_proposal_contract_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_core_contract_proposal_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProposalApproveContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_proposal_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProposalCreateContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_proposal_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProposalDeleteContract); 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_core_contract_proposal_contract_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_core_contract_proposal_contract_proto_rawDesc), len(file_core_contract_proposal_contract_proto_rawDesc)), NumEnums: 0, NumMessages: 4, NumExtensions: 0, @@ -320,7 +257,6 @@ func file_core_contract_proposal_contract_proto_init() { MessageInfos: file_core_contract_proposal_contract_proto_msgTypes, }.Build() File_core_contract_proposal_contract_proto = out.File - file_core_contract_proposal_contract_proto_rawDesc = nil file_core_contract_proposal_contract_proto_goTypes = nil file_core_contract_proposal_contract_proto_depIdxs = nil } diff --git a/pkg/proto/core/shield_contract.pb.go b/pkg/proto/core/shield_contract.pb.go index 9c2696207..daa4c3f9f 100644 --- a/pkg/proto/core/shield_contract.pb.go +++ b/pkg/proto/core/shield_contract.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 -// protoc v3.21.12 -// source: core/shield_contract.proto +// protoc-gen-go v1.36.6 +// protoc v5.29.3 +// source: core/contract/shield_contract.proto package core @@ -11,6 +11,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -21,20 +22,17 @@ const ( ) type AuthenticationPath struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Value []bool `protobuf:"varint,1,rep,packed,name=value,proto3" json:"value,omitempty"` unknownFields protoimpl.UnknownFields - - Value []bool `protobuf:"varint,1,rep,packed,name=value,proto3" json:"value,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AuthenticationPath) Reset() { *x = AuthenticationPath{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_shield_contract_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_shield_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AuthenticationPath) String() string { @@ -45,7 +43,7 @@ func (*AuthenticationPath) ProtoMessage() {} func (x *AuthenticationPath) ProtoReflect() protoreflect.Message { mi := &file_core_contract_shield_contract_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) @@ -68,22 +66,19 @@ func (x *AuthenticationPath) GetValue() []bool { } type MerklePath struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AuthenticationPaths []*AuthenticationPath `protobuf:"bytes,1,rep,name=authentication_paths,json=authenticationPaths,proto3" json:"authentication_paths,omitempty"` - Index []bool `protobuf:"varint,2,rep,packed,name=index,proto3" json:"index,omitempty"` - Rt []byte `protobuf:"bytes,3,opt,name=rt,proto3" json:"rt,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + AuthenticationPaths []*AuthenticationPath `protobuf:"bytes,1,rep,name=authentication_paths,json=authenticationPaths,proto3" json:"authentication_paths,omitempty"` + Index []bool `protobuf:"varint,2,rep,packed,name=index,proto3" json:"index,omitempty"` + Rt []byte `protobuf:"bytes,3,opt,name=rt,proto3" json:"rt,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MerklePath) Reset() { *x = MerklePath{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_shield_contract_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_shield_contract_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MerklePath) String() string { @@ -94,7 +89,7 @@ func (*MerklePath) ProtoMessage() {} func (x *MerklePath) ProtoReflect() protoreflect.Message { mi := &file_core_contract_shield_contract_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) @@ -131,21 +126,18 @@ func (x *MerklePath) GetRt() []byte { } type OutputPoint struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` + Index int32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` unknownFields protoimpl.UnknownFields - - Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` - Index int32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` + sizeCache protoimpl.SizeCache } func (x *OutputPoint) Reset() { *x = OutputPoint{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_shield_contract_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_shield_contract_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OutputPoint) String() string { @@ -156,7 +148,7 @@ func (*OutputPoint) ProtoMessage() {} func (x *OutputPoint) ProtoReflect() protoreflect.Message { mi := &file_core_contract_shield_contract_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) @@ -186,21 +178,18 @@ func (x *OutputPoint) GetIndex() int32 { } type OutputPointInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + OutPoints []*OutputPoint `protobuf:"bytes,1,rep,name=out_points,json=outPoints,proto3" json:"out_points,omitempty"` + BlockNum int32 `protobuf:"varint,2,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"` unknownFields protoimpl.UnknownFields - - OutPoints []*OutputPoint `protobuf:"bytes,1,rep,name=out_points,json=outPoints,proto3" json:"out_points,omitempty"` - BlockNum int32 `protobuf:"varint,2,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"` + sizeCache protoimpl.SizeCache } func (x *OutputPointInfo) Reset() { *x = OutputPointInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_shield_contract_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_shield_contract_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OutputPointInfo) String() string { @@ -211,7 +200,7 @@ func (*OutputPointInfo) ProtoMessage() {} func (x *OutputPointInfo) ProtoReflect() protoreflect.Message { mi := &file_core_contract_shield_contract_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) @@ -241,20 +230,17 @@ func (x *OutputPointInfo) GetBlockNum() int32 { } type PedersenHash struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` unknownFields protoimpl.UnknownFields - - Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` + sizeCache protoimpl.SizeCache } func (x *PedersenHash) Reset() { *x = PedersenHash{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_shield_contract_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_shield_contract_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PedersenHash) String() string { @@ -265,7 +251,7 @@ func (*PedersenHash) ProtoMessage() {} func (x *PedersenHash) ProtoReflect() protoreflect.Message { mi := &file_core_contract_shield_contract_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) @@ -288,22 +274,19 @@ func (x *PedersenHash) GetContent() []byte { } type IncrementalMerkleTree struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Left *PedersenHash `protobuf:"bytes,1,opt,name=left,proto3" json:"left,omitempty"` + Right *PedersenHash `protobuf:"bytes,2,opt,name=right,proto3" json:"right,omitempty"` + Parents []*PedersenHash `protobuf:"bytes,3,rep,name=parents,proto3" json:"parents,omitempty"` unknownFields protoimpl.UnknownFields - - Left *PedersenHash `protobuf:"bytes,1,opt,name=left,proto3" json:"left,omitempty"` - Right *PedersenHash `protobuf:"bytes,2,opt,name=right,proto3" json:"right,omitempty"` - Parents []*PedersenHash `protobuf:"bytes,3,rep,name=parents,proto3" json:"parents,omitempty"` + sizeCache protoimpl.SizeCache } func (x *IncrementalMerkleTree) Reset() { *x = IncrementalMerkleTree{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_shield_contract_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_shield_contract_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IncrementalMerkleTree) String() string { @@ -314,7 +297,7 @@ func (*IncrementalMerkleTree) ProtoMessage() {} func (x *IncrementalMerkleTree) ProtoReflect() protoreflect.Message { mi := &file_core_contract_shield_contract_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) @@ -351,25 +334,22 @@ func (x *IncrementalMerkleTree) GetParents() []*PedersenHash { } type IncrementalMerkleVoucher struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Tree *IncrementalMerkleTree `protobuf:"bytes,1,opt,name=tree,proto3" json:"tree,omitempty"` + Filled []*PedersenHash `protobuf:"bytes,2,rep,name=filled,proto3" json:"filled,omitempty"` + Cursor *IncrementalMerkleTree `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"` + CursorDepth int64 `protobuf:"varint,4,opt,name=cursor_depth,json=cursorDepth,proto3" json:"cursor_depth,omitempty"` + Rt []byte `protobuf:"bytes,5,opt,name=rt,proto3" json:"rt,omitempty"` + OutputPoint *OutputPoint `protobuf:"bytes,10,opt,name=output_point,json=outputPoint,proto3" json:"output_point,omitempty"` unknownFields protoimpl.UnknownFields - - Tree *IncrementalMerkleTree `protobuf:"bytes,1,opt,name=tree,proto3" json:"tree,omitempty"` - Filled []*PedersenHash `protobuf:"bytes,2,rep,name=filled,proto3" json:"filled,omitempty"` - Cursor *IncrementalMerkleTree `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"` - CursorDepth int64 `protobuf:"varint,4,opt,name=cursor_depth,json=cursorDepth,proto3" json:"cursor_depth,omitempty"` - Rt []byte `protobuf:"bytes,5,opt,name=rt,proto3" json:"rt,omitempty"` - OutputPoint *OutputPoint `protobuf:"bytes,10,opt,name=output_point,json=outputPoint,proto3" json:"output_point,omitempty"` + sizeCache protoimpl.SizeCache } func (x *IncrementalMerkleVoucher) Reset() { *x = IncrementalMerkleVoucher{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_shield_contract_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_shield_contract_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IncrementalMerkleVoucher) String() string { @@ -380,7 +360,7 @@ func (*IncrementalMerkleVoucher) ProtoMessage() {} func (x *IncrementalMerkleVoucher) ProtoReflect() protoreflect.Message { mi := &file_core_contract_shield_contract_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) @@ -438,21 +418,18 @@ func (x *IncrementalMerkleVoucher) GetOutputPoint() *OutputPoint { } type IncrementalMerkleVoucherInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Vouchers []*IncrementalMerkleVoucher `protobuf:"bytes,1,rep,name=vouchers,proto3" json:"vouchers,omitempty"` + Paths [][]byte `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"` unknownFields protoimpl.UnknownFields - - Vouchers []*IncrementalMerkleVoucher `protobuf:"bytes,1,rep,name=vouchers,proto3" json:"vouchers,omitempty"` - Paths [][]byte `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"` + sizeCache protoimpl.SizeCache } func (x *IncrementalMerkleVoucherInfo) Reset() { *x = IncrementalMerkleVoucherInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_shield_contract_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_shield_contract_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IncrementalMerkleVoucherInfo) String() string { @@ -463,7 +440,7 @@ func (*IncrementalMerkleVoucherInfo) ProtoMessage() {} func (x *IncrementalMerkleVoucherInfo) ProtoReflect() protoreflect.Message { mi := &file_core_contract_shield_contract_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) @@ -493,25 +470,22 @@ func (x *IncrementalMerkleVoucherInfo) GetPaths() [][]byte { } type SpendDescription struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ValueCommitment []byte `protobuf:"bytes,1,opt,name=value_commitment,json=valueCommitment,proto3" json:"value_commitment,omitempty"` - Anchor []byte `protobuf:"bytes,2,opt,name=anchor,proto3" json:"anchor,omitempty"` // merkle root - Nullifier []byte `protobuf:"bytes,3,opt,name=nullifier,proto3" json:"nullifier,omitempty"` // used for check double spend - Rk []byte `protobuf:"bytes,4,opt,name=rk,proto3" json:"rk,omitempty"` // used for check spend authority signature - Zkproof []byte `protobuf:"bytes,5,opt,name=zkproof,proto3" json:"zkproof,omitempty"` - SpendAuthoritySignature []byte `protobuf:"bytes,6,opt,name=spend_authority_signature,json=spendAuthoritySignature,proto3" json:"spend_authority_signature,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ValueCommitment []byte `protobuf:"bytes,1,opt,name=value_commitment,json=valueCommitment,proto3" json:"value_commitment,omitempty"` + Anchor []byte `protobuf:"bytes,2,opt,name=anchor,proto3" json:"anchor,omitempty"` // merkle root + Nullifier []byte `protobuf:"bytes,3,opt,name=nullifier,proto3" json:"nullifier,omitempty"` // used for check double spend + Rk []byte `protobuf:"bytes,4,opt,name=rk,proto3" json:"rk,omitempty"` // used for check spend authority signature + Zkproof []byte `protobuf:"bytes,5,opt,name=zkproof,proto3" json:"zkproof,omitempty"` + SpendAuthoritySignature []byte `protobuf:"bytes,6,opt,name=spend_authority_signature,json=spendAuthoritySignature,proto3" json:"spend_authority_signature,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SpendDescription) Reset() { *x = SpendDescription{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_shield_contract_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_shield_contract_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SpendDescription) String() string { @@ -522,7 +496,7 @@ func (*SpendDescription) ProtoMessage() {} func (x *SpendDescription) ProtoReflect() protoreflect.Message { mi := &file_core_contract_shield_contract_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) @@ -580,25 +554,22 @@ func (x *SpendDescription) GetSpendAuthoritySignature() []byte { } type ReceiveDescription struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ValueCommitment []byte `protobuf:"bytes,1,opt,name=value_commitment,json=valueCommitment,proto3" json:"value_commitment,omitempty"` - NoteCommitment []byte `protobuf:"bytes,2,opt,name=note_commitment,json=noteCommitment,proto3" json:"note_commitment,omitempty"` - Epk []byte `protobuf:"bytes,3,opt,name=epk,proto3" json:"epk,omitempty"` // for Encryption - CEnc []byte `protobuf:"bytes,4,opt,name=c_enc,json=cEnc,proto3" json:"c_enc,omitempty"` // Encryption for incoming, decrypt it with ivk - COut []byte `protobuf:"bytes,5,opt,name=c_out,json=cOut,proto3" json:"c_out,omitempty"` // Encryption for audit, decrypt it with ovk - Zkproof []byte `protobuf:"bytes,6,opt,name=zkproof,proto3" json:"zkproof,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ValueCommitment []byte `protobuf:"bytes,1,opt,name=value_commitment,json=valueCommitment,proto3" json:"value_commitment,omitempty"` + NoteCommitment []byte `protobuf:"bytes,2,opt,name=note_commitment,json=noteCommitment,proto3" json:"note_commitment,omitempty"` + Epk []byte `protobuf:"bytes,3,opt,name=epk,proto3" json:"epk,omitempty"` // for Encryption + CEnc []byte `protobuf:"bytes,4,opt,name=c_enc,json=cEnc,proto3" json:"c_enc,omitempty"` // Encryption for incoming, decrypt it with ivk + COut []byte `protobuf:"bytes,5,opt,name=c_out,json=cOut,proto3" json:"c_out,omitempty"` // Encryption for audit, decrypt it with ovk + Zkproof []byte `protobuf:"bytes,6,opt,name=zkproof,proto3" json:"zkproof,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ReceiveDescription) Reset() { *x = ReceiveDescription{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_shield_contract_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_shield_contract_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReceiveDescription) String() string { @@ -609,7 +580,7 @@ func (*ReceiveDescription) ProtoMessage() {} func (x *ReceiveDescription) ProtoReflect() protoreflect.Message { mi := &file_core_contract_shield_contract_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) @@ -667,26 +638,23 @@ func (x *ReceiveDescription) GetZkproof() []byte { } type ShieldedTransferContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - TransparentFromAddress []byte `protobuf:"bytes,1,opt,name=transparent_from_address,json=transparentFromAddress,proto3" json:"transparent_from_address,omitempty"` // transparent address - FromAmount int64 `protobuf:"varint,2,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"` - SpendDescription []*SpendDescription `protobuf:"bytes,3,rep,name=spend_description,json=spendDescription,proto3" json:"spend_description,omitempty"` - ReceiveDescription []*ReceiveDescription `protobuf:"bytes,4,rep,name=receive_description,json=receiveDescription,proto3" json:"receive_description,omitempty"` - BindingSignature []byte `protobuf:"bytes,5,opt,name=binding_signature,json=bindingSignature,proto3" json:"binding_signature,omitempty"` - TransparentToAddress []byte `protobuf:"bytes,6,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` // transparent address - ToAmount int64 `protobuf:"varint,7,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` // the amount to transparent to_address + state protoimpl.MessageState `protogen:"open.v1"` + TransparentFromAddress []byte `protobuf:"bytes,1,opt,name=transparent_from_address,json=transparentFromAddress,proto3" json:"transparent_from_address,omitempty"` // transparent address + FromAmount int64 `protobuf:"varint,2,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"` + SpendDescription []*SpendDescription `protobuf:"bytes,3,rep,name=spend_description,json=spendDescription,proto3" json:"spend_description,omitempty"` + ReceiveDescription []*ReceiveDescription `protobuf:"bytes,4,rep,name=receive_description,json=receiveDescription,proto3" json:"receive_description,omitempty"` + BindingSignature []byte `protobuf:"bytes,5,opt,name=binding_signature,json=bindingSignature,proto3" json:"binding_signature,omitempty"` + TransparentToAddress []byte `protobuf:"bytes,6,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` // transparent address + ToAmount int64 `protobuf:"varint,7,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` // the amount to transparent to_address + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ShieldedTransferContract) Reset() { *x = ShieldedTransferContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_shield_contract_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_shield_contract_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ShieldedTransferContract) String() string { @@ -697,7 +665,7 @@ func (*ShieldedTransferContract) ProtoMessage() {} func (x *ShieldedTransferContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_shield_contract_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) @@ -763,142 +731,79 @@ func (x *ShieldedTransferContract) GetToAmount() int64 { var File_core_contract_shield_contract_proto protoreflect.FileDescriptor -var file_core_contract_shield_contract_proto_rawDesc = []byte{ - 0x0a, 0x23, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, - 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, - 0x2a, 0x0a, 0x12, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x50, 0x61, 0x74, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x83, 0x01, 0x0a, 0x0a, - 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x4f, 0x0a, 0x14, 0x61, 0x75, - 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x74, - 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, 0x52, 0x13, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x69, - 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x03, 0x28, 0x08, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, - 0x78, 0x12, 0x0e, 0x0a, 0x02, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x72, - 0x74, 0x22, 0x37, 0x0a, 0x0b, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, - 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, - 0x68, 0x61, 0x73, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x64, 0x0a, 0x0f, 0x4f, 0x75, - 0x74, 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x34, 0x0a, - 0x0a, 0x6f, 0x75, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x75, 0x74, - 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x09, 0x6f, 0x75, 0x74, 0x50, 0x6f, 0x69, - 0x6e, 0x74, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, - 0x22, 0x28, 0x0a, 0x0c, 0x50, 0x65, 0x64, 0x65, 0x72, 0x73, 0x65, 0x6e, 0x48, 0x61, 0x73, 0x68, - 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0xa3, 0x01, 0x0a, 0x15, 0x49, - 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, - 0x54, 0x72, 0x65, 0x65, 0x12, 0x2a, 0x0a, 0x04, 0x6c, 0x65, 0x66, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, - 0x64, 0x65, 0x72, 0x73, 0x65, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x04, 0x6c, 0x65, 0x66, 0x74, - 0x12, 0x2c, 0x0a, 0x05, 0x72, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x64, 0x65, 0x72, - 0x73, 0x65, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x05, 0x72, 0x69, 0x67, 0x68, 0x74, 0x12, 0x30, - 0x0a, 0x07, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x64, 0x65, 0x72, - 0x73, 0x65, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x07, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x73, - 0x22, 0xa5, 0x02, 0x0a, 0x18, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, - 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x12, 0x33, 0x0a, - 0x04, 0x74, 0x72, 0x65, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, - 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, 0x65, 0x65, 0x52, 0x04, 0x74, 0x72, - 0x65, 0x65, 0x12, 0x2e, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, - 0x64, 0x65, 0x72, 0x73, 0x65, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x6c, - 0x65, 0x64, 0x12, 0x37, 0x0a, 0x06, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, - 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, - 0x72, 0x65, 0x65, 0x52, 0x06, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, - 0x75, 0x72, 0x73, 0x6f, 0x72, 0x5f, 0x64, 0x65, 0x70, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0b, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x44, 0x65, 0x70, 0x74, 0x68, 0x12, 0x0e, - 0x0a, 0x02, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x72, 0x74, 0x12, 0x38, - 0x0a, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x0a, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x0b, 0x6f, 0x75, 0x74, - 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x22, 0x74, 0x0a, 0x1c, 0x49, 0x6e, 0x63, 0x72, - 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, - 0x63, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3e, 0x0a, 0x08, 0x76, 0x6f, 0x75, 0x63, - 0x68, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, - 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x52, 0x08, - 0x76, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x74, 0x68, - 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x22, 0xd9, - 0x01, 0x0a, 0x10, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6d, - 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x16, - 0x0a, 0x06, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, - 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x75, 0x6c, 0x6c, 0x69, 0x66, - 0x69, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x6e, 0x75, 0x6c, 0x6c, 0x69, - 0x66, 0x69, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x72, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x02, 0x72, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x7a, 0x6b, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x7a, 0x6b, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x3a, - 0x0a, 0x19, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, - 0x79, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x17, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, - 0x79, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0xbe, 0x01, 0x0a, 0x12, 0x52, - 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0f, - 0x6e, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x6e, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x70, 0x6b, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x03, 0x65, 0x70, 0x6b, 0x12, 0x13, 0x0a, 0x05, 0x63, 0x5f, 0x65, 0x6e, 0x63, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x63, 0x45, 0x6e, 0x63, 0x12, 0x13, 0x0a, 0x05, - 0x63, 0x5f, 0x6f, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x63, 0x4f, 0x75, - 0x74, 0x12, 0x18, 0x0a, 0x07, 0x7a, 0x6b, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x07, 0x7a, 0x6b, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x22, 0x8d, 0x03, 0x0a, 0x18, - 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x38, 0x0a, 0x18, 0x74, 0x72, 0x61, 0x6e, - 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x16, 0x74, 0x72, 0x61, 0x6e, - 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, - 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x6d, 0x6f, - 0x75, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x11, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x44, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x73, 0x70, 0x65, 0x6e, - 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4d, 0x0a, 0x13, - 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x44, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, - 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x11, 0x62, - 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, - 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x74, 0x72, 0x61, 0x6e, - 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, - 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b, - 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x45, 0x0a, 0x18, 0x6f, - 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, - 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x63, 0x6f, - 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_core_contract_shield_contract_proto_rawDesc = "" + + "\n" + + "#core/contract/shield_contract.proto\x12\bprotocol\"*\n" + + "\x12AuthenticationPath\x12\x14\n" + + "\x05value\x18\x01 \x03(\bR\x05value\"\x83\x01\n" + + "\n" + + "MerklePath\x12O\n" + + "\x14authentication_paths\x18\x01 \x03(\v2\x1c.protocol.AuthenticationPathR\x13authenticationPaths\x12\x14\n" + + "\x05index\x18\x02 \x03(\bR\x05index\x12\x0e\n" + + "\x02rt\x18\x03 \x01(\fR\x02rt\"7\n" + + "\vOutputPoint\x12\x12\n" + + "\x04hash\x18\x01 \x01(\fR\x04hash\x12\x14\n" + + "\x05index\x18\x02 \x01(\x05R\x05index\"d\n" + + "\x0fOutputPointInfo\x124\n" + + "\n" + + "out_points\x18\x01 \x03(\v2\x15.protocol.OutputPointR\toutPoints\x12\x1b\n" + + "\tblock_num\x18\x02 \x01(\x05R\bblockNum\"(\n" + + "\fPedersenHash\x12\x18\n" + + "\acontent\x18\x01 \x01(\fR\acontent\"\xa3\x01\n" + + "\x15IncrementalMerkleTree\x12*\n" + + "\x04left\x18\x01 \x01(\v2\x16.protocol.PedersenHashR\x04left\x12,\n" + + "\x05right\x18\x02 \x01(\v2\x16.protocol.PedersenHashR\x05right\x120\n" + + "\aparents\x18\x03 \x03(\v2\x16.protocol.PedersenHashR\aparents\"\xa5\x02\n" + + "\x18IncrementalMerkleVoucher\x123\n" + + "\x04tree\x18\x01 \x01(\v2\x1f.protocol.IncrementalMerkleTreeR\x04tree\x12.\n" + + "\x06filled\x18\x02 \x03(\v2\x16.protocol.PedersenHashR\x06filled\x127\n" + + "\x06cursor\x18\x03 \x01(\v2\x1f.protocol.IncrementalMerkleTreeR\x06cursor\x12!\n" + + "\fcursor_depth\x18\x04 \x01(\x03R\vcursorDepth\x12\x0e\n" + + "\x02rt\x18\x05 \x01(\fR\x02rt\x128\n" + + "\foutput_point\x18\n" + + " \x01(\v2\x15.protocol.OutputPointR\voutputPoint\"t\n" + + "\x1cIncrementalMerkleVoucherInfo\x12>\n" + + "\bvouchers\x18\x01 \x03(\v2\".protocol.IncrementalMerkleVoucherR\bvouchers\x12\x14\n" + + "\x05paths\x18\x02 \x03(\fR\x05paths\"\xd9\x01\n" + + "\x10SpendDescription\x12)\n" + + "\x10value_commitment\x18\x01 \x01(\fR\x0fvalueCommitment\x12\x16\n" + + "\x06anchor\x18\x02 \x01(\fR\x06anchor\x12\x1c\n" + + "\tnullifier\x18\x03 \x01(\fR\tnullifier\x12\x0e\n" + + "\x02rk\x18\x04 \x01(\fR\x02rk\x12\x18\n" + + "\azkproof\x18\x05 \x01(\fR\azkproof\x12:\n" + + "\x19spend_authority_signature\x18\x06 \x01(\fR\x17spendAuthoritySignature\"\xbe\x01\n" + + "\x12ReceiveDescription\x12)\n" + + "\x10value_commitment\x18\x01 \x01(\fR\x0fvalueCommitment\x12'\n" + + "\x0fnote_commitment\x18\x02 \x01(\fR\x0enoteCommitment\x12\x10\n" + + "\x03epk\x18\x03 \x01(\fR\x03epk\x12\x13\n" + + "\x05c_enc\x18\x04 \x01(\fR\x04cEnc\x12\x13\n" + + "\x05c_out\x18\x05 \x01(\fR\x04cOut\x12\x18\n" + + "\azkproof\x18\x06 \x01(\fR\azkproof\"\x8d\x03\n" + + "\x18ShieldedTransferContract\x128\n" + + "\x18transparent_from_address\x18\x01 \x01(\fR\x16transparentFromAddress\x12\x1f\n" + + "\vfrom_amount\x18\x02 \x01(\x03R\n" + + "fromAmount\x12G\n" + + "\x11spend_description\x18\x03 \x03(\v2\x1a.protocol.SpendDescriptionR\x10spendDescription\x12M\n" + + "\x13receive_description\x18\x04 \x03(\v2\x1c.protocol.ReceiveDescriptionR\x12receiveDescription\x12+\n" + + "\x11binding_signature\x18\x05 \x01(\fR\x10bindingSignature\x124\n" + + "\x16transparent_to_address\x18\x06 \x01(\fR\x14transparentToAddress\x12\x1b\n" + + "\tto_amount\x18\a \x01(\x03R\btoAmountBK\n" + + "\x18org.tron.protos.contractZ/github.com/fbsobreira/gotron-sdk/pkg/proto/coreb\x06proto3" var ( file_core_contract_shield_contract_proto_rawDescOnce sync.Once - file_core_contract_shield_contract_proto_rawDescData = file_core_contract_shield_contract_proto_rawDesc + file_core_contract_shield_contract_proto_rawDescData []byte ) func file_core_contract_shield_contract_proto_rawDescGZIP() []byte { file_core_contract_shield_contract_proto_rawDescOnce.Do(func() { - file_core_contract_shield_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_shield_contract_proto_rawDescData) + file_core_contract_shield_contract_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_core_contract_shield_contract_proto_rawDesc), len(file_core_contract_shield_contract_proto_rawDesc))) }) return file_core_contract_shield_contract_proto_rawDescData } var file_core_contract_shield_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_core_contract_shield_contract_proto_goTypes = []interface{}{ +var file_core_contract_shield_contract_proto_goTypes = []any{ (*AuthenticationPath)(nil), // 0: protocol.AuthenticationPath (*MerklePath)(nil), // 1: protocol.MerklePath (*OutputPoint)(nil), // 2: protocol.OutputPoint @@ -936,145 +841,11 @@ func file_core_contract_shield_contract_proto_init() { if File_core_contract_shield_contract_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_core_contract_shield_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AuthenticationPath); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_shield_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MerklePath); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_shield_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OutputPoint); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_shield_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OutputPointInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_shield_contract_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PedersenHash); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_shield_contract_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IncrementalMerkleTree); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_shield_contract_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IncrementalMerkleVoucher); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_shield_contract_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IncrementalMerkleVoucherInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_shield_contract_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SpendDescription); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_shield_contract_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReceiveDescription); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_shield_contract_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ShieldedTransferContract); 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_core_contract_shield_contract_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_core_contract_shield_contract_proto_rawDesc), len(file_core_contract_shield_contract_proto_rawDesc)), NumEnums: 0, NumMessages: 11, NumExtensions: 0, @@ -1085,7 +856,6 @@ func file_core_contract_shield_contract_proto_init() { MessageInfos: file_core_contract_shield_contract_proto_msgTypes, }.Build() File_core_contract_shield_contract_proto = out.File - file_core_contract_shield_contract_proto_rawDesc = nil file_core_contract_shield_contract_proto_goTypes = nil file_core_contract_shield_contract_proto_depIdxs = nil } diff --git a/pkg/proto/core/smart_contract.pb.go b/pkg/proto/core/smart_contract.pb.go index 51a46fc1a..58cc5a02c 100644 --- a/pkg/proto/core/smart_contract.pb.go +++ b/pkg/proto/core/smart_contract.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 -// protoc v3.21.12 -// source: core/smart_contract.proto +// protoc-gen-go v1.36.6 +// protoc v5.29.3 +// source: core/contract/smart_contract.proto package core @@ -11,6 +11,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -137,30 +138,27 @@ func (SmartContract_ABI_Entry_StateMutabilityType) EnumDescriptor() ([]byte, []i } type SmartContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OriginAddress []byte `protobuf:"bytes,1,opt,name=origin_address,json=originAddress,proto3" json:"origin_address,omitempty"` - ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` - Abi *SmartContract_ABI `protobuf:"bytes,3,opt,name=abi,proto3" json:"abi,omitempty"` - Bytecode []byte `protobuf:"bytes,4,opt,name=bytecode,proto3" json:"bytecode,omitempty"` - CallValue int64 `protobuf:"varint,5,opt,name=call_value,json=callValue,proto3" json:"call_value,omitempty"` - ConsumeUserResourcePercent int64 `protobuf:"varint,6,opt,name=consume_user_resource_percent,json=consumeUserResourcePercent,proto3" json:"consume_user_resource_percent,omitempty"` - Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` - OriginEnergyLimit int64 `protobuf:"varint,8,opt,name=origin_energy_limit,json=originEnergyLimit,proto3" json:"origin_energy_limit,omitempty"` - CodeHash []byte `protobuf:"bytes,9,opt,name=code_hash,json=codeHash,proto3" json:"code_hash,omitempty"` - TrxHash []byte `protobuf:"bytes,10,opt,name=trx_hash,json=trxHash,proto3" json:"trx_hash,omitempty"` - Version int32 `protobuf:"varint,11,opt,name=version,proto3" json:"version,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + OriginAddress []byte `protobuf:"bytes,1,opt,name=origin_address,json=originAddress,proto3" json:"origin_address,omitempty"` + ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` + Abi *SmartContract_ABI `protobuf:"bytes,3,opt,name=abi,proto3" json:"abi,omitempty"` + Bytecode []byte `protobuf:"bytes,4,opt,name=bytecode,proto3" json:"bytecode,omitempty"` + CallValue int64 `protobuf:"varint,5,opt,name=call_value,json=callValue,proto3" json:"call_value,omitempty"` + ConsumeUserResourcePercent int64 `protobuf:"varint,6,opt,name=consume_user_resource_percent,json=consumeUserResourcePercent,proto3" json:"consume_user_resource_percent,omitempty"` + Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` + OriginEnergyLimit int64 `protobuf:"varint,8,opt,name=origin_energy_limit,json=originEnergyLimit,proto3" json:"origin_energy_limit,omitempty"` + CodeHash []byte `protobuf:"bytes,9,opt,name=code_hash,json=codeHash,proto3" json:"code_hash,omitempty"` + TrxHash []byte `protobuf:"bytes,10,opt,name=trx_hash,json=trxHash,proto3" json:"trx_hash,omitempty"` + Version int32 `protobuf:"varint,11,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SmartContract) Reset() { *x = SmartContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_smart_contract_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_smart_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SmartContract) String() string { @@ -171,7 +169,7 @@ func (*SmartContract) ProtoMessage() {} func (x *SmartContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_smart_contract_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) @@ -264,22 +262,19 @@ func (x *SmartContract) GetVersion() int32 { } type ContractState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + EnergyUsage int64 `protobuf:"varint,1,opt,name=energy_usage,json=energyUsage,proto3" json:"energy_usage,omitempty"` + EnergyFactor int64 `protobuf:"varint,2,opt,name=energy_factor,json=energyFactor,proto3" json:"energy_factor,omitempty"` + UpdateCycle int64 `protobuf:"varint,3,opt,name=update_cycle,json=updateCycle,proto3" json:"update_cycle,omitempty"` unknownFields protoimpl.UnknownFields - - EnergyUsage int64 `protobuf:"varint,1,opt,name=energy_usage,json=energyUsage,proto3" json:"energy_usage,omitempty"` - EnergyFactor int64 `protobuf:"varint,2,opt,name=energy_factor,json=energyFactor,proto3" json:"energy_factor,omitempty"` - UpdateCycle int64 `protobuf:"varint,3,opt,name=update_cycle,json=updateCycle,proto3" json:"update_cycle,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ContractState) Reset() { *x = ContractState{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_smart_contract_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_smart_contract_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ContractState) String() string { @@ -290,7 +285,7 @@ func (*ContractState) ProtoMessage() {} func (x *ContractState) ProtoReflect() protoreflect.Message { mi := &file_core_contract_smart_contract_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) @@ -327,23 +322,20 @@ func (x *ContractState) GetUpdateCycle() int64 { } type CreateSmartContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - NewContract *SmartContract `protobuf:"bytes,2,opt,name=new_contract,json=newContract,proto3" json:"new_contract,omitempty"` - CallTokenValue int64 `protobuf:"varint,3,opt,name=call_token_value,json=callTokenValue,proto3" json:"call_token_value,omitempty"` - TokenId int64 `protobuf:"varint,4,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + NewContract *SmartContract `protobuf:"bytes,2,opt,name=new_contract,json=newContract,proto3" json:"new_contract,omitempty"` + CallTokenValue int64 `protobuf:"varint,3,opt,name=call_token_value,json=callTokenValue,proto3" json:"call_token_value,omitempty"` + TokenId int64 `protobuf:"varint,4,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateSmartContract) Reset() { *x = CreateSmartContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_smart_contract_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_smart_contract_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CreateSmartContract) String() string { @@ -354,7 +346,7 @@ func (*CreateSmartContract) ProtoMessage() {} func (x *CreateSmartContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_smart_contract_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) @@ -398,25 +390,22 @@ func (x *CreateSmartContract) GetTokenId() int64 { } type TriggerSmartContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` - CallValue int64 `protobuf:"varint,3,opt,name=call_value,json=callValue,proto3" json:"call_value,omitempty"` - Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` - CallTokenValue int64 `protobuf:"varint,5,opt,name=call_token_value,json=callTokenValue,proto3" json:"call_token_value,omitempty"` - TokenId int64 `protobuf:"varint,6,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` + CallValue int64 `protobuf:"varint,3,opt,name=call_value,json=callValue,proto3" json:"call_value,omitempty"` + Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` + CallTokenValue int64 `protobuf:"varint,5,opt,name=call_token_value,json=callTokenValue,proto3" json:"call_token_value,omitempty"` + TokenId int64 `protobuf:"varint,6,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TriggerSmartContract) Reset() { *x = TriggerSmartContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_smart_contract_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_smart_contract_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TriggerSmartContract) String() string { @@ -427,7 +416,7 @@ func (*TriggerSmartContract) ProtoMessage() {} func (x *TriggerSmartContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_smart_contract_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) @@ -485,21 +474,18 @@ func (x *TriggerSmartContract) GetTokenId() int64 { } type ClearABIContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ClearABIContract) Reset() { *x = ClearABIContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_smart_contract_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_smart_contract_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ClearABIContract) String() string { @@ -510,7 +496,7 @@ func (*ClearABIContract) ProtoMessage() {} func (x *ClearABIContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_smart_contract_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) @@ -540,22 +526,19 @@ func (x *ClearABIContract) GetContractAddress() []byte { } type UpdateSettingContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` - ConsumeUserResourcePercent int64 `protobuf:"varint,3,opt,name=consume_user_resource_percent,json=consumeUserResourcePercent,proto3" json:"consume_user_resource_percent,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` + ConsumeUserResourcePercent int64 `protobuf:"varint,3,opt,name=consume_user_resource_percent,json=consumeUserResourcePercent,proto3" json:"consume_user_resource_percent,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateSettingContract) Reset() { *x = UpdateSettingContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_smart_contract_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_smart_contract_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateSettingContract) String() string { @@ -566,7 +549,7 @@ func (*UpdateSettingContract) ProtoMessage() {} func (x *UpdateSettingContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_smart_contract_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) @@ -603,22 +586,19 @@ func (x *UpdateSettingContract) GetConsumeUserResourcePercent() int64 { } type UpdateEnergyLimitContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` - OriginEnergyLimit int64 `protobuf:"varint,3,opt,name=origin_energy_limit,json=originEnergyLimit,proto3" json:"origin_energy_limit,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` + OriginEnergyLimit int64 `protobuf:"varint,3,opt,name=origin_energy_limit,json=originEnergyLimit,proto3" json:"origin_energy_limit,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateEnergyLimitContract) Reset() { *x = UpdateEnergyLimitContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_smart_contract_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_smart_contract_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateEnergyLimitContract) String() string { @@ -629,7 +609,7 @@ func (*UpdateEnergyLimitContract) ProtoMessage() {} func (x *UpdateEnergyLimitContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_smart_contract_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) @@ -666,22 +646,19 @@ func (x *UpdateEnergyLimitContract) GetOriginEnergyLimit() int64 { } type SmartContractDataWrapper struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + SmartContract *SmartContract `protobuf:"bytes,1,opt,name=smart_contract,json=smartContract,proto3" json:"smart_contract,omitempty"` + Runtimecode []byte `protobuf:"bytes,2,opt,name=runtimecode,proto3" json:"runtimecode,omitempty"` + ContractState *ContractState `protobuf:"bytes,3,opt,name=contract_state,json=contractState,proto3" json:"contract_state,omitempty"` unknownFields protoimpl.UnknownFields - - SmartContract *SmartContract `protobuf:"bytes,1,opt,name=smart_contract,json=smartContract,proto3" json:"smart_contract,omitempty"` - Runtimecode []byte `protobuf:"bytes,2,opt,name=runtimecode,proto3" json:"runtimecode,omitempty"` - ContractState *ContractState `protobuf:"bytes,3,opt,name=contract_state,json=contractState,proto3" json:"contract_state,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SmartContractDataWrapper) Reset() { *x = SmartContractDataWrapper{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_smart_contract_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_smart_contract_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SmartContractDataWrapper) String() string { @@ -692,7 +669,7 @@ func (*SmartContractDataWrapper) ProtoMessage() {} func (x *SmartContractDataWrapper) ProtoReflect() protoreflect.Message { mi := &file_core_contract_smart_contract_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) @@ -729,20 +706,17 @@ func (x *SmartContractDataWrapper) GetContractState() *ContractState { } type SmartContract_ABI struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Entrys []*SmartContract_ABI_Entry `protobuf:"bytes,1,rep,name=entrys,proto3" json:"entrys,omitempty"` unknownFields protoimpl.UnknownFields - - Entrys []*SmartContract_ABI_Entry `protobuf:"bytes,1,rep,name=entrys,proto3" json:"entrys,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SmartContract_ABI) Reset() { *x = SmartContract_ABI{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_smart_contract_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_smart_contract_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SmartContract_ABI) String() string { @@ -753,7 +727,7 @@ func (*SmartContract_ABI) ProtoMessage() {} func (x *SmartContract_ABI) ProtoReflect() protoreflect.Message { mi := &file_core_contract_smart_contract_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) @@ -776,10 +750,7 @@ func (x *SmartContract_ABI) GetEntrys() []*SmartContract_ABI_Entry { } type SmartContract_ABI_Entry struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Anonymous bool `protobuf:"varint,1,opt,name=anonymous,proto3" json:"anonymous,omitempty"` Constant bool `protobuf:"varint,2,opt,name=constant,proto3" json:"constant,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` @@ -788,15 +759,15 @@ type SmartContract_ABI_Entry struct { Type SmartContract_ABI_Entry_EntryType `protobuf:"varint,6,opt,name=type,proto3,enum=protocol.SmartContract_ABI_Entry_EntryType" json:"type,omitempty"` Payable bool `protobuf:"varint,7,opt,name=payable,proto3" json:"payable,omitempty"` StateMutability SmartContract_ABI_Entry_StateMutabilityType `protobuf:"varint,8,opt,name=stateMutability,proto3,enum=protocol.SmartContract_ABI_Entry_StateMutabilityType" json:"stateMutability,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SmartContract_ABI_Entry) Reset() { *x = SmartContract_ABI_Entry{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_smart_contract_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_smart_contract_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SmartContract_ABI_Entry) String() string { @@ -807,7 +778,7 @@ func (*SmartContract_ABI_Entry) ProtoMessage() {} func (x *SmartContract_ABI_Entry) ProtoReflect() protoreflect.Message { mi := &file_core_contract_smart_contract_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) @@ -879,22 +850,19 @@ func (x *SmartContract_ABI_Entry) GetStateMutability() SmartContract_ABI_Entry_S } type SmartContract_ABI_Entry_Param struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Indexed bool `protobuf:"varint,1,opt,name=indexed,proto3" json:"indexed,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // SolidityType type = 3; unknownFields protoimpl.UnknownFields - - Indexed bool `protobuf:"varint,1,opt,name=indexed,proto3" json:"indexed,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // SolidityType type = 3; + sizeCache protoimpl.SizeCache } func (x *SmartContract_ABI_Entry_Param) Reset() { *x = SmartContract_ABI_Entry_Param{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_smart_contract_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_smart_contract_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SmartContract_ABI_Entry_Param) String() string { @@ -905,7 +873,7 @@ func (*SmartContract_ABI_Entry_Param) ProtoMessage() {} func (x *SmartContract_ABI_Entry_Param) ProtoReflect() protoreflect.Message { mi := &file_core_contract_smart_contract_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) @@ -943,180 +911,102 @@ func (x *SmartContract_ABI_Entry_Param) GetType() string { var File_core_contract_smart_contract_proto protoreflect.FileDescriptor -var file_core_contract_smart_contract_proto_rawDesc = []byte{ - 0x0a, 0x22, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, - 0x73, 0x6d, 0x61, 0x72, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x1a, 0x0f, - 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x54, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, - 0xa0, 0x09, 0x0a, 0x0d, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x6f, 0x72, 0x69, 0x67, 0x69, - 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x12, 0x2d, 0x0a, 0x03, 0x61, 0x62, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, - 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x41, 0x42, 0x49, 0x52, 0x03, 0x61, - 0x62, 0x69, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x79, 0x74, 0x65, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x62, 0x79, 0x74, 0x65, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, - 0x0a, 0x0a, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x41, 0x0a, - 0x1d, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x72, 0x65, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x1a, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x55, 0x73, 0x65, - 0x72, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x65, - 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x11, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, - 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x68, 0x61, 0x73, - 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x63, 0x6f, 0x64, 0x65, 0x48, 0x61, 0x73, - 0x68, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x0a, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x72, 0x78, 0x48, 0x61, 0x73, 0x68, 0x12, 0x18, 0x0a, 0x07, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0xf9, 0x05, 0x0a, 0x03, 0x41, 0x42, 0x49, 0x12, 0x39, - 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x41, 0x42, 0x49, 0x2e, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x06, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x73, 0x1a, 0xb6, 0x05, 0x0a, 0x05, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x6f, 0x75, 0x73, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x61, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x6f, 0x75, - 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x3f, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, - 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x41, 0x42, 0x49, 0x2e, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, - 0x74, 0x73, 0x12, 0x41, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x05, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, - 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x41, 0x42, 0x49, - 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x07, 0x6f, 0x75, - 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x3f, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, - 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x41, 0x42, 0x49, - 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x61, 0x62, 0x6c, - 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x61, 0x79, 0x61, 0x62, 0x6c, 0x65, - 0x12, 0x5f, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x75, 0x74, 0x61, 0x62, 0x69, 0x6c, - 0x69, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x35, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x2e, 0x41, 0x42, 0x49, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x4d, 0x75, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x0f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x75, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, - 0x79, 0x1a, 0x49, 0x0a, 0x05, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x6e, - 0x64, 0x65, 0x78, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x6e, 0x64, - 0x65, 0x78, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x71, 0x0a, 0x09, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x55, 0x6e, 0x6b, - 0x6e, 0x6f, 0x77, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x10, 0x00, 0x12, - 0x0f, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x6f, 0x72, 0x10, 0x01, - 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0x02, 0x12, 0x09, - 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x61, 0x6c, - 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x10, 0x04, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x65, 0x63, 0x65, 0x69, - 0x76, 0x65, 0x10, 0x05, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x06, 0x22, - 0x61, 0x0a, 0x13, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x75, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, - 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, - 0x6e, 0x4d, 0x75, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x10, - 0x00, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x75, 0x72, 0x65, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x56, - 0x69, 0x65, 0x77, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x6f, 0x6e, 0x70, 0x61, 0x79, 0x61, - 0x62, 0x6c, 0x65, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x61, 0x79, 0x61, 0x62, 0x6c, 0x65, - 0x10, 0x04, 0x22, 0x7a, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x75, 0x73, - 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x65, 0x6e, 0x65, 0x72, 0x67, - 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, - 0x5f, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x65, - 0x6e, 0x65, 0x72, 0x67, 0x79, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x75, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x79, 0x63, 0x6c, 0x65, 0x22, 0xbb, - 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x3a, 0x0a, 0x0c, 0x6e, - 0x65, 0x77, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, - 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x0b, 0x6e, 0x65, 0x77, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x63, 0x61, 0x6c, 0x6c, 0x5f, - 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0e, 0x63, 0x61, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x22, 0xde, 0x01, 0x0a, - 0x14, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x28, 0x0a, 0x10, 0x63, 0x61, 0x6c, 0x6c, - 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x0e, 0x63, 0x61, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x22, 0x62, 0x0a, - 0x10, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x41, 0x42, 0x49, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, - 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x22, 0xaa, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74, - 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x41, 0x0a, 0x1d, 0x63, - 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x1a, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, - 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x22, 0x9b, - 0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, - 0x69, 0x6d, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2e, 0x0a, 0x13, - 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x6c, 0x69, - 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x6f, 0x72, 0x69, 0x67, 0x69, - 0x6e, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0xbc, 0x01, 0x0a, - 0x18, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x44, 0x61, - 0x74, 0x61, 0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x12, 0x3e, 0x0a, 0x0e, 0x73, 0x6d, 0x61, - 0x72, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, - 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x0d, 0x73, 0x6d, 0x61, 0x72, - 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x75, 0x6e, - 0x74, 0x69, 0x6d, 0x65, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, - 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x3e, 0x0a, 0x0e, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0d, 0x63, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x45, 0x0a, 0x18, 0x6f, - 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, - 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x63, 0x6f, - 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_core_contract_smart_contract_proto_rawDesc = "" + + "\n" + + "\"core/contract/smart_contract.proto\x12\bprotocol\x1a\x0fcore/Tron.proto\"\xa0\t\n" + + "\rSmartContract\x12%\n" + + "\x0eorigin_address\x18\x01 \x01(\fR\roriginAddress\x12)\n" + + "\x10contract_address\x18\x02 \x01(\fR\x0fcontractAddress\x12-\n" + + "\x03abi\x18\x03 \x01(\v2\x1b.protocol.SmartContract.ABIR\x03abi\x12\x1a\n" + + "\bbytecode\x18\x04 \x01(\fR\bbytecode\x12\x1d\n" + + "\n" + + "call_value\x18\x05 \x01(\x03R\tcallValue\x12A\n" + + "\x1dconsume_user_resource_percent\x18\x06 \x01(\x03R\x1aconsumeUserResourcePercent\x12\x12\n" + + "\x04name\x18\a \x01(\tR\x04name\x12.\n" + + "\x13origin_energy_limit\x18\b \x01(\x03R\x11originEnergyLimit\x12\x1b\n" + + "\tcode_hash\x18\t \x01(\fR\bcodeHash\x12\x19\n" + + "\btrx_hash\x18\n" + + " \x01(\fR\atrxHash\x12\x18\n" + + "\aversion\x18\v \x01(\x05R\aversion\x1a\xf9\x05\n" + + "\x03ABI\x129\n" + + "\x06entrys\x18\x01 \x03(\v2!.protocol.SmartContract.ABI.EntryR\x06entrys\x1a\xb6\x05\n" + + "\x05Entry\x12\x1c\n" + + "\tanonymous\x18\x01 \x01(\bR\tanonymous\x12\x1a\n" + + "\bconstant\x18\x02 \x01(\bR\bconstant\x12\x12\n" + + "\x04name\x18\x03 \x01(\tR\x04name\x12?\n" + + "\x06inputs\x18\x04 \x03(\v2'.protocol.SmartContract.ABI.Entry.ParamR\x06inputs\x12A\n" + + "\aoutputs\x18\x05 \x03(\v2'.protocol.SmartContract.ABI.Entry.ParamR\aoutputs\x12?\n" + + "\x04type\x18\x06 \x01(\x0e2+.protocol.SmartContract.ABI.Entry.EntryTypeR\x04type\x12\x18\n" + + "\apayable\x18\a \x01(\bR\apayable\x12_\n" + + "\x0fstateMutability\x18\b \x01(\x0e25.protocol.SmartContract.ABI.Entry.StateMutabilityTypeR\x0fstateMutability\x1aI\n" + + "\x05Param\x12\x18\n" + + "\aindexed\x18\x01 \x01(\bR\aindexed\x12\x12\n" + + "\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" + + "\x04type\x18\x03 \x01(\tR\x04type\"q\n" + + "\tEntryType\x12\x14\n" + + "\x10UnknownEntryType\x10\x00\x12\x0f\n" + + "\vConstructor\x10\x01\x12\f\n" + + "\bFunction\x10\x02\x12\t\n" + + "\x05Event\x10\x03\x12\f\n" + + "\bFallback\x10\x04\x12\v\n" + + "\aReceive\x10\x05\x12\t\n" + + "\x05Error\x10\x06\"a\n" + + "\x13StateMutabilityType\x12\x19\n" + + "\x15UnknownMutabilityType\x10\x00\x12\b\n" + + "\x04Pure\x10\x01\x12\b\n" + + "\x04View\x10\x02\x12\x0e\n" + + "\n" + + "Nonpayable\x10\x03\x12\v\n" + + "\aPayable\x10\x04\"z\n" + + "\rContractState\x12!\n" + + "\fenergy_usage\x18\x01 \x01(\x03R\venergyUsage\x12#\n" + + "\renergy_factor\x18\x02 \x01(\x03R\fenergyFactor\x12!\n" + + "\fupdate_cycle\x18\x03 \x01(\x03R\vupdateCycle\"\xbb\x01\n" + + "\x13CreateSmartContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x12:\n" + + "\fnew_contract\x18\x02 \x01(\v2\x17.protocol.SmartContractR\vnewContract\x12(\n" + + "\x10call_token_value\x18\x03 \x01(\x03R\x0ecallTokenValue\x12\x19\n" + + "\btoken_id\x18\x04 \x01(\x03R\atokenId\"\xde\x01\n" + + "\x14TriggerSmartContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x12)\n" + + "\x10contract_address\x18\x02 \x01(\fR\x0fcontractAddress\x12\x1d\n" + + "\n" + + "call_value\x18\x03 \x01(\x03R\tcallValue\x12\x12\n" + + "\x04data\x18\x04 \x01(\fR\x04data\x12(\n" + + "\x10call_token_value\x18\x05 \x01(\x03R\x0ecallTokenValue\x12\x19\n" + + "\btoken_id\x18\x06 \x01(\x03R\atokenId\"b\n" + + "\x10ClearABIContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x12)\n" + + "\x10contract_address\x18\x02 \x01(\fR\x0fcontractAddress\"\xaa\x01\n" + + "\x15UpdateSettingContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x12)\n" + + "\x10contract_address\x18\x02 \x01(\fR\x0fcontractAddress\x12A\n" + + "\x1dconsume_user_resource_percent\x18\x03 \x01(\x03R\x1aconsumeUserResourcePercent\"\x9b\x01\n" + + "\x19UpdateEnergyLimitContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x12)\n" + + "\x10contract_address\x18\x02 \x01(\fR\x0fcontractAddress\x12.\n" + + "\x13origin_energy_limit\x18\x03 \x01(\x03R\x11originEnergyLimit\"\xbc\x01\n" + + "\x18SmartContractDataWrapper\x12>\n" + + "\x0esmart_contract\x18\x01 \x01(\v2\x17.protocol.SmartContractR\rsmartContract\x12 \n" + + "\vruntimecode\x18\x02 \x01(\fR\vruntimecode\x12>\n" + + "\x0econtract_state\x18\x03 \x01(\v2\x17.protocol.ContractStateR\rcontractStateBK\n" + + "\x18org.tron.protos.contractZ/github.com/fbsobreira/gotron-sdk/pkg/proto/coreb\x06proto3" var ( file_core_contract_smart_contract_proto_rawDescOnce sync.Once - file_core_contract_smart_contract_proto_rawDescData = file_core_contract_smart_contract_proto_rawDesc + file_core_contract_smart_contract_proto_rawDescData []byte ) func file_core_contract_smart_contract_proto_rawDescGZIP() []byte { file_core_contract_smart_contract_proto_rawDescOnce.Do(func() { - file_core_contract_smart_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_smart_contract_proto_rawDescData) + file_core_contract_smart_contract_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_core_contract_smart_contract_proto_rawDesc), len(file_core_contract_smart_contract_proto_rawDesc))) }) return file_core_contract_smart_contract_proto_rawDescData } var file_core_contract_smart_contract_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_core_contract_smart_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 11) -var file_core_contract_smart_contract_proto_goTypes = []interface{}{ +var file_core_contract_smart_contract_proto_goTypes = []any{ (SmartContract_ABI_Entry_EntryType)(0), // 0: protocol.SmartContract.ABI.Entry.EntryType (SmartContract_ABI_Entry_StateMutabilityType)(0), // 1: protocol.SmartContract.ABI.Entry.StateMutabilityType (*SmartContract)(nil), // 2: protocol.SmartContract @@ -1154,145 +1044,11 @@ func file_core_contract_smart_contract_proto_init() { return } file_core_Tron_proto_init() - if !protoimpl.UnsafeEnabled { - file_core_contract_smart_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SmartContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_smart_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ContractState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_smart_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateSmartContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_smart_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TriggerSmartContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_smart_contract_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClearABIContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_smart_contract_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateSettingContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_smart_contract_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateEnergyLimitContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_smart_contract_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SmartContractDataWrapper); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_smart_contract_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SmartContract_ABI); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_smart_contract_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SmartContract_ABI_Entry); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_smart_contract_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SmartContract_ABI_Entry_Param); 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_core_contract_smart_contract_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_core_contract_smart_contract_proto_rawDesc), len(file_core_contract_smart_contract_proto_rawDesc)), NumEnums: 2, NumMessages: 11, NumExtensions: 0, @@ -1304,7 +1060,6 @@ func file_core_contract_smart_contract_proto_init() { MessageInfos: file_core_contract_smart_contract_proto_msgTypes, }.Build() File_core_contract_smart_contract_proto = out.File - file_core_contract_smart_contract_proto_rawDesc = nil file_core_contract_smart_contract_proto_goTypes = nil file_core_contract_smart_contract_proto_depIdxs = nil } diff --git a/pkg/proto/core/storage_contract.pb.go b/pkg/proto/core/storage_contract.pb.go index 495e42b28..796ac8b3e 100644 --- a/pkg/proto/core/storage_contract.pb.go +++ b/pkg/proto/core/storage_contract.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 -// protoc v3.21.12 -// source: core/storage_contract.proto +// protoc-gen-go v1.36.6 +// protoc v5.29.3 +// source: core/contract/storage_contract.proto package core @@ -11,6 +11,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -21,21 +22,18 @@ const ( ) type BuyStorageBytesContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Bytes int64 `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"` // storage bytes for buy unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Bytes int64 `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"` // storage bytes for buy + sizeCache protoimpl.SizeCache } func (x *BuyStorageBytesContract) Reset() { *x = BuyStorageBytesContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_storage_contract_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_storage_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BuyStorageBytesContract) String() string { @@ -46,7 +44,7 @@ func (*BuyStorageBytesContract) ProtoMessage() {} func (x *BuyStorageBytesContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_storage_contract_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) @@ -76,21 +74,18 @@ func (x *BuyStorageBytesContract) GetBytes() int64 { } type BuyStorageContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Quant int64 `protobuf:"varint,2,opt,name=quant,proto3" json:"quant,omitempty"` // trx quantity for buy storage (sun) unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Quant int64 `protobuf:"varint,2,opt,name=quant,proto3" json:"quant,omitempty"` // trx quantity for buy storage (sun) + sizeCache protoimpl.SizeCache } func (x *BuyStorageContract) Reset() { *x = BuyStorageContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_storage_contract_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_storage_contract_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BuyStorageContract) String() string { @@ -101,7 +96,7 @@ func (*BuyStorageContract) ProtoMessage() {} func (x *BuyStorageContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_storage_contract_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) @@ -131,21 +126,18 @@ func (x *BuyStorageContract) GetQuant() int64 { } type SellStorageContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + StorageBytes int64 `protobuf:"varint,2,opt,name=storage_bytes,json=storageBytes,proto3" json:"storage_bytes,omitempty"` unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - StorageBytes int64 `protobuf:"varint,2,opt,name=storage_bytes,json=storageBytes,proto3" json:"storage_bytes,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SellStorageContract) Reset() { *x = SellStorageContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_storage_contract_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_storage_contract_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SellStorageContract) String() string { @@ -156,7 +148,7 @@ func (*SellStorageContract) ProtoMessage() {} func (x *SellStorageContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_storage_contract_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) @@ -186,21 +178,18 @@ func (x *SellStorageContract) GetStorageBytes() int64 { } type UpdateBrokerageContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Brokerage int32 `protobuf:"varint,2,opt,name=brokerage,proto3" json:"brokerage,omitempty"` // 1 mean 1% unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Brokerage int32 `protobuf:"varint,2,opt,name=brokerage,proto3" json:"brokerage,omitempty"` // 1 mean 1% + sizeCache protoimpl.SizeCache } func (x *UpdateBrokerageContract) Reset() { *x = UpdateBrokerageContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_storage_contract_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_storage_contract_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *UpdateBrokerageContract) String() string { @@ -211,7 +200,7 @@ func (*UpdateBrokerageContract) ProtoMessage() {} func (x *UpdateBrokerageContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_storage_contract_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) @@ -242,54 +231,37 @@ func (x *UpdateBrokerageContract) GetBrokerage() int32 { var File_core_contract_storage_contract_proto protoreflect.FileDescriptor -var file_core_contract_storage_contract_proto_rawDesc = []byte{ - 0x0a, 0x24, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, - 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x22, 0x54, 0x0a, 0x17, 0x42, 0x75, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x42, 0x79, - 0x74, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x12, 0x14, 0x0a, 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x22, 0x4f, 0x0a, 0x12, 0x42, 0x75, 0x79, 0x53, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x22, 0x5f, 0x0a, 0x13, 0x53, 0x65, 0x6c, 0x6c, 0x53, - 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, - 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x62, - 0x79, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, 0x5c, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x62, 0x72, 0x6f, 0x6b, - 0x65, 0x72, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x62, 0x72, 0x6f, - 0x6b, 0x65, 0x72, 0x61, 0x67, 0x65, 0x42, 0x45, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, - 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, - 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, - 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_core_contract_storage_contract_proto_rawDesc = "" + + "\n" + + "$core/contract/storage_contract.proto\x12\bprotocol\"T\n" + + "\x17BuyStorageBytesContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x12\x14\n" + + "\x05bytes\x18\x02 \x01(\x03R\x05bytes\"O\n" + + "\x12BuyStorageContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x12\x14\n" + + "\x05quant\x18\x02 \x01(\x03R\x05quant\"_\n" + + "\x13SellStorageContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x12#\n" + + "\rstorage_bytes\x18\x02 \x01(\x03R\fstorageBytes\"\\\n" + + "\x17UpdateBrokerageContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x12\x1c\n" + + "\tbrokerage\x18\x02 \x01(\x05R\tbrokerageBK\n" + + "\x18org.tron.protos.contractZ/github.com/fbsobreira/gotron-sdk/pkg/proto/coreb\x06proto3" var ( file_core_contract_storage_contract_proto_rawDescOnce sync.Once - file_core_contract_storage_contract_proto_rawDescData = file_core_contract_storage_contract_proto_rawDesc + file_core_contract_storage_contract_proto_rawDescData []byte ) func file_core_contract_storage_contract_proto_rawDescGZIP() []byte { file_core_contract_storage_contract_proto_rawDescOnce.Do(func() { - file_core_contract_storage_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_storage_contract_proto_rawDescData) + file_core_contract_storage_contract_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_core_contract_storage_contract_proto_rawDesc), len(file_core_contract_storage_contract_proto_rawDesc))) }) return file_core_contract_storage_contract_proto_rawDescData } var file_core_contract_storage_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_core_contract_storage_contract_proto_goTypes = []interface{}{ +var file_core_contract_storage_contract_proto_goTypes = []any{ (*BuyStorageBytesContract)(nil), // 0: protocol.BuyStorageBytesContract (*BuyStorageContract)(nil), // 1: protocol.BuyStorageContract (*SellStorageContract)(nil), // 2: protocol.SellStorageContract @@ -308,61 +280,11 @@ func file_core_contract_storage_contract_proto_init() { if File_core_contract_storage_contract_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_core_contract_storage_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BuyStorageBytesContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_storage_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BuyStorageContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_storage_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SellStorageContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_storage_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateBrokerageContract); 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_core_contract_storage_contract_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_core_contract_storage_contract_proto_rawDesc), len(file_core_contract_storage_contract_proto_rawDesc)), NumEnums: 0, NumMessages: 4, NumExtensions: 0, @@ -373,7 +295,6 @@ func file_core_contract_storage_contract_proto_init() { MessageInfos: file_core_contract_storage_contract_proto_msgTypes, }.Build() File_core_contract_storage_contract_proto = out.File - file_core_contract_storage_contract_proto_rawDesc = nil file_core_contract_storage_contract_proto_goTypes = nil file_core_contract_storage_contract_proto_depIdxs = nil } diff --git a/pkg/proto/core/vote_asset_contract.pb.go b/pkg/proto/core/vote_asset_contract.pb.go index 0c51168fe..52cc8e666 100644 --- a/pkg/proto/core/vote_asset_contract.pb.go +++ b/pkg/proto/core/vote_asset_contract.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 -// protoc v3.21.12 -// source: core/vote_asset_contract.proto +// protoc-gen-go v1.36.6 +// protoc v5.29.3 +// source: core/contract/vote_asset_contract.proto package core @@ -11,6 +11,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -21,23 +22,20 @@ const ( ) type VoteAssetContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + VoteAddress [][]byte `protobuf:"bytes,2,rep,name=vote_address,json=voteAddress,proto3" json:"vote_address,omitempty"` + Support bool `protobuf:"varint,3,opt,name=support,proto3" json:"support,omitempty"` + Count int32 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"` unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - VoteAddress [][]byte `protobuf:"bytes,2,rep,name=vote_address,json=voteAddress,proto3" json:"vote_address,omitempty"` - Support bool `protobuf:"varint,3,opt,name=support,proto3" json:"support,omitempty"` - Count int32 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"` + sizeCache protoimpl.SizeCache } func (x *VoteAssetContract) Reset() { *x = VoteAssetContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_vote_asset_contract_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_vote_asset_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *VoteAssetContract) String() string { @@ -48,7 +46,7 @@ func (*VoteAssetContract) ProtoMessage() {} func (x *VoteAssetContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_vote_asset_contract_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,40 +91,30 @@ func (x *VoteAssetContract) GetCount() int32 { var File_core_contract_vote_asset_contract_proto protoreflect.FileDescriptor -var file_core_contract_vote_asset_contract_proto_rawDesc = []byte{ - 0x0a, 0x27, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, - 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x22, 0x8b, 0x01, 0x0a, 0x11, 0x56, 0x6f, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, - 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, - 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x21, - 0x0a, 0x0c, 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0b, 0x76, 0x6f, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x42, 0x45, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x29, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, - 0x77, 0x61, 0x79, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_core_contract_vote_asset_contract_proto_rawDesc = "" + + "\n" + + "'core/contract/vote_asset_contract.proto\x12\bprotocol\"\x8b\x01\n" + + "\x11VoteAssetContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x12!\n" + + "\fvote_address\x18\x02 \x03(\fR\vvoteAddress\x12\x18\n" + + "\asupport\x18\x03 \x01(\bR\asupport\x12\x14\n" + + "\x05count\x18\x05 \x01(\x05R\x05countBK\n" + + "\x18org.tron.protos.contractZ/github.com/fbsobreira/gotron-sdk/pkg/proto/coreb\x06proto3" var ( file_core_contract_vote_asset_contract_proto_rawDescOnce sync.Once - file_core_contract_vote_asset_contract_proto_rawDescData = file_core_contract_vote_asset_contract_proto_rawDesc + file_core_contract_vote_asset_contract_proto_rawDescData []byte ) func file_core_contract_vote_asset_contract_proto_rawDescGZIP() []byte { file_core_contract_vote_asset_contract_proto_rawDescOnce.Do(func() { - file_core_contract_vote_asset_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_vote_asset_contract_proto_rawDescData) + file_core_contract_vote_asset_contract_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_core_contract_vote_asset_contract_proto_rawDesc), len(file_core_contract_vote_asset_contract_proto_rawDesc))) }) return file_core_contract_vote_asset_contract_proto_rawDescData } var file_core_contract_vote_asset_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_core_contract_vote_asset_contract_proto_goTypes = []interface{}{ +var file_core_contract_vote_asset_contract_proto_goTypes = []any{ (*VoteAssetContract)(nil), // 0: protocol.VoteAssetContract } var file_core_contract_vote_asset_contract_proto_depIdxs = []int32{ @@ -142,25 +130,11 @@ func file_core_contract_vote_asset_contract_proto_init() { if File_core_contract_vote_asset_contract_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_core_contract_vote_asset_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VoteAssetContract); 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_core_contract_vote_asset_contract_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_core_contract_vote_asset_contract_proto_rawDesc), len(file_core_contract_vote_asset_contract_proto_rawDesc)), NumEnums: 0, NumMessages: 1, NumExtensions: 0, @@ -171,7 +145,6 @@ func file_core_contract_vote_asset_contract_proto_init() { MessageInfos: file_core_contract_vote_asset_contract_proto_msgTypes, }.Build() File_core_contract_vote_asset_contract_proto = out.File - file_core_contract_vote_asset_contract_proto_rawDesc = nil file_core_contract_vote_asset_contract_proto_goTypes = nil file_core_contract_vote_asset_contract_proto_depIdxs = nil } diff --git a/pkg/proto/core/witness_contract.pb.go b/pkg/proto/core/witness_contract.pb.go index 39674ccd8..917bb0dff 100644 --- a/pkg/proto/core/witness_contract.pb.go +++ b/pkg/proto/core/witness_contract.pb.go @@ -1,8 +1,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 -// protoc v3.21.12 -// source: core/witness_contract.proto +// protoc-gen-go v1.36.6 +// protoc v5.29.3 +// source: core/contract/witness_contract.proto package core @@ -11,6 +11,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -21,21 +22,18 @@ const ( ) type WitnessCreateContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Url []byte `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Url []byte `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` + sizeCache protoimpl.SizeCache } func (x *WitnessCreateContract) Reset() { *x = WitnessCreateContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_witness_contract_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_witness_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WitnessCreateContract) String() string { @@ -46,7 +44,7 @@ func (*WitnessCreateContract) ProtoMessage() {} func (x *WitnessCreateContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_witness_contract_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) @@ -76,21 +74,18 @@ func (x *WitnessCreateContract) GetUrl() []byte { } type WitnessUpdateContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + UpdateUrl []byte `protobuf:"bytes,12,opt,name=update_url,json=updateUrl,proto3" json:"update_url,omitempty"` unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - UpdateUrl []byte `protobuf:"bytes,12,opt,name=update_url,json=updateUrl,proto3" json:"update_url,omitempty"` + sizeCache protoimpl.SizeCache } func (x *WitnessUpdateContract) Reset() { *x = WitnessUpdateContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_witness_contract_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_witness_contract_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *WitnessUpdateContract) String() string { @@ -101,7 +96,7 @@ func (*WitnessUpdateContract) ProtoMessage() {} func (x *WitnessUpdateContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_witness_contract_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) @@ -131,22 +126,19 @@ func (x *WitnessUpdateContract) GetUpdateUrl() []byte { } type VoteWitnessContract struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Votes []*VoteWitnessContract_Vote `protobuf:"bytes,2,rep,name=votes,proto3" json:"votes,omitempty"` + Support bool `protobuf:"varint,3,opt,name=support,proto3" json:"support,omitempty"` unknownFields protoimpl.UnknownFields - - OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` - Votes []*VoteWitnessContract_Vote `protobuf:"bytes,2,rep,name=votes,proto3" json:"votes,omitempty"` - Support bool `protobuf:"varint,3,opt,name=support,proto3" json:"support,omitempty"` + sizeCache protoimpl.SizeCache } func (x *VoteWitnessContract) Reset() { *x = VoteWitnessContract{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_witness_contract_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_witness_contract_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *VoteWitnessContract) String() string { @@ -157,7 +149,7 @@ func (*VoteWitnessContract) ProtoMessage() {} func (x *VoteWitnessContract) ProtoReflect() protoreflect.Message { mi := &file_core_contract_witness_contract_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) @@ -194,21 +186,18 @@ func (x *VoteWitnessContract) GetSupport() bool { } type VoteWitnessContract_Vote struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + VoteAddress []byte `protobuf:"bytes,1,opt,name=vote_address,json=voteAddress,proto3" json:"vote_address,omitempty"` + VoteCount int64 `protobuf:"varint,2,opt,name=vote_count,json=voteCount,proto3" json:"vote_count,omitempty"` unknownFields protoimpl.UnknownFields - - VoteAddress []byte `protobuf:"bytes,1,opt,name=vote_address,json=voteAddress,proto3" json:"vote_address,omitempty"` - VoteCount int64 `protobuf:"varint,2,opt,name=vote_count,json=voteCount,proto3" json:"vote_count,omitempty"` + sizeCache protoimpl.SizeCache } func (x *VoteWitnessContract_Vote) Reset() { *x = VoteWitnessContract_Vote{} - if protoimpl.UnsafeEnabled { - mi := &file_core_contract_witness_contract_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_core_contract_witness_contract_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *VoteWitnessContract_Vote) String() string { @@ -219,7 +208,7 @@ func (*VoteWitnessContract_Vote) ProtoMessage() {} func (x *VoteWitnessContract_Vote) ProtoReflect() protoreflect.Message { mi := &file_core_contract_witness_contract_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) @@ -250,56 +239,40 @@ func (x *VoteWitnessContract_Vote) GetVoteCount() int64 { var File_core_contract_witness_contract_proto protoreflect.FileDescriptor -var file_core_contract_witness_contract_proto_rawDesc = []byte{ - 0x0a, 0x24, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, - 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x22, 0x4e, 0x0a, 0x15, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, - 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x10, - 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x75, 0x72, 0x6c, - 0x22, 0x5b, 0x0a, 0x15, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, - 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, - 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x0c, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x72, 0x6c, 0x22, 0xd8, 0x01, - 0x0a, 0x13, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x38, 0x0a, 0x05, 0x76, 0x6f, - 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, - 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x52, 0x05, 0x76, - 0x6f, 0x74, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x1a, 0x48, - 0x0a, 0x04, 0x56, 0x6f, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x76, 0x6f, - 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x74, - 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x76, - 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x45, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, - 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, - 0x72, 0x61, 0x63, 0x74, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x72, - 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_core_contract_witness_contract_proto_rawDesc = "" + + "\n" + + "$core/contract/witness_contract.proto\x12\bprotocol\"N\n" + + "\x15WitnessCreateContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x12\x10\n" + + "\x03url\x18\x02 \x01(\fR\x03url\"[\n" + + "\x15WitnessUpdateContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x12\x1d\n" + + "\n" + + "update_url\x18\f \x01(\fR\tupdateUrl\"\xd8\x01\n" + + "\x13VoteWitnessContract\x12#\n" + + "\rowner_address\x18\x01 \x01(\fR\fownerAddress\x128\n" + + "\x05votes\x18\x02 \x03(\v2\".protocol.VoteWitnessContract.VoteR\x05votes\x12\x18\n" + + "\asupport\x18\x03 \x01(\bR\asupport\x1aH\n" + + "\x04Vote\x12!\n" + + "\fvote_address\x18\x01 \x01(\fR\vvoteAddress\x12\x1d\n" + + "\n" + + "vote_count\x18\x02 \x01(\x03R\tvoteCountBK\n" + + "\x18org.tron.protos.contractZ/github.com/fbsobreira/gotron-sdk/pkg/proto/coreb\x06proto3" var ( file_core_contract_witness_contract_proto_rawDescOnce sync.Once - file_core_contract_witness_contract_proto_rawDescData = file_core_contract_witness_contract_proto_rawDesc + file_core_contract_witness_contract_proto_rawDescData []byte ) func file_core_contract_witness_contract_proto_rawDescGZIP() []byte { file_core_contract_witness_contract_proto_rawDescOnce.Do(func() { - file_core_contract_witness_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_witness_contract_proto_rawDescData) + file_core_contract_witness_contract_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_core_contract_witness_contract_proto_rawDesc), len(file_core_contract_witness_contract_proto_rawDesc))) }) return file_core_contract_witness_contract_proto_rawDescData } var file_core_contract_witness_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_core_contract_witness_contract_proto_goTypes = []interface{}{ +var file_core_contract_witness_contract_proto_goTypes = []any{ (*WitnessCreateContract)(nil), // 0: protocol.WitnessCreateContract (*WitnessUpdateContract)(nil), // 1: protocol.WitnessUpdateContract (*VoteWitnessContract)(nil), // 2: protocol.VoteWitnessContract @@ -319,61 +292,11 @@ func file_core_contract_witness_contract_proto_init() { if File_core_contract_witness_contract_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_core_contract_witness_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WitnessCreateContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_witness_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WitnessUpdateContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_witness_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VoteWitnessContract); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_core_contract_witness_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VoteWitnessContract_Vote); 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_core_contract_witness_contract_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_core_contract_witness_contract_proto_rawDesc), len(file_core_contract_witness_contract_proto_rawDesc)), NumEnums: 0, NumMessages: 4, NumExtensions: 0, @@ -384,7 +307,6 @@ func file_core_contract_witness_contract_proto_init() { MessageInfos: file_core_contract_witness_contract_proto_msgTypes, }.Build() File_core_contract_witness_contract_proto = out.File - file_core_contract_witness_contract_proto_rawDesc = nil file_core_contract_witness_contract_proto_goTypes = nil file_core_contract_witness_contract_proto_depIdxs = nil } diff --git a/pkg/proto/util/completeTx.pb.go b/pkg/proto/util/completeTx.pb.go index 9a2068375..e84de4ced 100644 --- a/pkg/proto/util/completeTx.pb.go +++ b/pkg/proto/util/completeTx.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.0 -// protoc v3.21.12 +// protoc-gen-go v1.36.6 +// protoc v5.29.3 // source: completeTx.proto package util @@ -13,6 +13,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -23,25 +24,22 @@ const ( ) type ProtoCompleteTransaction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + BlockNumber uint64 `protobuf:"varint,1,opt,name=BlockNumber,proto3" json:"BlockNumber,omitempty"` + BlockTime uint64 `protobuf:"varint,2,opt,name=BlockTime,proto3" json:"BlockTime,omitempty"` + Tx *api.TransactionExtention `protobuf:"bytes,3,opt,name=Tx,proto3" json:"Tx,omitempty"` + Info *core.TransactionInfo `protobuf:"bytes,4,opt,name=Info,proto3" json:"Info,omitempty"` + ExchangeInfo *core.Exchange `protobuf:"bytes,5,opt,name=ExchangeInfo,proto3" json:"ExchangeInfo,omitempty"` + AssetInfo *core.AssetIssueContract `protobuf:"bytes,6,opt,name=AssetInfo,proto3" json:"AssetInfo,omitempty"` unknownFields protoimpl.UnknownFields - - BlockNumber uint64 `protobuf:"varint,1,opt,name=BlockNumber,proto3" json:"BlockNumber,omitempty"` - BlockTime uint64 `protobuf:"varint,2,opt,name=BlockTime,proto3" json:"BlockTime,omitempty"` - Tx *api.TransactionExtention `protobuf:"bytes,3,opt,name=Tx,proto3" json:"Tx,omitempty"` - Info *core.TransactionInfo `protobuf:"bytes,4,opt,name=Info,proto3" json:"Info,omitempty"` - ExchangeInfo *core.Exchange `protobuf:"bytes,5,opt,name=ExchangeInfo,proto3" json:"ExchangeInfo,omitempty"` - AssetInfo *core.AssetIssueContract `protobuf:"bytes,6,opt,name=AssetInfo,proto3" json:"AssetInfo,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ProtoCompleteTransaction) Reset() { *x = ProtoCompleteTransaction{} - if protoimpl.UnsafeEnabled { - mi := &file_completeTx_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_completeTx_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProtoCompleteTransaction) String() string { @@ -52,7 +50,7 @@ func (*ProtoCompleteTransaction) ProtoMessage() {} func (x *ProtoCompleteTransaction) ProtoReflect() protoreflect.Message { mi := &file_completeTx_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,52 +109,31 @@ func (x *ProtoCompleteTransaction) GetAssetInfo() *core.AssetIssueContract { var File_completeTx_proto protoreflect.FileDescriptor -var file_completeTx_proto_rawDesc = []byte{ - 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x78, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x1a, 0x0f, 0x63, 0x6f, - 0x72, 0x65, 0x2f, 0x54, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0d, 0x61, - 0x70, 0x69, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x63, 0x6f, - 0x72, 0x65, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xad, 0x02, - 0x0a, 0x18, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x0b, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x09, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x02, 0x54, 0x78, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, - 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x02, 0x54, 0x78, 0x12, 0x2d, 0x0a, 0x04, 0x49, 0x6e, - 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x36, 0x0a, 0x0c, 0x45, 0x78, 0x63, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, - 0x6e, 0x67, 0x65, 0x52, 0x0c, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, - 0x6f, 0x12, 0x3a, 0x0a, 0x09, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, - 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, - 0x63, 0x74, 0x52, 0x09, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x31, 0x5a, - 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x66, 0x62, 0x73, 0x6f, - 0x62, 0x72, 0x65, 0x69, 0x72, 0x61, 0x2f, 0x67, 0x6f, 0x74, 0x72, 0x6f, 0x6e, 0x2d, 0x73, 0x64, - 0x6b, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x75, 0x74, 0x69, 0x6c, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_completeTx_proto_rawDesc = "" + + "\n" + + "\x10completeTx.proto\x12\bprotocol\x1a\x0fcore/Tron.proto\x1a\rapi/api.proto\x1a(core/contract/asset_issue_contract.proto\"\xad\x02\n" + + "\x18ProtoCompleteTransaction\x12 \n" + + "\vBlockNumber\x18\x01 \x01(\x04R\vBlockNumber\x12\x1c\n" + + "\tBlockTime\x18\x02 \x01(\x04R\tBlockTime\x12.\n" + + "\x02Tx\x18\x03 \x01(\v2\x1e.protocol.TransactionExtentionR\x02Tx\x12-\n" + + "\x04Info\x18\x04 \x01(\v2\x19.protocol.TransactionInfoR\x04Info\x126\n" + + "\fExchangeInfo\x18\x05 \x01(\v2\x12.protocol.ExchangeR\fExchangeInfo\x12:\n" + + "\tAssetInfo\x18\x06 \x01(\v2\x1c.protocol.AssetIssueContractR\tAssetInfoB1Z/github.com/fbsobreira/gotron-sdk/pkg/proto/utilb\x06proto3" var ( file_completeTx_proto_rawDescOnce sync.Once - file_completeTx_proto_rawDescData = file_completeTx_proto_rawDesc + file_completeTx_proto_rawDescData []byte ) func file_completeTx_proto_rawDescGZIP() []byte { file_completeTx_proto_rawDescOnce.Do(func() { - file_completeTx_proto_rawDescData = protoimpl.X.CompressGZIP(file_completeTx_proto_rawDescData) + file_completeTx_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_completeTx_proto_rawDesc), len(file_completeTx_proto_rawDesc))) }) return file_completeTx_proto_rawDescData } var file_completeTx_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_completeTx_proto_goTypes = []interface{}{ +var file_completeTx_proto_goTypes = []any{ (*ProtoCompleteTransaction)(nil), // 0: protocol.ProtoCompleteTransaction (*api.TransactionExtention)(nil), // 1: protocol.TransactionExtention (*core.TransactionInfo)(nil), // 2: protocol.TransactionInfo @@ -180,25 +157,11 @@ func file_completeTx_proto_init() { if File_completeTx_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_completeTx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProtoCompleteTransaction); 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_completeTx_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_completeTx_proto_rawDesc), len(file_completeTx_proto_rawDesc)), NumEnums: 0, NumMessages: 1, NumExtensions: 0, @@ -209,7 +172,6 @@ func file_completeTx_proto_init() { MessageInfos: file_completeTx_proto_msgTypes, }.Build() File_completeTx_proto = out.File - file_completeTx_proto_rawDesc = nil file_completeTx_proto_goTypes = nil file_completeTx_proto_depIdxs = nil } diff --git a/pkg/store/local.go b/pkg/store/local.go index 43151cab1..23196a913 100644 --- a/pkg/store/local.go +++ b/pkg/store/local.go @@ -2,34 +2,34 @@ package store import ( "fmt" - "io/ioutil" "os" "path" "github.com/fbsobreira/gotron-sdk/pkg/address" - "github.com/fbsobreira/gotron-sdk/pkg/common" c "github.com/fbsobreira/gotron-sdk/pkg/common" "github.com/fbsobreira/gotron-sdk/pkg/keystore" - "github.com/pkg/errors" - homedir "github.com/mitchellh/go-homedir" + "github.com/pkg/errors" ) func init() { uDir, _ := homedir.Dir() - tronCTLDir := path.Join(uDir, common.DefaultConfigDirName, common.DefaultConfigAccountAliasesDirName) + tronCTLDir := path.Join(uDir, c.DefaultConfigDirName, c.DefaultConfigAccountAliasesDirName) if _, err := os.Stat(tronCTLDir); os.IsNotExist(err) { - os.MkdirAll(tronCTLDir, 0700) + err = os.MkdirAll(tronCTLDir, 0700) + if err != nil { + fmt.Printf("create keystore dir error: %v\n", err) + } } } // LocalAccounts returns a slice of local account alias names func LocalAccounts() []string { uDir, _ := homedir.Dir() - files, _ := ioutil.ReadDir(path.Join( + files, _ := os.ReadDir(path.Join( uDir, - common.DefaultConfigDirName, - common.DefaultConfigAccountAliasesDirName, + c.DefaultConfigDirName, + c.DefaultConfigAccountAliasesDirName, )) accounts := []string{} @@ -110,10 +110,17 @@ func DefaultLocation() string { // SetDefaultLocation set deafault location func SetDefaultLocation(directory string) { c.DefaultConfigDirName = directory - uDir, _ := homedir.Dir() - tronCTLDir := path.Join(uDir, common.DefaultConfigDirName, common.DefaultConfigAccountAliasesDirName) + uDir, err := homedir.Dir() + if err != nil { + fmt.Printf("get home dir error: %v\n", err) + return + } + tronCTLDir := path.Join(uDir, c.DefaultConfigDirName, c.DefaultConfigAccountAliasesDirName) if _, err := os.Stat(tronCTLDir); os.IsNotExist(err) { - os.MkdirAll(tronCTLDir, 0700) + err = os.MkdirAll(tronCTLDir, 0700) + if err != nil { + fmt.Printf("create keystore dir error: %v\n", err) + } } } diff --git a/proto/tron b/proto/tron index 244c8353b..2a678934d 160000 --- a/proto/tron +++ b/proto/tron @@ -1 +1 @@ -Subproject commit 244c8353b9c1368049f83110c33325ace5c55bdf +Subproject commit 2a678934da3992b1a67f975769bbb2d31989451f diff --git a/proto/util/completeTx.proto b/proto/util/completeTx.proto index 53a2ccb04..1b3c3ac4e 100644 --- a/proto/util/completeTx.proto +++ b/proto/util/completeTx.proto @@ -2,7 +2,7 @@ syntax = "proto3"; import "core/Tron.proto"; import "api/api.proto"; -import "core/asset_issue_contract.proto"; +import "core/contract/asset_issue_contract.proto"; package protocol; From 96b87f5d2100a596b3c4beea0ec0e5b77a398017 Mon Sep 17 00:00:00 2001 From: Fernando Sobreira Date: Sun, 27 Apr 2025 09:06:16 -0400 Subject: [PATCH 38/53] Make Config Directory Creation Explicit (#148) * fix: rename init function to InitConfigDir for clarity (#147) * fix: ensure home directory is created if it doesn't exist during keystore import --- pkg/account/import.go | 2 ++ pkg/store/local.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/account/import.go b/pkg/account/import.go index a70516288..568f3909c 100644 --- a/pkg/account/import.go +++ b/pkg/account/import.go @@ -126,6 +126,8 @@ func ImportKeyStore(keyPath, name, passphrase string) (string, error) { if hasAddress { return "", fmt.Errorf("address %s already exists in keystore", key.Address.String()) } + // create home dir if it doesn't exist + store.InitConfigDir() uDir, _ := homedir.Dir() newPath := filepath.Join(uDir, common.DefaultConfigDirName, common.DefaultConfigAccountAliasesDirName, name, filepath.Base(keyPath)) err = writeToFile(newPath, string(keyJSON)) diff --git a/pkg/store/local.go b/pkg/store/local.go index 23196a913..631aa30dd 100644 --- a/pkg/store/local.go +++ b/pkg/store/local.go @@ -12,7 +12,7 @@ import ( "github.com/pkg/errors" ) -func init() { +func InitConfigDir() { uDir, _ := homedir.Dir() tronCTLDir := path.Join(uDir, c.DefaultConfigDirName, c.DefaultConfigAccountAliasesDirName) if _, err := os.Stat(tronCTLDir); os.IsNotExist(err) { From fff6a96c151442be64a94797a590265c6785c0bd Mon Sep 17 00:00:00 2001 From: Fernando Sobreira Date: Mon, 9 Jun 2025 11:51:57 -0400 Subject: [PATCH 39/53] feat: Add address validation methods and comprehensive SDK documentation (#153) * fix: retract v2 versions to resolve module versioning issue Add retract directives for all v2.x.x versions that were incorrectly tagged without /v2 in the module path. This ensures proper version resolution for users and allows continuation with v1.x.x releases. * docs: Add comprehensive documentation for GoTRON SDK - Add complete documentation structure in docs/ directory: - installation.md: Multi-platform installation guide with troubleshooting - cli-usage.md: Complete CLI command reference with examples - sdk-usage.md: Go SDK patterns, examples, and best practices - api-reference.md: Full API documentation for all packages - examples.md: Practical examples and complete applications - Rewrite README.md with modern structure and correct CLI syntax * fix: update comment for clarity in address test * feat: add IsValid method to validate TRON addresses with comprehensive tests (#152) --- README.md | 226 +++++-- docs/api-reference.md | 728 +++++++++++++++++++++ docs/cli-usage.md | 657 +++++++++++++++++++ docs/examples.md | 1206 +++++++++++++++++++++++++++++++++++ docs/installation.md | 336 ++++++++++ docs/sdk-usage.md | 941 +++++++++++++++++++++++++++ go.mod | 10 + pkg/address/address.go | 15 + pkg/address/address_test.go | 174 ++++- 9 files changed, 4251 insertions(+), 42 deletions(-) create mode 100644 docs/api-reference.md create mode 100644 docs/cli-usage.md create mode 100644 docs/examples.md create mode 100644 docs/installation.md create mode 100644 docs/sdk-usage.md diff --git a/README.md b/README.md index 3bbca9e69..5c746b27c 100644 --- a/README.md +++ b/README.md @@ -1,82 +1,226 @@ -# TRON's go-sdk +# GoTRON SDK -GoSDK and TRON-CLI tool for TRON's blockchain via GRPC +[![Go Reference](https://pkg.go.dev/badge/github.com/fbsobreira/gotron-sdk.svg)](https://pkg.go.dev/github.com/fbsobreira/gotron-sdk) +[![Go Report Card](https://goreportcard.com/badge/github.com/fbsobreira/gotron-sdk)](https://goreportcard.com/report/github.com/fbsobreira/gotron-sdk) +[![License](https://img.shields.io/github/license/fbsobreira/gotron-sdk)](LICENSE) -# Build +GoTRON SDK is a comprehensive Go SDK and CLI tool for interacting with the TRON blockchain. It provides both a command-line interface (`tronctl`) and Go libraries for TRON blockchain operations. +## Features +- 🔧 **Complete CLI Tool**: Manage accounts, send transactions, interact with smart contracts +- 📚 **Go SDK**: Build TRON applications with a clean, idiomatic Go API +- 🔐 **Secure Key Management**: Hardware wallet support, encrypted keystores +- 🚀 **High Performance**: Native gRPC communication with TRON nodes +- 🛠️ **Developer Friendly**: Comprehensive examples and documentation + +## Quick Start + +### Installation + +#### Install from source +```bash +git clone https://github.com/fbsobreira/gotron-sdk.git +cd gotron-sdk +make install ``` -$ git pull -r origin master -$ make + +#### Install with go get +```bash +go get -u github.com/fbsobreira/gotron-sdk ``` -### cross build for windows +### Basic Usage + +#### CLI Usage +```bash +# Create a new account +tronctl keys add + +# Check balance +tronctl account balance
+ +# Send TRX +tronctl account send --signer ``` -make windows + +#### SDK Usage +```go +package main + +import ( + "fmt" + "log" + + "github.com/fbsobreira/gotron-sdk/pkg/client" + "github.com/fbsobreira/gotron-sdk/pkg/address" +) + +func main() { + // Create client + c := client.NewGrpcClient("grpc.trongrid.io:50051") + err := c.Start() + if err != nil { + log.Fatal(err) + } + defer c.Stop() + + // Get account info + addr, _ := address.Base58ToAddress("TRX6Q82wMqWNbCCpKPfRvVmfSm5N2TwrJw") + account, err := c.GetAccount(addr) + if err != nil { + log.Fatal(err) + } + + fmt.Printf("Balance: %d\n", account.Balance) +} ``` -# Usage & Examples +## Documentation + +- [Installation Guide](docs/installation.md) - Detailed installation instructions +- [CLI Usage Guide](docs/cli-usage.md) - Complete CLI command reference +- [SDK Usage Guide](docs/sdk-usage.md) - Go SDK examples and patterns +- [API Reference](docs/api-reference.md) - Detailed API documentation +- [Examples](docs/examples.md) - Common use cases and examples + +## Supported Features + +### Account Management +- Create and import accounts +- Hardware wallet support (Ledger) +- Keystore management +- Multi-signature support + +### Transactions +- TRX transfers +- TRC10 token operations +- TRC20 token operations +- Smart contract interactions +- Transaction signing and broadcasting + +### Smart Contracts +- Contract deployment +- Contract calls and triggers +- ABI encoding/decoding +- Event monitoring + +### Blockchain Queries +- Block information +- Transaction details +- Account resources +- Witness/SR information +- Proposal management + +## Configuration + +### Environment Variables +```bash +# Set custom node +export TRON_NODE="grpc.trongrid.io:50051" -# bash completions +# Enable TLS +export TRON_NODE_TLS="true" -once built, add `tronctl` to your path and add to your `.bashrc` +# Set Trongrid API key +export TRONGRID_APIKEY="your-api-key" +# Enable debug mode +export GOTRON_SDK_DEBUG="true" ``` -. <(tronctl completion) + +### Configuration File +Create `~/.tronctl/config.yaml`: +```yaml +node: grpc.trongrid.io:50051 +network: mainnet +timeout: 60s +tls: true +apiKey: your-api-key ``` -## Transfer JSON file format -The JSON file will be a JSON array where each element has the following attributes: +### Transfer JSON Format +For batch transfers, use a JSON file with the following format: | Key | Value-type | Value-description| | :------------------:|:----------:| :----------------| -| `from` | string | [**Required**] Sender's one address, must have key in keystore. | -| `to` | string | [**Required**] The receivers one address. | -| `amount` | string | [**Required**] The amount to send in $ONE. | -| `passphrase-file` | string | [*Optional*] The file path to file containing the passphrase in plain text. If none is provided, check for passphrase string. | -| `passphrase-string` | string | [*Optional*] The passphrase as a string in plain text. If none is provided, passphrase is ''. | -| `stop-on-error` | boolean | [*Optional*] If true, stop sending transactions if an error occurred, default is false. | - -Example of JSON file: - +| `from` | string | [**Required**] Sender's address, must have key in keystore | +| `to` | string | [**Required**] Receiver's address | +| `amount` | string | [**Required**] Amount to send in TRX | +| `passphrase-file` | string | [*Optional*] File path containing passphrase | +| `passphrase-string` | string | [*Optional*] Passphrase as string | +| `stop-on-error` | boolean | [*Optional*] Stop on error (default: false) | + +Example: ```json [ { "from": "TUEZSdKsoDHQMeZwihtdoBiN46zxhGWYdH", "to": "TKSXDA8HfE9E1y39RczVQ1ZascUEtaSToF", - "amount": "1", + "amount": "100", "passphrase-string": "", "stop-on-error": true - }, - { - "from": "TUEZSdKsoDHQMeZwihtdoBiN46zxhGWYdH", - "to": "TEvHMZWyfjCAdDJEKYxYVL8rRpigddLC1R", - "amount": "1", - "passphrase-file": "./pw.txt", } ] ``` +## Shell Completion + +Add to your `.bashrc` or `.zshrc`: +```bash +# Bash +source <(tronctl completion bash) + +# Zsh +source <(tronctl completion zsh) +``` -# Debugging +## Development -The gotron-sdk code respects `GOTRON_SDK_DEBUG` as debugging -based environment variables. +### Requirements +- Go 1.18 or higher +- Make (for building) +- Protocol Buffers compiler (for regenerating protos) +### Building ```bash -GOTRON_SDK_DEBUG=true ./tronctl +# Build binary +make build + +# Cross-compile for Windows +make build-windows + +# Run tests +make test + +# Run linter +make lint + +# Generate protobuf files +./gen-proto.sh ``` +## Contributing + +We welcome contributions! Please see our [Contributing Guidelines](CONTRIBUTING.md) for details. + +1. Fork the repository +2. Create your feature branch (`git checkout -b feature/amazing-feature`) +3. Commit your changes (`git commit -m 'Add some amazing feature'`) +4. Push to the branch (`git push origin feature/amazing-feature`) +5. Open a Pull Request + +## Version History -# GRPC TLS +### Note on Versions +The v2.x.x releases were incorrectly tagged without proper Go module versioning. These versions have been retracted. Please use v1.x.x versions or later. -If you node require TLS connection, use parameter `--withTLS` -TLS credentials can also be set persistent in config file: `withTLS: true` +## License -# Trongrid API Key +This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. -To set trongrid API Key first create you api key at `www.trongrid.io` and use parameter - `--apiKey=25f66928-0b70-48cd-9ac6-da6f8247c663` (replace with your API key) -Trongrid API Key can also be set persistent in config file: `apiKey: 25f66928-0b70-48cd-9ac6-da6f8247c663` (replace with your API key) +## Support -OS environment variable `TRONGRID_APIKEY` will overwrite any prior API key configuration if set. +- 📖 [Documentation](https://github.com/fbsobreira/gotron-sdk/tree/master/docs) +- 🐛 [Issue Tracker](https://github.com/fbsobreira/gotron-sdk/issues) +- 💬 [Discussions](https://github.com/fbsobreira/gotron-sdk/discussions) diff --git a/docs/api-reference.md b/docs/api-reference.md new file mode 100644 index 000000000..d09bb59ab --- /dev/null +++ b/docs/api-reference.md @@ -0,0 +1,728 @@ +# API Reference + +Complete API reference for the Gotron SDK packages. + +## Table of Contents + +- [Client Package](#client-package) +- [Address Package](#address-package) +- [Transaction Package](#transaction-package) +- [Keystore Package](#keystore-package) +- [ABI Package](#abi-package) +- [Common Package](#common-package) +- [Proto Package](#proto-package) + +## Client Package + +### `github.com/fbsobreira/gotron-sdk/pkg/client` + +The client package provides the main interface for interacting with TRON nodes. + +#### GrpcClient + +```go +type GrpcClient struct { + Address string + Conn *grpc.ClientConn + Client api.WalletClient +} +``` + +##### Constructor + +```go +func NewGrpcClient(address string) *GrpcClient +func NewGrpcClientWithTimeout(address string, timeout int) *GrpcClient +``` + +##### Connection Methods + +```go +func (c *GrpcClient) Start() error +func (c *GrpcClient) Stop() +func (c *GrpcClient) SetAPIKey(apiKey string) +``` + +##### Account Methods + +```go +// Get account information +func (c *GrpcClient) GetAccount(address common.Address) (*core.Account, error) + +// Get account resources +func (c *GrpcClient) GetAccountResource(address common.Address) (*api.AccountResourceMessage, error) + +// Get account net usage +func (c *GrpcClient) GetAccountNet(address common.Address) (*api.AccountNetMessage, error) +``` + +##### Transaction Methods + +```go +// Create transfer transaction +func (c *GrpcClient) Transfer(from, to common.Address, amount int64) (*api.TransactionExtention, error) + +// Create transfer with memo +func (c *GrpcClient) TransferWithMemo(from, to common.Address, amount int64, memo string) (*api.TransactionExtention, error) + +// Broadcast transaction +func (c *GrpcClient) Broadcast(transaction *core.Transaction) (*api.Return, error) + +// Get transaction by ID +func (c *GrpcClient) GetTransactionByID(id string) (*core.Transaction, error) + +// Get transaction info by ID +func (c *GrpcClient) GetTransactionInfoByID(id string) (*core.TransactionInfo, error) +``` + +##### Block Methods + +```go +// Get current block +func (c *GrpcClient) GetNowBlock() (*core.Block, error) + +// Get block by number +func (c *GrpcClient) GetBlockByNum(num int64) (*core.Block, error) + +// Get block by ID +func (c *GrpcClient) GetBlockByID(id string) (*core.Block, error) + +// Get block by latest number +func (c *GrpcClient) GetBlockByLatestNum(num int64) (*api.BlockList, error) + +// Get block by limit next +func (c *GrpcClient) GetBlockByLimitNext(start, end int64) (*api.BlockList, error) +``` + +##### Smart Contract Methods + +```go +// Deploy contract +func (c *GrpcClient) DeployContract( + owner common.Address, + name string, + bytecode []byte, + feeLimit int64, + consumeUserResourcePercent int64, + originEnergyLimit int64, +) (*api.TransactionExtention, error) + +// Trigger smart contract +func (c *GrpcClient) TriggerContract( + owner, contract common.Address, + data []byte, + feeLimit int64, + callValue int64, + tokenID string, +) (*api.TransactionExtention, error) + +// Trigger constant contract (call) +func (c *GrpcClient) TriggerConstantContract( + owner, contract common.Address, + data []byte, + callValue int64, +) (*api.TransactionExtention, error) + +// Get contract +func (c *GrpcClient) GetContract(address common.Address) (*core.SmartContract, error) + +// Get contract info +func (c *GrpcClient) GetContractInfo(address common.Address) (*core.SmartContractDataWrapper, error) +``` + +##### Resource Management + +```go +// Freeze balance +func (c *GrpcClient) FreezeBalance( + owner common.Address, + amount int64, + duration int64, + resource core.ResourceCode, + receiver string, +) (*api.TransactionExtention, error) + +// Unfreeze balance +func (c *GrpcClient) UnfreezeBalance( + owner common.Address, + resource core.ResourceCode, + receiver string, +) (*api.TransactionExtention, error) + +// Delegate resource +func (c *GrpcClient) DelegateResource( + owner common.Address, + receiver common.Address, + balance int64, + resource core.ResourceCode, + lock bool, +) (*api.TransactionExtention, error) + +// Undelegate resource +func (c *GrpcClient) UnDelegateResource( + owner common.Address, + receiver common.Address, + balance int64, + resource core.ResourceCode, +) (*api.TransactionExtention, error) +``` + +##### Witness Methods + +```go +// List witnesses +func (c *GrpcClient) ListWitnesses() (*api.WitnessList, error) + +// Create witness +func (c *GrpcClient) CreateWitness(owner common.Address, url string) (*api.TransactionExtention, error) + +// Update witness +func (c *GrpcClient) UpdateWitness(owner common.Address, url string) (*api.TransactionExtention, error) + +// Vote witness +func (c *GrpcClient) VoteWitnessAccount( + owner common.Address, + votes map[string]int64, +) (*api.TransactionExtention, error) + +// Get brokerage info +func (c *GrpcClient) GetBrokerageInfo(address common.Address) (*api.NumberMessage, error) + +// Update brokerage +func (c *GrpcClient) UpdateBrokerage(owner common.Address, brokerage int32) (*api.TransactionExtention, error) +``` + +##### TRC10 Token Methods + +```go +// Create asset issue +func (c *GrpcClient) CreateAssetIssue( + owner common.Address, + name string, + abbr string, + totalSupply int64, + trxNum int32, + num int32, + startTime int64, + endTime int64, + description string, + url string, + freeAssetNetLimit int64, + publicFreeAssetNetLimit int64, + precision int32, + fronzenSupply map[int64]int64, +) (*api.TransactionExtention, error) + +// Transfer asset +func (c *GrpcClient) TransferAsset( + from, to common.Address, + assetID string, + amount int64, +) (*api.TransactionExtention, error) + +// Participate asset issue +func (c *GrpcClient) ParticipateAssetIssue( + from, to common.Address, + assetID string, + amount int64, +) (*api.TransactionExtention, error) + +// Get asset issue by account +func (c *GrpcClient) GetAssetIssueByAccount(address common.Address) (*api.AssetIssueList, error) + +// Get asset issue by ID +func (c *GrpcClient) GetAssetIssueByID(id string) (*core.AssetIssueContract, error) + +// Get asset issue list +func (c *GrpcClient) GetAssetIssueList() (*api.AssetIssueList, error) + +// Get paginated asset issue list +func (c *GrpcClient) GetPaginatedAssetIssueList(offset, limit int64) (*api.AssetIssueList, error) +``` + +##### Proposal Methods + +```go +// List proposals +func (c *GrpcClient) ListProposals() (*api.ProposalList, error) + +// Get proposal by ID +func (c *GrpcClient) GetProposalByID(id int64) (*core.Proposal, error) + +// Create proposal +func (c *GrpcClient) CreateProposal(owner common.Address, parameters map[int64]int64) (*api.TransactionExtention, error) + +// Approve proposal +func (c *GrpcClient) ApproveProposal(owner common.Address, id int64, approval bool) (*api.TransactionExtention, error) + +// Delete proposal +func (c *GrpcClient) DeleteProposal(owner common.Address, id int64) (*api.TransactionExtention, error) +``` + +##### Exchange Methods + +```go +// List exchanges +func (c *GrpcClient) ListExchanges() (*api.ExchangeList, error) + +// Get exchange by ID +func (c *GrpcClient) GetExchangeByID(id int64) (*core.Exchange, error) + +// Create exchange +func (c *GrpcClient) CreateExchange( + owner common.Address, + firstTokenID string, + firstTokenBalance int64, + secondTokenID string, + secondTokenBalance int64, +) (*api.TransactionExtention, error) + +// Inject exchange +func (c *GrpcClient) InjectExchange( + owner common.Address, + exchangeID int64, + tokenID string, + quant int64, +) (*api.TransactionExtention, error) + +// Withdraw exchange +func (c *GrpcClient) WithdrawExchange( + owner common.Address, + exchangeID int64, + tokenID string, + quant int64, +) (*api.TransactionExtention, error) + +// Transaction with exchange +func (c *GrpcClient) TransactionWithExchange( + owner common.Address, + exchangeID int64, + tokenID string, + quant int64, + expected int64, +) (*api.TransactionExtention, error) +``` + +## Address Package + +### `github.com/fbsobreira/gotron-sdk/pkg/address` + +The address package handles TRON address encoding and validation. + +#### Types + +```go +type Address [AddressLength]byte +``` + +#### Constants + +```go +const ( + AddressLength = 21 + AddressLengthBase58 = 34 + TronBytePrefix = byte(0x41) +) +``` + +#### Functions + +```go +// Convert public key to address +func PubkeyToAddress(p ecdsa.PublicKey) Address + +// Convert base58 string to address +func Base58ToAddress(s string) (Address, error) + +// Convert hex string to address +func HexToAddress(s string) (Address, error) + +// Validate address +func IsValid(addr string) bool + +// Get address from private key +func GetAddressFromPrivateKey(privateKey string) (string, error) +``` + +#### Methods + +```go +// Convert to string (base58) +func (a Address) String() string + +// Convert to hex +func (a Address) Hex() string + +// Convert to bytes +func (a Address) Bytes() []byte + +// Check if zero address +func (a Address) IsZero() bool +``` + +## Transaction Package + +### `github.com/fbsobreira/gotron-sdk/pkg/client/transaction` + +The transaction package handles transaction signing and management. + +#### Controller + +```go +type Controller struct { + client *client.GrpcClient + tx *core.Transaction + rawData *core.TransactionRaw + privateKey *ecdsa.PrivateKey + signatureList [][]byte +} +``` + +##### Methods + +```go +// Create controller +func NewController(client *client.GrpcClient, tx *core.Transaction, privateKey *ecdsa.PrivateKey) *Controller + +// Sign transaction +func (c *Controller) Sign() error + +// Add signature +func (c *Controller) AddSignature(privateKey *ecdsa.PrivateKey) error + +// Build transaction +func (c *Controller) Build() (*core.Transaction, error) + +// Broadcast transaction +func (c *Controller) Broadcast() (*api.Return, error) +``` + +#### Signer Functions + +```go +// Sign transaction +func SignTransaction(transaction *core.Transaction, privateKey *ecdsa.PrivateKey) (*core.Transaction, error) + +// Sign message +func SignMessage(message []byte, privateKey *ecdsa.PrivateKey) ([]byte, error) + +// Verify signature +func VerifySignature(message, signature []byte, address string) bool +``` + +## Keystore Package + +### `github.com/fbsobreira/gotron-sdk/pkg/keystore` + +The keystore package provides secure key storage and management. + +#### KeyStore + +```go +type KeyStore struct { + storage Storage + cache *accountCache + scrypt scryptParams + isLocked bool + mu sync.RWMutex +} +``` + +##### Constructor + +```go +func NewKeyStore(keydir string, scryptN, scryptP int) *KeyStore +``` + +##### Methods + +```go +// Create new account +func (ks *KeyStore) NewAccount(passphrase string) (Account, error) + +// Import ECDSA private key +func (ks *KeyStore) ImportECDSA(priv *ecdsa.PrivateKey, passphrase string) (Account, error) + +// Import preexisting keyfile +func (ks *KeyStore) Import(keyJSON []byte, passphrase, newPassphrase string) (Account, error) + +// Export account +func (ks *KeyStore) Export(a Account, passphrase, newPassphrase string) ([]byte, error) + +// Delete account +func (ks *KeyStore) Delete(a Account, passphrase string) error + +// Update account +func (ks *KeyStore) Update(a Account, passphrase, newPassphrase string) error + +// List all accounts +func (ks *KeyStore) Accounts() []Account + +// Check if account exists +func (ks *KeyStore) HasAddress(addr common.Address) bool + +// Unlock account +func (ks *KeyStore) Unlock(a Account, passphrase string) error + +// Lock account +func (ks *KeyStore) Lock(addr common.Address) error + +// Sign transaction +func (ks *KeyStore) SignTx(a Account, tx *core.Transaction, chainID *big.Int) (*core.Transaction, error) + +// Sign message +func (ks *KeyStore) SignMessage(a Account, message []byte) ([]byte, error) +``` + +#### Account + +```go +type Account struct { + Address common.Address + URL URL +} +``` + +## ABI Package + +### `github.com/fbsobreira/gotron-sdk/pkg/abi` + +The ABI package handles smart contract ABI encoding and decoding. + +#### ABI + +```go +type ABI struct { + Constructor Method + Methods map[string]Method + Events map[string]Event +} +``` + +##### Functions + +```go +// Parse ABI from JSON +func JSON(reader io.Reader) (ABI, error) + +// Pack method call +func (abi ABI) Pack(name string, args ...interface{}) ([]byte, error) + +// Unpack method return +func (abi ABI) Unpack(v interface{}, name string, data []byte) error + +// Unpack event +func (abi ABI) UnpackEvent(v interface{}, name string, data []byte) error +``` + +#### Method + +```go +type Method struct { + Name string + Const bool + Inputs Arguments + Outputs Arguments +} +``` + +#### Event + +```go +type Event struct { + Name string + Anonymous bool + Inputs Arguments +} +``` + +## Common Package + +### `github.com/fbsobreira/gotron-sdk/pkg/common` + +The common package provides utility functions and types. + +#### Functions + +```go +// Bytes to hex string +func BytesToHex(bytes []byte) string + +// Hex string to bytes +func HexToBytes(hex string) []byte + +// Left pad bytes +func LeftPadBytes(slice []byte, l int) []byte + +// Right pad bytes +func RightPadBytes(slice []byte, l int) []byte + +// Convert to hex +func ToHex(b []byte) string + +// From hex +func FromHex(s string) []byte + +// Has hex prefix +func HasHexPrefix(str string) bool + +// Is hex +func IsHex(str string) bool + +// Big int to bytes +func BigToBytes(num *big.Int) []byte + +// Bytes to big int +func BytesToBig(bytes []byte) *big.Int +``` + +#### Hash Functions + +```go +// Keccak256 hash +func Keccak256(data ...[]byte) []byte + +// SHA256 hash +func SHA256(data ...[]byte) []byte + +// Hash message for signing +func HashMessage(message []byte) []byte +``` + +#### Encoding Functions + +```go +// Encode to base58 +func EncodeBase58(input []byte) string + +// Decode from base58 +func DecodeBase58(input string) ([]byte, error) + +// Encode check +func EncodeCheck(input []byte) string + +// Decode check +func DecodeCheck(input string) ([]byte, error) +``` + +## Proto Package + +### `github.com/fbsobreira/gotron-sdk/pkg/proto` + +The proto package contains generated Protocol Buffer definitions for TRON. + +#### Core Types + +- `Account` +- `Transaction` +- `Block` +- `SmartContract` +- `AssetIssueContract` +- `TransferContract` +- `TransferAssetContract` +- `VoteWitnessContract` +- `WitnessCreateContract` +- `WitnessUpdateContract` +- `FreezeBalanceContract` +- `UnfreezeBalanceContract` +- `ProposalCreateContract` +- `ProposalApproveContract` +- `ProposalDeleteContract` +- `ExchangeCreateContract` +- `ExchangeInjectContract` +- `ExchangeWithdrawContract` +- `ExchangeTransactionContract` + +#### API Types + +- `TransactionExtention` +- `Return` +- `NodeInfo` +- `AccountResourceMessage` +- `AccountNetMessage` +- `WitnessList` +- `AssetIssueList` +- `ProposalList` +- `ExchangeList` +- `BlockList` + +## Error Types + +### Common Errors + +```go +var ( + ErrInvalidAddress = errors.New("invalid address") + ErrInvalidPrivateKey = errors.New("invalid private key") + ErrInvalidTransaction = errors.New("invalid transaction") + ErrInsufficientFunds = errors.New("insufficient funds") + ErrContractExecution = errors.New("contract execution failed") +) +``` + +### Transaction Errors + +```go +var ( + ErrBadTransactionParam = errors.New("bad transaction parameter") + ErrTransactionExpired = errors.New("transaction expired") + ErrTransactionFailed = errors.New("transaction failed") +) +``` + +### Keystore Errors + +```go +var ( + ErrLocked = errors.New("account locked") + ErrNoMatch = errors.New("no key for given address or file") + ErrDecrypt = errors.New("could not decrypt key with given passphrase") + ErrAccountAlreadyExists = errors.New("account already exists") +) +``` + +## Constants + +### Resource Types + +```go +const ( + ResourceBandwidth core.ResourceCode = 0 + ResourceEnergy core.ResourceCode = 1 +) +``` + +### Contract Types + +```go +const ( + AccountCreateContract = "AccountCreateContract" + TransferContract = "TransferContract" + TransferAssetContract = "TransferAssetContract" + VoteAssetContract = "VoteAssetContract" + VoteWitnessContract = "VoteWitnessContract" + WitnessCreateContract = "WitnessCreateContract" + AssetIssueContract = "AssetIssueContract" + WitnessUpdateContract = "WitnessUpdateContract" + ParticipateAssetIssueContract = "ParticipateAssetIssueContract" + AccountUpdateContract = "AccountUpdateContract" + FreezeBalanceContract = "FreezeBalanceContract" + UnfreezeBalanceContract = "UnfreezeBalanceContract" + WithdrawBalanceContract = "WithdrawBalanceContract" + UnfreezeAssetContract = "UnfreezeAssetContract" + UpdateAssetContract = "UpdateAssetContract" + ProposalCreateContract = "ProposalCreateContract" + ProposalApproveContract = "ProposalApproveContract" + ProposalDeleteContract = "ProposalDeleteContract" + SetAccountIdContract = "SetAccountIdContract" + CustomContract = "CustomContract" + CreateSmartContract = "CreateSmartContract" + TriggerSmartContract = "TriggerSmartContract" + ExchangeCreateContract = "ExchangeCreateContract" + ExchangeInjectContract = "ExchangeInjectContract" + ExchangeWithdrawContract = "ExchangeWithdrawContract" + ExchangeTransactionContract = "ExchangeTransactionContract" + UpdateEnergyLimitContract = "UpdateEnergyLimitContract" + AccountPermissionUpdateContract = "AccountPermissionUpdateContract" +) +``` \ No newline at end of file diff --git a/docs/cli-usage.md b/docs/cli-usage.md new file mode 100644 index 000000000..3a5ffaca9 --- /dev/null +++ b/docs/cli-usage.md @@ -0,0 +1,657 @@ +# CLI Usage Guide + +This guide provides comprehensive documentation for the `tronctl` command-line interface. + +## Table of Contents + +- [Global Options](#global-options) +- [Account Commands](#account-commands) +- [Key Management](#key-management) +- [Blockchain Commands](#blockchain-commands) +- [Smart Contract Commands](#smart-contract-commands) +- [TRC10 Token Commands](#trc10-token-commands) +- [TRC20 Token Commands](#trc20-token-commands) +- [Super Representative Commands](#super-representative-commands) +- [Proposal Commands](#proposal-commands) +- [Exchange Commands](#exchange-commands) +- [Configuration](#configuration) +- [Utility Commands](#utility-commands) +- [Examples](#examples) + +## Global Options + +These options can be used with any command: + +``` +--node
TRON node address (default: grpc.trongrid.io:50051) +--apiKey Trongrid API key +--withTLS Use TLS connection +--timeout Request timeout (default: 60s) +--verbose Enable verbose output +--config Config file path (default: ~/.tronctl/config.yaml) +``` + +## Account Commands + +### Get Account Balance + +```bash +tronctl account balance
+ +# Example +tronctl account balance TPjGUuQfq6R3FMBmsacd6Z5dvAgrD2rz4n +``` + +### Send TRX + +```bash +tronctl account send + +# Options +--signer Signer account name (required) + +# Example +tronctl account send TN3W4H6rK2ce4vX9YnFQHwKENnHjoxb3m9 100.5 --signer myaccount +``` + +### Freeze Resources + +```bash +tronctl account freeze + +# Parameters +resource: BANDWIDTH or ENERGY + +# Options +--signer Account to freeze from (required) +--days Days to freeze (default: 3) + +# Example +tronctl account freeze 1000 ENERGY --signer myaccount +``` + +### Unfreeze Resources + +```bash +tronctl account unfreeze + +# Example +tronctl account unfreeze BANDWIDTH +``` + +### Vote for Witnesses + +```bash +tronctl account vote + +# Options +--signer Voter account name (required) + +# Example +tronctl account vote TLyqzVGLV1srkB7dToTAEqgDSfPtXRJZYH 100000 --signer myaccount +``` + +### Get Account Resources + +```bash +tronctl account resources
+ +# Example +tronctl account resources TPjGUuQfq6R3FMBmsacd6Z5dvAgrD2rz4n +``` + +### Update Account Permissions + +```bash +tronctl account permission
+ +# Options +--owner Owner permission keys (comma-separated) +--active Active permission keys (comma-separated) +--witness Witness permission key + +# Example +tronctl account permission TPjGUuQfq6R3FMBmsacd6Z5dvAgrD2rz4n --active TN3W4H6rK2ce4vX9YnFQHwKENnHjoxb3m9,TLyqzVGLV1srkB7dToTAEqgDSfPtXRJZYH +``` + +### Sign Message + +```bash +tronctl account sign + +# Options +--signer Signer account name (required) + +# Example +tronctl account sign "Hello TRON" --signer myaccount +``` + +## Key Management + +### Create New Account + +```bash +tronctl keys add + +# Options +--passphrase Use passphrase encryption + +# Example +tronctl keys add myaccount +``` + +### Import Private Key + +```bash +tronctl keys import + +# Options +--passphrase Use passphrase encryption + +# Example +tronctl keys import 8f5c7e1a2b3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f +``` + +### Recover from Mnemonic + +```bash +tronctl keys recover-from-mnemonic + +# Interactive prompt will ask for: +# - Mnemonic phrase +# - Mnemonic password (optional) + +# Example +tronctl keys recover-from-mnemonic myaccount +``` + +### Export Private Key + +```bash +tronctl keys export + +# Example +tronctl keys export myaccount +``` + +### List Accounts + +```bash +tronctl keys list + +# Example output: +# Address Balance Type +# TPjGUuQfq6R3FMBmsacd6Z5dvAgrD2rz4n 1000 TRX Local +# TN3W4H6rK2ce4vX9YnFQHwKENnHjoxb3m9 500 TRX Ledger +``` + +### Remove Account + +```bash +tronctl keys remove + +# Example +tronctl keys remove myaccount +``` + +## Blockchain Commands + +### Get Node Information + +```bash +tronctl bc getnodeinfo + +# Example output shows node version, network, and configuration +``` + +### Get Transaction by ID + +```bash +tronctl bc gettransaction + +# Example +tronctl bc gettransaction 7c2d4206c03a883dd9066d620335dc1be272a8dc733cfa3f6d10308faa37facc +``` + +### Get Block by Number + +```bash +tronctl bc getblock + +# Example +tronctl bc getblock 30000000 +``` + +### Get Latest Block + +```bash +tronctl bc getblockbylatest +``` + +### Get Next Maintenance Time + +```bash +tronctl bc nextmaintenancetime +``` + +## Smart Contract Commands + +### Deploy Contract + +```bash +tronctl contract deploy + +# Options +--signer Deployer account name (required) +--name Contract name +--consume-user-energy User energy consumption percentage +--fee-limit Maximum TRX to spend +--constructor Constructor arguments (JSON format) + +# Example +tronctl contract deploy Token.bin Token.abi --signer myaccount --name "MyToken" --constructor '["My Token", "MTK", 1000000]' +``` + +### Call Contract (Read) + +```bash +tronctl contract call + +# Options +--abi ABI file path + +# Example +tronctl contract call TN3W4H6rK2ce4vX9YnFQHwKENnHjoxb3m9 balanceOf '["TPjGUuQfq6R3FMBmsacd6Z5dvAgrD2rz4n"]' +``` + +### Trigger Contract (Write) + +```bash +tronctl contract trigger + +# Options +--signer Caller account name (required) +--abi ABI file path +--fee-limit Maximum TRX to spend +--call-value TRX to send with call + +# Example +tronctl contract trigger TN3W4H6rK2ce4vX9YnFQHwKENnHjoxb3m9 transfer '["TLyqzVGLV1srkB7dToTAEqgDSfPtXRJZYH", 1000]' --signer myaccount --fee-limit 10 +``` + +### Get Contract Info + +```bash +tronctl contract get + +# Example +tronctl contract get TN3W4H6rK2ce4vX9YnFQHwKENnHjoxb3m9 +``` + +## TRC10 Token Commands + +### Issue Token + +```bash +tronctl trc10 issue + +# Options +--name Token name +--abbr Token abbreviation +--supply Total supply +--decimal Decimal places +--description Token description +--url Project URL +--start-time