diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml index d03ad9513..33c4860b3 100644 --- a/.github/workflows/dependencies.yml +++ b/.github/workflows/dependencies.yml @@ -23,6 +23,8 @@ jobs: - name: "Dependency Review" uses: actions/dependency-review-action@v3 if: env.GIT_DIFF + with: + fail-on-severity: high - name: "Go vulnerability check" run: make vulncheck if: env.GIT_DIFF diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index d6a281f3a..bdd06f6dc 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -13,6 +13,8 @@ on: jobs: test-e2e: + # disabled for now, since we don't have any e2e tests. + if: ${{ false }} runs-on: ubuntu-latest steps: - uses: actions/setup-go@v4 diff --git a/.github/workflows/solidity-test.yml b/.github/workflows/solidity-test.yml index b8b857c46..950733176 100644 --- a/.github/workflows/solidity-test.yml +++ b/.github/workflows/solidity-test.yml @@ -9,6 +9,8 @@ on: jobs: test-solidity: + # disabled for now, since we don't have any Solidity files. + if: ${{ false }} runs-on: ubuntu-latest steps: - uses: actions/setup-go@v4 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9b9406946..a81cadb22 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,7 +34,9 @@ jobs: make test-unit-cover if: env.GIT_DIFF - uses: codecov/codecov-action@v3 + # disabled for now, since we don't have any codecov + if: ${{ false }} with: file: ./coverage.txt fail_ci_if_error: true - if: env.GIT_DIFF + # if: env.GIT_DIFF diff --git a/Dockerfile b/Dockerfile index e11fea07f..7ce5d7ca7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ WORKDIR /go/src/github.com/ExocoreNetwork/exocore COPY go.mod go.sum ./ -RUN set -eux; apk add --no-cache ca-certificates=20230506-r0 build-base=0.5-r3 git=2.40.1-r0 linux-headers=6.3-r0 +RUN apk add --no-cache ca-certificates=20230506-r0 build-base=0.5-r3 git=2.40.1-r0 linux-headers=6.3-r0 RUN --mount=type=bind,target=. --mount=type=secret,id=GITHUB_TOKEN \ git config --global url."https://$(cat /run/secrets/GITHUB_TOKEN)@github.com/".insteadOf "https://github.com/"; \ @@ -23,7 +23,7 @@ WORKDIR /root COPY --from=build-env /go/src/github.com/ExocoreNetwork/exocore/build/exocored /usr/bin/exocored COPY --from=build-env /go/bin/toml-cli /usr/bin/toml-cli -RUN apk add --no-cache ca-certificates=20230506-r0 jq=1.6-r3 curl=8.2.1-r0 bash=5.2.15-r5 vim=9.0.1568-r0 lz4=1.9.4-r4 rclone=1.62.2-r3 \ +RUN apk add --no-cache ca-certificates=20230506-r0 jq=1.6-r4 curl=8.5.0-r0 bash=5.2.15-r5 vim=9.0.2073-r0 lz4=1.9.4-r4 rclone=1.62.2-r6 \ && addgroup -g 1000 exocore \ && adduser -S -h /home/exocore -D exocore -u 1000 -G exocore diff --git a/Makefile b/Makefile index b4bc2f1e5..ac25228fc 100644 --- a/Makefile +++ b/Makefile @@ -18,9 +18,9 @@ ifdef GITHUB_TOKEN DOCKER_ARGS += --secret id=GITHUB_TOKEN endif endif -NAMESPACE := tharsishq +NAMESPACE := ExocoreNetwork PROJECT := exocore -DOCKER_IMAGE := $(NAMESPACE)/$(PROJECT) +DOCKER_IMAGE := $(shell echo $(NAMESPACE)/$(PROJECT) | tr '[:upper:]' '[:lower:]') COMMIT_HASH := $(shell git rev-parse --short=7 HEAD) DOCKER_TAG := $(COMMIT_HASH) # e2e env @@ -412,7 +412,7 @@ proto-format: proto-lint: @echo "Linting Protobuf files" - @$(protoImage) buf lint --error-format=json + @$(protoImage) buf lint --error-format=json proto-check-breaking: @echo "Checking Protobuf files for breaking changes" diff --git a/app/app.go b/app/app.go index 2738f08aa..641838a91 100644 --- a/app/app.go +++ b/app/app.go @@ -1051,6 +1051,20 @@ func (app *ExocoreApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abc return app.mm.EndBlock(ctx, req) } +// The DeliverTx method is intentionally decomposed to calculate the transactions per second. +func (app *ExocoreApp) DeliverTx(req abci.RequestDeliverTx) (res abci.ResponseDeliverTx) { + defer func() { + // TODO: Record the count along with the code and or reason so as to display + // in the transactions per second live dashboards. + if res.IsErr() { + app.tpsCounter.incrementFailure() + } else { + app.tpsCounter.incrementSuccess() + } + }() + return app.BaseApp.DeliverTx(req) +} + // InitChainer updates at chain initialization func (app *ExocoreApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain { var genesisState simapp.GenesisState diff --git a/app/tps_counter.go b/app/tps_counter.go index 2e6eb475b..761504556 100644 --- a/app/tps_counter.go +++ b/app/tps_counter.go @@ -41,10 +41,8 @@ func newTPSCounter(logger log.Logger) *tpsCounter { return &tpsCounter{logger: logger, doneCh: make(chan bool, 1)} } -// nolint: unused // legacy code func (tpc *tpsCounter) incrementSuccess() { atomic.AddUint64(&tpc.nSuccessful, 1) } -// nolint: unused // legacy code func (tpc *tpsCounter) incrementFailure() { atomic.AddUint64(&tpc.NFailed, 1) } const defaultTPSReportPeriod = 10 * time.Second diff --git a/go.mod b/go.mod index 8d69582df..79d900dff 100644 --- a/go.mod +++ b/go.mod @@ -32,7 +32,7 @@ require ( golang.org/x/crypto v0.12.0 golang.org/x/exp v0.0.0-20230811145659-89c5cff77bcb google.golang.org/genproto/googleapis/api v0.0.0-20230726155614-23370e0ffb3e - google.golang.org/grpc v1.57.0 + google.golang.org/grpc v1.57.1 sigs.k8s.io/yaml v1.3.0 ) @@ -97,7 +97,7 @@ require ( github.com/dlclark/regexp2 v1.4.1-0.20201116162257-a2a8dda75c91 // indirect github.com/dop251/goja v0.0.0-20220405120441-9037c2b61cbf // indirect github.com/dustin/go-humanize v1.0.1 // indirect - github.com/dvsekhvalnov/jose2go v1.5.0 // indirect + github.com/dvsekhvalnov/jose2go v1.5.1-0.20231206184617-48ba0b76bc88 // indirect github.com/edsrzf/mmap-go v1.0.0 // indirect github.com/felixge/httpsnoop v1.0.2 // indirect github.com/fsnotify/fsnotify v1.6.0 // indirect diff --git a/go.sum b/go.sum index d77fe7088..d33d5c4a7 100644 --- a/go.sum +++ b/go.sum @@ -788,6 +788,8 @@ github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkp github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= github.com/dvsekhvalnov/jose2go v1.5.0 h1:3j8ya4Z4kMCwT5nXIKFSV84YS+HdqSSO0VsTQxaLAeM= github.com/dvsekhvalnov/jose2go v1.5.0/go.mod h1:QsHjhyTlD/lAVqn/NSbVZmSCGeDehTB/mPZadG+mhXU= +github.com/dvsekhvalnov/jose2go v1.5.1-0.20231206184617-48ba0b76bc88 h1:y87odSHhV8WSSnjuFYC+K2V6LpZtEVcjmVWxtUkXZiQ= +github.com/dvsekhvalnov/jose2go v1.5.1-0.20231206184617-48ba0b76bc88/go.mod h1:QsHjhyTlD/lAVqn/NSbVZmSCGeDehTB/mPZadG+mhXU= github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= @@ -2232,6 +2234,8 @@ google.golang.org/grpc v1.53.0/go.mod h1:OnIrk0ipVdj4N5d9IUoFUx72/VlD7+jUsHwZgwS google.golang.org/grpc v1.55.0/go.mod h1:iYEXKGkEBhg1PjZQvoYEVPTDkHo1/bjTnfwTeGONTY8= google.golang.org/grpc v1.57.0 h1:kfzNeI/klCGD2YPMUlaGNT3pxvYfga7smW3Vth8Zsiw= google.golang.org/grpc v1.57.0/go.mod h1:Sd+9RMTACXwmub0zcNY2c4arhtrbBYD1AUHI/dt16Mo= +google.golang.org/grpc v1.57.1 h1:upNTNqv0ES+2ZOOqACwVtS3Il8M12/+Hz41RCPzAjQg= +google.golang.org/grpc v1.57.1/go.mod h1:Sd+9RMTACXwmub0zcNY2c4arhtrbBYD1AUHI/dt16Mo= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= 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= diff --git a/proto/exocore/delegation/v1/query.proto b/proto/exocore/delegation/v1/query.proto index 47650c31a..5b75bdb38 100644 --- a/proto/exocore/delegation/v1/query.proto +++ b/proto/exocore/delegation/v1/query.proto @@ -10,18 +10,18 @@ import "exocore/delegation/v1/tx.proto"; option go_package = "github.com/ExocoreNetwork/exocore/x/delegation/types"; message DelegationInfoReq { - string stakerID = 1; - string assetID = 2; + string staker_id = 1 [(gogoproto.customname) = "StakerID"]; + string asset_id = 2 [(gogoproto.customname) = "AssetID"]; } -message DelegationAmounts{ - string CanUndelegationAmount = 1 +message DelegationAmounts { + string can_undelegation_amount = 1 [ (cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false ]; - string WaitUndelegationAmount = 2 + string wait_undelegation_amount = 2 [ (cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", @@ -29,37 +29,40 @@ message DelegationAmounts{ ]; } -message QueryDelegationInfoResponse{ - string TotalDelegatedAmount = 1 +message QueryDelegationInfoResponse { + string total_delegated_amount = 1 [ (cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false ]; - map delegationInfos = 2; + map delegation_infos = 2; } message SingleDelegationInfoReq { - string stakerID = 1; - string operatorAddr = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string assetID = 3; + string staker_id = 1 [(gogoproto.customname) = "StakerID"]; + string operator_addr = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string asset_id = 3 [(gogoproto.customname) = "AssetID"]; } message QueryOperatorInfoReq { - string OperatorAddr = 1 + string operator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; } +// Query is the service API for the delegation module. service Query { + // OperatorInfo queries the operator information. rpc QueryOperatorInfo(QueryOperatorInfoReq) returns(OperatorInfo){ option (google.api.http).get = "/exocore/delegation/v1/GetOperatorInfo"; } - // Balance queries the balance of a single coin for a single account. + // DelegationInfo queries the delegation information for {stakerID, assetID}. rpc QueryDelegationInfo(DelegationInfoReq) returns (QueryDelegationInfoResponse) { option (cosmos.query.v1.module_query_safe) = true; option (google.api.http).get = "/exocore/delegation/v1/GetDelegationInfo"; } - + // SingleDelegationInfo queries the single delegation information for + // {chain, staker, asset, operator}. rpc QuerySingleDelegationInfo(SingleDelegationInfoReq) returns(DelegationAmounts){ option (cosmos.query.v1.module_query_safe) = true; option (google.api.http).get = "/exocore/delegation/v1/QuerySingleDelegationInfo"; diff --git a/proto/exocore/delegation/v1/tx.proto b/proto/exocore/delegation/v1/tx.proto index e74171137..68f8578e9 100644 --- a/proto/exocore/delegation/v1/tx.proto +++ b/proto/exocore/delegation/v1/tx.proto @@ -10,7 +10,7 @@ import "amino/amino.proto"; option go_package = "github.com/ExocoreNetwork/exocore/x/delegation/types"; message ValueField { - string Amount = 1 + string amount = 1 [ (cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", @@ -19,30 +19,30 @@ message ValueField { } message DelegatedSingleAssetInfo { - string AssetID = 1; - string TotalDelegatedAmount = 2 + string asset_id = 1 [(gogoproto.customname) = "AssetID"]; + string total_delegated_amount = 2 [ (cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false ]; - map PerOperatorAmounts = 3; + map per_operator_amounts = 3; } -message clientChainEarningAddrList { - repeated clientChainEarningAddrInfo EarningInfoList = 1; +message ClientChainEarningAddrList { + repeated ClientChainEarningAddrInfo earning_info_list = 1; } -message clientChainEarningAddrInfo { - uint64 lzClientChainID = 1; - string clientChainEarningAddr = 2; +message ClientChainEarningAddrInfo { + uint64 lz_client_chain_id = 1 [(gogoproto.customname) = "LzClientChainID"]; + string client_chain_earning_addr = 2; } -message OperatorInfo{ - string EarningsAddr = 1; - string ApproveAddr = 2; - string OperatorMetaInfo = 3; - clientChainEarningAddrList ClientChainEarningsAddr = 4; +message OperatorInfo { + string earnings_addr = 1; + string approve_addr = 2; + string operator_meta_info = 3; + ClientChainEarningAddrList client_chain_earnings_addr = 4; } message RegisterOperatorReq { @@ -51,52 +51,52 @@ message RegisterOperatorReq { option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - string FromAddress = 1 + string from_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; OperatorInfo info = 2; } -message DelegationApproveInfo{ +message DelegationApproveInfo { string signature = 1; string salt = 2; } message RegisterOperatorResponse{} -message DelegationIncOrDecInfo{ +message DelegationIncOrDecInfo { option (cosmos.msg.v1.signer) = "fromAddress"; option (amino.name) = "cosmos-sdk/MsgAddOrDecreaseDelegation"; option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - string fromAddress = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string from_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - map perOperatorAmounts = 2; + map per_operator_amounts = 2; } -message MsgDelegation{ - DelegationIncOrDecInfo baseInfo = 1; - DelegationApproveInfo approvedInfo = 2; +message MsgDelegation { + DelegationIncOrDecInfo base_info = 1; + DelegationApproveInfo approved_info = 2; } -message UndelegationRecord{ - string stakerID = 1; - string assetID = 2; - string OperatorAddr = 3 +message UndelegationRecord { + string staker_id = 1 [(gogoproto.customname) = "StakerID"]; + string asset_id = 2 [(gogoproto.customname) = "AssetID"]; + string operator_addr = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string txHash = 4; - bool isPending = 5; - uint64 BlockNumber = 6; - uint64 CompleteBlockNumber = 7; - uint64 LzTxNonce = 8; + string tx_hash = 4; + bool is_pending = 5; + uint64 block_number = 6; + uint64 complete_block_number = 7; + uint64 lz_tx_nonce = 8; string amount = 9 [ (cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false ]; - string actualCompletedAmount =10 + string actual_completed_amount =10 [ (cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", @@ -105,22 +105,24 @@ message UndelegationRecord{ } message UndelegationRecordKeyList { - repeated string keyList = 1; + repeated string key_list = 1; } -message DelegationResponse{} +message DelegationResponse {} -message MsgUndelegation{ - DelegationIncOrDecInfo baseInfo = 1; +message MsgUndelegation { + DelegationIncOrDecInfo base_info = 1; } message UndelegationResponse{} // Msg defines the delegation Msg service. service Msg { option (cosmos.msg.v1.service) = true; - // CreateClawbackVestingAccount creats a vesting account that is subject to clawback. + // RegisterOperator registers a new operator. rpc RegisterOperator(RegisterOperatorReq) returns (RegisterOperatorResponse); + // DelegateAssetToOperator delegates asset to operator. rpc DelegateAssetToOperator(MsgDelegation) returns (DelegationResponse); + // UndelegateAssetFromOperator undelegates asset from operator. rpc UndelegateAssetFromOperator(MsgUndelegation) returns (UndelegationResponse); } diff --git a/proto/exocore/deposit/v1/deposit.proto b/proto/exocore/deposit/v1/deposit.proto index 19471b14a..acbc642cf 100644 --- a/proto/exocore/deposit/v1/deposit.proto +++ b/proto/exocore/deposit/v1/deposit.proto @@ -9,6 +9,8 @@ option go_package = "github.com/ExocoreNetwork/exocore/x/deposit/types"; // GenesisState defines the restaking_assets_manage module's genesis state. message Params { - string exoCoreLzAppAddress = 1; - string exoCoreLzAppEventTopic =2; + string exocore_lz_app_address = 1 + [(gogoproto.customname) = "ExoCoreLzAppAddress"]; + string exocore_lz_app_event_topic = 2 + [(gogoproto.customname) = "ExoCoreLzAppEventTopic"]; } diff --git a/proto/exocore/deposit/v1/query.proto b/proto/exocore/deposit/v1/query.proto index 9cf107589..0b7fd5dfa 100644 --- a/proto/exocore/deposit/v1/query.proto +++ b/proto/exocore/deposit/v1/query.proto @@ -2,10 +2,7 @@ syntax = "proto3"; package exocore.deposit.v1; -import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; -import "cosmos/query/v1/query.proto"; -import "cosmos_proto/cosmos.proto"; import "exocore/deposit/v1/deposit.proto"; option go_package = "github.com/ExocoreNetwork/exocore/x/deposit/types"; diff --git a/proto/exocore/deposit/v1/tx.proto b/proto/exocore/deposit/v1/tx.proto index 8c90c3a97..b4a8b3583 100644 --- a/proto/exocore/deposit/v1/tx.proto +++ b/proto/exocore/deposit/v1/tx.proto @@ -5,7 +5,6 @@ package exocore.deposit.v1; import "cosmos/msg/v1/msg.proto"; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; -import "amino/amino.proto"; import "exocore/deposit/v1/deposit.proto"; option go_package = "github.com/ExocoreNetwork/exocore/x/deposit/types"; @@ -28,9 +27,9 @@ message MsgUpdateParams { // Since: cosmos-sdk 0.47 message MsgUpdateParamsResponse {} +// Msg defines the deposit Msg service. service Msg { - option (cosmos.msg.v1.service) = true; - + // UpdateParams updates the parameters of the deposit module. rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse); } diff --git a/proto/exocore/native_token/v1/tx.proto b/proto/exocore/native_token/v1/tx.proto index ccfc32320..f75c1c008 100644 --- a/proto/exocore/native_token/v1/tx.proto +++ b/proto/exocore/native_token/v1/tx.proto @@ -2,44 +2,50 @@ syntax = "proto3"; package exocore.native_token.v1; -import "cosmos/msg/v1/msg.proto"; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; option go_package = "github.com/ExocoreNetwork/exocore/x/native_token/types"; message ValidatorInfo { + // ValidatorStatus is the status of the validator. enum ValidatorStatus { - ACTIVE = 0; - INACTIVE = 1; - WITHDRAWN = 2; + // UNSPECIFIED is the default status of a validator. + VALIDATOR_STATUS_UNSPECIFIED = 0 [ (gogoproto.enumvalue_customname) = "ValidatorInfo_UNSPECIFIED" ]; + // ACTIVE is the status of a validator that is currently validating. + VALIDATOR_STATUS_ACTIVE = 1[ (gogoproto.enumvalue_customname) = "ValidatorInfo_ACTIVE" ]; + // INACTIVE is the status of a validator that is not currently validating. + VALIDATOR_STATUS_INACTIVE = 2[ (gogoproto.enumvalue_customname) = "ValidatorInfo_INACTIVE" ]; + // WITHDRAWN is the status of a validator that has withdrawn from the network. + VALIDATOR_STATUS_WITHDRAWN = 3[ (gogoproto.enumvalue_customname) = "ValidatorInfo_WITHDRAWN" ]; } - ValidatorStatus Status = 1; - uint64 ValidatorIndex = 2; - string StakedBalanceGwei = 3 + ValidatorStatus status = 1; + uint64 validator_index = 2; + string staked_balance_gwei = 3 [ (cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false ]; - uint64 MostRecentBalanceUpdateBlockNumber = 4; + uint64 most_recent_balance_update_block_number = 4; } message NativeTokenStakerInfo { - string TotalValidatorBalances = 1 + string total_validator_balances = 1 [ (cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false ]; - string UnStakedValueFromPOS = 2 + string unstaked_value_from_pos = 2 [ (cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false + (gogoproto.nullable) = false, + (gogoproto.customname) = "UnStakedValueFromPOS" ]; - string PodAddress =3; - map ValidatorsInfo=4; + string pod_address = 3; + map validators_info = 4; } diff --git a/proto/exocore/restaking_assets_manage/v1/genesis.proto b/proto/exocore/restaking_assets_manage/v1/genesis.proto index 651d52d15..0a1c1c99d 100644 --- a/proto/exocore/restaking_assets_manage/v1/genesis.proto +++ b/proto/exocore/restaking_assets_manage/v1/genesis.proto @@ -1,13 +1,12 @@ syntax = "proto3"; package exocore.restaking_assets_manage.v1; -import "gogoproto/gogo.proto"; import "exocore/restaking_assets_manage/v1/tx.proto"; option go_package = "github.com/ExocoreNetwork/exocore/x/restaking_assets_manage/types"; // GenesisState defines the restaking_assets_manage module's genesis state. message GenesisState { - repeated ClientChainInfo DefaultSupportedClientChains = 1; - repeated AssetInfo DefaultSupportedClientChainTokens = 2; + repeated ClientChainInfo default_supported_client_chains = 1; + repeated AssetInfo default_supported_client_chain_tokens = 2; } diff --git a/proto/exocore/restaking_assets_manage/v1/query.proto b/proto/exocore/restaking_assets_manage/v1/query.proto index c9ad6aca8..da78d8879 100644 --- a/proto/exocore/restaking_assets_manage/v1/query.proto +++ b/proto/exocore/restaking_assets_manage/v1/query.proto @@ -1,110 +1,117 @@ syntax = "proto3"; package exocore.restaking_assets_manage.v1; -import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; import "cosmos/query/v1/query.proto"; import "cosmos_proto/cosmos.proto"; import "exocore/restaking_assets_manage/v1/tx.proto"; +import "gogoproto/gogo.proto"; option go_package = "github.com/ExocoreNetwork/exocore/x/restaking_assets_manage/types"; message QueryClientChainInfo { - uint64 chainIndex = 1; + uint64 chain_index = 1; } -message QueryAllClientChainInfo{} +message QueryAllClientChainInfo {} message QueryAllClientChainInfoResponse{ - map allClientChainInfos = 1; + map all_client_chain_infos = 1; } -message QueryStakingAssetInfo{ - string assetID = 1; +message QueryStakingAssetInfo { + string asset_id = 1 [(gogoproto.customname) = "AssetID"]; } -message QueryAllStakingAssetsInfo{} +message QueryAllStakingAssetsInfo {} message QueryAllStakingAssetsInfoResponse{ - map allStakingAssetsInfo = 1; + map all_staking_assets_info = 1; } message QueryStakerAssetInfo{ - string stakerID = 1; + string staker_id = 1 [(gogoproto.customname) = "StakerID"]; } -message QueryAssetInfoResponse{ - map assetInfos = 1; +message QueryAssetInfoResponse { + map asset_infos = 1; } -message QuerySpecifiedAssetAmountReq{ - string stakerID = 1; - string assetID = 2; +message QuerySpecifiedAssetAmountReq { + string staker_id = 1 [(gogoproto.customname) = "StakerID"]; + string asset_id = 2 [(gogoproto.customname) = "AssetID"]; } message QueryOperatorAssetInfos{ - string operatorAddr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string operator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; } message QueryOperatorAssetInfosResponse{ - map assetInfos = 1; + map asset_infos = 1; } message QueryOperatorSpecifiedAssetAmountReq{ - string operatorAddr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string assetID = 2; + string operator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string asset_id = 2 [(gogoproto.customname) = "AssetID"]; } message QueryStakerExCoreAddr { - string StakerID = 1; + // Per https://github.com/gogo/protobuf/issues/331, grpc-gateway does not like custom names. + // So we remove the id suffix from here as well as the query. + string staker = 1; } -message QueryStakerExCoreAddrResponse{ - string ExCoreAddr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +message QueryStakerExCoreAddrResponse { + string exocore_addr = 1 [ + (cosmos_proto.scalar) = "cosmos.AddressString", + (gogoproto.customname) = "ExoCoreAddr" + ]; } +// Query defines the gRPC query service for the restaking_assets_manage module. service Query { - // Balance queries the balance of a single coin for a single account. + // ClientChainInfoByIndex queries the client chain info by index. rpc QueClientChainInfoByIndex(QueryClientChainInfo) returns (ClientChainInfo) { option (cosmos.query.v1.module_query_safe) = true; option (google.api.http).get = "/exocore/restaking_assets_manage/v1/QueClientChainInfoByIndex"; } + // AllClientChainInfo queries all client chain info. rpc QueAllClientChainInfo(QueryAllClientChainInfo) returns (QueryAllClientChainInfoResponse){ option (cosmos.query.v1.module_query_safe) = true; option (google.api.http).get = "/exocore/restaking_assets_manage/v1/QueAllClientChainInfo"; } - + // StakingAssetInfo queries the staking asset info. rpc QueStakingAssetInfo(QueryStakingAssetInfo)returns(StakingAssetInfo){ option (cosmos.query.v1.module_query_safe) = true; option (google.api.http).get = "/exocore/restaking_assets_manage/v1/QueStakingAssetInfo"; } - + // AllStakingAssetsInfo queries all staking assets info. rpc QueAllStakingAssetsInfo(QueryAllStakingAssetsInfo)returns(QueryAllStakingAssetsInfoResponse){ option (cosmos.query.v1.module_query_safe) = true; option (google.api.http).get = "/exocore/restaking_assets_manage/v1/QueAllStakingAssetsInfo"; } - + // StakerAssetInfos queries the staker asset info. rpc QueStakerAssetInfos(QueryStakerAssetInfo)returns(QueryAssetInfoResponse){ option (cosmos.query.v1.module_query_safe) = true; option (google.api.http).get = "/exocore/restaking_assets_manage/v1/QueStakerAssetInfos"; } - + // StakerSpecifiedAssetAmount queries the staker specified asset amount. rpc QueStakerSpecifiedAssetAmount(QuerySpecifiedAssetAmountReq)returns(StakerSingleAssetOrChangeInfo){ option (cosmos.query.v1.module_query_safe) = true; option (google.api.http).get = "/exocore/restaking_assets_manage/v1/QueStakerSpecifiedAssetAmount"; } - + // OperatorAssetInfos queries the operator asset info. rpc QueOperatorAssetInfos(QueryOperatorAssetInfos)returns(QueryOperatorAssetInfosResponse){ option (cosmos.query.v1.module_query_safe) = true; option (google.api.http).get = "/exocore/restaking_assets_manage/v1/QueOperatorAssetInfos"; } - + // OperatorSpecifiedAssetAmount queries the operator specified asset amount. rpc QueOperatorSpecifiedAssetAmount(QueryOperatorSpecifiedAssetAmountReq) returns(OperatorSingleAssetOrChangeInfo){ option (cosmos.query.v1.module_query_safe) = true; option (google.api.http).get = "/exocore/restaking_assets_manage/v1/QueStakerSpecifiedAssetAmount"; } - + // StakerExCoreAddr queries the staker exocore address. rpc QueStakerExoCoreAddr(QueryStakerExCoreAddr) returns (QueryStakerExCoreAddrResponse) { option (cosmos.query.v1.module_query_safe) = true; - option (google.api.http).get = "/exocore/restaking_assets_manage/v1/QueStakerExoCoreAddr/{StakerID}"; + option (google.api.http).get = "/exocore/restaking_assets_manage/v1/QueStakerExoCoreAddr/{staker}"; } } diff --git a/proto/exocore/restaking_assets_manage/v1/tx.proto b/proto/exocore/restaking_assets_manage/v1/tx.proto index c3b308ef8..a67c51b97 100644 --- a/proto/exocore/restaking_assets_manage/v1/tx.proto +++ b/proto/exocore/restaking_assets_manage/v1/tx.proto @@ -9,35 +9,35 @@ import "amino/amino.proto"; option go_package = "github.com/ExocoreNetwork/exocore/x/restaking_assets_manage/types"; message ClientChainInfo { - string Name = 1; - string MetaInfo = 2; - uint64 ChainId = 3; - uint64 ExoCoreChainIndex = 4; - uint64 FinalizationBlocks = 5; - uint64 LayerZeroChainID = 6; - string SignatureType = 7; - uint32 AddressLength = 8; + string name = 1; + string meta_info = 2; + uint64 chain_id = 3; + uint64 exo_core_chain_index = 4; + uint64 finalization_blocks = 5; + uint64 layer_zero_chain_id = 6 [(gogoproto.customname) = "LayerZeroChainID"]; + string signature_type = 7; + uint32 address_length = 8; } message AssetInfo { - string Name = 1; - string Symbol = 2; - string Address = 3; - uint32 Decimals = 4; - string TotalSupply = 5 + string name = 1; + string symbol = 2; + string address = 3; + uint32 decimals = 4; + string total_supply = 5 [ (cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false ]; - uint64 LayerZeroChainID = 6; - uint64 ExoCoreChainIndex = 7; - string MetaInfo = 8; + uint64 layer_zero_chain_id = 6 [(gogoproto.customname) = "LayerZeroChainID"]; + uint64 exo_core_chain_index = 7; + string meta_info = 8; } message StakingAssetInfo { - AssetInfo AssetBasicInfo = 1; - string StakingTotalAmount = 2 + AssetInfo asset_basic_info = 1; + string staking_total_amount = 2 [ (cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", @@ -46,19 +46,19 @@ message StakingAssetInfo { } message StakerSingleAssetOrChangeInfo { - string TotalDepositAmountOrWantChangeValue = 1 + string total_deposit_amount_or_want_change_value = 1 [ (cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false ]; - string CanWithdrawAmountOrWantChangeValue = 2 + string can_withdraw_amount_or_want_change_value = 2 [ (cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false ]; - string WaitUndelegationAmountOrWantChangeValue = 3 + string wait_undelegation_amount_or_want_change_value = 3 [ (cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", @@ -67,24 +67,24 @@ message StakerSingleAssetOrChangeInfo { } message StakerAllAssetsInfo { - map allAssetsState = 1; + map all_assets_state = 1; } message OperatorSingleAssetOrChangeInfo{ - string TotalAmountOrWantChangeValue = 1 + string total_amount_or_want_change_value = 1 [ (cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false ]; //todo: the field is used to mark operator's own assets and is not temporarily used now - string OperatorOwnAmountOrWantChangeValue = 2 + string operator_own_amount_or_want_change_value = 2 [ (cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false ]; - string WaitUndelegationAmountOrWantChangeValue = 3 + string wait_undelegation_amount_or_want_change_value = 3 [ (cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", @@ -93,7 +93,7 @@ message OperatorSingleAssetOrChangeInfo{ } message OperatorAllAssetsInfo { - map allAssetsState = 1; + map all_assets_state = 1; } message MsgSetExoCoreAddr { @@ -103,11 +103,11 @@ message MsgSetExoCoreAddr { option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - string fromAddress = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string setAddress = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string clientChainAddr = 3; - uint64 clientChainIndex = 4; - string StakerClientChainSignature = 5; + string from_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string set_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string client_chain_addr = 3; + uint64 client_chain_index = 4; + string staker_client_chain_signature = 5; } message MsgSetExoCoreAddrResponse {} @@ -117,7 +117,7 @@ message RegisterClientChainReq { option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - string FromAddress = 1 + string from_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; ClientChainInfo info = 2; } @@ -129,17 +129,21 @@ message RegisterAssetReq { option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - string FromAddress = 1 + string from_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; AssetInfo info = 2; } message RegisterAssetResponse {} +// Msg defines the restaking_assets_manage Msg service service Msg { option (cosmos.msg.v1.service) = true; + // SetStakerExoCoreAddr sets the exocore address of the staker rpc SetStakerExoCoreAddr(MsgSetExoCoreAddr) returns (MsgSetExoCoreAddrResponse); + // RegisterClientChain registers the client chain rpc RegisterClientChain(RegisterClientChainReq) returns (RegisterClientChainResponse); + // RegisterAsset registers the asset on the client chain rpc RegisterAsset(RegisterAssetReq) returns (RegisterAssetResponse); -} \ No newline at end of file +} diff --git a/proto/exocore/reward/params.proto b/proto/exocore/reward/params.proto index 42b503560..c8b6f10f0 100644 --- a/proto/exocore/reward/params.proto +++ b/proto/exocore/reward/params.proto @@ -1,13 +1,11 @@ syntax = "proto3"; package exocore.reward; -import "gogoproto/gogo.proto"; - option go_package = "github.com/ExocoreNetwork/exocore/x/reward/types"; // Params defines the parameters for the module. message Params { - string exoCoreLzAppAddress = 1; - string exoCoreLzAppEventTopic =2; + string exo_core_lz_app_address = 1; + string exo_core_lz_app_event_topic =2; } diff --git a/proto/exocore/reward/query.proto b/proto/exocore/reward/query.proto index b86e6db9c..c6d0076cc 100644 --- a/proto/exocore/reward/query.proto +++ b/proto/exocore/reward/query.proto @@ -1,9 +1,7 @@ syntax = "proto3"; package exocore.reward; -import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; import "exocore/reward/params.proto"; option go_package = "github.com/ExocoreNetwork/exocore/x/reward/types"; diff --git a/proto/exocore/reward/tx.proto b/proto/exocore/reward/tx.proto index 7eadaba52..0f73b582a 100644 --- a/proto/exocore/reward/tx.proto +++ b/proto/exocore/reward/tx.proto @@ -1,7 +1,6 @@ syntax = "proto3"; package exocore.reward; -import "google/protobuf/any.proto"; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; import "cosmos/msg/v1/msg.proto"; @@ -11,7 +10,8 @@ option go_package = "github.com/ExocoreNetwork/exocore/x/reward/types"; // Msg defines the Msg service. service Msg { - rpc UpdateParams (MsgUpdateParams ) returns (MsgUpdateParamsResponse ); + // UpdateParams updates the parameters for this module. + rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse); } // MsgUpdateParams is the Msg/UpdateParams request type for Erc20 parameters. diff --git a/proto/exocore/slash/params.proto b/proto/exocore/slash/params.proto index 954f75bbd..5a0788081 100644 --- a/proto/exocore/slash/params.proto +++ b/proto/exocore/slash/params.proto @@ -1,13 +1,11 @@ syntax = "proto3"; package exocore.slash; -import "gogoproto/gogo.proto"; - option go_package = "github.com/ExocoreNetwork/exocore/x/slash/types"; // Params defines the parameters for the module. message Params { - string exoCoreLzAppAddress = 1; - string exoCoreLzAppEventTopic =2; + string exo_core_lz_app_address = 1; + string exo_core_lz_app_event_topic =2; } diff --git a/proto/exocore/slash/query.proto b/proto/exocore/slash/query.proto index 385e6aa2f..e42bb71ff 100644 --- a/proto/exocore/slash/query.proto +++ b/proto/exocore/slash/query.proto @@ -1,9 +1,7 @@ syntax = "proto3"; package exocore.slash; -import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; -import "cosmos/query/v1/query.proto"; import "exocore/slash/params.proto"; // this line is used by starport scaffolding # 1 diff --git a/proto/exocore/slash/tx.proto b/proto/exocore/slash/tx.proto index b1dc0a97d..ca071efac 100644 --- a/proto/exocore/slash/tx.proto +++ b/proto/exocore/slash/tx.proto @@ -10,7 +10,7 @@ option go_package = "github.com/ExocoreNetwork/exocore/x/slash/types"; // Msg defines the Msg service. service Msg { - + // UpdateParams updates the parameters of this module. rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse); } diff --git a/proto/exocore/withdraw/query.proto b/proto/exocore/withdraw/query.proto index b8c03dcf8..896c69d25 100644 --- a/proto/exocore/withdraw/query.proto +++ b/proto/exocore/withdraw/query.proto @@ -1,9 +1,7 @@ syntax = "proto3"; package exocore.withdraw; -import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; import "exocore/deposit/v1/deposit.proto"; option go_package = "github.com/ExocoreNetwork/exocore/x/withdraw/types"; diff --git a/proto/exocore/withdraw/tx.proto b/proto/exocore/withdraw/tx.proto index c97b62031..2053a854e 100644 --- a/proto/exocore/withdraw/tx.proto +++ b/proto/exocore/withdraw/tx.proto @@ -5,7 +5,6 @@ package exocore.withdraw; import "cosmos/msg/v1/msg.proto"; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; -import "amino/amino.proto"; import "exocore/deposit/v1/deposit.proto"; option go_package = "github.com/ExocoreNetwork/exocore/x/withdraw/types"; @@ -27,9 +26,11 @@ message MsgUpdateParams { // Since: cosmos-sdk 0.47 message MsgUpdateParamsResponse {} +// Msg service defines the Msg service for this module. service Msg { option (cosmos.msg.v1.service) = true; + // UpdateParams updates the parameters of this module. rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse); } diff --git a/x/delegation/types/query.pb.go b/x/delegation/types/query.pb.go index 2ee0bc8ad..4b11f9eb5 100644 --- a/x/delegation/types/query.pb.go +++ b/x/delegation/types/query.pb.go @@ -33,8 +33,8 @@ var _ = math.Inf const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type DelegationInfoReq struct { - StakerID string `protobuf:"bytes,1,opt,name=stakerID,proto3" json:"stakerID,omitempty"` - AssetID string `protobuf:"bytes,2,opt,name=assetID,proto3" json:"assetID,omitempty"` + StakerID string `protobuf:"bytes,1,opt,name=staker_id,json=stakerId,proto3" json:"staker_id,omitempty"` + AssetID string `protobuf:"bytes,2,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` } func (m *DelegationInfoReq) Reset() { *m = DelegationInfoReq{} } @@ -85,8 +85,8 @@ func (m *DelegationInfoReq) GetAssetID() string { } type DelegationAmounts struct { - CanUndelegationAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=CanUndelegationAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"CanUndelegationAmount"` - WaitUndelegationAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=WaitUndelegationAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"WaitUndelegationAmount"` + CanUndelegationAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=can_undelegation_amount,json=canUndelegationAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"can_undelegation_amount"` + WaitUndelegationAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=wait_undelegation_amount,json=waitUndelegationAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"wait_undelegation_amount"` } func (m *DelegationAmounts) Reset() { *m = DelegationAmounts{} } @@ -123,8 +123,8 @@ func (m *DelegationAmounts) XXX_DiscardUnknown() { var xxx_messageInfo_DelegationAmounts proto.InternalMessageInfo type QueryDelegationInfoResponse struct { - TotalDelegatedAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=TotalDelegatedAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"TotalDelegatedAmount"` - DelegationInfos map[string]*DelegationAmounts `protobuf:"bytes,2,rep,name=delegationInfos,proto3" json:"delegationInfos,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + TotalDelegatedAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=total_delegated_amount,json=totalDelegatedAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"total_delegated_amount"` + DelegationInfos map[string]*DelegationAmounts `protobuf:"bytes,2,rep,name=delegation_infos,json=delegationInfos,proto3" json:"delegation_infos,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (m *QueryDelegationInfoResponse) Reset() { *m = QueryDelegationInfoResponse{} } @@ -168,9 +168,9 @@ func (m *QueryDelegationInfoResponse) GetDelegationInfos() map[string]*Delegatio } type SingleDelegationInfoReq struct { - StakerID string `protobuf:"bytes,1,opt,name=stakerID,proto3" json:"stakerID,omitempty"` - OperatorAddr string `protobuf:"bytes,2,opt,name=operatorAddr,proto3" json:"operatorAddr,omitempty"` - AssetID string `protobuf:"bytes,3,opt,name=assetID,proto3" json:"assetID,omitempty"` + StakerID string `protobuf:"bytes,1,opt,name=staker_id,json=stakerId,proto3" json:"staker_id,omitempty"` + OperatorAddr string `protobuf:"bytes,2,opt,name=operator_addr,json=operatorAddr,proto3" json:"operator_addr,omitempty"` + AssetID string `protobuf:"bytes,3,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` } func (m *SingleDelegationInfoReq) Reset() { *m = SingleDelegationInfoReq{} } @@ -228,7 +228,7 @@ func (m *SingleDelegationInfoReq) GetAssetID() string { } type QueryOperatorInfoReq struct { - OperatorAddr string `protobuf:"bytes,1,opt,name=OperatorAddr,proto3" json:"OperatorAddr,omitempty"` + OperatorAddr string `protobuf:"bytes,1,opt,name=operator_addr,json=operatorAddr,proto3" json:"operator_addr,omitempty"` } func (m *QueryOperatorInfoReq) Reset() { *m = QueryOperatorInfoReq{} } @@ -283,47 +283,50 @@ func init() { func init() { proto.RegisterFile("exocore/delegation/v1/query.proto", fileDescriptor_aab345e1cf20490c) } var fileDescriptor_aab345e1cf20490c = []byte{ - // 630 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x5f, 0x6b, 0xd3, 0x50, - 0x1c, 0xed, 0x4d, 0x9d, 0x7f, 0xee, 0x06, 0xba, 0x6b, 0xa7, 0x5d, 0x26, 0xd9, 0x8c, 0x30, 0xca, - 0xa4, 0x89, 0xab, 0x0a, 0x22, 0x55, 0xd8, 0xec, 0x18, 0x79, 0xd9, 0x30, 0x9b, 0x08, 0xbe, 0x48, - 0xd6, 0x5c, 0x63, 0x68, 0x7a, 0x6f, 0x9a, 0x7b, 0x5b, 0xdb, 0x57, 0x7d, 0xf1, 0x45, 0x10, 0xc4, - 0x2f, 0xe1, 0x93, 0x0f, 0xfd, 0x10, 0x7b, 0x1c, 0xf3, 0x45, 0x7c, 0x18, 0xd2, 0x0a, 0xbe, 0xfa, - 0x05, 0x04, 0x69, 0x92, 0x76, 0x69, 0x96, 0x6c, 0x0e, 0xf6, 0xd4, 0xdc, 0x9c, 0xd3, 0x73, 0x4e, - 0xee, 0xef, 0xe4, 0x06, 0xde, 0xc4, 0x6d, 0x5a, 0xa5, 0x1e, 0x56, 0x4d, 0xec, 0x60, 0xcb, 0xe0, - 0x36, 0x25, 0x6a, 0x6b, 0x59, 0x6d, 0x34, 0xb1, 0xd7, 0x51, 0x5c, 0x8f, 0x72, 0x8a, 0x66, 0x42, - 0x8a, 0x72, 0x48, 0x51, 0x5a, 0xcb, 0x62, 0xce, 0xa2, 0x16, 0xf5, 0x19, 0xea, 0xe0, 0x2a, 0x20, - 0x8b, 0x37, 0x2c, 0x4a, 0x2d, 0x07, 0xab, 0x86, 0x6b, 0xab, 0x06, 0x21, 0x94, 0xfb, 0x7c, 0x16, - 0xa2, 0x73, 0x55, 0xca, 0xea, 0x94, 0x05, 0xf2, 0x31, 0x1f, 0x71, 0x36, 0x00, 0x5f, 0x06, 0x9a, - 0xc1, 0x22, 0x84, 0xa4, 0xe4, 0x94, 0xbc, 0x1d, 0xe0, 0xb2, 0x06, 0xa7, 0x2b, 0x23, 0x44, 0x23, - 0xaf, 0xa8, 0x8e, 0x1b, 0x48, 0x84, 0x17, 0x19, 0x37, 0x6a, 0xd8, 0xd3, 0x2a, 0x79, 0xb0, 0x00, - 0x0a, 0x97, 0xf4, 0xd1, 0x1a, 0xe5, 0xe1, 0x05, 0x83, 0x31, 0xcc, 0xb5, 0x4a, 0x5e, 0xf0, 0xa1, - 0xe1, 0x52, 0xfe, 0x0b, 0xa2, 0x5a, 0x2b, 0x75, 0xda, 0x24, 0x9c, 0x21, 0x0f, 0xce, 0x3c, 0x31, - 0xc8, 0x33, 0x62, 0xc6, 0x90, 0x40, 0x78, 0xb5, 0xbc, 0x7b, 0x30, 0x9f, 0xf9, 0x71, 0x30, 0xbf, - 0x68, 0xd9, 0xfc, 0x75, 0x73, 0x47, 0xa9, 0xd2, 0x7a, 0xf8, 0x00, 0xe1, 0x4f, 0x91, 0x99, 0x35, - 0x95, 0x77, 0x5c, 0xcc, 0x14, 0x8d, 0xf0, 0xfd, 0x6e, 0x11, 0x86, 0xcf, 0xa7, 0x11, 0xae, 0x27, - 0x4b, 0x23, 0x0e, 0xaf, 0x3d, 0x37, 0x6c, 0x9e, 0x60, 0x2a, 0x9c, 0x81, 0x69, 0x8a, 0xb6, 0xfc, - 0x47, 0x80, 0x73, 0x4f, 0x07, 0x53, 0x89, 0x6f, 0x28, 0x73, 0x29, 0x61, 0x18, 0xb9, 0x30, 0xb7, - 0x4d, 0xb9, 0xe1, 0x84, 0x30, 0x36, 0xcf, 0x70, 0x23, 0x12, 0x95, 0x51, 0x03, 0x5e, 0x36, 0x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, 0x74, 0xf2, 0x50, 0x87, 0xb1, 0x4a, 0xa7, 0x6f, 0xa4, 0x7c, 0xff, 0xfd, 0xef, - 0xaf, 0x4b, 0xc0, 0x8f, 0xba, 0x84, 0x0a, 0xe9, 0x51, 0x63, 0xa1, 0xba, 0x00, 0xce, 0xfa, 0xb2, - 0x49, 0xcd, 0x41, 0x4a, 0x4a, 0x90, 0x94, 0x9a, 0x89, 0xff, 0xdd, 0x5b, 0xf9, 0xd1, 0x61, 0xdc, - 0x12, 0xba, 0x93, 0x12, 0x37, 0x35, 0xd8, 0xea, 0xc6, 0x6e, 0x4f, 0x02, 0x7b, 0x3d, 0x09, 0xfc, - 0xec, 0x49, 0xe0, 0x63, 0x5f, 0xca, 0xec, 0xf5, 0xa5, 0xcc, 0xf7, 0xbe, 0x94, 0x79, 0x71, 0x2f, - 0x72, 0x64, 0xac, 0x05, 0xaa, 0x1b, 0x98, 0xbf, 0xa1, 0x5e, 0x6d, 0x64, 0xd2, 0x8e, 0xda, 0xf8, - 0x87, 0xc8, 0xce, 0x79, 0xff, 0x03, 0x70, 0xf7, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x25, 0x51, - 0x51, 0x30, 0xc8, 0x06, 0x00, 0x00, + // 678 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x41, 0x4f, 0x13, 0x4f, + 0x1c, 0xed, 0x2e, 0x7f, 0xfe, 0xc0, 0x80, 0x11, 0xc6, 0x02, 0xa5, 0x98, 0x2d, 0xae, 0x09, 0xa9, + 0x18, 0x76, 0xa5, 0x6a, 0x62, 0x8c, 0x98, 0x40, 0x4a, 0xc8, 0x5e, 0x30, 0x2e, 0xe1, 0xe2, 0xa5, + 0x19, 0xba, 0xc3, 0xba, 0x69, 0x99, 0x29, 0x33, 0xd3, 0x42, 0x8f, 0xea, 0xc5, 0xa3, 0x89, 0xf1, + 0x4b, 0xe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 0x04, 0xbb, 0x89, 0xc6, 0x56, 0x37, 0x8e, 0xda, 0x9a, 0x72, 0xdc, 0xd6, 0x94, 0xef, + 0x6d, 0x4d, 0x79, 0x77, 0xaa, 0xa5, 0x8e, 0x4f, 0xb5, 0xd4, 0xd7, 0x53, 0x2d, 0xf5, 0xe2, 0x41, + 0xe4, 0x4a, 0x59, 0x0b, 0x58, 0x37, 0xb0, 0xd8, 0xa7, 0xac, 0x72, 0x26, 0x72, 0x10, 0x95, 0x91, + 0x97, 0xcc, 0xf6, 0xff, 0xf2, 0x1b, 0x72, 0xff, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x47, 0x12, + 0x54, 0x68, 0x0b, 0x07, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -338,9 +341,12 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type QueryClient interface { + // OperatorInfo queries the operator information. QueryOperatorInfo(ctx context.Context, in *QueryOperatorInfoReq, opts ...grpc.CallOption) (*OperatorInfo, error) - // Balance queries the balance of a single coin for a single account. + // DelegationInfo queries the delegation information for {stakerID, assetID}. QueryDelegationInfo(ctx context.Context, in *DelegationInfoReq, opts ...grpc.CallOption) (*QueryDelegationInfoResponse, error) + // SingleDelegationInfo queries the single delegation information for + // {chain, staker, asset, operator}. QuerySingleDelegationInfo(ctx context.Context, in *SingleDelegationInfoReq, opts ...grpc.CallOption) (*DelegationAmounts, error) } @@ -381,9 +387,12 @@ func (c *queryClient) QuerySingleDelegationInfo(ctx context.Context, in *SingleD // QueryServer is the server API for Query service. type QueryServer interface { + // OperatorInfo queries the operator information. QueryOperatorInfo(context.Context, *QueryOperatorInfoReq) (*OperatorInfo, error) - // Balance queries the balance of a single coin for a single account. + // DelegationInfo queries the delegation information for {stakerID, assetID}. QueryDelegationInfo(context.Context, *DelegationInfoReq) (*QueryDelegationInfoResponse, error) + // SingleDelegationInfo queries the single delegation information for + // {chain, staker, asset, operator}. QuerySingleDelegationInfo(context.Context, *SingleDelegationInfoReq) (*DelegationAmounts, error) } diff --git a/x/delegation/types/tx.pb.go b/x/delegation/types/tx.pb.go index 06c0cdf48..757d67414 100644 --- a/x/delegation/types/tx.pb.go +++ b/x/delegation/types/tx.pb.go @@ -33,7 +33,7 @@ var _ = math.Inf const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type ValueField struct { - Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=Amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"Amount"` + Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"` } func (m *ValueField) Reset() { *m = ValueField{} } @@ -70,9 +70,9 @@ func (m *ValueField) XXX_DiscardUnknown() { var xxx_messageInfo_ValueField proto.InternalMessageInfo type DelegatedSingleAssetInfo struct { - AssetID string `protobuf:"bytes,1,opt,name=AssetID,proto3" json:"AssetID,omitempty"` - TotalDelegatedAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=TotalDelegatedAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"TotalDelegatedAmount"` - PerOperatorAmounts map[string]*ValueField `protobuf:"bytes,3,rep,name=PerOperatorAmounts,proto3" json:"PerOperatorAmounts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + AssetID string `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` + TotalDelegatedAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=total_delegated_amount,json=totalDelegatedAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"total_delegated_amount"` + PerOperatorAmounts map[string]*ValueField `protobuf:"bytes,3,rep,name=per_operator_amounts,json=perOperatorAmounts,proto3" json:"per_operator_amounts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (m *DelegatedSingleAssetInfo) Reset() { *m = DelegatedSingleAssetInfo{} } @@ -123,7 +123,7 @@ func (m *DelegatedSingleAssetInfo) GetPerOperatorAmounts() map[string]*ValueFiel } type ClientChainEarningAddrList struct { - EarningInfoList []*ClientChainEarningAddrInfo `protobuf:"bytes,1,rep,name=EarningInfoList,proto3" json:"EarningInfoList,omitempty"` + EarningInfoList []*ClientChainEarningAddrInfo `protobuf:"bytes,1,rep,name=earning_info_list,json=earningInfoList,proto3" json:"earning_info_list,omitempty"` } func (m *ClientChainEarningAddrList) Reset() { *m = ClientChainEarningAddrList{} } @@ -167,8 +167,8 @@ func (m *ClientChainEarningAddrList) GetEarningInfoList() []*ClientChainEarningA } type ClientChainEarningAddrInfo struct { - LzClientChainID uint64 `protobuf:"varint,1,opt,name=lzClientChainID,proto3" json:"lzClientChainID,omitempty"` - ClientChainEarningAddr string `protobuf:"bytes,2,opt,name=clientChainEarningAddr,proto3" json:"clientChainEarningAddr,omitempty"` + LzClientChainID uint64 `protobuf:"varint,1,opt,name=lz_client_chain_id,json=lzClientChainId,proto3" json:"lz_client_chain_id,omitempty"` + ClientChainEarningAddr string `protobuf:"bytes,2,opt,name=client_chain_earning_addr,json=clientChainEarningAddr,proto3" json:"client_chain_earning_addr,omitempty"` } func (m *ClientChainEarningAddrInfo) Reset() { *m = ClientChainEarningAddrInfo{} } @@ -219,10 +219,10 @@ func (m *ClientChainEarningAddrInfo) GetClientChainEarningAddr() string { } type OperatorInfo struct { - EarningsAddr string `protobuf:"bytes,1,opt,name=EarningsAddr,proto3" json:"EarningsAddr,omitempty"` - ApproveAddr string `protobuf:"bytes,2,opt,name=ApproveAddr,proto3" json:"ApproveAddr,omitempty"` - OperatorMetaInfo string `protobuf:"bytes,3,opt,name=OperatorMetaInfo,proto3" json:"OperatorMetaInfo,omitempty"` - ClientChainEarningsAddr *ClientChainEarningAddrList `protobuf:"bytes,4,opt,name=ClientChainEarningsAddr,proto3" json:"ClientChainEarningsAddr,omitempty"` + EarningsAddr string `protobuf:"bytes,1,opt,name=earnings_addr,json=earningsAddr,proto3" json:"earnings_addr,omitempty"` + ApproveAddr string `protobuf:"bytes,2,opt,name=approve_addr,json=approveAddr,proto3" json:"approve_addr,omitempty"` + OperatorMetaInfo string `protobuf:"bytes,3,opt,name=operator_meta_info,json=operatorMetaInfo,proto3" json:"operator_meta_info,omitempty"` + ClientChainEarningsAddr *ClientChainEarningAddrList `protobuf:"bytes,4,opt,name=client_chain_earnings_addr,json=clientChainEarningsAddr,proto3" json:"client_chain_earnings_addr,omitempty"` } func (m *OperatorInfo) Reset() { *m = OperatorInfo{} } @@ -287,7 +287,7 @@ func (m *OperatorInfo) GetClientChainEarningsAddr() *ClientChainEarningAddrList } type RegisterOperatorReq struct { - FromAddress string `protobuf:"bytes,1,opt,name=FromAddress,proto3" json:"FromAddress,omitempty"` + FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` Info *OperatorInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` } @@ -413,8 +413,8 @@ func (m *RegisterOperatorResponse) XXX_DiscardUnknown() { var xxx_messageInfo_RegisterOperatorResponse proto.InternalMessageInfo type DelegationIncOrDecInfo struct { - FromAddress string `protobuf:"bytes,1,opt,name=fromAddress,proto3" json:"fromAddress,omitempty"` - PerOperatorAmounts map[string]*ValueField `protobuf:"bytes,2,rep,name=perOperatorAmounts,proto3" json:"perOperatorAmounts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` + PerOperatorAmounts map[string]*ValueField `protobuf:"bytes,2,rep,name=per_operator_amounts,json=perOperatorAmounts,proto3" json:"per_operator_amounts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (m *DelegationIncOrDecInfo) Reset() { *m = DelegationIncOrDecInfo{} } @@ -451,8 +451,8 @@ func (m *DelegationIncOrDecInfo) XXX_DiscardUnknown() { var xxx_messageInfo_DelegationIncOrDecInfo proto.InternalMessageInfo type MsgDelegation struct { - BaseInfo *DelegationIncOrDecInfo `protobuf:"bytes,1,opt,name=baseInfo,proto3" json:"baseInfo,omitempty"` - ApprovedInfo *DelegationApproveInfo `protobuf:"bytes,2,opt,name=approvedInfo,proto3" json:"approvedInfo,omitempty"` + BaseInfo *DelegationIncOrDecInfo `protobuf:"bytes,1,opt,name=base_info,json=baseInfo,proto3" json:"base_info,omitempty"` + ApprovedInfo *DelegationApproveInfo `protobuf:"bytes,2,opt,name=approved_info,json=approvedInfo,proto3" json:"approved_info,omitempty"` } func (m *MsgDelegation) Reset() { *m = MsgDelegation{} } @@ -503,16 +503,16 @@ func (m *MsgDelegation) GetApprovedInfo() *DelegationApproveInfo { } type UndelegationRecord struct { - StakerID string `protobuf:"bytes,1,opt,name=stakerID,proto3" json:"stakerID,omitempty"` - AssetID string `protobuf:"bytes,2,opt,name=assetID,proto3" json:"assetID,omitempty"` - OperatorAddr string `protobuf:"bytes,3,opt,name=OperatorAddr,proto3" json:"OperatorAddr,omitempty"` - TxHash string `protobuf:"bytes,4,opt,name=txHash,proto3" json:"txHash,omitempty"` - IsPending bool `protobuf:"varint,5,opt,name=isPending,proto3" json:"isPending,omitempty"` - BlockNumber uint64 `protobuf:"varint,6,opt,name=BlockNumber,proto3" json:"BlockNumber,omitempty"` - CompleteBlockNumber uint64 `protobuf:"varint,7,opt,name=CompleteBlockNumber,proto3" json:"CompleteBlockNumber,omitempty"` - LzTxNonce uint64 `protobuf:"varint,8,opt,name=LzTxNonce,proto3" json:"LzTxNonce,omitempty"` + StakerID string `protobuf:"bytes,1,opt,name=staker_id,json=stakerId,proto3" json:"staker_id,omitempty"` + AssetID string `protobuf:"bytes,2,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` + OperatorAddr string `protobuf:"bytes,3,opt,name=operator_addr,json=operatorAddr,proto3" json:"operator_addr,omitempty"` + TxHash string `protobuf:"bytes,4,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` + IsPending bool `protobuf:"varint,5,opt,name=is_pending,json=isPending,proto3" json:"is_pending,omitempty"` + BlockNumber uint64 `protobuf:"varint,6,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` + CompleteBlockNumber uint64 `protobuf:"varint,7,opt,name=complete_block_number,json=completeBlockNumber,proto3" json:"complete_block_number,omitempty"` + LzTxNonce uint64 `protobuf:"varint,8,opt,name=lz_tx_nonce,json=lzTxNonce,proto3" json:"lz_tx_nonce,omitempty"` Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,9,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"` - ActualCompletedAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,10,opt,name=actualCompletedAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"actualCompletedAmount"` + ActualCompletedAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,10,opt,name=actual_completed_amount,json=actualCompletedAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"actual_completed_amount"` } func (m *UndelegationRecord) Reset() { *m = UndelegationRecord{} } @@ -605,7 +605,7 @@ func (m *UndelegationRecord) GetLzTxNonce() uint64 { } type UndelegationRecordKeyList struct { - KeyList []string `protobuf:"bytes,1,rep,name=keyList,proto3" json:"keyList,omitempty"` + KeyList []string `protobuf:"bytes,1,rep,name=key_list,json=keyList,proto3" json:"key_list,omitempty"` } func (m *UndelegationRecordKeyList) Reset() { *m = UndelegationRecordKeyList{} } @@ -685,7 +685,7 @@ func (m *DelegationResponse) XXX_DiscardUnknown() { var xxx_messageInfo_DelegationResponse proto.InternalMessageInfo type MsgUndelegation struct { - BaseInfo *DelegationIncOrDecInfo `protobuf:"bytes,1,opt,name=baseInfo,proto3" json:"baseInfo,omitempty"` + BaseInfo *DelegationIncOrDecInfo `protobuf:"bytes,1,opt,name=base_info,json=baseInfo,proto3" json:"base_info,omitempty"` } func (m *MsgUndelegation) Reset() { *m = MsgUndelegation{} } @@ -768,8 +768,8 @@ func init() { proto.RegisterType((*ValueField)(nil), "exocore.delegation.v1.ValueField") proto.RegisterType((*DelegatedSingleAssetInfo)(nil), "exocore.delegation.v1.DelegatedSingleAssetInfo") proto.RegisterMapType((map[string]*ValueField)(nil), "exocore.delegation.v1.DelegatedSingleAssetInfo.PerOperatorAmountsEntry") - proto.RegisterType((*ClientChainEarningAddrList)(nil), "exocore.delegation.v1.clientChainEarningAddrList") - proto.RegisterType((*ClientChainEarningAddrInfo)(nil), "exocore.delegation.v1.clientChainEarningAddrInfo") + proto.RegisterType((*ClientChainEarningAddrList)(nil), "exocore.delegation.v1.ClientChainEarningAddrList") + proto.RegisterType((*ClientChainEarningAddrInfo)(nil), "exocore.delegation.v1.ClientChainEarningAddrInfo") proto.RegisterType((*OperatorInfo)(nil), "exocore.delegation.v1.OperatorInfo") proto.RegisterType((*RegisterOperatorReq)(nil), "exocore.delegation.v1.RegisterOperatorReq") proto.RegisterType((*DelegationApproveInfo)(nil), "exocore.delegation.v1.DelegationApproveInfo") @@ -787,76 +787,83 @@ func init() { func init() { proto.RegisterFile("exocore/delegation/v1/tx.proto", fileDescriptor_16596a15a828f109) } var fileDescriptor_16596a15a828f109 = []byte{ - // 1090 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0xcd, 0x6e, 0x23, 0x45, - 0x10, 0xf6, 0xc4, 0xf9, 0x2d, 0x07, 0x25, 0xf4, 0xe6, 0x67, 0x76, 0x40, 0x4e, 0x18, 0x60, 0x15, - 0x02, 0xb1, 0x49, 0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c3, 0x0f, 0xc4, 0x61, 0x63, 0xbf, - 0xe4, 0xd1, 0xba, 0xe6, 0xd1, 0xff, 0x96, 0x78, 0xb5, 0x56, 0x16, 0xad, 0x08, 0xf3, 0x52, 0x85, - 0x88, 0x67, 0x8f, 0x97, 0x40, 0xbb, 0x51, 0x21, 0xc2, 0xd1, 0x58, 0xf6, 0xf7, 0x79, 0x30, 0x37, - 0xd5, 0x91, 0x70, 0xf5, 0x7e, 0x40, 0xfc, 0x10, 0xaf, 0x71, 0x8e, 0x45, 0x85, 0x1c, 0x50, 0x64, - 0xc2, 0x88, 0x5a, 0x6c, 0x2a, 0x4e, 0xa7, 0xbd, 0x44, 0x11, 0x4c, 0xed, 0x51, 0xe1, 0x86, 0x9d, - 0xad, 0xda, 0xb5, 0x81, 0x2b, 0x70, 0xad, 0x2f, 0x32, 0x7a, 0x00, 0x68, 0x17, 0xb3, 0x7b, 0x11, - 0x66, 0xae, 0xa0, 0x4c, 0x09, 0xb9, 0x99, 0x9f, 0xcf, 0x2f, 0x14, 0x56, 0x3e, 0x28, 0xf5, 0xcd, - 0x4e, 0x29, 0xeb, 0x60, 0xa5, 0x5e, 0xa4, 0x2d, 0x22, 0x58, 0xcb, 0xe9, 0x43, 0x61, 0x1d, 0xc2, - 0x6c, 0x86, 0x39, 0x9a, 0x84, 0x7c, 0x0d, 0xb7, 0x74, 0x6c, 0xe2, 0x4f, 0x74, 0x0b, 0x86, 0x8e, - 0xe2, 0x94, 0xc9, 0x40, 0x14, 0x56, 0x5e, 0xc9, 0x70, 0x2c, 0x49, 0xab, 0xa3, 0xec, 0x57, 0x07, - 0xde, 0x37, 0xec, 0x16, 0x58, 0x5e, 0x18, 0x60, 0x22, 0x36, 0x0e, 0xdd, 0x80, 0x6c, 0xb9, 0x8c, - 0x04, 0xc4, 0x5f, 0xab, 0x56, 0xd9, 0xdd, 0x80, 0x0b, 0xf4, 0x19, 0x4c, 0x68, 0x51, 0x7c, 0x84, - 0x58, 0x64, 0x1a, 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dc, 0x47, 0x14, 0x26, 0xcf, 0xb7, 0x43, 0xb4, 0x98, 0x41, 0xd6, - 0x67, 0x88, 0x58, 0xe5, 0xff, 0x6c, 0xab, 0x88, 0xd1, 0x97, 0x30, 0xdb, 0x7e, 0x2a, 0xc9, 0x37, - 0xd2, 0x1e, 0xed, 0xf0, 0xbe, 0x96, 0x81, 0xd5, 0xd5, 0x16, 0xac, 0x37, 0x2e, 0x0c, 0x45, 0x87, - 0x8b, 0xc1, 0x4b, 0x9d, 0xc3, 0x2b, 0xb6, 0x78, 0xe0, 0x74, 0xf8, 0x6e, 0x64, 0xf3, 0xa5, 0x63, - 0x66, 0xbd, 0x99, 0x61, 0xd7, 0x2f, 0xb0, 0xd6, 0xd0, 0x37, 0x67, 0xc7, 0x8b, 0xc6, 0xfa, 0xce, - 0x93, 0x93, 0xa2, 0xf1, 0xf4, 0xa4, 0x68, 0xfc, 0x7e, 0x52, 0x34, 0x7e, 0x3c, 0x2d, 0xe6, 0x9e, - 0x9e, 0x16, 0x73, 0xbf, 0x9c, 0x16, 0x73, 0x9f, 0xde, 0x4c, 0x55, 0xe2, 0x96, 0xc2, 0xdd, 0xc1, - 0xe2, 0x01, 0x65, 0xb5, 0x72, 0xfb, 0x77, 0x41, 0x33, 0xfd, 0xcb, 0x40, 0xd6, 0xe6, 0xfe, 0xb0, - 0x7c, 0xa6, 0xbf, 0xf3, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x29, 0xf9, 0x36, 0xba, 0x3c, 0x0c, - 0x00, 0x00, + // 1205 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0xcf, 0x6f, 0xdb, 0x54, + 0x1c, 0x8f, 0x93, 0xae, 0x4d, 0xbe, 0x49, 0xd5, 0xed, 0x2d, 0x6d, 0xd2, 0x00, 0xc9, 0xe6, 0xc1, + 0xb4, 0x95, 0x35, 0xd1, 0xca, 0x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, 0x14, 0x38, 0xa9, 0x61, 0xdb, 0x61, 0x3c, + 0xea, 0x3f, 0x0d, 0x7f, 0x89, 0xde, 0x81, 0xdc, 0x8e, 0x47, 0x3b, 0x02, 0x16, 0x33, 0x16, 0x0c, + 0x6b, 0xf1, 0xf1, 0x83, 0xd5, 0x7c, 0x30, 0x48, 0xeb, 0x92, 0x73, 0x8b, 0x7b, 0x0e, 0xb1, 0xb5, + 0xac, 0x2f, 0x1d, 0x90, 0xd0, 0x65, 0x98, 0x11, 0x41, 0xca, 0x06, 0x3d, 0x33, 0xc5, 0xdd, 0x78, + 0xb6, 0x35, 0xa1, 0x70, 0xe5, 0xd2, 0xb7, 0xf7, 0x2a, 0x89, 0x3f, 0xef, 0x55, 0x12, 0xdf, 0x3c, + 0xbd, 0xbf, 0x92, 0xbd, 0x16, 0x99, 0xfc, 0xee, 0xe9, 0xfd, 0x95, 0x42, 0x6c, 0xb2, 0xe3, 0xba, + 0x6a, 0x03, 0x16, 0xeb, 0x23, 0xcb, 0xeb, 0x32, 0xf5, 0x22, 0x99, 0x2f, 0x43, 0x86, 0x39, 0x36, + 0x31, 0x78, 0xcf, 0xc3, 0x41, 0xf9, 0x22, 0x02, 0x42, 0x30, 0xc3, 0x0c, 0x37, 0xd8, 0x28, 0x9a, + 0x78, 0x56, 0x4b, 0x50, 0x3c, 0x98, 0x0d, 0xd6, 0xa5, 0x84, 0x61, 0xf5, 0xef, 0x24, 0x2c, 0x45, + 0x38, 0x0d, 0x62, 0xde, 0xf0, 0xea, 0xd8, 0x14, 0x40, 0xff, 0x29, 0x5b, 0x77, 0xa7, 0xec, 0x9d, + 0xa4, 0x98, 0xbb, 0xcd, 0xe7, 0xef, 0x9d, 0x67, 0x3c, 0xf9, 0x7f, 0x6e, 0x9d, 0x2b, 0x1b, 0x63, + 0x75, 0xdd, 0x19, 0xaf, 0xeb, 0x6b, 0xb1, 0xba, 0x6e, 0x31, 0xbf, 0x67, 0x45, 0x38, 0x1e, 0x36, + 0x18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x3a, 0xf6, 0xf5, 0xd3, 0xfb, + 0x2b, 0xca, 0xc6, 0xf6, 0xc3, 0x61, 0x59, 0x79, 0x34, 0x2c, 0x2b, 0x7f, 0x0c, 0xcb, 0xca, 0xf7, + 0x4f, 0xca, 0x89, 0x47, 0x4f, 0xca, 0x89, 0x5f, 0x9f, 0x94, 0x13, 0x9f, 0x5f, 0x8a, 0xf5, 0xe2, + 0xa6, 0xb4, 0xbb, 0x8d, 0xf9, 0x5d, 0xea, 0xb5, 0x6b, 0xe1, 0xd7, 0x47, 0x3f, 0xfe, 0xfd, 0x21, + 0xba, 0xb3, 0x39, 0x2b, 0x3e, 0x06, 0xde, 0xf8, 0x27, 0x00, 0x00, 0xff, 0xff, 0x6e, 0x02, 0xa2, + 0x16, 0xa2, 0x0c, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -871,9 +878,11 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type MsgClient interface { - // CreateClawbackVestingAccount creats a vesting account that is subject to clawback. + // RegisterOperator registers a new operator. RegisterOperator(ctx context.Context, in *RegisterOperatorReq, opts ...grpc.CallOption) (*RegisterOperatorResponse, error) + // DelegateAssetToOperator delegates asset to operator. DelegateAssetToOperator(ctx context.Context, in *MsgDelegation, opts ...grpc.CallOption) (*DelegationResponse, error) + // UndelegateAssetFromOperator undelegates asset from operator. UndelegateAssetFromOperator(ctx context.Context, in *MsgUndelegation, opts ...grpc.CallOption) (*UndelegationResponse, error) } @@ -914,9 +923,11 @@ func (c *msgClient) UndelegateAssetFromOperator(ctx context.Context, in *MsgUnde // MsgServer is the server API for Msg service. type MsgServer interface { - // CreateClawbackVestingAccount creats a vesting account that is subject to clawback. + // RegisterOperator registers a new operator. RegisterOperator(context.Context, *RegisterOperatorReq) (*RegisterOperatorResponse, error) + // DelegateAssetToOperator delegates asset to operator. DelegateAssetToOperator(context.Context, *MsgDelegation) (*DelegationResponse, error) + // UndelegateAssetFromOperator undelegates asset from operator. UndelegateAssetFromOperator(context.Context, *MsgUndelegation) (*UndelegationResponse, error) } @@ -2291,10 +2302,10 @@ func (m *ClientChainEarningAddrList) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: clientChainEarningAddrList: wiretype end group for non-group") + return fmt.Errorf("proto: ClientChainEarningAddrList: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: clientChainEarningAddrList: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ClientChainEarningAddrList: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -2375,10 +2386,10 @@ func (m *ClientChainEarningAddrInfo) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: clientChainEarningAddrInfo: wiretype end group for non-group") + return fmt.Errorf("proto: ClientChainEarningAddrInfo: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: clientChainEarningAddrInfo: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ClientChainEarningAddrInfo: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: diff --git a/x/deposit/types/deposit.pb.go b/x/deposit/types/deposit.pb.go index 584a21388..7dd66f3bb 100644 --- a/x/deposit/types/deposit.pb.go +++ b/x/deposit/types/deposit.pb.go @@ -25,8 +25,8 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // GenesisState defines the restaking_assets_manage module's genesis state. type Params struct { - ExoCoreLzAppAddress string `protobuf:"bytes,1,opt,name=exoCoreLzAppAddress,proto3" json:"exoCoreLzAppAddress,omitempty"` - ExoCoreLzAppEventTopic string `protobuf:"bytes,2,opt,name=exoCoreLzAppEventTopic,proto3" json:"exoCoreLzAppEventTopic,omitempty"` + ExoCoreLzAppAddress string `protobuf:"bytes,1,opt,name=exocore_lz_app_address,json=exocoreLzAppAddress,proto3" json:"exocore_lz_app_address,omitempty"` + ExoCoreLzAppEventTopic string `protobuf:"bytes,2,opt,name=exocore_lz_app_event_topic,json=exocoreLzAppEventTopic,proto3" json:"exocore_lz_app_event_topic,omitempty"` } func (m *Params) Reset() { *m = Params{} } @@ -83,20 +83,23 @@ func init() { func init() { proto.RegisterFile("exocore/deposit/v1/deposit.proto", fileDescriptor_bb743e1548b62476) } var fileDescriptor_bb743e1548b62476 = []byte{ - // 205 bytes of a gzipped FileDescriptorProto + // 247 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x48, 0xad, 0xc8, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x4f, 0x49, 0x2d, 0xc8, 0x2f, 0xce, 0x2c, 0xd1, 0x2f, 0x33, 0x84, 0x31, 0xf5, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0x84, 0xa0, 0x2a, 0xf4, 0x60, 0xc2, 0x65, 0x86, 0x52, - 0x22, 0xe9, 0xf9, 0xe9, 0xf9, 0x60, 0x69, 0x7d, 0x10, 0x0b, 0xa2, 0x52, 0xa9, 0x88, 0x8b, 0x2d, - 0x20, 0xb1, 0x28, 0x31, 0xb7, 0x58, 0xc8, 0x80, 0x4b, 0x38, 0xb5, 0x22, 0xdf, 0x39, 0xbf, 0x28, - 0xd5, 0xa7, 0xca, 0xb1, 0xa0, 0xc0, 0x31, 0x25, 0xa5, 0x28, 0xb5, 0xb8, 0x58, 0x82, 0x51, 0x81, - 0x51, 0x83, 0x33, 0x08, 0x9b, 0x94, 0x90, 0x19, 0x97, 0x18, 0xb2, 0xb0, 0x6b, 0x59, 0x6a, 0x5e, - 0x49, 0x48, 0x7e, 0x41, 0x66, 0xb2, 0x04, 0x13, 0x58, 0x13, 0x0e, 0x59, 0x27, 0xef, 0x13,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xa2, 0x2b, 0x48, 0x49, 0x08, 0x48, 0x45, + 0x90, 0x18, 0xb2, 0xa1, 0x08, 0x71, 0x27, 0xef, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, + 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, + 0x63, 0x88, 0x32, 0x4c, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x77, 0x85, + 0x68, 0xf6, 0x4b, 0x2d, 0x29, 0xcf, 0x2f, 0xca, 0xd6, 0x87, 0x05, 0x58, 0x05, 0x3c, 0xc8, 0x4a, + 0x2a, 0x0b, 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0x81, 0x60, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xfc, + 0x66, 0x03, 0x60, 0x52, 0x01, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { diff --git a/x/deposit/types/query.pb.go b/x/deposit/types/query.pb.go index 5647536a0..a13c1ed80 100644 --- a/x/deposit/types/query.pb.go +++ b/x/deposit/types/query.pb.go @@ -6,9 +6,6 @@ package types import ( context "context" fmt "fmt" - _ "github.com/cosmos/cosmos-proto" - _ "github.com/cosmos/cosmos-sdk/types/query" - _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" @@ -122,26 +119,24 @@ func init() { func init() { proto.RegisterFile("exocore/deposit/v1/query.proto", fileDescriptor_715f16e6b5833923) } var fileDescriptor_715f16e6b5833923 = []byte{ - // 297 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0x31, 0x4b, 0xfc, 0x30, - 0x18, 0xc6,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x84, 0xf0, 0x7f, 0x9b, 0x45, 0x1e, 0x70, 0xe8, - 0x18, 0xd9, 0xed, 0xf3, 0xad, 0xd7, 0xa0, 0x7b, 0x7f, 0xea, 0x5c, 0xb1, 0x28, 0x7a, 0x7c, 0xfb, - 0x7c, 0xf9, 0x37, 0x24, 0x54, 0xf4, 0x2c, 0xec, 0xb4, 0x87, 0x27, 0xaf, 0x2d, 0x43, 0x8b, 0x96, - 0xa1, 0x8f, 0x96, 0xa1, 0xe7, 0x8e, 0x05, 0x8b, 0x8e, 0x05, 0xef, 0x1d, 0x0b, 0x2e, 0xe3, 0xbc, - 0x30, 0x37, 0xcd, 0x98, 0x67, 0x50, 0x8a, 0x23, 0xe7, 0x3f, 0x95, 0xe6, 0x1e, 0xea, 0xdb, 0x55, - 0xdc, 0x6c, 0x15, 0x68, 0xe6, 0x4a, 0xea, 0x71, 0x68, 0x7f, 0xef, 0xe0, 0x2b, 0x00, 0x00, 0xff, - 0xff, 0x5f, 0x20, 0xfd, 0x7d, 0x01, 0x02, 0x00, 0x00, + // 264 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0xad, 0xc8, 0x4f, + 0xce, 0x2f, 0x4a, 0xd5, 0x4f, 0x49, 0x2d, 0xc8, 0x2f, 0xce, 0x2c, 0xd1, 0x2f, 0x33, 0xd4, 0x2f, + 0x2c, 0x4d, 0x2d, 0xaa, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x82, 0xca, 0xeb, 0x41, + 0xe5, 0xf5, 0xca, 0x0c, 0xa5, 0x64, 0xd2, 0xf3, 0xf3, 0xd3, 0x73, 0x52, 0xf5, 0x13, 0x0b, 0x32, + 0xf5, 0x13, 0xf3, 0xf2, 0xf2, 0x4b, 0x12, 0x4b, 0x32, 0xf3, 0xf3, 0x8a, 0x21, 0x3a, 0xa4, 0x14, + 0xb0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reference imports to suppress errors if they are not otherwise used. diff --git a/x/deposit/types/tx.pb.go b/x/deposit/types/tx.pb.go index f5cb2ac2e..89a03e49b 100644 --- a/x/deposit/types/tx.pb.go +++ b/x/deposit/types/tx.pb.go @@ -8,7 +8,6 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/cosmos-sdk/types/msgservice" - _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" @@ -135,29 +134,28 @@ func init() { func init() { proto.RegisterFile("exocore/deposit/v1/tx.proto", fileDescriptor_d4939a0226905392) } var fileDescriptor_d4939a0226905392 = []byte{ - // 339 bytes of a gzipped FileDescriptorProto + // 329 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4e, 0xad, 0xc8, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x4f, 0x49, 0x2d, 0xc8, 0x2f, 0xce, 0x2c, 0xd1, 0x2f, 0x33, 0xd4, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x82, 0x4a, 0xea, 0x41, 0x25, 0xf5, 0xca, 0x0c, 0xa5, 0xc4, 0x93, 0xf3, 0x8b, 0x73, 0xf3, 0x8b, 0xf5, 0x73, 0x8b, 0xd3, 0x41, 0x6a, 0x73, 0x8b, 0xd3, 0x21, 0x8a, 0xa5, 0x24, 0x21, 0x12, 0xf1, 0x60, 0x9e, 0x3e, 0x84, 0x03, 0x95, 0x12, - 0x49, 0xcf, 0x4f, 0xcf, 0x87, 0x88, 0x83, 0x58, 0x50, 0x51, 0xc1, 0xc4, 0xdc, 0xcc, 0xbc, 0x7c, - 0x7d, 0x30, 0x09, 0x15, 0x52, 0xc0, 0xe2, 0x1a, 0x98, 0xdd, 0x60, 0x15, 0x4a, 0x93, 0x19, 0xb9, - 0xf8, 0x7d, 0x8b, 0xd3, 0x43, 0x0b, 0x52, 0x12, 0x4b, 0x52, 0x03, 0x12, 0x8b, 0x12, 0x73, 0x8b, - 0x85, 0xcc, 0xb8, 0x38, 0x13, 0x4b, 0x4b, 0x32, 0xf2, 0x8b, 0x32, 0x4b, 0x2a, 0x25, 0x18, 0x15, - 0x18, 0x35, 0x38, 0x9d, 0x24, 0x2e, 0x6d, 0xd1, 0x15, 0x81, 0xba, 0xc1, 0x31, 0x25, 0xa5, 0x28, - 0xb5, 0xb8, 0x38, 0xb8, 0xa4, 0x28, 0x33, 0x2f, 0x3d, 0x08, 0xa1, 0x54, 0xc8, 0x82, 0x8b, 0xad, - 0x00, 0x6c, 0x82, 0x04, 0x93, 0x02, 0xa3, 0x06, 0xb7, 0x91, 0x94, 0x1e, 0xa6, 0x7f, 0xf5, 0x20, - 0x76, 0x38, 0xb1, 0x9c, 0xb8, 0x27, 0xcf, 0x10, 0x04, 0x55, 0x6f, 0xc5, 0xd7, 0xf4, 0x7c, 0x83, - 0x16, 0xc2, 0x24, 0x25, 0x49, 0x2e, 0x71, 0x34, 0x47, 0x05, 0xa5, 0x16, 0x17, 0xe4, 0xe7, 0x15, - 0xa7, 0x1a, 0xe5, 0x71, 0x31, 0xfb, 0x16, 0xa7, 0x0b, 0x25, 0x70, 0xf1, 0xa0, 0xb8, 0x59, 0x19, - 0x9b, 0x5d, 0x68, 0x66, 0x48, 0x69, 0x13, 0xa1, 0x08, 0x66, 0x91, 0x14, 0x6b, 0xc3, 0xf3, 0x0d, - 0x5a, 0x8c, 0x4e, 0xde, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, 0xe0, 0x91, 0x1c, - 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0x65, 0x98, - 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0xef, 0x0a, 0x31, 0xd7, 0x2f, 0xb5, - 0xa4, 0x3c, 0xbf, 0x28, 0x5b, 0x1f, 0x16, 0xec, 0x15, 0xf0, 0x80, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, - 0x4e, 0x62, 0x03, 0x07, 0xba, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x32, 0xea, 0x25, 0xb9, 0x26, - 0x02, 0x00, 0x00, + 0x49, 0xcf, 0x4f, 0xcf, 0x87, 0x88, 0x83, 0x58, 0x50, 0x51, 0x05, 0x2c, 0x56, 0xc3, 0x2c, 0x02, + 0xab, 0x50, 0x9a, 0xcc, 0xc8, 0xc5, 0xef, 0x5b, 0x9c, 0x1e, 0x5a, 0x90, 0x92, 0x58, 0x92, 0x1a, + 0x90, 0x58, 0x94, 0x98, 0x5b, 0x2c, 0x64, 0xc6, 0xc5, 0x99, 0x58, 0x5a, 0x92, 0x91, 0x5f, 0x94, + 0x59, 0x52, 0x29, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0xe9, 0x24, 0x71, 0x69, 0x8b, 0xae, 0x08, 0xd4, + 0x42, 0xc7, 0x94, 0x94, 0xa2, 0xd4, 0xe2, 0xe2, 0xe0, 0x92, 0xa2, 0xcc, 0xbc, 0xf4, 0x20, 0x84, + 0x52, 0x21, 0x0b, 0x2e, 0xb6, 0x02, 0xb0, 0x09, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0xdc, 0x46, 0x52, + 0x7a, 0x98, 0x9e, 0xd3, 0x83, 0xd8, 0xe1, 0xc4, 0x72, 0xe2, 0x9e, 0x3c, 0x43, 0x10, 0x54, 0xbd, + 0x15, 0x5f, 0xd3, 0xf3, 0x0d, 0x5a, 0x08, 0x93, 0x94, 0x24, 0xb9, 0xc4, 0xd1, 0x1c, 0x15, 0x94, + 0x5a, 0x5c, 0x90, 0x9f, 0x57, 0x9c, 0x6a, 0x94, 0xc7, 0xc5, 0xec, 0x5b, 0x9c, 0x2e, 0x94, 0xc0, + 0xc5, 0x83, 0xe2, 0x66, 0x65, 0x6c, 0x76, 0xa1, 0x99, 0x21, 0xa5, 0x4d, 0x84, 0x22, 0x98, 0x45, + 0x52, 0xac, 0x0d, 0xcf, 0x37, 0x68, 0x31, 0x3a, 0x79, 0x9f, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, + 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, + 0xb1, 0x1c, 0x43, 0x94, 0x61, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0xbe, + 0x2b, 0xc4, 0x5c, 0xbf, 0xd4, 0x92, 0xf2, 0xfc, 0xa2, 0x6c, 0x7d, 0x58, 0xb0, 0x57, 0xc0, 0x03, + 0xbe, 0xa4, 0xb2, 0x20, 0xb5, 0x38, 0x89, 0x0d, 0x1c, 0xe8, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, + 0xff, 0xe6, 0xe4, 0x92, 0x15, 0x13, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -172,6 +170,7 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type MsgClient interface { + // UpdateParams updates the parameters of the deposit module. UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) } @@ -194,6 +193,7 @@ func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts // MsgServer is the server API for Msg service. type MsgServer interface { + // UpdateParams updates the parameters of the deposit module. UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) } diff --git a/x/native_token/types/tx.pb.go b/x/native_token/types/tx.pb.go index 16e996410..7f23bb815 100644 --- a/x/native_token/types/tx.pb.go +++ b/x/native_token/types/tx.pb.go @@ -7,7 +7,6 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - _ "github.com/cosmos/cosmos-sdk/types/msgservice" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" io "io" @@ -26,24 +25,32 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// ValidatorStatus is the status of the validator. type ValidatorInfo_ValidatorStatus int32 const ( - ValidatorInfo_ACTIVE ValidatorInfo_ValidatorStatus = 0 - ValidatorInfo_INACTIVE ValidatorInfo_ValidatorStatus = 1 - ValidatorInfo_WITHDRAWN ValidatorInfo_ValidatorStatus = 2 + // UNSPECIFIED is the default status of a validator. + ValidatorInfo_ValidatorInfo_UNSPECIFIED ValidatorInfo_ValidatorStatus = 0 + // ACTIVE is the status of a validator that is currently validating. + ValidatorInfo_ValidatorInfo_ACTIVE ValidatorInfo_ValidatorStatus = 1 + // INACTIVE is the status of a validator that is not currently validating. + ValidatorInfo_ValidatorInfo_INACTIVE ValidatorInfo_ValidatorStatus = 2 + // WITHDRAWN is the status of a validator that has withdrawn from the network. + ValidatorInfo_ValidatorInfo_WITHDRAWN ValidatorInfo_ValidatorStatus = 3 ) var ValidatorInfo_ValidatorStatus_name = map[int32]string{ - 0: "ACTIVE", - 1: "INACTIVE", - 2: "WITHDRAWN", + 0: "VALIDATOR_STATUS_UNSPECIFIED", + 1: "VALIDATOR_STATUS_ACTIVE", + 2: "VALIDATOR_STATUS_INACTIVE", + 3: "VALIDATOR_STATUS_WITHDRAWN", } var ValidatorInfo_ValidatorStatus_value = map[string]int32{ - "ACTIVE": 0, - "INACTIVE": 1, - "WITHDRAWN": 2, + "VALIDATOR_STATUS_UNSPECIFIED": 0, + "VALIDATOR_STATUS_ACTIVE": 1, + "VALIDATOR_STATUS_INACTIVE": 2, + "VALIDATOR_STATUS_WITHDRAWN": 3, } func (x ValidatorInfo_ValidatorStatus) String() string { @@ -55,10 +62,10 @@ func (ValidatorInfo_ValidatorStatus) EnumDescriptor() ([]byte, []int) { } type ValidatorInfo struct { - Status ValidatorInfo_ValidatorStatus `protobuf:"varint,1,opt,name=Status,proto3,enum=exocore.native_token.v1.ValidatorInfo_ValidatorStatus" json:"Status,omitempty"` - ValidatorIndex uint64 `protobuf:"varint,2,opt,name=ValidatorIndex,proto3" json:"ValidatorIndex,omitempty"` - StakedBalanceGwei github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=StakedBalanceGwei,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"StakedBalanceGwei"` - MostRecentBalanceUpdateBlockNumber uint64 `protobuf:"varint,4,opt,name=MostRecentBalanceUpdateBlockNumber,proto3" json:"MostRecentBalanceUpdateBlockNumber,omitempty"` + Status ValidatorInfo_ValidatorStatus `protobuf:"varint,1,opt,name=status,proto3,enum=exocore.native_token.v1.ValidatorInfo_ValidatorStatus" json:"status,omitempty"` + ValidatorIndex uint64 `protobuf:"varint,2,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty"` + StakedBalanceGwei github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=staked_balance_gwei,json=stakedBalanceGwei,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"staked_balance_gwei"` + MostRecentBalanceUpdateBlockNumber uint64 `protobuf:"varint,4,opt,name=most_recent_balance_update_block_number,json=mostRecentBalanceUpdateBlockNumber,proto3" json:"most_recent_balance_update_block_number,omitempty"` } func (m *ValidatorInfo) Reset() { *m = ValidatorInfo{} } @@ -98,7 +105,7 @@ func (m *ValidatorInfo) GetStatus() ValidatorInfo_ValidatorStatus { if m != nil { return m.Status } - return ValidatorInfo_ACTIVE + return ValidatorInfo_ValidatorInfo_UNSPECIFIED } func (m *ValidatorInfo) GetValidatorIndex() uint64 { @@ -116,10 +123,10 @@ func (m *ValidatorInfo) GetMostRecentBalanceUpdateBlockNumber() uint64 { } type NativeTokenStakerInfo struct { - TotalValidatorBalances github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=TotalValidatorBalances,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"TotalValidatorBalances"` - UnStakedValueFromPOS github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=UnStakedValueFromPOS,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"UnStakedValueFromPOS"` - PodAddress string `protobuf:"bytes,3,opt,name=PodAddress,proto3" json:"PodAddress,omitempty"` - ValidatorsInfo map[string]*ValidatorInfo `protobuf:"bytes,4,rep,name=ValidatorsInfo,proto3" json:"ValidatorsInfo,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + TotalValidatorBalances github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=total_validator_balances,json=totalValidatorBalances,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"total_validator_balances"` + UnStakedValueFromPOS github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=unstaked_value_from_pos,json=unstakedValueFromPos,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"unstaked_value_from_pos"` + PodAddress string `protobuf:"bytes,3,opt,name=pod_address,json=podAddress,proto3" json:"pod_address,omitempty"` + ValidatorsInfo map[string]*ValidatorInfo `protobuf:"bytes,4,rep,name=validators_info,json=validatorsInfo,proto3" json:"validators_info,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (m *NativeTokenStakerInfo) Reset() { *m = NativeTokenStakerInfo{} } @@ -179,41 +186,50 @@ func init() { func init() { proto.RegisterFile("exocore/native_token/v1/tx.proto", fileDescriptor_769c53c072051eb9) } var fileDescriptor_769c53c072051eb9 = []byte{ - // 534 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xcd, 0x6e, 0xd3, 0x40, - 0x10, 0x8e, 0x93, 0x12, 0xd1, 0x29, 0x2d, 0x61, 0x29, 0x34, 0xe4, 0xe0, 0x46, 0x39, 0x44, 0xb9, - 0xd4, 0x56, 0x83, 0x54, 0xa1, 0xaa, 0x97, 0x18, 0x02, 0xf8, 0x80, 0x89, 0x9c, 0x34, 0x95, 0xb8, - 0x54, 0x1b, 0x7b, 0x31, 0xae, 0x7f, 0x36, 0xf2, 0x6e, 0xd2, 0xe4, 0x2d, 0x78, 0x18, 0x1e, 0xa2, - 0xc7, 0x8a, 0x13, 0xe2, 0x50, 0xa1, 0xe4, 0x1d, 0xb8, 0x82, 0xec, 0x35, 0xe0, 0x84, 0x44, 0xaa, - 0xd4, 0xd3, 0xee, 0xfc, 0x7c, 0xdf, 0xce, 0x7c, 0xb3, 0xbb, 0x50, 0x25, 0x13, 0x6a, 0xd1, 0x88, - 0xa8, 0x21, 0xe6, 0xee, 0x98, 0x9c, 0x73, 0xea, 0x91, 0x50, 0x1d, 0x1f, 0xaa, 0x7c, 0xa2, 0x0c, - 0x23, 0xca, 0x29, 0xda, 0x4b, 0x33, 0x94, 0x6c, 0x86, 0x32, 0x3e, 0xac, 0xec, 0x59, 0x94, 0x05, - 0x94, 0xa9, 0x01, 0x73, 0x62, 0x40, 0xc0, 0x1c, 0x81, 0xa8, 0x3c, 0x13, 0x81, 0xf3, 0xc4, 0x52, - 0x85, 0x91, 0x86, 0x76, 0x1d, 0xea, 0x50, 0xe1, 0x8f, 0x77, 0xc2, 0x5b, 0xfb, 0x95, 0x87, 0xed, - 0x3e, 0xf6, 0x5d, 0x1b, 0x73, 0x1a, 0xe9, 0xe1, 0x47, 0x8a, 0x0c, 0x28, 0x76, 0x39, 0xe6, 0x23, - 0x56, 0x96, 0xaa, 0x52, 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, 0x5f, 0x4c, 0xe6, 0xae, 0xb2, - 0xac, 0xe1, 0x46, 0x43, 0xd8, 0x3d, 0x15, 0x55, 0xd8, 0x7d, 0xec, 0x8f, 0xc8, 0xeb, 0x88, 0x06, - 0x9d, 0xf7, 0xdd, 0x64, 0x6a, 0x77, 0x3d, 0x73, 0x25, 0x33, 0x92, 0x01, 0x3a, 0xd4, 0x6e, 0xd9, - 0x76, 0x44, 0x18, 0x13, 0x23, 0x37, 0x33, 0x1e, 0x74, 0x91, 0xb9, 0x41, 0x2c, 0x56, 0xa6, 0xbc, - 0x51, 0x2d, 0x34, 0xb6, 0x9a, 0xda, 0xda, 0x9b, 0xb9, 0x52, 0x4f, 0x65, 0x91, 0xa4, 0x1d, 0xf2, - 0x68, 0x6a, 0x2e, 0x31, 0x57, 0x5c, 0x78, 0xbc, 0x22, 0x0d, 0x95, 0xa0, 0xe0, 0x91, 0xa9, 0xd0, - 0xdd, 0x8c, 0xb7, 0xe8, 0x04, 0xee, 0x8d, 0xe3, 0x26, 0x12, 0x5d, 0xb6, 0x9a, 0xf5, 0xdb, 0xbd, - 0x12, 0x53, 0x80, 0x8e, 0xf3, 0x2f, 0x24, 0xad, 0x73, 0x35, 0x93, 0xa5, 0xeb, 0x99, 0x2c, 0xfd, - 0x98, 0xc9, 0xd2, 0xe7, 0xb9, 0x9c, 0xbb, 0x9e, 0xcb, 0xb9, 0x6f, 0x73, 0x39, 0xf7, 0xe1, 0x28, - 0x23, 0x6e, 0x5b, 0xd0, 0x1a, 0x84, 0x5f, 0xd2, 0xc8, 0x53, 0xff, 0xfc, 0x19, 0x93, 0xc5, 0x5f, - 0x23, 0x11, 0x7c, 0x50, 0x4c, 0xde, 0xf4, 0xf3, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x17, 0x55, - 0x62, 0x2e, 0x5a, 0x04, 0x00, 0x00, + // 680 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00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0xde, 0x29, 0xc9, 0x26, 0x95, 0x44, + 0x71, 0x69, 0xa7, 0xfa, 0x60, 0x25, 0xde, 0xeb, 0xf7, 0xb4, 0x22, 0x69, 0x38, 0xac, 0x79, 0xcc, + 0x3f, 0x9f, 0x29, 0x3a, 0x3e, 0x29, 0x3b, 0x60, 0xf5, 0x1e, 0x18, 0x4c, 0x81, 0x84, 0x8b, 0xcf, + 0xc5, 0xab, 0xe8, 0xe1, 0x2f, 0xdc, 0x03, 0x7f, 0x71, 0xeb, 0xb8, 0x63, 0x4b, 0x3b, 0x1b, 0xbf, + 0xd6, 0x15, 0x74, 0x41, 0x7a, 0x1e, 0x7f, 0x2a, 0x55, 0x8f, 0x2f, 0xc6, 0x39, 0xe9, 0x72, 0x9c, + 0x93, 0x7e, 0x8c, 0x73, 0xd2, 0xc7, 0xeb, 0x5c, 0xec, 0xf2, 0x3a, 0x17, 0xfb, 0x76, 0x9d, 0x8b, + 0xbd, 0xdd, 0x9d, 0xb1, 0xbd, 0x26, 0x64, 0x35, 0xcc, 0xce, 0x88, 0xef, 0x96, 0x27, 0xad, 0x70, + 0x30, 0xdf, 0x0c, 0xf9, 0x53, 0x34, 0x17, 0x78, 0x0f, 0x7b, 0xfc, 0x33, 0x00, 0x00, 0xff, 0xff, + 0x97, 0x08, 0xb9, 0x58, 0x31, 0x05, 0x00, 0x00, } func (m *ValidatorInfo) Marshal() (dAtA []byte, err error) { diff --git a/x/restaking_assets_manage/client/cli/query.go b/x/restaking_assets_manage/client/cli/query.go index 889ec9926..cce124677 100644 --- a/x/restaking_assets_manage/client/cli/query.go +++ b/x/restaking_assets_manage/client/cli/query.go @@ -76,7 +76,7 @@ func QueAllClientChainInfo() *cobra.Command { Short: "Get all client chain info", Long: "Get all client chain info", Args: cobra.ExactArgs(0), - RunE: func(cmd *cobra.Command, args []string) error { + RunE: func(cmd *cobra.Command, _ []string) error { clientCtx, err := client.GetClientQueryContext(cmd) if err != nil { return err @@ -138,7 +138,7 @@ func QueAllStakingAssetsInfo() *cobra.Command { Short: "Get all staking asset info", Long: "Get all staking asset info", Args: cobra.ExactArgs(0), - RunE: func(cmd *cobra.Command, args []string) error { + RunE: func(cmd *cobra.Command, _ []string) error { clientCtx, err := client.GetClientQueryContext(cmd) if err != nil { return err @@ -301,7 +301,7 @@ func QueStakerExoCoreAddr() *cobra.Command { queryClient := types.NewQueryClient(clientCtx) req := &types.QueryStakerExCoreAddr{ - StakerID: args[0], + Staker: args[0], } res, err := queryClient.QueStakerExoCoreAddr(context.Background(), req) if err != nil { diff --git a/x/restaking_assets_manage/keeper/grpc_query.go b/x/restaking_assets_manage/keeper/grpc_query.go index 37e61a503..f5717a312 100644 --- a/x/restaking_assets_manage/keeper/grpc_query.go +++ b/x/restaking_assets_manage/keeper/grpc_query.go @@ -85,9 +85,9 @@ func (k Keeper) QueOperatorSpecifiedAssetAmount(ctx context.Context, req *restak // QueStakerExoCoreAddr outdated,will be deprecated func (k Keeper) QueStakerExoCoreAddr(ctx context.Context, req *restakingtype.QueryStakerExCoreAddr) (*restakingtype.QueryStakerExCoreAddrResponse, error) { c := sdk.UnwrapSDKContext(ctx) - exoCoreAddr, err := k.GetStakerExoCoreAddr(c, req.StakerID) + exoCoreAddr, err := k.GetStakerExoCoreAddr(c, req.Staker) if err != nil { return nil, err } - return &restakingtype.QueryStakerExCoreAddrResponse{ExCoreAddr: exoCoreAddr}, nil + return &restakingtype.QueryStakerExCoreAddrResponse{ExoCoreAddr: exoCoreAddr}, nil } diff --git a/x/restaking_assets_manage/types/genesis.pb.go b/x/restaking_assets_manage/types/genesis.pb.go index 1852a552c..ebc7961f0 100644 --- a/x/restaking_assets_manage/types/genesis.pb.go +++ b/x/restaking_assets_manage/types/genesis.pb.go @@ -5,7 +5,6 @@ package types import ( fmt "fmt" - _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" io "io" math "math" @@ -25,8 +24,8 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // GenesisState defines the restaking_assets_manage module's genesis state. type GenesisState struct { - DefaultSupportedClientChains []*ClientChainInfo `protobuf:"bytes,1,rep,name=DefaultSupportedClientChains,proto3" json:"DefaultSupportedClientChains,omitempty"` - DefaultSupportedClientChainTokens []*AssetInfo `protobuf:"bytes,2,rep,name=DefaultSupportedClientChainTokens,proto3" json:"DefaultSupportedClientChainTokens,omitempty"` + DefaultSupportedClientChains []*ClientChainInfo `protobuf:"bytes,1,rep,name=default_supported_client_chains,json=defaultSupportedClientChains,proto3" json:"default_supported_client_chains,omitempty"` + DefaultSupportedClientChainTokens []*AssetInfo `protobuf:"bytes,2,rep,name=default_supported_client_chain_tokens,json=defaultSupportedClientChainTokens,proto3" json:"default_supported_client_chain_tokens,omitempty"` } func (m *GenesisState) Reset() { *m = GenesisState{} } @@ -85,24 +84,25 @@ func init() { } var fileDescriptor_554af23024865cd5 = []byte{ - // 268 bytes of a gzipped FileDescriptorProto + // 275 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x48, 0xad, 0xc8, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x2f, 0x4a, 0x2d, 0x2e, 0x49, 0xcc, 0xce, 0xcc, 0x4b, 0x8f, 0x4f, 0x2c, 0x2e, 0x4e, 0x2d, 0x29, 0x8e, 0xcf, 0x4d, 0xcc, 0x4b, 0x4c, 0x4f, 0xd5, 0x2f, 0x33, 0xd4, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x52, 0x82, 0xea, - 0xd0, 0xc3, 0xa1, 0x43, 0xaf, 0xcc, 0x50, 0x4a, 0x24, 0x3d, 0x3f, 0x3d, 0x1f, 0xac, 0x5c, 0x1f, - 0xc4, 0x82, 0xe8, 0x94, 0xd2, 0x26, 0xc2, 0xae, 0x92, 0x0a, 0x88, 0x62, 0xa5, 0x16, 0x26, 0x2e, - 0x1e, 0x77, 0x88, 0xc5, 0xc1, 0x25, 0x89, 0x25, 0xa9, 0x42, 0xe5, 0x5c, 0x32, 0x2e, 0xa9, 0x69, - 0x89, 0xa5, 0x39, 0x25, 0xc1, 0xa5, 0x05, 0x05, 0xf9, 0x45, 0x25, 0xa9, 0x29, 0xce, 0x39, 0x99, - 0xa9, 0x79, 0x25, 0xce, 0x19, 0x89, 0x99, 0x79, 0xc5, 0x12, 0x8c, 0x0a, 0xcc, 0x1a, 0xdc, 0x46, - 0xc6, 0x7a, 0x84, 0x9d, 0xa7, 0x87, 0xa4, 0xcf, 0x33, 0x2f, 0x2d, 0x3f, 0x08, 0xaf, 0xc1, 0x42, - 0xd5, 0x5c, 0x8a, 0x78, 0xe4, 0x43, 0xf2, 0xb3, 0x53, 0xf3, 0x8a, 0x25, 0x98, 0xc0, 0xb6, 0xeb, - 0x12, 0x63, 0xbb, 0x23, 0x48, 0x00, 0x6c, 0x2f, 0x61, 0x73, 0x9d, 0xa2, 0x4f, 0x3c, 0x92, 0x63, - 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, 0x96, - 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0xca, 0x31, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, - 0x3f, 0x57, 0xdf, 0x15, 0x62, 0xab, 0x5f, 0x6a, 0x49, 0x79, 0x7e, 0x51, 0xb6, 0x3e, 0x2c, 0x9c, - 0x2b, 0x70, 0x86, 0x74, 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0x38, 0xa8, 0x8d, 0x01, 0x01, - 0x00, 0x00, 0xff, 0xff, 0x9b, 0xe4, 0x07, 0xcf, 0x05, 0x02, 0x00, 0x00, + 0xd0, 0xc3, 0xa1, 0x43, 0xaf, 0xcc, 0x50, 0x4a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b5, 0x38, + 0x89, 0x0d, 0x1c, 0xe2, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd9, 0x38, 0x87, 0xab, 0xf6, + 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/restaking_assets_manage/types/query.pb.go b/x/restaking_assets_manage/types/query.pb.go index b95e30b2a..1b9dc6ac4 100644 --- a/x/restaking_assets_manage/types/query.pb.go +++ b/x/restaking_assets_manage/types/query.pb.go @@ -32,7 +32,7 @@ var _ = math.Inf const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type QueryClientChainInfo struct { - ChainIndex uint64 `protobuf:"varint,1,opt,name=chainIndex,proto3" json:"chainIndex,omitempty"` + ChainIndex uint64 `protobuf:"varint,1,opt,name=chain_index,json=chainIndex,proto3" json:"chain_index,omitempty"` } func (m *QueryClientChainInfo) Reset() { *m = QueryClientChainInfo{} } @@ -112,7 +112,7 @@ func (m *QueryAllClientChainInfo) XXX_DiscardUnknown() { var xxx_messageInfo_QueryAllClientChainInfo proto.InternalMessageInfo type QueryAllClientChainInfoResponse struct { - AllClientChainInfos map[uint64]*ClientChainInfo `protobuf:"bytes,1,rep,name=allClientChainInfos,proto3" json:"allClientChainInfos,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + AllClientChainInfos map[uint64]*ClientChainInfo `protobuf:"bytes,1,rep,name=all_client_chain_infos,json=allClientChainInfos,proto3" json:"all_client_chain_infos,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (m *QueryAllClientChainInfoResponse) Reset() { *m = QueryAllClientChainInfoResponse{} } @@ -156,7 +156,7 @@ func (m *QueryAllClientChainInfoResponse) GetAllClientChainInfos() map[uint64]*C } type QueryStakingAssetInfo struct { - AssetID string `protobuf:"bytes,1,opt,name=assetID,proto3" json:"assetID,omitempty"` + AssetID string `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` } func (m *QueryStakingAssetInfo) Reset() { *m = QueryStakingAssetInfo{} } @@ -236,7 +236,7 @@ func (m *QueryAllStakingAssetsInfo) XXX_DiscardUnknown() { var xxx_messageInfo_QueryAllStakingAssetsInfo proto.InternalMessageInfo type QueryAllStakingAssetsInfoResponse struct { - AllStakingAssetsInfo map[string]*StakingAssetInfo `protobuf:"bytes,1,rep,name=allStakingAssetsInfo,proto3" json:"allStakingAssetsInfo,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + AllStakingAssetsInfo map[string]*StakingAssetInfo `protobuf:"bytes,1,rep,name=all_staking_assets_info,json=allStakingAssetsInfo,proto3" json:"all_staking_assets_info,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (m *QueryAllStakingAssetsInfoResponse) Reset() { *m = QueryAllStakingAssetsInfoResponse{} } @@ -280,7 +280,7 @@ func (m *QueryAllStakingAssetsInfoResponse) GetAllStakingAssetsInfo() map[string } type QueryStakerAssetInfo struct { - StakerID string `protobuf:"bytes,1,opt,name=stakerID,proto3" json:"stakerID,omitempty"` + StakerID string `protobuf:"bytes,1,opt,name=staker_id,json=stakerId,proto3" json:"staker_id,omitempty"` } func (m *QueryStakerAssetInfo) Reset() { *m = QueryStakerAssetInfo{} } @@ -324,7 +324,7 @@ func (m *QueryStakerAssetInfo) GetStakerID() string { } type QueryAssetInfoResponse struct { - AssetInfos map[string]*StakerSingleAssetOrChangeInfo `protobuf:"bytes,1,rep,name=assetInfos,proto3" json:"assetInfos,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + AssetInfos map[string]*StakerSingleAssetOrChangeInfo `protobuf:"bytes,1,rep,name=asset_infos,json=assetInfos,proto3" json:"asset_infos,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (m *QueryAssetInfoResponse) Reset() { *m = QueryAssetInfoResponse{} } @@ -368,8 +368,8 @@ func (m *QueryAssetInfoResponse) GetAssetInfos() map[string]*StakerSingleAssetOr } type QuerySpecifiedAssetAmountReq struct { - StakerID string `protobuf:"bytes,1,opt,name=stakerID,proto3" json:"stakerID,omitempty"` - AssetID string `protobuf:"bytes,2,opt,name=assetID,proto3" json:"assetID,omitempty"` + StakerID string `protobuf:"bytes,1,opt,name=staker_id,json=stakerId,proto3" json:"staker_id,omitempty"` + AssetID string `protobuf:"bytes,2,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` } func (m *QuerySpecifiedAssetAmountReq) Reset() { *m = QuerySpecifiedAssetAmountReq{} } @@ -420,7 +420,7 @@ func (m *QuerySpecifiedAssetAmountReq) GetAssetID() string { } type QueryOperatorAssetInfos struct { - OperatorAddr string `protobuf:"bytes,1,opt,name=operatorAddr,proto3" json:"operatorAddr,omitempty"` + OperatorAddr string `protobuf:"bytes,1,opt,name=operator_addr,json=operatorAddr,proto3" json:"operator_addr,omitempty"` } func (m *QueryOperatorAssetInfos) Reset() { *m = QueryOperatorAssetInfos{} } @@ -464,7 +464,7 @@ func (m *QueryOperatorAssetInfos) GetOperatorAddr() string { } type QueryOperatorAssetInfosResponse struct { - AssetInfos map[string]*OperatorSingleAssetOrChangeInfo `protobuf:"bytes,1,rep,name=assetInfos,proto3" json:"assetInfos,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + AssetInfos map[string]*OperatorSingleAssetOrChangeInfo `protobuf:"bytes,1,rep,name=asset_infos,json=assetInfos,proto3" json:"asset_infos,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (m *QueryOperatorAssetInfosResponse) Reset() { *m = QueryOperatorAssetInfosResponse{} } @@ -508,8 +508,8 @@ func (m *QueryOperatorAssetInfosResponse) GetAssetInfos() map[string]*OperatorSi } type QueryOperatorSpecifiedAssetAmountReq struct { - OperatorAddr string `protobuf:"bytes,1,opt,name=operatorAddr,proto3" json:"operatorAddr,omitempty"` - AssetID string `protobuf:"bytes,2,opt,name=assetID,proto3" json:"assetID,omitempty"` + OperatorAddr string `protobuf:"bytes,1,opt,name=operator_addr,json=operatorAddr,proto3" json:"operator_addr,omitempty"` + AssetID string `protobuf:"bytes,2,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` } func (m *QueryOperatorSpecifiedAssetAmountReq) Reset() { *m = QueryOperatorSpecifiedAssetAmountReq{} } @@ -560,7 +560,9 @@ func (m *QueryOperatorSpecifiedAssetAmountReq) GetAssetID() string { } type QueryStakerExCoreAddr struct { - StakerID string `protobuf:"bytes,1,opt,name=StakerID,proto3" json:"StakerID,omitempty"` + // Per https://github.com/gogo/protobuf/issues/331, grpc-gateway does not like custom names. + // So we remove the id suffix from here as well as the query. + Staker string `protobuf:"bytes,1,opt,name=staker,proto3" json:"staker,omitempty"` } func (m *QueryStakerExCoreAddr) Reset() { *m = QueryStakerExCoreAddr{} } @@ -596,15 +598,15 @@ func (m *QueryStakerExCoreAddr) XXX_DiscardUnknown() { var xxx_messageInfo_QueryStakerExCoreAddr proto.InternalMessageInfo -func (m *QueryStakerExCoreAddr) GetStakerID() string { +func (m *QueryStakerExCoreAddr) GetStaker() string { if m != nil { - return m.StakerID + return m.Staker } return "" } type QueryStakerExCoreAddrResponse struct { - ExCoreAddr string `protobuf:"bytes,1,opt,name=ExCoreAddr,proto3" json:"ExCoreAddr,omitempty"` + ExoCoreAddr string `protobuf:"bytes,1,opt,name=exocore_addr,json=exocoreAddr,proto3" json:"exocore_addr,omitempty"` } func (m *QueryStakerExCoreAddrResponse) Reset() { *m = QueryStakerExCoreAddrResponse{} } @@ -640,9 +642,9 @@ func (m *QueryStakerExCoreAddrResponse) XXX_DiscardUnknown() { var xxx_messageInfo_QueryStakerExCoreAddrResponse proto.InternalMessageInfo -func (m *QueryStakerExCoreAddrResponse) GetExCoreAddr() string { +func (m *QueryStakerExCoreAddrResponse) GetExoCoreAddr() string { if m != nil { - return m.ExCoreAddr + return m.ExoCoreAddr } return "" } @@ -673,68 +675,72 @@ func init() { } var fileDescriptor_6d13900d4f268106 = []byte{ - // 975 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0x4d, 0x6f, 0xe3, 0x44, - 0x18, 0xee, 0x64, 0x59, 0xd8, 0x9d, 0x45, 0x62, 0x35, 0x1b, 0x20, 0xf1, 0x2e, 0xa1, 0x58, 0x1c, - 0x2a, 0x10, 0xb6, 0x9a, 0x22, 0x48, 0x36, 0x54, 0x90, 0x7a, 0x83, 0xb6, 0x3d, 0xec, 0xd2, 0x04, - 0xa9, 0x2a, 0x20, 0x45, 0x6e, 0x32, 0x75, 0x4d, 0x13, 0x4f, 0xea, 0x71, 0x4a, 0xa2, 0xaa, 0xa8, - 0xea, 0x05, 0x4e, 0x08, 0xa9, 0x37, 0xf8, 0x11, 0x70, 0xe0, 0xc0, 0x4f, 0xe0, 0xc0, 0xa1, 0x80, - 0x84, 0x38, 0x42, 0x8b, 0x40, 0xdc, 0xf9, 0x01, 0xab, 0xcc, 0xf8, 0x2b, 0x8e, 0x9d, 0x4e, 0x3e, - 0x6e, 0x99, 0x99, 0xf7, 0xeb, 0x79, 0x9f, 0xf1, 0xfb, 0x4c, 0xa0, 0x82, 0x7b, 0xa4, 0x41, 0x6c, - 0xac, 0xda, 0x98, 0x3a, 0xfa, 0xbe, 0x69, 0x19, 0x75, 0x9d, 0x52, 0xec, 0xd0, 0x7a, 0x5b, 0xb7, - 0x74, 0x03, 0xab, 0x87, 0xcb, 0xea, 0x41, 0x17, 0xdb, 0x7d, 0xa5, 0x63, 0x13, 0x87, 0x20, 0xd9, - 0xb5, 0x57, 0x12, 0xec, 0x95, 0xc3, 0x65, 0x29, 0x6d, 0x10, 0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x00, 0xf9, 0x83, 0x00, 0x66, 0x05, 0x69, 0x13, 0xc1, 0x0c, 0x81, 0x50, - 0x8f, 0xbc, 0x67, 0xc7, 0xf1, 0xda, 0xc7, 0x3f, 0x5d, 0xe4, 0xc0, 0xf9, 0x45, 0x0e, 0xfc, 0x79, - 0x91, 0x03, 0x5f, 0x5f, 0xe6, 0x16, 0xce, 0x2f, 0x73, 0x0b, 0x7f, 0x5c, 0xe6, 0x16, 0x3e, 0x2a, - 0x1b, 0xa6, 0xb3, 0xd7, 0xdd, 0x51, 0x1a, 0xa4, 0xad, 0x56, 0x78, 0xa2, 0x47, 0xd8, 0xf9, 0x8c, - 0xd8, 0xfb, 0x7e, 0xde, 0x5e, 0x62, 0x66, 0xa7, 0xdf, 0xc1, 0x74, 0xe7, 0x69, 0xf6, 0x5f, 0x7d, - 0xe5, 0x49, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6c, 0x2b, 0xcf, 0xb5, 0x9a, 0x10, 0x00, 0x00, + // 1039 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0x4d, 0x6f, 0x1b, 0x45, + 0x18, 0xce, 0xb8, 0xb4, 0x4d, 0xc6, 0x41, 0x54, 0xd3, 0x90, 0x3a, 0xdb, 0x62, 0x87, 0x15, 0x82, + 0x00, 0x62, 0x57, 0x4d, 0x91, 0x9a, 0x34, 0x8a, 0x8a, 0xe3, 0x18, 0xd5, 0x39, 0xb4, 0xaa, 0x73, + 0xe0, 0x53, 0x5a, 0x6d, 0xbd, 0x93, 0xcd, 0xca, 0xce, 0x8e, 0xb3, 0xb3, 0x0e, 0xb6, 0xaa, 0x4a, + 0x55, 0x4f, 0xbd, 0x20, 0x81, 0x90, 0x10, 0x07, 0x7e, 0x04, 0x42, 0xdc, 0xf8, 0x03, 0x1c, 0x38, + 0x14, 0x90, 0x10, 0xa7, 0x08, 0x9c, 0x4a, 0x88, 0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, 0xeb, 0x81, 0x56, 0x23, 0x07, 0x7a, 0x99, 0x87, 0xb9, 0x8b, 0xfd, 0x2f, + 0x88, 0x57, 0xef, 0x47, 0x6d, 0xa7, 0xc6, 0xf5, 0x3b, 0x4d, 0x4c, 0x1f, 0x5c, 0x60, 0xff, 0x05, + 0xdc, 0x78, 0x11, 0x00, 0x00, 0xff, 0xff, 0xd1, 0x1a, 0xd9, 0x0e, 0xfa, 0x10, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -749,15 +755,23 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type QueryClient interface { - // Balance queries the balance of a single coin for a single account. + // ClientChainInfoByIndex queries the client chain info by index. QueClientChainInfoByIndex(ctx context.Context, in *QueryClientChainInfo, opts ...grpc.CallOption) (*ClientChainInfo, error) + // AllClientChainInfo queries all client chain info. QueAllClientChainInfo(ctx context.Context, in *QueryAllClientChainInfo, opts ...grpc.CallOption) (*QueryAllClientChainInfoResponse, error) + // StakingAssetInfo queries the staking asset info. QueStakingAssetInfo(ctx context.Context, in *QueryStakingAssetInfo, opts ...grpc.CallOption) (*StakingAssetInfo, error) + // AllStakingAssetsInfo queries all staking assets info. QueAllStakingAssetsInfo(ctx context.Context, in *QueryAllStakingAssetsInfo, opts ...grpc.CallOption) (*QueryAllStakingAssetsInfoResponse, error) + // StakerAssetInfos queries the staker asset info. QueStakerAssetInfos(ctx context.Context, in *QueryStakerAssetInfo, opts ...grpc.CallOption) (*QueryAssetInfoResponse, error) + // StakerSpecifiedAssetAmount queries the staker specified asset amount. QueStakerSpecifiedAssetAmount(ctx context.Context, in *QuerySpecifiedAssetAmountReq, opts ...grpc.CallOption) (*StakerSingleAssetOrChangeInfo, error) + // OperatorAssetInfos queries the operator asset info. QueOperatorAssetInfos(ctx context.Context, in *QueryOperatorAssetInfos, opts ...grpc.CallOption) (*QueryOperatorAssetInfosResponse, error) + // OperatorSpecifiedAssetAmount queries the operator specified asset amount. QueOperatorSpecifiedAssetAmount(ctx context.Context, in *QueryOperatorSpecifiedAssetAmountReq, opts ...grpc.CallOption) (*OperatorSingleAssetOrChangeInfo, error) + // StakerExCoreAddr queries the staker exocore address. QueStakerExoCoreAddr(ctx context.Context, in *QueryStakerExCoreAddr, opts ...grpc.CallOption) (*QueryStakerExCoreAddrResponse, error) } @@ -852,15 +866,23 @@ func (c *queryClient) QueStakerExoCoreAddr(ctx context.Context, in *QueryStakerE // QueryServer is the server API for Query service. type QueryServer interface { - // Balance queries the balance of a single coin for a single account. + // ClientChainInfoByIndex queries the client chain info by index. QueClientChainInfoByIndex(context.Context, *QueryClientChainInfo) (*ClientChainInfo, error) + // AllClientChainInfo queries all client chain info. QueAllClientChainInfo(context.Context, *QueryAllClientChainInfo) (*QueryAllClientChainInfoResponse, error) + // StakingAssetInfo queries the staking asset info. QueStakingAssetInfo(context.Context, *QueryStakingAssetInfo) (*StakingAssetInfo, error) + // AllStakingAssetsInfo queries all staking assets info. QueAllStakingAssetsInfo(context.Context, *QueryAllStakingAssetsInfo) (*QueryAllStakingAssetsInfoResponse, error) + // StakerAssetInfos queries the staker asset info. QueStakerAssetInfos(context.Context, *QueryStakerAssetInfo) (*QueryAssetInfoResponse, error) + // StakerSpecifiedAssetAmount queries the staker specified asset amount. QueStakerSpecifiedAssetAmount(context.Context, *QuerySpecifiedAssetAmountReq) (*StakerSingleAssetOrChangeInfo, error) + // OperatorAssetInfos queries the operator asset info. QueOperatorAssetInfos(context.Context, *QueryOperatorAssetInfos) (*QueryOperatorAssetInfosResponse, error) + // OperatorSpecifiedAssetAmount queries the operator specified asset amount. QueOperatorSpecifiedAssetAmount(context.Context, *QueryOperatorSpecifiedAssetAmountReq) (*OperatorSingleAssetOrChangeInfo, error) + // StakerExCoreAddr queries the staker exocore address. QueStakerExoCoreAddr(context.Context, *QueryStakerExCoreAddr) (*QueryStakerExCoreAddrResponse, error) } @@ -1559,10 +1581,10 @@ func (m *QueryStakerExCoreAddr) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if len(m.StakerID) > 0 { - i -= len(m.StakerID) - copy(dAtA[i:], m.StakerID) - i = encodeVarintQuery(dAtA, i, uint64(len(m.StakerID))) + if len(m.Staker) > 0 { + i -= len(m.Staker) + copy(dAtA[i:], m.Staker) + i = encodeVarintQuery(dAtA, i, uint64(len(m.Staker))) i-- dAtA[i] = 0xa } @@ -1589,10 +1611,10 @@ func (m *QueryStakerExCoreAddrResponse) MarshalToSizedBuffer(dAtA []byte) (int, _ = i var l int _ = l - if len(m.ExCoreAddr) > 0 { - i -= len(m.ExCoreAddr) - copy(dAtA[i:], m.ExCoreAddr) - i = encodeVarintQuery(dAtA, i, uint64(len(m.ExCoreAddr))) + if len(m.ExoCoreAddr) > 0 { + i -= len(m.ExoCoreAddr) + copy(dAtA[i:], m.ExoCoreAddr) + i = encodeVarintQuery(dAtA, i, uint64(len(m.ExoCoreAddr))) i-- dAtA[i] = 0xa } @@ -1807,7 +1829,7 @@ func (m *QueryStakerExCoreAddr) Size() (n int) { } var l int _ = l - l = len(m.StakerID) + l = len(m.Staker) if l > 0 { n += 1 + l + sovQuery(uint64(l)) } @@ -1820,7 +1842,7 @@ func (m *QueryStakerExCoreAddrResponse) Size() (n int) { } var l int _ = l - l = len(m.ExCoreAddr) + l = len(m.ExoCoreAddr) if l > 0 { n += 1 + l + sovQuery(uint64(l)) } @@ -3209,7 +3231,7 @@ func (m *QueryStakerExCoreAddr) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StakerID", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Staker", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -3237,7 +3259,7 @@ func (m *QueryStakerExCoreAddr) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.StakerID = string(dAtA[iNdEx:postIndex]) + m.Staker = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -3291,7 +3313,7 @@ func (m *QueryStakerExCoreAddrResponse) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExCoreAddr", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ExoCoreAddr", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -3319,7 +3341,7 @@ func (m *QueryStakerExCoreAddrResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ExCoreAddr = string(dAtA[iNdEx:postIndex]) + m.ExoCoreAddr = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex diff --git a/x/restaking_assets_manage/types/query.pb.gw.go b/x/restaking_assets_manage/types/query.pb.gw.go index 0dbf2efec..8d90490fe 100644 --- a/x/restaking_assets_manage/types/query.pb.gw.go +++ b/x/restaking_assets_manage/types/query.pb.gw.go @@ -296,15 +296,15 @@ func request_Query_QueStakerExoCoreAddr_0(ctx context.Context, marshaler runtime _ = err ) - val, ok = pathParams["StakerID"] + val, ok = pathParams["staker"] if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "StakerID") + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "staker") } - protoReq.StakerID, err = runtime.String(val) + protoReq.Staker, err = runtime.String(val) if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "StakerID", err) + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "staker", err) } msg, err := client.QueStakerExoCoreAddr(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) @@ -323,15 +323,15 @@ func local_request_Query_QueStakerExoCoreAddr_0(ctx context.Context, marshaler r _ = err ) - val, ok = pathParams["StakerID"] + val, ok = pathParams["staker"] if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "StakerID") + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "staker") } - protoReq.StakerID, err = runtime.String(val) + protoReq.Staker, err = runtime.String(val) if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "StakerID", err) + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "staker", err) } msg, err := server.QueStakerExoCoreAddr(ctx, &protoReq) @@ -793,7 +793,7 @@ var ( pattern_Query_QueOperatorSpecifiedAssetAmount_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"exocore", "restaking_assets_manage", "v1", "QueStakerSpecifiedAssetAmount"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_QueStakerExoCoreAddr_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"exocore", "restaking_assets_manage", "v1", "QueStakerExoCoreAddr", "StakerID"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_QueStakerExoCoreAddr_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"exocore", "restaking_assets_manage", "v1", "QueStakerExoCoreAddr", "staker"}, "", runtime.AssumeColonVerbOpt(false))) ) var ( diff --git a/x/restaking_assets_manage/types/tx.pb.go b/x/restaking_assets_manage/types/tx.pb.go index 709249830..e299d2655 100644 --- a/x/restaking_assets_manage/types/tx.pb.go +++ b/x/restaking_assets_manage/types/tx.pb.go @@ -33,14 +33,14 @@ var _ = math.Inf const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type ClientChainInfo struct { - Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` - MetaInfo string `protobuf:"bytes,2,opt,name=MetaInfo,proto3" json:"MetaInfo,omitempty"` - ChainId uint64 `protobuf:"varint,3,opt,name=ChainId,proto3" json:"ChainId,omitempty"` - ExoCoreChainIndex uint64 `protobuf:"varint,4,opt,name=ExoCoreChainIndex,proto3" json:"ExoCoreChainIndex,omitempty"` - FinalizationBlocks uint64 `protobuf:"varint,5,opt,name=FinalizationBlocks,proto3" json:"FinalizationBlocks,omitempty"` - LayerZeroChainID uint64 `protobuf:"varint,6,opt,name=LayerZeroChainID,proto3" json:"LayerZeroChainID,omitempty"` - SignatureType string `protobuf:"bytes,7,opt,name=SignatureType,proto3" json:"SignatureType,omitempty"` - AddressLength uint32 `protobuf:"varint,8,opt,name=AddressLength,proto3" json:"AddressLength,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + MetaInfo string `protobuf:"bytes,2,opt,name=meta_info,json=metaInfo,proto3" json:"meta_info,omitempty"` + ChainId uint64 `protobuf:"varint,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` + ExoCoreChainIndex uint64 `protobuf:"varint,4,opt,name=exo_core_chain_index,json=exoCoreChainIndex,proto3" json:"exo_core_chain_index,omitempty"` + FinalizationBlocks uint64 `protobuf:"varint,5,opt,name=finalization_blocks,json=finalizationBlocks,proto3" json:"finalization_blocks,omitempty"` + LayerZeroChainID uint64 `protobuf:"varint,6,opt,name=layer_zero_chain_id,json=layerZeroChainId,proto3" json:"layer_zero_chain_id,omitempty"` + SignatureType string `protobuf:"bytes,7,opt,name=signature_type,json=signatureType,proto3" json:"signature_type,omitempty"` + AddressLength uint32 `protobuf:"varint,8,opt,name=address_length,json=addressLength,proto3" json:"address_length,omitempty"` } func (m *ClientChainInfo) Reset() { *m = ClientChainInfo{} } @@ -133,14 +133,14 @@ func (m *ClientChainInfo) GetAddressLength() uint32 { } type AssetInfo struct { - Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` - Symbol string `protobuf:"bytes,2,opt,name=Symbol,proto3" json:"Symbol,omitempty"` - Address string `protobuf:"bytes,3,opt,name=Address,proto3" json:"Address,omitempty"` - Decimals uint32 `protobuf:"varint,4,opt,name=Decimals,proto3" json:"Decimals,omitempty"` - TotalSupply github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=TotalSupply,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"TotalSupply"` - LayerZeroChainID uint64 `protobuf:"varint,6,opt,name=LayerZeroChainID,proto3" json:"LayerZeroChainID,omitempty"` - ExoCoreChainIndex uint64 `protobuf:"varint,7,opt,name=ExoCoreChainIndex,proto3" json:"ExoCoreChainIndex,omitempty"` - MetaInfo string `protobuf:"bytes,8,opt,name=MetaInfo,proto3" json:"MetaInfo,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` + Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` + Decimals uint32 `protobuf:"varint,4,opt,name=decimals,proto3" json:"decimals,omitempty"` + TotalSupply github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=total_supply,json=totalSupply,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"total_supply"` + LayerZeroChainID uint64 `protobuf:"varint,6,opt,name=layer_zero_chain_id,json=layerZeroChainId,proto3" json:"layer_zero_chain_id,omitempty"` + ExoCoreChainIndex uint64 `protobuf:"varint,7,opt,name=exo_core_chain_index,json=exoCoreChainIndex,proto3" json:"exo_core_chain_index,omitempty"` + MetaInfo string `protobuf:"bytes,8,opt,name=meta_info,json=metaInfo,proto3" json:"meta_info,omitempty"` } func (m *AssetInfo) Reset() { *m = AssetInfo{} } @@ -226,8 +226,8 @@ func (m *AssetInfo) GetMetaInfo() string { } type StakingAssetInfo struct { - AssetBasicInfo *AssetInfo `protobuf:"bytes,1,opt,name=AssetBasicInfo,proto3" json:"AssetBasicInfo,omitempty"` - StakingTotalAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=StakingTotalAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"StakingTotalAmount"` + AssetBasicInfo *AssetInfo `protobuf:"bytes,1,opt,name=asset_basic_info,json=assetBasicInfo,proto3" json:"asset_basic_info,omitempty"` + StakingTotalAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=staking_total_amount,json=stakingTotalAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"staking_total_amount"` } func (m *StakingAssetInfo) Reset() { *m = StakingAssetInfo{} } @@ -271,9 +271,9 @@ func (m *StakingAssetInfo) GetAssetBasicInfo() *AssetInfo { } type StakerSingleAssetOrChangeInfo struct { - TotalDepositAmountOrWantChangeValue github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=TotalDepositAmountOrWantChangeValue,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"TotalDepositAmountOrWantChangeValue"` - CanWithdrawAmountOrWantChangeValue github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=CanWithdrawAmountOrWantChangeValue,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"CanWithdrawAmountOrWantChangeValue"` - WaitUndelegationAmountOrWantChangeValue github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=WaitUndelegationAmountOrWantChangeValue,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"WaitUndelegationAmountOrWantChangeValue"` + TotalDepositAmountOrWantChangeValue github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=total_deposit_amount_or_want_change_value,json=totalDepositAmountOrWantChangeValue,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"total_deposit_amount_or_want_change_value"` + CanWithdrawAmountOrWantChangeValue github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=can_withdraw_amount_or_want_change_value,json=canWithdrawAmountOrWantChangeValue,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"can_withdraw_amount_or_want_change_value"` + WaitUndelegationAmountOrWantChangeValue github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=wait_undelegation_amount_or_want_change_value,json=waitUndelegationAmountOrWantChangeValue,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"wait_undelegation_amount_or_want_change_value"` } func (m *StakerSingleAssetOrChangeInfo) Reset() { *m = StakerSingleAssetOrChangeInfo{} } @@ -310,7 +310,7 @@ func (m *StakerSingleAssetOrChangeInfo) XXX_DiscardUnknown() { var xxx_messageInfo_StakerSingleAssetOrChangeInfo proto.InternalMessageInfo type StakerAllAssetsInfo struct { - AllAssetsState map[string]*StakerSingleAssetOrChangeInfo `protobuf:"bytes,1,rep,name=allAssetsState,proto3" json:"allAssetsState,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + AllAssetsState map[string]*StakerSingleAssetOrChangeInfo `protobuf:"bytes,1,rep,name=all_assets_state,json=allAssetsState,proto3" json:"all_assets_state,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (m *StakerAllAssetsInfo) Reset() { *m = StakerAllAssetsInfo{} } @@ -354,10 +354,10 @@ func (m *StakerAllAssetsInfo) GetAllAssetsState() map[string]*StakerSingleAssetO } type OperatorSingleAssetOrChangeInfo struct { - TotalAmountOrWantChangeValue github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=TotalAmountOrWantChangeValue,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"TotalAmountOrWantChangeValue"` + TotalAmountOrWantChangeValue github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=total_amount_or_want_change_value,json=totalAmountOrWantChangeValue,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"total_amount_or_want_change_value"` // todo: the field is used to mark operator's own assets and is not temporarily used now - OperatorOwnAmountOrWantChangeValue github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=OperatorOwnAmountOrWantChangeValue,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"OperatorOwnAmountOrWantChangeValue"` - WaitUndelegationAmountOrWantChangeValue github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=WaitUndelegationAmountOrWantChangeValue,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"WaitUndelegationAmountOrWantChangeValue"` + OperatorOwnAmountOrWantChangeValue github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=operator_own_amount_or_want_change_value,json=operatorOwnAmountOrWantChangeValue,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"operator_own_amount_or_want_change_value"` + WaitUndelegationAmountOrWantChangeValue github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=wait_undelegation_amount_or_want_change_value,json=waitUndelegationAmountOrWantChangeValue,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"wait_undelegation_amount_or_want_change_value"` } func (m *OperatorSingleAssetOrChangeInfo) Reset() { *m = OperatorSingleAssetOrChangeInfo{} } @@ -394,7 +394,7 @@ func (m *OperatorSingleAssetOrChangeInfo) XXX_DiscardUnknown() { var xxx_messageInfo_OperatorSingleAssetOrChangeInfo proto.InternalMessageInfo type OperatorAllAssetsInfo struct { - AllAssetsState map[string]*OperatorSingleAssetOrChangeInfo `protobuf:"bytes,1,rep,name=allAssetsState,proto3" json:"allAssetsState,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + AllAssetsState map[string]*OperatorSingleAssetOrChangeInfo `protobuf:"bytes,1,rep,name=all_assets_state,json=allAssetsState,proto3" json:"all_assets_state,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (m *OperatorAllAssetsInfo) Reset() { *m = OperatorAllAssetsInfo{} } @@ -438,11 +438,11 @@ func (m *OperatorAllAssetsInfo) GetAllAssetsState() map[string]*OperatorSingleAs } type MsgSetExoCoreAddr struct { - FromAddress string `protobuf:"bytes,1,opt,name=fromAddress,proto3" json:"fromAddress,omitempty"` - SetAddress string `protobuf:"bytes,2,opt,name=setAddress,proto3" json:"setAddress,omitempty"` - ClientChainAddr string `protobuf:"bytes,3,opt,name=clientChainAddr,proto3" json:"clientChainAddr,omitempty"` - ClientChainIndex uint64 `protobuf:"varint,4,opt,name=clientChainIndex,proto3" json:"clientChainIndex,omitempty"` - StakerClientChainSignature string `protobuf:"bytes,5,opt,name=StakerClientChainSignature,proto3" json:"StakerClientChainSignature,omitempty"` + FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` + SetAddress string `protobuf:"bytes,2,opt,name=set_address,json=setAddress,proto3" json:"set_address,omitempty"` + ClientChainAddr string `protobuf:"bytes,3,opt,name=client_chain_addr,json=clientChainAddr,proto3" json:"client_chain_addr,omitempty"` + ClientChainIndex uint64 `protobuf:"varint,4,opt,name=client_chain_index,json=clientChainIndex,proto3" json:"client_chain_index,omitempty"` + StakerClientChainSignature string `protobuf:"bytes,5,opt,name=staker_client_chain_signature,json=stakerClientChainSignature,proto3" json:"staker_client_chain_signature,omitempty"` } func (m *MsgSetExoCoreAddr) Reset() { *m = MsgSetExoCoreAddr{} } @@ -515,7 +515,7 @@ func (m *MsgSetExoCoreAddrResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgSetExoCoreAddrResponse proto.InternalMessageInfo type RegisterClientChainReq struct { - FromAddress string `protobuf:"bytes,1,opt,name=FromAddress,proto3" json:"FromAddress,omitempty"` + FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` Info *ClientChainInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` } @@ -589,7 +589,7 @@ func (m *RegisterClientChainResponse) XXX_DiscardUnknown() { var xxx_messageInfo_RegisterClientChainResponse proto.InternalMessageInfo type RegisterAssetReq struct { - FromAddress string `protobuf:"bytes,1,opt,name=FromAddress,proto3" json:"FromAddress,omitempty"` + FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` Info *AssetInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` } @@ -685,78 +685,86 @@ func init() { } var fileDescriptor_b24e66e530cc30d1 = []byte{ - // 1129 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0x4d, 0x4f, 0x1b, 0xc7, - 0x1b, 0xf7, 0xda, 0xbc, 0x3e, 0x16, 0x09, 0x0c, 0x24, 0x59, 0x9c, 0x7f, 0x0c, 0xda, 0x7f, 0xd5, - 0x22, 0x5a, 0x6c, 0x85, 0x34, 0x55, 0x4a, 0xdf, 0x64, 0x0c, 0x54, 0xa8, 0x21, 0x48, 0xeb, 0xa4, - 0xa8, 0xa9, 0x54, 0x34, 0xd8, 0x93, 0x65, 0xc5, 0xee, 0x8c, 0xbb, 0x33, 0x06, 0xdc, 0x13, 0xaa, - 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xed, 0xa1, 0xbd, 0xe6, 0x23, 0x50, 0x35, 0xdf, 0xa0, 0x17, 0x0e, - 0x3d, 0x44, 0xb9, 0x24, 0xca, 0x21, 0xaa, 0xe0, 0x40, 0x3f, 0x46, 0xb5, 0xb3, 0xbb, 0xb0, 0x8b, - 0xd7, 0xb0, 0x40, 0x22, 0xf5, 0x62, 0xef, 0x3c, 0xf3, 0xbc, 0xfe, 0x9e, 0xdf, 0xec, 0x3c, 0x0b, - 0x6f, 0x92, 0x4d, 0x56, 0x65, 0x0e, 0x29, 0x3a, 0x84, 0x0b, 0xbc, 0x66, 0x52, 0x63, 0x19, 0x73, - 0x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0x11, - 0x14, 0xd1, 0xdb, 0xa7, 0x71, 0x19, 0x50, 0x28, 0xf7, 0xee, 0x19, 0xac, 0xbc, 0x14, 0x72, 0x9d, - 0x5b, 0xfb, 0xdb, 0xe3, 0xca, 0xf4, 0xe7, 0x3b, 0xbb, 0x79, 0xe5, 0xf1, 0x6e, 0x5e, 0xf9, 0x7b, - 0x37, 0xaf, 0xfc, 0xb4, 0x97, 0x4f, 0x3d, 0xde, 0xcb, 0xa7, 0x9e, 0xed, 0xe5, 0x53, 0xf7, 0x4b, - 0xa1, 0xfb, 0x69, 0xd6, 0x8b, 0x72, 0x87, 0x88, 0x0d, 0xe6, 0xac, 0x15, 0x83, 0x37, 0xc0, 0x66, - 0xdb, 0x8f, 0x63, 0x79, 0x7d, 0xad, 0x74, 0xc9, 0x8f, 0xd3, 0x1b, 0xff, 0x06, 0x00, 0x00, 0xff, - 0xff, 0x91, 0x6a, 0xc4, 0xed, 0x4c, 0x0f, 0x00, 0x00, + // 1252 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x57, 0x4f, 0x6f, 0x1b, 0x45, + 0x14, 0xf7, 0xda, 0x69, 0x93, 0x8c, 0x9b, 0xd6, 0xd9, 0xb8, 0xad, 0xe3, 0x52, 0xbb, 0x18, 0x01, + 0x21, 0x10, 0x5b, 0x4d, 0x29, 0xa2, 0x29, 0x08, 0x39, 0x6e, 0x40, 0x11, 0x0d, 0x91, 0xd6, 0x85, + 0x88, 0x72, 0x58, 0x4d, 0x76, 0x27, 0x9b, 0x55, 0x76, 0x67, 0xcc, 0xce, 0x38, 0xb6, 0x7b, 0xaa, + 0x10, 0x20, 0x84, 0x38, 0x20, 0xe0, 0x82, 0xc4, 0xa1, 0x1f, 0x21, 0x12, 0xfd, 0x10, 0xe5, 0x56, + 0xe5, 0x84, 0x40, 0x44, 0x25, 0x39, 0x04, 0xf1, 0x29, 0xd0, 0xfc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, 0x66, + 0x3f, 0x7b, 0xb4, 0x9d, 0xd3, 0x1e, 0x6f, 0xe7, 0xb4, 0x27, 0xdb, 0x39, 0xed, 0xfb, 0x9d, 0x5c, + 0xec, 0xf1, 0x4e, 0x2e, 0xf6, 0xfb, 0x4e, 0x2e, 0x76, 0xb7, 0xdc, 0xf1, 0x58, 0xcd, 0xc9, 0x28, + 0x1f, 0x21, 0xd6, 0x20, 0xc1, 0x5a, 0x29, 0xbc, 0x03, 0x9a, 0x3d, 0x7f, 0x91, 0x8b, 0xb7, 0x6c, + 0xf9, 0xb4, 0xf8, 0x45, 0x7c, 0xed, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x25, 0xd7, 0xe5, 0x53, + 0xc1, 0x0f, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -771,8 +779,11 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type MsgClient interface { + // SetStakerExoCoreAddr sets the exocore address of the staker SetStakerExoCoreAddr(ctx context.Context, in *MsgSetExoCoreAddr, opts ...grpc.CallOption) (*MsgSetExoCoreAddrResponse, error) + // RegisterClientChain registers the client chain RegisterClientChain(ctx context.Context, in *RegisterClientChainReq, opts ...grpc.CallOption) (*RegisterClientChainResponse, error) + // RegisterAsset registers the asset on the client chain RegisterAsset(ctx context.Context, in *RegisterAssetReq, opts ...grpc.CallOption) (*RegisterAssetResponse, error) } @@ -813,8 +824,11 @@ func (c *msgClient) RegisterAsset(ctx context.Context, in *RegisterAssetReq, opt // MsgServer is the server API for Msg service. type MsgServer interface { + // SetStakerExoCoreAddr sets the exocore address of the staker SetStakerExoCoreAddr(context.Context, *MsgSetExoCoreAddr) (*MsgSetExoCoreAddrResponse, error) + // RegisterClientChain registers the client chain RegisterClientChain(context.Context, *RegisterClientChainReq) (*RegisterClientChainResponse, error) + // RegisterAsset registers the asset on the client chain RegisterAsset(context.Context, *RegisterAssetReq) (*RegisterAssetResponse, error) } diff --git a/x/reward/client/cli/query_params.go b/x/reward/client/cli/query_params.go index c660a95eb..3ff8296a5 100644 --- a/x/reward/client/cli/query_params.go +++ b/x/reward/client/cli/query_params.go @@ -13,7 +13,7 @@ func CmdQueryParams() *cobra.Command { Use: "params", Short: "shows the parameters of the module", Args: cobra.NoArgs, - RunE: func(cmd *cobra.Command, args []string) error { + RunE: func(cmd *cobra.Command, _ []string) error { clientCtx, err := client.GetClientQueryContext(cmd) if err != nil { return err diff --git a/x/reward/types/params.pb.go b/x/reward/types/params.pb.go index 7ce7c11a7..2eee77c1d 100644 --- a/x/reward/types/params.pb.go +++ b/x/reward/types/params.pb.go @@ -5,7 +5,6 @@ package types import ( fmt "fmt" - _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" io "io" math "math" @@ -25,8 +24,8 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // Params defines the parameters for the module. type Params struct { - ExoCoreLzAppAddress string `protobuf:"bytes,1,opt,name=exoCoreLzAppAddress,proto3" json:"exoCoreLzAppAddress,omitempty"` - ExoCoreLzAppEventTopic string `protobuf:"bytes,2,opt,name=exoCoreLzAppEventTopic,proto3" json:"exoCoreLzAppEventTopic,omitempty"` + ExoCoreLzAppAddress string `protobuf:"bytes,1,opt,name=exo_core_lz_app_address,json=exoCoreLzAppAddress,proto3" json:"exo_core_lz_app_address,omitempty"` + ExoCoreLzAppEventTopic string `protobuf:"bytes,2,opt,name=exo_core_lz_app_event_topic,json=exoCoreLzAppEventTopic,proto3" json:"exo_core_lz_app_event_topic,omitempty"` } func (m *Params) Reset() { *m = Params{} } @@ -83,20 +82,21 @@ func init() { func init() { proto.RegisterFile("exocore/reward/params.proto", fileDescriptor_1a29ebcfb63d5930) } var fileDescriptor_1a29ebcfb63d5930 = []byte{ - // 201 bytes of a gzipped FileDescriptorProto + // 212 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4e, 0xad, 0xc8, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x2f, 0x4a, 0x2d, 0x4f, 0x2c, 0x4a, 0xd1, 0x2f, 0x48, 0x2c, 0x4a, 0xcc, - 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x83, 0x4a, 0xea, 0x41, 0x24, 0xa5, 0x44, - 0xd2, 0xf3, 0xd3, 0xf3, 0xc1, 0x52, 0xfa, 0x20, 0x16, 0x44, 0x95, 0x52, 0x11, 0x17, 0x5b, 0x00, - 0x58, 0x97, 0x90, 0x01, 0x97, 0x70, 0x6a, 0x45, 0xbe, 0x73, 0x7e, 0x51, 0xaa, 0x4f, 0x95, 0x63, - 0x41, 0x81, 0x63, 0x4a, 0x4a, 0x51, 0x6a, 0x71, 0xb1, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x67, 0x10, - 0x36, 0x29, 0x21, 0x33, 0x2e, 0x31, 0x64, 0x61, 0xd7, 0xb2, 0xd4, 0xbc, 0x92, 0x90, 0xfc, 0x82, - 0xcc, 0x64, 0x09, 0x26, 0xb0, 0x26, 0x1c, 0xb2, 0x4e, 0x5e, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, - 0x24, 0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, - 0x78, 0x2c, 0xc7, 0x10, 0x65, 0x90, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, - 0xef, 0x0a, 0x71, 0xbe, 0x5f, 0x6a, 0x49, 0x79, 0x7e, 0x51, 0xb6, 0x3e, 0xcc, 0xab, 0x15, 0x30, - 0xcf, 0x96, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0xbd, 0x61, 0x0c,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 0xff, 0xff, 0xf8, 0xf4, 0x7a, 0x66, + 0xfe, 0x00, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { diff --git a/x/reward/types/query.pb.go b/x/reward/types/query.pb.go index 4e81c4f0e..db0a870f4 100644 --- a/x/reward/types/query.pb.go +++ b/x/reward/types/query.pb.go @@ -6,8 +6,6 @@ package types import ( context "context" fmt "fmt" - _ "github.com/cosmos/cosmos-sdk/types/query" - _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" @@ -121,26 +119,23 @@ func init() { func init() { proto.RegisterFile("exocore/reward/query.proto", fileDescriptor_03321eafc9126bed) } var fileDescriptor_03321eafc9126bed = []byte{ - // 292 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4b, 0xc3, 0x30, - 0x14, 0xc7, 0x57, 0xc1, 0x1d, 0x22, 0x78, 0x88, 0x63, 0x8c, 0x2a, 0x41, 0xea, 0x45, 0x3c, 0x24, - 0x6e, 0x7e, 0x03, 0x61, 0x17, 0x0f, 0xa2, 0x1e, 0xbd, 0xa5, 0xf3, 0x11, 0x8b, 0xb6, 0x2f, 0x4d, - 0x52, 0xb7, 0x79, 0xf4, 0x13, 0x08, 0x7e, 0x29, 0x8f, 0x03, 0x2f, 0x1e, 0xa5, 0xf5, 0x83, 0xc8, - 0x9a, 0x28, 0x6c, 0x8a, 0xb7, 0xf2, 0xfe, 0xbf, 0xff, 0xaf, 0xef, 0x85, 0xc4, 0x30, 0xc3, 0x09, - 0x1a, 0x10, 0x06, 0xa6, 0xd2, 0xdc, 0x88, 0xb2, 0x02, 0x33, 0xe7, 0xda, 0xa0, 0x43, 0xba, 0x1d, - 0x32, 0xee, 0xb3, 0xb8, 0xa7, 0x50, 0x61, 0x1b, 0x89,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 0xb6, 0xc4, - 0xd6, 0x01, 0x00, 0x00, + // 252 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4a, 0xad, 0xc8, 0x4f, + 0xce, 0x2f, 0x4a, 0xd5, 0x2f, 0x4a, 0x2d, 0x4f, 0x2c, 0x4a, 0xd1, 0x2f, 0x2c, 0x4d, 0x2d, 0xaa, + 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x83, 0xca, 0xe9, 0x41, 0xe4, 0xa4, 0x64, 0xd2, + 0xf3, 0xf3, 0xd3, 0x73, 0x52, 0xf5, 0x13, 0x0b, 0x32, 0xf5, 0x13, 0xf3, 0xf2, 0xf2, 0x4b, 0x12, + 0x4b, 0x32, 0xf3, 0xf3, 0x8a, 0x21, 0xaa, 0xa5, 0xa4, 0xd1, 0x4c, 0x2a, 0x48, 0x2c, 0x4a, 0xcc, + 0x85, 0x4a, 0x2a, 0x89, 0x70, 0x09, 0x05, 0x82, 0x4c, 0x0e, 0x00, 0x0b, 0x06, 0xa5, 0x16, 0x96, + 0xa6, 0x16, 0x97, 0x28, 0xb9, 0x72, 0x09, 0xa3, 0x88, 0x16, 0x17, 0xe4, 0xe7, 0x15, 0xa7, 0x0a, + 0xe9, 0x71, 0xb1, 0x41, 0x34, 0x4b, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x1b, 0x89, 0xe9, 0xa1, 0x3a, + 0x44, 0x0f, 0xaa, 0x1e, 0xaa, 0xca, 0xa8, 0x8a, 0x8b, 0x15, 0x6c, 0x8c, 0x50, 0x21, 0x17, 0x1b, + 0x44, 0x4a, 0x48, 0x09, 0x5d, 0x0b, 0xa6, 0xed, 0x52, 0xca, 0x78, 0xd5, 0x40, 0xdc, 0xa2, 0x24, + 0xd7, 0x74, 0xf9, 0xc9, 0x64, 0x26, 0x09, 0x21, 0x31, 0x7d, 0xac, 0xde, 0x73, 0xf2, 0x3a, 0xf1, + 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, + 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0x83, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, + 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0x57, 0x88, 0x5e, 0xbf, 0xd4, 0x92, 0xf2, 0xfc, 0xa2, 0x6c, 0xb8, + 0x51, 0x15, 0x30, 0xc3, 0x4a, 0x2a, 0x0b, 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0x61, 0x65, 0x0c, 0x08, + 0x00, 0x00, 0xff, 0xff, 0xcc, 0x67, 0x12, 0x8f, 0x94, 0x01, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/reward/types/tx.pb.go b/x/reward/types/tx.pb.go index d3a6bd2bd..0c0785142 100644 --- a/x/reward/types/tx.pb.go +++ b/x/reward/types/tx.pb.go @@ -7,7 +7,6 @@ import ( context "context" fmt "fmt" _ "github.com/cosmos/cosmos-proto" - _ "github.com/cosmos/cosmos-sdk/codec/types" _ "github.com/cosmos/cosmos-sdk/types/msgservice" _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" @@ -135,28 +134,27 @@ func init() { func init() { proto.RegisterFile("exocore/reward/tx.proto", fileDescriptor_9cd4863caedb1c8f) } var fileDescriptor_9cd4863caedb1c8f = []byte{ - // 330 bytes of a gzipped FileDescriptorProto + // 311 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4f, 0xad, 0xc8, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x2f, 0x4a, 0x2d, 0x4f, 0x2c, 0x4a, 0xd1, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, - 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x83, 0x4a, 0xe8, 0x41, 0x24, 0xa4, 0x24, 0xd3, 0xf3, 0xf3, 0xd3, - 0x73, 0x52, 0xf5, 0xc1, 0xb2, 0x49, 0xa5, 0x69, 0xfa, 0x89, 0x79, 0x95, 0x10, 0xa5, 0x52, 0x22, - 0xe9, 0xf9, 0xe9, 0xf9, 0x60, 0xa6, 0x3e, 0x88, 0x05, 0x15, 0x95, 0x4c, 0xce, 0x2f, 0xce, 0xcd, - 0x2f, 0x8e, 0x87, 0x48, 0x40, 0x38, 0x50, 0x29, 0x71, 0x08, 0x4f, 0x3f, 0xb7, 0x38, 0x5d, 0xbf, - 0xcc, 0x10, 0x44, 0x41, 0x25, 0xa4, 0xd1, 0x5c, 0x53, 0x90, 0x58, 0x94, 0x98, 0x0b, 0xd5, 0xa5, - 0xd4, 0xcf, 0xc8, 0xc5, 0xef, 0x5b, 0x9c, 0x1e, 0x5a, 0x90, 0x92, 0x58, 0x92, 0x1a, 0x00, 0x96, - 0x11, 0x32, 0xe3, 0xe2, 0x4c, 0x2c, 0x2d, 0xc9, 0xc8, 0x2f, 0xca, 0x2c, 0xa9, 0x94, 0x60, 0x54, - 0x60, 0xd4, 0xe0, 0x74, 0x92, 0xb8, 0xb4, 0x45, 0x57, 0x04, 0x6a, 0x9d, 0x63, 0x4a, 0x4a, 0x51, - 0x6a, 0x71, 0x71, 0x70, 0x49, 0x51, 0x66, 0x5e, 0x7a, 0x10, 0x42, 0xa9, 0x90, 0x09, 0x17, 0x1b, - 0xc4, 0x6c, 0x09, 0x26, 0x05, 0x46, 0x0d, 0x6e, 0x23, 0x31, 0x3d, 0x54, 0xef, 0xea, 0x41, 0xcc, - 0x77, 0x62, 0x39, 0x71, 0x4f, 0x9e, 0x21, 0x08, 0xaa, 0xd6, 0x8a, 0xaf, 0xe9, 0xf9, 0x06, 0x2d, - 0x84, 0x29, 0x4a, 0x92, 0x5c, 0x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f, 0x71, 0x7a, 0x68, 0x41, 0x4a, 0x62, 0x49, 0x6a, 0x00, 0x58, 0x46, 0xc8, 0x8c, + 0x8b, 0x33, 0xb1, 0xb4, 0x24, 0x23, 0xbf, 0x28, 0xb3, 0xa4, 0x52, 0x82, 0x51, 0x81, 0x51, 0x83, + 0xd3, 0x49, 0xe2, 0xd2, 0x16, 0x5d, 0x11, 0xa8, 0x75, 0x8e, 0x29, 0x29, 0x45, 0xa9, 0xc5, 0xc5, + 0xc1, 0x25, 0x45, 0x99, 0x79, 0xe9, 0x41, 0x08, 0xa5, 0x42, 0x26, 0x5c, 0x6c, 0x10, 0xb3, 0x25, + 0x98, 0x14, 0x18, 0x35, 0xb8, 0x8d, 0xc4, 0xf4, 0x50, 0xfd, 0xa4, 0x07, 0x31, 0xdf, 0x89, 0xe5, + 0xc4, 0x3d, 0x79, 0x86, 0x20, 0xa8, 0x5a, 0x2b, 0xbe, 0xa6, 0xe7, 0x1b, 0xb4, 0x10, 0xa6, 0x28, + 0x49, 0x72, 0x89, 0xa3, 0x39, 0x28, 0x28, 0xb5, 0xb8, 0x20, 0x3f, 0xaf, 0x38, 0xd5, 0x28, 0x9e, + 0x8b, 0xd9, 0xb7, 0x38, 0x5d, 0x28, 0x82, 0x8b, 0x07, 0xc5, 0xbd, 0xf2, 0xe8, 0xf6, 0xa0, 0xe9, + 0x97, 0x52, 0x27, 0xa0, 0x00, 0x66, 0x81, 0x93, 0xd7, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, + 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, + 0xcb, 0x31, 0x44, 0x19, 0xa4, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0xbb, + 0x42, 0x0c, 0xf3, 0x4b, 0x2d, 0x29, 0xcf, 0x2f, 0xca, 0xd6, 0x87, 0x05, 0x6f, 0x05, 0x3c, 0x4e, + 0x2b, 0x0b, 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0x01, 0x6c, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x00, + 0xa2, 0xad, 0x10, 0xf2, 0x01, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -171,6 +169,7 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type MsgClient interface { + // UpdateParams updates the parameters for this module. UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) } @@ -193,6 +192,7 @@ func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts // MsgServer is the server API for Msg service. type MsgServer interface { + // UpdateParams updates the parameters for this module. UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) } diff --git a/x/slash/client/cli/query_params.go b/x/slash/client/cli/query_params.go index de5afc25d..82182a6e9 100644 --- a/x/slash/client/cli/query_params.go +++ b/x/slash/client/cli/query_params.go @@ -12,7 +12,7 @@ func CmdQueryParams() *cobra.Command { Use: "params", Short: "shows the parameters of the module", Args: cobra.NoArgs, - RunE: func(cmd *cobra.Command, args []string) error { + RunE: func(cmd *cobra.Command, _ []string) error { clientCtx, err := client.GetClientQueryContext(cmd) if err != nil { return err diff --git a/x/slash/types/params.pb.go b/x/slash/types/params.pb.go index dbded7051..ddf28cf58 100644 --- a/x/slash/types/params.pb.go +++ b/x/slash/types/params.pb.go @@ -5,7 +5,6 @@ package types import ( fmt "fmt" - _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" io "io" math "math" @@ -25,8 +24,8 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // Params defines the parameters for the module. type Params struct { - ExoCoreLzAppAddress string `protobuf:"bytes,1,opt,name=exoCoreLzAppAddress,proto3" json:"exoCoreLzAppAddress,omitempty"` - ExoCoreLzAppEventTopic string `protobuf:"bytes,2,opt,name=exoCoreLzAppEventTopic,proto3" json:"exoCoreLzAppEventTopic,omitempty"` + ExoCoreLzAppAddress string `protobuf:"bytes,1,opt,name=exo_core_lz_app_address,json=exoCoreLzAppAddress,proto3" json:"exo_core_lz_app_address,omitempty"` + ExoCoreLzAppEventTopic string `protobuf:"bytes,2,opt,name=exo_core_lz_app_event_topic,json=exoCoreLzAppEventTopic,proto3" json:"exo_core_lz_app_event_topic,omitempty"` } func (m *Params) Reset() { *m = Params{} } @@ -83,20 +82,21 @@ func init() { func init() { proto.RegisterFile("exocore/slash/params.proto", fileDescriptor_a98d46ef8bcc0f8a) } var fileDescriptor_a98d46ef8bcc0f8a = []byte{ - // 200 bytes of a gzipped FileDescriptorProto + // 211 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4a, 0xad, 0xc8, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x2f, 0xce, 0x49, 0x2c, 0xce, 0xd0, 0x2f, 0x48, 0x2c, 0x4a, 0xcc, 0x2d, - 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x85, 0xca, 0xe9, 0x81, 0xe5, 0xa4, 0x44, 0xd2, - 0xf3, 0xd3, 0xf3, 0xc1, 0x32, 0xfa, 0x20, 0x16, 0x44, 0x91, 0x52, 0x11, 0x17, 0x5b, 0x00, 0x58, - 0x93, 0x90, 0x01, 0x97, 0x70, 0x6a, 0x45, 0xbe, 0x73, 0x7e, 0x51, 0xaa, 0x4f, 0x95, 0x63, 0x41, - 0x81, 0x63, 0x4a, 0x4a, 0x51, 0x6a, 0x71, 0xb1, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x67, 0x10, 0x36, - 0x29, 0x21, 0x33, 0x2e, 0x31, 0x64, 0x61, 0xd7, 0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 0x4e, 0x31, 0x64, 0x9d, 0xae, 0x20, 0xe9, 0x10, + 0x90, 0xac, 0x93, 0xe7, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, + 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0xe9, 0xa7, + 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0xbb, 0x42, 0x1c, 0xec, 0x97, 0x5a, + 0x52, 0x9e, 0x5f, 0x94, 0xad, 0x0f, 0xf3, 0x5b, 0x05, 0xd4, 0x77, 0x25, 0x95, 0x05, 0xa9, 0xc5, + 0x49, 0x6c, 0x60, 0xdf, 0x19, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x74, 0xb3, 0x99, 0x42, 0xfb, + 0x00, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { diff --git a/x/slash/types/query.pb.go b/x/slash/types/query.pb.go index b79a22056..897e60527 100644 --- a/x/slash/types/query.pb.go +++ b/x/slash/types/query.pb.go @@ -6,8 +6,6 @@ package types import ( context "context" fmt "fmt" - _ "github.com/cosmos/cosmos-sdk/types/query" - _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" @@ -121,25 +119,23 @@ func init() { func init() { proto.RegisterFile("exocore/slash/query.proto", fileDescriptor_8cd6399098c1a574) } var fileDescriptor_8cd6399098c1a574 = []byte{ - // 278 bytes of a gzipped FileDescriptorProto + // 251 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4c, 0xad, 0xc8, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x2f, 0xce, 0x49, 0x2c, 0xce, 0xd0, 0x2f, 0x2c, 0x4d, 0x2d, 0xaa, 0xd4, - 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x85, 0x4a, 0xe9, 0x81, 0xa5, 0xa4, 0x44, 0xd2, 0xf3, - 0xd3, 0xf3, 0xc1, 0x32, 0xfa, 0x20, 0x16, 0x44, 0x91, 0x94, 0x4c, 0x7a, 0x7e, 0x7e, 0x7a, 0x4e, - 0xaa, 0x7e, 0x62, 0x41, 0xa6, 0x7e, 0x62, 0x5e, 0x5e, 0x7e, 0x49, 0x62, 0x49, 0x66, 0x7e, 0x5e, - 0x31, 0x54, 0x56, 0x3a, 0x39, 0xbf, 0x38, 0x37, 0xbf, 0x18, 0x62, 0xac, 0x7e, 0x99, 0x21, 0xb2, - 0xf9, 0x52, 0x52, 0xa8, 0x56, 0x17, 0x24, 0x16, 0x25, 0xe6, 0x42, 0x35, 0x2a, 0x89, 0x70, 0x09, - 0x05, 0x82, 0x94, 0x06, 0x80, 0x05, 0x83, 0x52, 0x0b, 0x4b, 0x53, 0x8b, 0x4b, 0x94, 0x5c, 0xb8, - 0x84, 0x51, 0x44, 0x8b, 0x0b, 0xf2, 0xf3, 0x8a, 0x53, 0x85, 0x74, 0xb9, 0xd8, 0x20, 0x9a, 0x25, - 0x18, 0x15, 0x18, 0x35, 0xb8, 0x8d, 0x44, 0xf5, 0x50, 0x5c, 0xae, 0x07, 0x55, 0x0e, 0x55, 0x64, - 0x54, 0xce, 0xc5, 0x0a, 0x36, 0x45, 0x28, 0x8f, 0x8b, 0x0d, 0x22, 0x25, 0xa4, 0x88, 0xa6, 0x03, - 0xd3, 0x6e, 0x29, 0x25, 0x7c, 0x4a, 0x20, 0x0e, 0x51, 0x92, 0x6d, 0xba, 0xfc, 0x64, 0x32, 0x93, - 0xb8, 0x90, 0xa8, 0x3e, 0x36, 0xaf, 0x39, 0x79, 0x9e, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, - 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, 0xb1, - 0x1c, 0x43, 0x94, 0x7e, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0xbe, 0x2b, - 0x44, 0xab, 0x5f, 0x6a, 0x49, 0x79, 0x7e, 0x51, 0x36, 0xdc, 0xa4, 0x0a, 0xa8, 0x59, 0x25, 0x95, - 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0xe0, 0x60, 0x32, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x61, 0xd5, - 0xbc, 0x52, 0xbf, 0x01, 0x00, 0x00, + 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x85, 0x4a, 0xe9, 0x81, 0xa5, 0xa4, 0x64, 0xd2, 0xf3, + 0xf3, 0xd3, 0x73, 0x52, 0xf5, 0x13, 0x0b, 0x32, 0xf5, 0x13, 0xf3, 0xf2, 0xf2, 0x4b, 0x12, 0x4b, + 0x32, 0xf3, 0xf3, 0x8a, 0x21, 0x8a, 0xa5, 0xa4, 0x50, 0xcd, 0x29, 0x48, 0x2c, 0x4a, 0xcc, 0x85, + 0xca, 0x29, 0x89, 0x70, 0x09, 0x05, 0x82, 0xcc, 0x0d, 0x00, 0x0b, 0x06, 0xa5, 0x16, 0x96, 0xa6, + 0x16, 0x97, 0x28, 0xb9, 0x70, 0x09, 0xa3, 0x88, 0x16, 0x17, 0xe4, 0xe7, 0x15, 0xa7, 0x0a, 0xe9, + 0x72, 0xb1, 0x41, 0x34, 0x4b, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x1b, 0x89, 0xea, 0xa1, 0x38, 0x43, + 0x0f, 0xaa, 0x1c, 0xaa, 0xc8, 0xa8, 0x9c, 0x8b, 0x15, 0x6c, 0x8a, 0x50, 0x1e, 0x17, 0x1b, 0x44, + 0x4a, 0x48, 0x11, 0x4d, 0x07, 0xa6, 0xdd, 0x52, 0x4a, 0xf8, 0x94, 0x40, 0x1c, 0xa2, 0x24, 0xdb, + 0x74, 0xf9, 0xc9, 0x64, 0x26, 0x71, 0x21, 0x51, 0x7d, 0x6c, 0x5e, 0x73, 0xf2, 0x3c, 0xf1, 0x48, + 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, + 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0xfd, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, + 0xe4, 0xfc, 0x5c, 0x7d, 0x57, 0x88, 0x56, 0xbf, 0xd4, 0x92, 0xf2, 0xfc, 0xa2, 0x6c, 0xb8, 0x49, + 0x15, 0x50, 0xb3, 0x4a, 0x2a, 0x0b, 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0xc1, 0x64, 0x0c, 0x08, 0x00, + 0x00, 0xff, 0xff, 0xdb, 0x6e, 0xd4, 0x35, 0x8c, 0x01, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/slash/types/tx.pb.go b/x/slash/types/tx.pb.go index 89c83dc28..e74333c39 100644 --- a/x/slash/types/tx.pb.go +++ b/x/slash/types/tx.pb.go @@ -169,6 +169,7 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type MsgClient interface { + // UpdateParams updates the parameters of this module. UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) } @@ -191,6 +192,7 @@ func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts // MsgServer is the server API for Msg service. type MsgServer interface { + // UpdateParams updates the parameters of this module. UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) } diff --git a/x/withdraw/client/cli/query_params.go b/x/withdraw/client/cli/query_params.go index c60b32bfe..0c9ac046c 100644 --- a/x/withdraw/client/cli/query_params.go +++ b/x/withdraw/client/cli/query_params.go @@ -13,7 +13,7 @@ func CmdQueryParams() *cobra.Command { Use: "params", Short: "shows the parameters of the module", Args: cobra.NoArgs, - RunE: func(cmd *cobra.Command, args []string) error { + RunE: func(cmd *cobra.Command, _ []string) error { clientCtx, err := client.GetClientQueryContext(cmd) if err != nil { return err diff --git a/x/withdraw/types/query.pb.go b/x/withdraw/types/query.pb.go index 0f71e5881..f57852462 100644 --- a/x/withdraw/types/query.pb.go +++ b/x/withdraw/types/query.pb.go @@ -7,8 +7,6 @@ import ( context "context" fmt "fmt" types "github.com/ExocoreNetwork/exocore/x/deposit/types" - _ "github.com/cosmos/cosmos-sdk/types/query" - _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" @@ -122,27 +120,25 @@ func init() { func init() { proto.RegisterFile("exocore/withdraw/query.proto", fileDescriptor_59bca5e59812c328) } var fileDescriptor_59bca5e59812c328 = []byte{ - // 310 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0x31, 0x4b, 0x03, 0x31, - 0x14, 0xc7, 0x7b, 0x82, 0x1d, 0xe2, 0x22, 0xb1, 0x43, 0x39, 0x4a, 0x28, 0x45, 0x41, 0x1c, 0x12, - 0xee, 0xfc, 0x06, 0x82, 0x83, 0x20, 0xa2, 0x8e, 0x6e, 0xb9, 0xf6, 0x91, 0x06, 0xed, 0xbd, 0x34, - 0x49, 0x7b, 0xed, 0x26, 0x7e, 0x02, 0xc1, 0x2f, 0xe5, 0x58, 0x70, 0x71, 0x94, 0x9e, 0x1f, 0x44, - 0x7a, 0xb9, 0x53, 0xb4, 0x83, 0x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0xd6, 0x2c, 0xfa, 0x58, 0xb3, - 0xe8, 0xb9, 0x64, 0xad, 0x55, 0xc9, 0x5a, 0xef, 0x25, 0x6b, 0xdd, 0xa5, 0x4a, 0xfb, 0xf1, 0x2c, - 0xe3, 0x43, 0x9c, 0x88, 0xf3, 0xb0, 0x7d, 0x05, 0xbe, 0x40, 0x7b, 0xff, 0x2d, 0x5b, 0xfc, 0xe8, - 0xfc, 0xd2, 0x80, 0xcb, 0xda, 0xd5, 0xe1, 0x4e, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0xea, 0xd2, - 0x25, 0x41, 0xec, 0x01, 0x00, 0x00, + // 275 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x49, 0xad, 0xc8, 0x4f, + 0xce, 0x2f, 0x4a, 0xd5, 0x2f, 0xcf, 0x2c, 0xc9, 0x48, 0x29, 0x4a, 0x2c, 0xd7, 0x2f, 0x2c, 0x4d, + 0x2d, 0xaa, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x80, 0xca, 0xea, 0xc1, 0x64, 0xa5, + 0x64, 0xd2, 0xf3, 0xf3, 0xd3, 0x73, 0x52, 0xf5, 0x13, 0x0b, 0x32, 0xf5, 0x13, 0xf3, 0xf2, 0xf2, + 0x4b, 0x12, 0x4b, 0x32, 0xf3, 0xf3, 0x8a, 0x21, 0xea, 0xa5, 0x14, 0x60, 0xa6, 0xa5, 0xa4, 0x16, + 0xe4, 0x17, 0x67, 0x96, 0xe8, 0x97, 0x19, 0xc2, 0x98, 0x10, 0x15, 0x4a, 0x22, 0x5c, 0x42, 0x81, + 0x20, 0x0b, 0x02, 0x12, 0x8b, 0x12, 0x73, 0x8b, 0x83, 0x52, 0x0b, 0x4b, 0x53, 0x8b, 0x4b, 0x94, + 0x3c, 0xb9, 0x84, 0x51, 0x44, 0x8b, 0x0b, 0xf2, 0xf3, 0x8a, 0x53, 0x85, 0x8c, 0xb8, 0xd8, 0x0a, + 0xc0, 0x22, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0xdc, 0x46, 0x52, 0x7a, 0x30, 0xf7, 0xc0, 0x0c, 0x2d, + 0x33, 0xd4, 0x83, 0xea, 0x81, 0xaa, 0x34, 0x6a, 0x60, 0xe4, 0x62, 0x05, 0x9b, 0x25, 0x54, 0xce, + 0xc5, 0x06, 0x91, 0x13, 0x52, 0xd1, 0x43, 0xf7, 0x87, 0x1e, 0xa6, 0x23, 0xa4, 0x54, 0x09, 0xa8, + 0x82, 0x38, 0x4a, 0x49, 0xa1, 0xe9, 0xf2, 0x93, 0xc9, 0x4c, 0x52, 0x42, 0x12, 0xfa, 0x18, 0x41, + 0x07, 0x71, 0x82, 0x93, 0xcf, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, + 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x19, + 0xa5, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0xbb, 0x42, 0x74, 0xfb, 0xa5, + 0x96, 0x94, 0xe7, 0x17, 0x65, 0xc3, 0x0d, 0xab, 0x40, 0x18, 0x57, 0x52, 0x59, 0x90, 0x5a, 0x9c, + 0xc4, 0x06, 0x0e, 0x38, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6c, 0xc5, 0xbb, 0x00, 0xaa, + 0x01, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/withdraw/types/tx.pb.go b/x/withdraw/types/tx.pb.go index b7af85d30..1ff2f56bd 100644 --- a/x/withdraw/types/tx.pb.go +++ b/x/withdraw/types/tx.pb.go @@ -9,7 +9,6 @@ import ( types "github.com/ExocoreNetwork/exocore/x/deposit/types" _ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/cosmos-sdk/types/msgservice" - _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" @@ -136,29 +135,29 @@ func init() { func init() { proto.RegisterFile("exocore/withdraw/tx.proto", fileDescriptor_9fa45fb8759a8d92) } var fileDescriptor_9fa45fb8759a8d92 = []byte{ - // 348 bytes of a gzipped FileDescriptorProto + // 337 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4c, 0xad, 0xc8, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x2f, 0xcf, 0x2c, 0xc9, 0x48, 0x29, 0x4a, 0x2c, 0xd7, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x80, 0x4a, 0xe9, 0xc1, 0xa4, 0xa4, 0xc4, 0x93, 0xf3, 0x8b, 0x73, 0xf3, 0x8b, 0xf5, 0x73, 0x8b, 0xd3, 0xf5, 0xcb, 0x0c, 0x41, 0x14, 0x44, 0xa9, 0x94, 0x24, 0x44, 0x22, 0x1e, 0xcc, 0xd3, 0x87, 0x70, 0xa0, 0x52, 0x22, 0xe9, 0xf9, 0xe9, 0xf9, 0x10, - 0x71, 0x10, 0x0b, 0x2a, 0x2a, 0x98, 0x98, 0x9b, 0x99, 0x97, 0xaf, 0x0f, 0x26, 0xa1, 0x42, 0x0a, - 0x30, 0x97, 0xa4, 0xa4, 0x16, 0xe4, 0x17, 0x67, 0x96, 0x80, 0x6c, 0x80, 0x32, 0x21, 0x2a, 0x94, - 0x26, 0x33, 0x72, 0xf1, 0xfb, 0x16, 0xa7, 0x87, 0x16, 0xa4, 0x24, 0x96, 0xa4, 0x06, 0x24, 0x16, - 0x25, 0xe6, 0x16, 0x0b, 0x99, 0x71, 0x71, 0x26, 0x96, 0x96, 0x64, 0xe4, 0x17, 0x65, 0x96, 0x54, - 0x4a, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x3a, 0x49, 0x5c, 0xda, 0xa2, 0x2b, 0x02, 0x75, 0x83, 0x63, - 0x4a, 0x4a, 0x51, 0x6a, 0x71, 0x71, 0x70, 0x49, 0x51, 0x66, 0x5e, 0x7a, 0x10, 0x42, 0xa9, 0x90, - 0x05, 0x17, 0x5b, 0x01, 0xd8, 0x04, 0x09, 0x26, 0x05, 0x46, 0x0d, 0x6e, 0x23, 0x29, 0x3d, 0x98, - 0x6f, 0x61, 0x76, 0x96, 0x19, 0xea, 0x41, 0xec, 0x70, 0x62, 0x39, 0x71, 0x4f, 0x9e, 0x21, 0x08, - 0xaa, 0xde, 0x8a, 0xaf, 0xe9, 0xf9, 0x06, 0x2d, 0x84, 0x49, 0x4a, 0x92, 0x5c, 0xe2, 0x68, 0x8e, - 0x0a, 0x4a, 0x2d, 0x2e, 0xc8, 0xcf, 0x2b, 0x4e, 0x35, 0xca, 0xe2, 0x62, 0xf6, 0x2d, 0x4e, 0x17, - 0x8a, 0xe1, 0xe2, 0x41, 0x71, 0xb3, 0xa2, 0x1e, 0x7a, 0xc8, 0xea, 0xa1, 0x99, 0x20, 0xa5, 0x49, - 0x50, 0x09, 0xcc, 0x12, 0x29, 0xd6, 0x86, 0xe7, 0x1b, 0xb4, 0x18, 0x9d, 0x7c, 0x4e, 0x3c, 0x92, - 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, - 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0xca, 0x28, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, - 0x39, 0x3f, 0x57, 0xdf, 0x15, 0x62, 0xaa, 0x5f, 0x6a, 0x49, 0x79, 0x7e, 0x51, 0xb6, 0x3e, 0x2c, - 0xc8, 0x2b, 0x90, 0xa2, 0xbf, 0xb2, 0x20, 0xb5, 0x38, 0x89, 0x0d, 0x1c, 0xe2, 0xc6, 0x80, 0x00, - 0x00, 0x00, 0xff, 0xff, 0xbb, 0x4a, 0x31, 0x2f, 0x1f, 0x02, 0x00, 0x00, + 0x71, 0x10, 0x0b, 0x2a, 0xaa, 0x00, 0xb3, 0x36, 0x25, 0xb5, 0x20, 0xbf, 0x38, 0xb3, 0x04, 0x64, + 0x1c, 0x94, 0x09, 0x51, 0xa1, 0x34, 0x99, 0x91, 0x8b, 0xdf, 0xb7, 0x38, 0x3d, 0xb4, 0x20, 0x25, + 0xb1, 0x24, 0x35, 0x20, 0xb1, 0x28, 0x31, 0xb7, 0x58, 0xc8, 0x8c, 0x8b, 0x33, 0xb1, 0xb4, 0x24, + 0x23, 0xbf, 0x28, 0xb3, 0xa4, 0x52, 0x82, 0x51, 0x81, 0x51, 0x83, 0xd3, 0x49, 0xe2, 0xd2, 0x16, + 0x5d, 0x11, 0xa8, 0x85, 0x8e, 0x29, 0x29, 0x45, 0xa9, 0xc5, 0xc5, 0xc1, 0x25, 0x45, 0x99, 0x79, + 0xe9, 0x41, 0x08, 0xa5, 0x42, 0x16, 0x5c, 0x6c, 0x05, 0x60, 0x13, 0x24, 0x98, 0x14, 0x18, 0x35, + 0xb8, 0x8d, 0xa4, 0xf4, 0x60, 0x5e, 0x83, 0xd9, 0x59, 0x66, 0xa8, 0x07, 0xb1, 0xc3, 0x89, 0xe5, + 0xc4, 0x3d, 0x79, 0x86, 0x20, 0xa8, 0x7a, 0x2b, 0xbe, 0xa6, 0xe7, 0x1b, 0xb4, 0x10, 0x26, 0x29, + 0x49, 0x72, 0x89, 0xa3, 0x39, 0x2a, 0x28, 0xb5, 0xb8, 0x20, 0x3f, 0xaf, 0x38, 0xd5, 0x28, 0x8b, + 0x8b, 0xd9, 0xb7, 0x38, 0x5d, 0x28, 0x86, 0x8b, 0x07, 0xc5, 0xcd, 0x8a, 0x7a, 0xe8, 0xc1, 0xa8, + 0x87, 0x66, 0x82, 0x94, 0x26, 0x41, 0x25, 0x30, 0x4b, 0xa4, 0x58, 0x1b, 0x9e, 0x6f, 0xd0, 0x62, + 0x74, 0xf2, 0x39, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, + 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0xa3, 0xf4, 0xcc, + 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0x57, 0x88, 0xa9, 0x7e, 0xa9, 0x25, 0xe5, + 0xf9, 0x45, 0xd9, 0xfa, 0xb0, 0x20, 0xaf, 0x40, 0x8a, 0xeb, 0xca, 0x82, 0xd4, 0xe2, 0x24, 0x36, + 0x70, 0x88, 0x1b, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xfa, 0x0b, 0x2a, 0x73, 0x0c, 0x02, 0x00, + 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -173,6 +172,7 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type MsgClient interface { + // UpdateParams updates the parameters of this module. UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) } @@ -195,6 +195,7 @@ func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts // MsgServer is the server API for Msg service. type MsgServer interface { + // UpdateParams updates the parameters of this module. UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) }