From 07a0b4e27714cf38bfbd788d1b41968877860d73 Mon Sep 17 00:00:00 2001 From: MaxMustermann2 <82761650+MaxMustermann2@users.noreply.github.com> Date: Mon, 4 Mar 2024 06:52:05 +0000 Subject: [PATCH 1/8] chore(ci): fix super linter config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The super-linter.yml workflow seems to be running on pull requests and branches. However, for pull requests, it fails silently with the logs reporting an error. On branches, it fails actually with an ❌ emoji. --- .github/workflows/super-linter.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml index 6ef2521d8..74b36b7a2 100644 --- a/.github/workflows/super-linter.yml +++ b/.github/workflows/super-linter.yml @@ -33,6 +33,5 @@ jobs: VALIDATE_NATURAL_LANGUAGE: false VALIDATE_OPENAPI: false VALIDATE_JSCPD: false - VALIDATE_GO: false - DEFAULT_BRANCH: "master" + VALIDATE_GO: false # separate workflow GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From c07fee70b7fea388d3e1c13c8550ea984ec4ddf7 Mon Sep 17 00:00:00 2001 From: MaxMustermann2 <82761650+MaxMustermann2@users.noreply.github.com> Date: Mon, 4 Mar 2024 07:44:35 +0000 Subject: [PATCH 2/8] chore(ci): update super linter version --- .github/workflows/super-linter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml index 74b36b7a2..a9fb40a2d 100644 --- a/.github/workflows/super-linter.yml +++ b/.github/workflows/super-linter.yml @@ -23,7 +23,7 @@ jobs: fetch-depth: 0 - name: Lint Code Base - uses: github/super-linter@v5 + uses: super-linter/super-linter@v6.3.0 # x-release-please-version env: LINTER_RULES_PATH: / YAML_CONFIG_FILE: .yamllint From c4f64eca81f127f09170a25d8ba493a5191d2922 Mon Sep 17 00:00:00 2001 From: MaxMustermann2 <82761650+MaxMustermann2@users.noreply.github.com> Date: Mon, 4 Mar 2024 08:01:41 +0000 Subject: [PATCH 3/8] chore(ci): remove should_follow_golang_style for proto files, should_follow_golang_style can be removed. --- .github/workflows/super-linter.yml | 4 ++- .protolint.yml | 58 +++++++++++++++--------------- 2 files changed, 32 insertions(+), 30 deletions(-) diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml index a9fb40a2d..bbf56ad05 100644 --- a/.github/workflows/super-linter.yml +++ b/.github/workflows/super-linter.yml @@ -33,5 +33,7 @@ jobs: VALIDATE_NATURAL_LANGUAGE: false VALIDATE_OPENAPI: false VALIDATE_JSCPD: false - VALIDATE_GO: false # separate workflow + # separate workflow + VALIDATE_GO: false + VALIDATE_GO_MODULES: false GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.protolint.yml b/.protolint.yml index bb2b72883..6d6ebf7de 100644 --- a/.protolint.yml +++ b/.protolint.yml @@ -138,35 +138,35 @@ lint: # ## Available conventions are "lower_camel_case", "upper_snake_case", or "lower_snake_case". # convention: upper_snake_case - # MESSAGES_HAVE_COMMENT rule option. - messages_have_comment: - # Comments need to begin with the name of the thing being described. default is false. - should_follow_golang_style: true - - # SERVICES_HAVE_COMMENT rule option. - services_have_comment: - # Comments need to begin with the name of the thing being described. default is false. - should_follow_golang_style: true - - # RPCS_HAVE_COMMENT rule option. - rpcs_have_comment: - # Comments need to begin with the name of the thing being described. default is false. - should_follow_golang_style: true - - # FIELDS_HAVE_COMMENT rule option. - fields_have_comment: - # Comments need to begin with the name of the thing being described. default is false. - should_follow_golang_style: true - - # ENUMS_HAVE_COMMENT rule option. - enums_have_comment: - # Comments need to begin with the name of the thing being described. default is false. - should_follow_golang_style: true - - # ENUM_FIELDS_HAVE_COMMENT rule option. - enum_fields_have_comment: - # Comments need to begin with the name of the thing being described. default is false. - should_follow_golang_style: true + # # MESSAGES_HAVE_COMMENT rule option. + # messages_have_comment: + # # Comments need to begin with the name of the thing being described. default is false. + # should_follow_golang_style: true + + # # SERVICES_HAVE_COMMENT rule option. + # services_have_comment: + # # Comments need to begin with the name of the thing being described. default is false. + # should_follow_golang_style: true + + # # RPCS_HAVE_COMMENT rule option. + # rpcs_have_comment: + # # Comments need to begin with the name of the thing being described. default is false. + # should_follow_golang_style: true + + # # FIELDS_HAVE_COMMENT rule option. + # fields_have_comment: + # # Comments need to begin with the name of the thing being described. default is false. + # should_follow_golang_style: true + + # # ENUMS_HAVE_COMMENT rule option. + # enums_have_comment: + # # Comments need to begin with the name of the thing being described. default is false. + # should_follow_golang_style: true + + # # ENUM_FIELDS_HAVE_COMMENT rule option. + # enum_fields_have_comment: + # # Comments need to begin with the name of the thing being described. default is false. + # should_follow_golang_style: true # # SYNTAX_CONSISTENT rule option. # syntax_consistent: From e66abf9bc2ae3d9e482583b3ae9691e88d6c5f3c Mon Sep 17 00:00:00 2001 From: MaxMustermann2 <82761650+MaxMustermann2@users.noreply.github.com> Date: Mon, 4 Mar 2024 08:07:58 +0000 Subject: [PATCH 4/8] chore(ci): disable infra-as-code linter --- .github/workflows/super-linter.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml index bbf56ad05..b13c9fd4e 100644 --- a/.github/workflows/super-linter.yml +++ b/.github/workflows/super-linter.yml @@ -36,4 +36,6 @@ jobs: # separate workflow VALIDATE_GO: false VALIDATE_GO_MODULES: false + # TODO: enable docker coverage later + VALIDATE_CHECKOV: false GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 258807dfd454e45de966126cecf650d831cc3557 Mon Sep 17 00:00:00 2001 From: MaxMustermann2 <82761650+MaxMustermann2@users.noreply.github.com> Date: Mon, 4 Mar 2024 08:10:57 +0000 Subject: [PATCH 5/8] chore(ci): run protolint autofix --- proto/exocore/delegation/v1/query.proto | 4 ++-- proto/exocore/delegation/v1/tx.proto | 2 +- proto/exocore/deposit/v1/query.proto | 2 +- proto/exocore/deposit/v1/tx.proto | 2 +- .../restaking_assets_manage/v1/query.proto | 2 +- .../restaking_assets_manage/v1/tx.proto | 2 +- proto/exocore/reward/genesis.proto | 2 +- proto/exocore/reward/query.proto | 2 +- proto/exocore/reward/tx.proto | 4 ++-- proto/exocore/reward/types.proto | 21 +++++++++++-------- proto/exocore/slash/genesis.proto | 2 +- proto/exocore/slash/query.proto | 2 +- proto/exocore/slash/tx.proto | 4 ++-- proto/exocore/withdraw/query.proto | 2 +- proto/exocore/withdraw/tx.proto | 2 +- 15 files changed, 29 insertions(+), 26 deletions(-) diff --git a/proto/exocore/delegation/v1/query.proto b/proto/exocore/delegation/v1/query.proto index 5b75bdb38..341917102 100644 --- a/proto/exocore/delegation/v1/query.proto +++ b/proto/exocore/delegation/v1/query.proto @@ -1,11 +1,11 @@ syntax = "proto3"; package exocore.delegation.v1; -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; import "cosmos/query/v1/query.proto"; import "cosmos_proto/cosmos.proto"; import "exocore/delegation/v1/tx.proto"; +import "gogoproto/gogo.proto"; +import "google/api/annotations.proto"; option go_package = "github.com/ExocoreNetwork/exocore/x/delegation/types"; diff --git a/proto/exocore/delegation/v1/tx.proto b/proto/exocore/delegation/v1/tx.proto index 68f8578e9..42bd34d69 100644 --- a/proto/exocore/delegation/v1/tx.proto +++ b/proto/exocore/delegation/v1/tx.proto @@ -2,10 +2,10 @@ syntax = "proto3"; package exocore.delegation.v1; +import "amino/amino.proto"; import "cosmos/msg/v1/msg.proto"; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; -import "amino/amino.proto"; option go_package = "github.com/ExocoreNetwork/exocore/x/delegation/types"; diff --git a/proto/exocore/deposit/v1/query.proto b/proto/exocore/deposit/v1/query.proto index 0b7fd5dfa..620a49d0e 100644 --- a/proto/exocore/deposit/v1/query.proto +++ b/proto/exocore/deposit/v1/query.proto @@ -2,8 +2,8 @@ syntax = "proto3"; package exocore.deposit.v1; -import "google/api/annotations.proto"; import "exocore/deposit/v1/deposit.proto"; +import "google/api/annotations.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 b4a8b3583..6758f22d8 100644 --- a/proto/exocore/deposit/v1/tx.proto +++ b/proto/exocore/deposit/v1/tx.proto @@ -4,8 +4,8 @@ package exocore.deposit.v1; import "cosmos/msg/v1/msg.proto"; import "cosmos_proto/cosmos.proto"; -import "gogoproto/gogo.proto"; import "exocore/deposit/v1/deposit.proto"; +import "gogoproto/gogo.proto"; option go_package = "github.com/ExocoreNetwork/exocore/x/deposit/types"; diff --git a/proto/exocore/restaking_assets_manage/v1/query.proto b/proto/exocore/restaking_assets_manage/v1/query.proto index da78d8879..fd4d3842f 100644 --- a/proto/exocore/restaking_assets_manage/v1/query.proto +++ b/proto/exocore/restaking_assets_manage/v1/query.proto @@ -1,11 +1,11 @@ syntax = "proto3"; package exocore.restaking_assets_manage.v1; -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"; +import "google/api/annotations.proto"; option go_package = "github.com/ExocoreNetwork/exocore/x/restaking_assets_manage/types"; diff --git a/proto/exocore/restaking_assets_manage/v1/tx.proto b/proto/exocore/restaking_assets_manage/v1/tx.proto index a67c51b97..d43e84859 100644 --- a/proto/exocore/restaking_assets_manage/v1/tx.proto +++ b/proto/exocore/restaking_assets_manage/v1/tx.proto @@ -1,10 +1,10 @@ syntax = "proto3"; package exocore.restaking_assets_manage.v1; +import "amino/amino.proto"; import "cosmos/msg/v1/msg.proto"; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; -import "amino/amino.proto"; option go_package = "github.com/ExocoreNetwork/exocore/x/restaking_assets_manage/types"; diff --git a/proto/exocore/reward/genesis.proto b/proto/exocore/reward/genesis.proto index 66c8aa11a..d7f126f65 100644 --- a/proto/exocore/reward/genesis.proto +++ b/proto/exocore/reward/genesis.proto @@ -1,8 +1,8 @@ syntax = "proto3"; package exocore.reward; -import "gogoproto/gogo.proto"; import "exocore/reward/params.proto"; +import "gogoproto/gogo.proto"; option go_package = "github.com/ExocoreNetwork/exocore/x/reward/types"; diff --git a/proto/exocore/reward/query.proto b/proto/exocore/reward/query.proto index c6d0076cc..5bb043545 100644 --- a/proto/exocore/reward/query.proto +++ b/proto/exocore/reward/query.proto @@ -1,8 +1,8 @@ syntax = "proto3"; package exocore.reward; -import "google/api/annotations.proto"; import "exocore/reward/params.proto"; +import "google/api/annotations.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 961aaaf62..d0c74e531 100644 --- a/proto/exocore/reward/tx.proto +++ b/proto/exocore/reward/tx.proto @@ -1,10 +1,10 @@ syntax = "proto3"; package exocore.reward; -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; import "cosmos/msg/v1/msg.proto"; +import "cosmos_proto/cosmos.proto"; import "exocore/reward/params.proto"; +import "gogoproto/gogo.proto"; option go_package = "github.com/ExocoreNetwork/exocore/x/reward/types"; diff --git a/proto/exocore/reward/types.proto b/proto/exocore/reward/types.proto index f87dbe1c8..09fd78562 100644 --- a/proto/exocore/reward/types.proto +++ b/proto/exocore/reward/types.proto @@ -1,22 +1,25 @@ syntax = "proto3"; + package exocore.reward; -option go_package = "github.com/ExocoreNetwork/exocore/x/reward/types"; -import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; +import "gogoproto/gogo.proto"; + +option go_package = "github.com/ExocoreNetwork/exocore/x/reward/types"; + option (gogoproto.goproto_getters_all) = false; message Pool { - message Reward { - bytes validator = 1 [ (gogoproto.casttype) = + message Reward { + bytes validator = 1 [ (gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.ValAddress" ]; - repeated cosmos.base.v1beta1.Coin coins = 2 [ + repeated cosmos.base.v1beta1.Coin coins = 2 [ (gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" ]; - } - - string name = 1; - repeated Reward rewards = 2 [ (gogoproto.nullable) = false ]; } + + string name = 1; + repeated Reward rewards = 2 [ (gogoproto.nullable) = false ]; +} diff --git a/proto/exocore/slash/genesis.proto b/proto/exocore/slash/genesis.proto index 0e6702092..1b66e5095 100644 --- a/proto/exocore/slash/genesis.proto +++ b/proto/exocore/slash/genesis.proto @@ -1,8 +1,8 @@ syntax = "proto3"; package exocore.slash; -import "gogoproto/gogo.proto"; import "exocore/slash/params.proto"; +import "gogoproto/gogo.proto"; // this line is used by starport scaffolding # genesis/proto/import option go_package = "github.com/ExocoreNetwork/exocore/x/slash/types"; diff --git a/proto/exocore/slash/query.proto b/proto/exocore/slash/query.proto index e42bb71ff..e3613fc3a 100644 --- a/proto/exocore/slash/query.proto +++ b/proto/exocore/slash/query.proto @@ -1,8 +1,8 @@ syntax = "proto3"; package exocore.slash; -import "google/api/annotations.proto"; import "exocore/slash/params.proto"; +import "google/api/annotations.proto"; // this line is used by starport scaffolding # 1 option go_package = "github.com/ExocoreNetwork/exocore/x/slash/types"; diff --git a/proto/exocore/slash/tx.proto b/proto/exocore/slash/tx.proto index ca071efac..b23736d4a 100644 --- a/proto/exocore/slash/tx.proto +++ b/proto/exocore/slash/tx.proto @@ -1,10 +1,10 @@ syntax = "proto3"; package exocore.slash; +import "cosmos/msg/v1/msg.proto"; +import "cosmos_proto/cosmos.proto"; import "exocore/slash/params.proto"; import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/msg/v1/msg.proto"; option go_package = "github.com/ExocoreNetwork/exocore/x/slash/types"; diff --git a/proto/exocore/withdraw/query.proto b/proto/exocore/withdraw/query.proto index 896c69d25..919d2ec9c 100644 --- a/proto/exocore/withdraw/query.proto +++ b/proto/exocore/withdraw/query.proto @@ -1,8 +1,8 @@ syntax = "proto3"; package exocore.withdraw; -import "google/api/annotations.proto"; import "exocore/deposit/v1/deposit.proto"; +import "google/api/annotations.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 2053a854e..c88670e8e 100644 --- a/proto/exocore/withdraw/tx.proto +++ b/proto/exocore/withdraw/tx.proto @@ -4,8 +4,8 @@ package exocore.withdraw; import "cosmos/msg/v1/msg.proto"; import "cosmos_proto/cosmos.proto"; -import "gogoproto/gogo.proto"; import "exocore/deposit/v1/deposit.proto"; +import "gogoproto/gogo.proto"; option go_package = "github.com/ExocoreNetwork/exocore/x/withdraw/types"; // MsgUpdateParams is the Msg/UpdateParams request type for Erc20 parameters. From 7b9871ab5032de3d960869af99bb565f264a281e Mon Sep 17 00:00:00 2001 From: MaxMustermann2 <82761650+MaxMustermann2@users.noreply.github.com> Date: Mon, 4 Mar 2024 09:01:40 +0000 Subject: [PATCH 6/8] chore(ci): add comments to all fields --- proto/exocore/delegation/v1/query.proto | 23 +++++- proto/exocore/delegation/v1/tx.proto | 56 +++++++++++++-- proto/exocore/deposit/v1/deposit.proto | 2 + proto/exocore/deposit/v1/query.proto | 1 + proto/exocore/native_token/v1/tx.proto | 16 ++++- .../restaking_assets_manage/v1/genesis.proto | 5 ++ .../restaking_assets_manage/v1/query.proto | 45 ++++++++++-- .../restaking_assets_manage/v1/tx.proto | 72 ++++++++++++++++++- proto/exocore/reward/genesis.proto | 1 + proto/exocore/reward/params.proto | 5 +- proto/exocore/reward/types.proto | 9 ++- proto/exocore/slash/genesis.proto | 1 + proto/exocore/slash/params.proto | 4 +- 13 files changed, 215 insertions(+), 25 deletions(-) diff --git a/proto/exocore/delegation/v1/query.proto b/proto/exocore/delegation/v1/query.proto index 341917102..4d4316f8d 100644 --- a/proto/exocore/delegation/v1/query.proto +++ b/proto/exocore/delegation/v1/query.proto @@ -9,18 +9,25 @@ import "google/api/annotations.proto"; option go_package = "github.com/ExocoreNetwork/exocore/x/delegation/types"; +// DelegationInfoReq is the request to obtain the delegation information +// by staker id and asset id. message DelegationInfoReq { + // staker_id is the staker id. string staker_id = 1 [(gogoproto.customname) = "StakerID"]; + // asset_id is the asset id. string asset_id = 2 [(gogoproto.customname) = "AssetID"]; } +// DelegationAmounts is the delegation amount response for a single delegation. message DelegationAmounts { + // can_undelegation_amount is the amount that can be undelegated. string can_undelegation_amount = 1 [ (cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false ]; + // wait_undelegation_amount is the amount that is waiting to be unbonded. string wait_undelegation_amount = 2 [ (cosmos_proto.scalar) = "cosmos.Int", @@ -29,23 +36,33 @@ message DelegationAmounts { ]; } +// QueryDelegationInfoResponse is the response for delegations by staker id and +// asset id. message QueryDelegationInfoResponse { + // total_delegated_amount is the total amount that is delegated. string total_delegated_amount = 1 [ (cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false ]; - map delegation_infos = 2; + // delegation_infos is the delegation information for each operator. + map delegation_infos = 2; } +// SingleDelegationInfoReq is the request to obtain the single delegation information. message SingleDelegationInfoReq { + // staker_id is the staker id. string staker_id = 1 [(gogoproto.customname) = "StakerID"]; + // operator_addr is the operator address. string operator_addr = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // asset_id is the asset id. string asset_id = 3 [(gogoproto.customname) = "AssetID"]; } +// QueryOperatorInfoReq is the request to obtain the operator information. message QueryOperatorInfoReq { + // operator_addr is the operator address. string operator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; } @@ -53,7 +70,7 @@ message QueryOperatorInfoReq { // Query is the service API for the delegation module. service Query { // OperatorInfo queries the operator information. - rpc QueryOperatorInfo(QueryOperatorInfoReq) returns(OperatorInfo){ + rpc QueryOperatorInfo(QueryOperatorInfoReq) returns (OperatorInfo) { option (google.api.http).get = "/exocore/delegation/v1/GetOperatorInfo"; } // DelegationInfo queries the delegation information for {stakerID, assetID}. @@ -63,7 +80,7 @@ service Query { } // SingleDelegationInfo queries the single delegation information for // {chain, staker, asset, operator}. - rpc QuerySingleDelegationInfo(SingleDelegationInfoReq) returns(DelegationAmounts){ + 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 42bd34d69..d5b6c4e2a 100644 --- a/proto/exocore/delegation/v1/tx.proto +++ b/proto/exocore/delegation/v1/tx.proto @@ -9,7 +9,9 @@ import "gogoproto/gogo.proto"; option go_package = "github.com/ExocoreNetwork/exocore/x/delegation/types"; +// ValueField is a field that holds a value of sdk.Int type. message ValueField { + // amount is the amount of the asset, as an sdk.Int. string amount = 1 [ (cosmos_proto.scalar) = "cosmos.Int", @@ -18,51 +20,73 @@ message ValueField { ]; } +// DelegatedSingleAssetInfo is a single asset info that is delegated by a staker. message DelegatedSingleAssetInfo { + // asset_id is the asset id. string asset_id = 1 [(gogoproto.customname) = "AssetID"]; + // total_delegated_amount is the total amount of the asset delegated. string total_delegated_amount = 2 [ (cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false ]; + // per_operator_amounts is the amount of the asset delegated to each operator. map per_operator_amounts = 3; } +// ClientChainEarningAddrList is the list of client chain earning addresses. message ClientChainEarningAddrList { + // earning_info_list is the contents of ClientChainEarningAddrList. repeated ClientChainEarningAddrInfo earning_info_list = 1; } +// ClientChainEarningAddrInfo is the client chain earning address info. message ClientChainEarningAddrInfo { + // lz_client_chain_id is the layer0 client chain id. uint64 lz_client_chain_id = 1 [(gogoproto.customname) = "LzClientChainID"]; + // client_chain_earning_addr is the client chain earning address. string client_chain_earning_addr = 2; } +// OperatorInfo is the operator info. message OperatorInfo { + // earnings_addr is the earnings address. string earnings_addr = 1; + // approve_addr is the approve address. string approve_addr = 2; + // operator_meta_info is the operator meta info. string operator_meta_info = 3; + // client_chain_earning_addr_list is the client chain earning address list. ClientChainEarningAddrList client_chain_earnings_addr = 4; } +// RegisterOperatorReq is the request to register a new operator. message RegisterOperatorReq { option (cosmos.msg.v1.signer) = "FromAddress"; option (amino.name) = "cosmos-sdk/OperatorInfo"; option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; + // from_address is the address of the operator (sdk.AccAddress). string from_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // info is the operator info. OperatorInfo info = 2; } +// DelegationApproveInfo is the delegation approve info. message DelegationApproveInfo { + // signature of the delegation approve info. string signature = 1; + // salt within the signature. string salt = 2; } -message RegisterOperatorResponse{} +// RegisterOperatorResponse is the response to a register operator request. +message RegisterOperatorResponse {} +// DelegationIncOrDecInfo is the delegation increase or decrease info. message DelegationIncOrDecInfo { option (cosmos.msg.v1.signer) = "fromAddress"; option (amino.name) = "cosmos-sdk/MsgAddOrDecreaseDelegation"; @@ -70,32 +94,49 @@ message DelegationIncOrDecInfo { option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; + // from_address is the staker address string from_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // per_operator_amounts is the amount of the asset delegated to each operator. map per_operator_amounts = 2; } +// MsgDelegation is the delegation Msg. message MsgDelegation { + // base_info is the delegation increase or decrease request container. DelegationIncOrDecInfo base_info = 1; + // approved_info is the delegation increase or decrease response container. DelegationApproveInfo approved_info = 2; } +// UndelegationRecord is the undelegation record, keyed by a RecordKey. message UndelegationRecord { + // staker_id is the staker id. string staker_id = 1 [(gogoproto.customname) = "StakerID"]; + // asset_id is the asset id. string asset_id = 2 [(gogoproto.customname) = "AssetID"]; - string operator_addr = 3 - [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // operator_addr is the operator address. + string operator_addr = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // tx_hash is the transaction hash on the client chain. string tx_hash = 4; + // is_pending is the flag to indicate if the undelegation is pending. bool is_pending = 5; + // block_number is the block number on Exocore. uint64 block_number = 6; + // complete_block_number is the block number on Exocore at which the undelegation + // should be completed. uint64 complete_block_number = 7; + // lz_tx_nonce is the nonce of the transaction on the client chain. uint64 lz_tx_nonce = 8; + // amount is the amount of the asset to be undelegated. string amount = 9 [ (cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false ]; + // actual_completed_amount is the actual amount of the asset that has been + // undelegated so far. it may be lower than the amount in the case of slashing. string actual_completed_amount =10 [ (cosmos_proto.scalar) = "cosmos.Int", @@ -104,16 +145,23 @@ message UndelegationRecord { ]; } +// UndelegationRecordKeyList is the list of undelegation records. message UndelegationRecordKeyList { + // key_list is the list of undelegation record keys. repeated string key_list = 1; } +// DelegationResponse is the response to a delegation request. message DelegationResponse {} +// MsgUndelegation is the undelegation Msg. message MsgUndelegation { + // base_info is the delegation increase or decrease request container. DelegationIncOrDecInfo base_info = 1; } -message UndelegationResponse{} + +// UndelegationResponse is the response to an undelegation request. +message UndelegationResponse {} // Msg defines the delegation Msg service. service Msg { diff --git a/proto/exocore/deposit/v1/deposit.proto b/proto/exocore/deposit/v1/deposit.proto index acbc642cf..df2652407 100644 --- a/proto/exocore/deposit/v1/deposit.proto +++ b/proto/exocore/deposit/v1/deposit.proto @@ -9,8 +9,10 @@ option go_package = "github.com/ExocoreNetwork/exocore/x/deposit/types"; // GenesisState defines the restaking_assets_manage module's genesis state. message Params { + // exocore_lz_app_address is the address of the exocore lz app. string exocore_lz_app_address = 1 [(gogoproto.customname) = "ExoCoreLzAppAddress"]; + // exocore_lz_app_event_topic is the topic of the exocore lz app event. 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 620a49d0e..4a02b57c5 100644 --- a/proto/exocore/deposit/v1/query.proto +++ b/proto/exocore/deposit/v1/query.proto @@ -13,6 +13,7 @@ message QueryParamsRequest {} // QueryParamsResponse is the response type for the Query/Params RPC // method. message QueryParamsResponse { + // params defines the parameters for this module. Params params = 1 ; } diff --git a/proto/exocore/native_token/v1/tx.proto b/proto/exocore/native_token/v1/tx.proto index f75c1c008..03bd89105 100644 --- a/proto/exocore/native_token/v1/tx.proto +++ b/proto/exocore/native_token/v1/tx.proto @@ -7,6 +7,7 @@ import "gogoproto/gogo.proto"; option go_package = "github.com/ExocoreNetwork/exocore/x/native_token/types"; +// ValidatorInfo is the information about a validator. message ValidatorInfo { // ValidatorStatus is the status of the validator. enum ValidatorStatus { @@ -19,32 +20,41 @@ message ValidatorInfo { // WITHDRAWN is the status of a validator that has withdrawn from the network. VALIDATOR_STATUS_WITHDRAWN = 3[ (gogoproto.enumvalue_customname) = "ValidatorInfo_WITHDRAWN" ]; } + // status is the validator's status as an enum. ValidatorStatus status = 1; + // validator_index is the index of the validator in the set of validators. uint64 validator_index = 2; + // staked_balance_gwei is the amount of native token staked by the validator in gwei. string staked_balance_gwei = 3 [ (cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false ]; + // most_recent_balance_update_block_number is the block number at which the + // validator's balance was last updated. uint64 most_recent_balance_update_block_number = 4; } +// NativeTokenStakerInfo is the information about a native token staker. message NativeTokenStakerInfo { + // total_validator_balances is the total amount of native token staked. string total_validator_balances = 1 [ (cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false ]; - string unstaked_value_from_pos = 2 + // unstaked_value_from_pod is the value unstaked from the pod. + string unstaked_value_from_pod = 2 [ (cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false, - (gogoproto.customname) = "UnStakedValueFromPOS" + (gogoproto.nullable) = false ]; + // pod_address is the pod address. string pod_address = 3; + // validators_info is the information about the validators, indexed by address. 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 0a1c1c99d..d5069548e 100644 --- a/proto/exocore/restaking_assets_manage/v1/genesis.proto +++ b/proto/exocore/restaking_assets_manage/v1/genesis.proto @@ -6,7 +6,12 @@ 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. +// TODO: make this state exportable for the case of chain restarts. message GenesisState { + // default_supported_client_chains is the list of supported client chains, + // that are supported by default. repeated ClientChainInfo default_supported_client_chains = 1; + // default_supported_client_chain_tokens is the list of supported client chain tokens, + // that are supported by default. 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 fd4d3842f..bdde829e1 100644 --- a/proto/exocore/restaking_assets_manage/v1/query.proto +++ b/proto/exocore/restaking_assets_manage/v1/query.proto @@ -9,57 +9,88 @@ import "google/api/annotations.proto"; option go_package = "github.com/ExocoreNetwork/exocore/x/restaking_assets_manage/types"; +// QueryClientChainInfo is the query for getting the client chain info by index. message QueryClientChainInfo { + // chain_index is the index of the chain. uint64 chain_index = 1; } +// QueryAllClientChainInfo is the query for all client chains info. message QueryAllClientChainInfo {} -message QueryAllClientChainInfoResponse{ + +// QueryAllClientChainInfoResponse is the response for all client chains info. +message QueryAllClientChainInfoResponse { + // all_client_chain_infos is the all client chain info, indexed by the chain index. map all_client_chain_infos = 1; } +// QueryStakingAssetInfo is the query for getting the staking asset info. message QueryStakingAssetInfo { + // asset_id is the asset for which the query is made. string asset_id = 1 [(gogoproto.customname) = "AssetID"]; } +// QueryAllStakingAssetsInfo is the query for getting all staking assets info. message QueryAllStakingAssetsInfo {} -message QueryAllStakingAssetsInfoResponse{ + +// QueryAllStakingAssetsInfoResponse is the response for all staking assets info, +// indexed by the asset id. +message QueryAllStakingAssetsInfoResponse { + // all_staking_assets_info is the response for all staking assets info. map all_staking_assets_info = 1; } -message QueryStakerAssetInfo{ +// QueryStakerAssetInfo is the query for getting the staker asset info. +message QueryStakerAssetInfo { + // stake_id is the staker id for which the query is made. string staker_id = 1 [(gogoproto.customname) = "StakerID"]; } + +// QueryAssetInfoResponse is the response for the staker asset info. message QueryAssetInfoResponse { + // asset_infos is the response for the staker asset info, indexed by the asset id. map asset_infos = 1; } +// QuerySpecifiedAssetAmountReq is the query for getting the staker specified asset amount. message QuerySpecifiedAssetAmountReq { + // staker_id is the staker id for which the query is made. string staker_id = 1 [(gogoproto.customname) = "StakerID"]; + // asset_id is the asset for which the query is made. string asset_id = 2 [(gogoproto.customname) = "AssetID"]; } - -message QueryOperatorAssetInfos{ +// QueryOperatorAssetInfos is the query for getting the operator asset info. +message QueryOperatorAssetInfos { + // operator_addr is the operator address for which the query is made. string operator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; } -message QueryOperatorAssetInfosResponse{ +// QueryOperatorAssetInfosResponse is the response to the operator asset info query. +message QueryOperatorAssetInfosResponse { + // asset_infos is the response for the operator asset info, indexed by the asset id. map asset_infos = 1; } -message QueryOperatorSpecifiedAssetAmountReq{ +// QueryOperatorSpecifiedAssetAmountReq is the query for getting the operator +// specified asset amount. +message QueryOperatorSpecifiedAssetAmountReq { + // operator_addr is the operator address for which the query is made. string operator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // asset_id is the asset for which the query is made. string asset_id = 2 [(gogoproto.customname) = "AssetID"]; } +// QueryStakerExCoreAddr is the query for getting the staker exocore address. message QueryStakerExCoreAddr { // 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; } +// QueryStakerExCoreAddrResponse is the response for the staker exocore address query. message QueryStakerExCoreAddrResponse { + // exocore_addr is the exocore address of the staker. string exocore_addr = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString", (gogoproto.customname) = "ExoCoreAddr" diff --git a/proto/exocore/restaking_assets_manage/v1/tx.proto b/proto/exocore/restaking_assets_manage/v1/tx.proto index d43e84859..49eb87d8f 100644 --- a/proto/exocore/restaking_assets_manage/v1/tx.proto +++ b/proto/exocore/restaking_assets_manage/v1/tx.proto @@ -8,35 +8,57 @@ import "gogoproto/gogo.proto"; option go_package = "github.com/ExocoreNetwork/exocore/x/restaking_assets_manage/types"; +// ClientChainInfo defines the client chain information. message ClientChainInfo { + // name of the client chain, like "Ethereum". string name = 1; + // meta_info about the client chain, like "Ethereum blockchain". string meta_info = 2; + // chain_id of the client chain. Not necessarily the EVM chain id. uint64 chain_id = 3; + // exo_core_chain_index is the index of the client chain within the exosystem. uint64 exo_core_chain_index = 4; + // finalization_blocks is the number of blocks to wait for finalization. uint64 finalization_blocks = 5; + // layer_zero_chain_id is the chain id of the client chain, according to L0. + // https://layerzero.gitbook.io/docs/technical-reference/mainnet/supported-chain-ids uint64 layer_zero_chain_id = 6 [(gogoproto.customname) = "LayerZeroChainID"]; + // signature_type is the type of signature used to sign the client chain address. string signature_type = 7; + // client_chain_addr is the length of addresses on the client chain. uint32 address_length = 8; } +// AssetInfo defines the information for an asset to be used in staking. message AssetInfo { + // name of the asset, like "Tether USD" string name = 1; + // symbol of the asset, like "USDT" string symbol = 2; + // address of the asset on the client chain string address = 3; + // decimals used in the asset, typically 6 or 18. uint32 decimals = 4; + // total_supply of the asset, to be used in checks. string total_supply = 5 [ (cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false ]; + // layer_zero_chain_id is the chain id of the asset, according to L0. uint64 layer_zero_chain_id = 6 [(gogoproto.customname) = "LayerZeroChainID"]; + // exo_core_chain_index is the index of the client chain within the exosystem. uint64 exo_core_chain_index = 7; + // meta_info about the asset, like "Tether USD on Ethereum blockchain". string meta_info = 8; } +// StakingAssetInfo defines the information for an asset to be used in staking. message StakingAssetInfo { + // asset_basic_info is the basic information of the asset. AssetInfo asset_basic_info = 1; + // staking_total_amount is the total amount of the asset staked. string staking_total_amount = 2 [ (cosmos_proto.scalar) = "cosmos.Int", @@ -45,19 +67,29 @@ message StakingAssetInfo { ]; } +// StakerSingleAssetOrChangeInfo defines the information for a single asset or its change. +// The type is an overloaded type and is used in two contexts: +// 1. A staker's deposited, withdrawable, and currently unbonding amount. +// 2. The values by which #1 is to be changed / has been changed. message StakerSingleAssetOrChangeInfo { + // total_deposit_amount_or_want_change_value is the total amount of the asset deposited + // or the amount by which it can change. 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 ]; + // can_withdraw_amount_or_want_change_value is the amount that can be withdrawn + // or the amount by which it can change. 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 ]; + // wait_undelegation_amount_or_want_change_value is the amount that is waiting for undelegation + // or the amount by which it can change. string wait_undelegation_amount_or_want_change_value = 3 [ (cosmos_proto.scalar) = "cosmos.Int", @@ -66,17 +98,26 @@ message StakerSingleAssetOrChangeInfo { ]; } +// StakerAllAssetsInfo defines the information for all assets of a staker. +// It is indexed by the asset_id. message StakerAllAssetsInfo { + // all_assets_state is the state of all assets of the staker. map all_assets_state = 1; } -message OperatorSingleAssetOrChangeInfo{ +// OperatorSingleAssetOrChangeInfo defines the information for a single asset or its change, +// for an operator. It is also overloaded like StakerSingleAssetOrChangeInfo. +message OperatorSingleAssetOrChangeInfo { + // total_amount_or_want_change_value is the total amount of the asset deposited + // or the amount by which it can change. 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 ]; + // operator_own_amount_or_want_change_value is the amount that the operator owns + // or the amount by which it can change. //todo: the field is used to mark operator's own assets and is not temporarily used now string operator_own_amount_or_want_change_value = 2 [ @@ -84,6 +125,8 @@ message OperatorSingleAssetOrChangeInfo{ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false ]; + // wait_undelegation_amount_or_want_change_value is the amount that is waiting for undelegation + // or the amount by which it can change. string wait_undelegation_amount_or_want_change_value = 3 [ (cosmos_proto.scalar) = "cosmos.Int", @@ -92,10 +135,15 @@ message OperatorSingleAssetOrChangeInfo{ ]; } +// OperatorAllAssetsInfo defines the information for all assets of an operator, +// indexed by the asset_id. message OperatorAllAssetsInfo { + // all_assets_state is the state of all assets of the operator. map all_assets_state = 1; } +// MsgSetExoCoreAddr defines the MsgSetExoCoreAddr message used to set the +// exocore address of the staker. message MsgSetExoCoreAddr { option (cosmos.msg.v1.signer) = "fromAddress"; option (amino.name) = "exocore/MsgSetExoCoreAddr"; @@ -103,43 +151,61 @@ message MsgSetExoCoreAddr { option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; + // from_address is the address of the staker. string from_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // set_address is the address to be set. string set_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // client_chain_addr is the address of the client chain. string client_chain_addr = 3; + // client_chain_index is the index of the client chain within the exosystem. uint64 client_chain_index = 4; + // staker_client_chain_signature is the signature of the staker's address + // on the client chain. string staker_client_chain_signature = 5; } + +// MsgSetExoCoreAddrResponse defines the MsgSetExoCoreAddrResponse message used to return the +// response of the MsgSetExoCoreAddr message. message MsgSetExoCoreAddrResponse {} +// RegisterClientChainReq is a request to register a client chain. message RegisterClientChainReq { option (cosmos.msg.v1.signer) = "FromAddress"; option (amino.name) = "cosmos-sdk/RegisterClientChain"; option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; + // from_address is the address of the message sender. string from_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // info is the information of the client chain. ClientChainInfo info = 2; } + +// RegisterClientChainResponse is the response to the RegisterClientChainReq message. message RegisterClientChainResponse {} +// RegisterAssetReq is a request to register an asset on the client chain within +// Exocore. message RegisterAssetReq { option (cosmos.msg.v1.signer) = "FromAddress"; option (amino.name) = "cosmos-sdk/RegisterAsset"; option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; + // from_address is the address of the message sender. string from_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // info is the information of the asset. AssetInfo info = 2; } + +// RegisterAssetResponse is the response to the RegisterAssetReq message. 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 diff --git a/proto/exocore/reward/genesis.proto b/proto/exocore/reward/genesis.proto index d7f126f65..01799667a 100644 --- a/proto/exocore/reward/genesis.proto +++ b/proto/exocore/reward/genesis.proto @@ -8,5 +8,6 @@ option go_package = "github.com/ExocoreNetwork/exocore/x/reward/types"; // GenesisState defines the reward module's genesis state. message GenesisState { + // params represents the parameters of the module. Params params = 1 [(gogoproto.nullable) = false]; } diff --git a/proto/exocore/reward/params.proto b/proto/exocore/reward/params.proto index c8b6f10f0..fe12aa2d0 100644 --- a/proto/exocore/reward/params.proto +++ b/proto/exocore/reward/params.proto @@ -5,7 +5,8 @@ option go_package = "github.com/ExocoreNetwork/exocore/x/reward/types"; // Params defines the parameters for the module. message Params { + // exo_core_lz_app_address is the address of the L0 app. string exo_core_lz_app_address = 1; - string exo_core_lz_app_event_topic =2; - + // exo_core_lz_app_event_topic is the topic of the L0 app. + string exo_core_lz_app_event_topic =2; } diff --git a/proto/exocore/reward/types.proto b/proto/exocore/reward/types.proto index 09fd78562..e8b5db1d1 100644 --- a/proto/exocore/reward/types.proto +++ b/proto/exocore/reward/types.proto @@ -9,17 +9,22 @@ option go_package = "github.com/ExocoreNetwork/exocore/x/reward/types"; option (gogoproto.goproto_getters_all) = false; +// Pool is a reward pool. message Pool { + // Reward is the reward for a validator. message Reward { + // validator is the validator address, as an `sdk.ValAddress`. bytes validator = 1 [ (gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.ValAddress" ]; + // coins is the reward amount, as `sdk.Coins`. repeated cosmos.base.v1beta1.Coin coins = 2 [ (gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" ]; - + } - + // name is the name of the pool. string name = 1; + // rewards is the rewards for the pool, by validator. repeated Reward rewards = 2 [ (gogoproto.nullable) = false ]; } diff --git a/proto/exocore/slash/genesis.proto b/proto/exocore/slash/genesis.proto index 1b66e5095..07012d7da 100644 --- a/proto/exocore/slash/genesis.proto +++ b/proto/exocore/slash/genesis.proto @@ -9,6 +9,7 @@ option go_package = "github.com/ExocoreNetwork/exocore/x/slash/types"; // GenesisState defines the exoslash module's genesis state. message GenesisState { + // params defines all the parameters of the module. Params params = 1 [(gogoproto.nullable) = false]; // this line is used by starport scaffolding # genesis/proto/state } diff --git a/proto/exocore/slash/params.proto b/proto/exocore/slash/params.proto index 5a0788081..977d42f20 100644 --- a/proto/exocore/slash/params.proto +++ b/proto/exocore/slash/params.proto @@ -5,7 +5,9 @@ option go_package = "github.com/ExocoreNetwork/exocore/x/slash/types"; // Params defines the parameters for the module. message Params { + // exo_core_lz_app_address defines the address of the lz app string exo_core_lz_app_address = 1; - string exo_core_lz_app_event_topic =2; + // exo_core_lz_app_event_topic defines the topic of the lz app + string exo_core_lz_app_event_topic = 2; } From 667c3d2541a511502747ba80f039db76a12e6a23 Mon Sep 17 00:00:00 2001 From: MaxMustermann2 <82761650+MaxMustermann2@users.noreply.github.com> Date: Mon, 4 Mar 2024 09:05:02 +0000 Subject: [PATCH 7/8] doc(ci): add comment to explain HEAD~1 --- .github/workflows/proto.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/proto.yml b/.github/workflows/proto.yml index 75e72fb35..d450c6f3a 100644 --- a/.github/workflows/proto.yml +++ b/.github/workflows/proto.yml @@ -41,4 +41,8 @@ jobs: - uses: bufbuild/buf-breaking-action@v1 with: input: "proto" + # previously, this ran on ref=HEAD~1, which is incorrect as it can + # only be used to compare within a branch. it is designed to run + # on a PR, so it must compare the HEAD of the base branch against + # the PR branch. against: "https://github.com/${{ github.repository }}.git#branch=${{ github.event.pull_request.base.ref }},subdir=proto" From 0a90db76b98c79411f71a94a069f376b8df91820 Mon Sep 17 00:00:00 2001 From: MaxMustermann2 <82761650+MaxMustermann2@users.noreply.github.com> Date: Mon, 4 Mar 2024 09:08:29 +0000 Subject: [PATCH 8/8] chore(build): run buf generate --- x/delegation/types/query.pb.go | 115 ++++---- x/delegation/types/tx.pb.go | 244 +++++++++------- x/deposit/types/deposit.pb.go | 4 +- x/deposit/types/query.pb.go | 31 +- x/deposit/types/tx.pb.go | 34 +-- x/native_token/types/tx.pb.go | 122 ++++---- x/restaking_assets_manage/types/genesis.pb.go | 9 +- x/restaking_assets_manage/types/query.pb.go | 147 ++++++---- x/restaking_assets_manage/types/tx.pb.go | 267 +++++++++++------- x/reward/types/genesis.pb.go | 23 +- x/reward/types/params.pb.go | 4 +- x/reward/types/query.pb.go | 26 +- x/reward/types/tx.pb.go | 36 +-- x/reward/types/types.pb.go | 40 +-- x/slash/types/genesis.pb.go | 25 +- x/slash/types/params.pb.go | 4 +- x/slash/types/query.pb.go | 26 +- x/slash/types/tx.pb.go | 38 +-- x/withdraw/types/query.pb.go | 32 +-- x/withdraw/types/tx.pb.go | 26 +- 20 files changed, 721 insertions(+), 532 deletions(-) diff --git a/x/delegation/types/query.pb.go b/x/delegation/types/query.pb.go index 4b11f9eb5..55dd872d0 100644 --- a/x/delegation/types/query.pb.go +++ b/x/delegation/types/query.pb.go @@ -32,9 +32,13 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// DelegationInfoReq is the request to obtain the delegation information +// by staker id and asset id. type DelegationInfoReq struct { + // staker_id is the staker id. 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"` + // asset_id is the asset id. + AssetID string `protobuf:"bytes,2,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` } func (m *DelegationInfoReq) Reset() { *m = DelegationInfoReq{} } @@ -84,8 +88,11 @@ func (m *DelegationInfoReq) GetAssetID() string { return "" } +// DelegationAmounts is the delegation amount response for a single delegation. type DelegationAmounts struct { - 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"` + // can_undelegation_amount is the amount that can be undelegated. + 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"` + // wait_undelegation_amount is the amount that is waiting to be unbonded. 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"` } @@ -122,9 +129,13 @@ func (m *DelegationAmounts) XXX_DiscardUnknown() { var xxx_messageInfo_DelegationAmounts proto.InternalMessageInfo +// QueryDelegationInfoResponse is the response for delegations by staker id and +// asset id. type QueryDelegationInfoResponse struct { + // total_delegated_amount is the total amount that is delegated. 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"` + // delegation_infos is the delegation information for each operator. + 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{} } @@ -167,10 +178,14 @@ func (m *QueryDelegationInfoResponse) GetDelegationInfos() map[string]*Delegatio return nil } +// SingleDelegationInfoReq is the request to obtain the single delegation information. type SingleDelegationInfoReq struct { - StakerID string `protobuf:"bytes,1,opt,name=staker_id,json=stakerId,proto3" json:"staker_id,omitempty"` + // staker_id is the staker id. + StakerID string `protobuf:"bytes,1,opt,name=staker_id,json=stakerId,proto3" json:"staker_id,omitempty"` + // operator_addr is the operator address. 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"` + // asset_id is the asset id. + AssetID string `protobuf:"bytes,3,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` } func (m *SingleDelegationInfoReq) Reset() { *m = SingleDelegationInfoReq{} } @@ -227,7 +242,9 @@ func (m *SingleDelegationInfoReq) GetAssetID() string { return "" } +// QueryOperatorInfoReq is the request to obtain the operator information. type QueryOperatorInfoReq struct { + // operator_addr is the operator address. OperatorAddr string `protobuf:"bytes,1,opt,name=operator_addr,json=operatorAddr,proto3" json:"operator_addr,omitempty"` } @@ -283,50 +300,50 @@ func init() { func init() { proto.RegisterFile("exocore/delegation/v1/query.proto", fileDescriptor_aab345e1cf20490c) } var fileDescriptor_aab345e1cf20490c = []byte{ - // 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, 0xe8, 0xc5, 0x03, 0x1f, 0x82, 0x23, 0xc1, 0x8b, 0xf1, 0xd0, 0x98, 0x62, 0xe2, 0x07, 0xf0, - 0x0b, 0x98, 0x9d, 0xdd, 0xc2, 0xb6, 0xdd, 0x45, 0x89, 0x9c, 0xba, 0xfd, 0xfd, 0xde, 0xbc, 0xf7, - 0xe6, 0x37, 0x6f, 0x67, 0xc1, 0x2d, 0x7c, 0x40, 0xcb, 0x94, 0x61, 0xd3, 0xc1, 0x55, 0xec, 0x22, - 0xe1, 0x51, 0x62, 0x36, 0x96, 0xcc, 0xbd, 0x3a, 0x66, 0x4d, 0xa3, 0xc6, 0xa8, 0xa0, 0x70, 0x32, - 0x84, 0x18, 0xe7, 0x10, 0xa3, 0xb1, 0x94, 0x4d, 0xbb, 0xd4, 0xa5, 0x12, 0x61, 0xfa, 0x4f, 0x01, - 0x38, 0x7b, 0xd3, 0xa5, 0xd4, 0xad, 0x62, 0x13, 0xd5, 0x3c, 0x13, 0x11, 0x42, 0x85, 0xc4, 0xf3, - 0xb0, 0x3b, 0x5b, 0xa6, 0x7c, 0x97, 0xf2, 0x80, 0xbe, 0x47, 0x27, 0x3b, 0x13, 0x34, 0x4b, 0x01, - 0x67, 0x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0x5e, 0x7f, 0xf9, 0xf1, - 0x5e, 0xcd, 0xc3, 0x79, 0x33, 0xfe, 0x06, 0x5a, 0xc7, 0xa2, 0xcb, 0xc1, 0x47, 0x05, 0xdc, 0x88, - 0x89, 0x16, 0xfc, 0xf3, 0x99, 0x77, 0x6c, 0x15, 0x2e, 0x1f, 0x58, 0xfd, 0xe1, 0xdb, 0x9f, 0x9f, - 0x17, 0x14, 0x69, 0x75, 0x01, 0xe6, 0x93, 0xad, 0xf6, 0x98, 0x3a, 0x54, 0xc0, 0x8c, 0xa4, 0x8d, - 0x0b, 0x16, 0x34, 0x12, 0x8c, 0x24, 0xa4, 0x30, 0xfb, 0xd7, 0xb1, 0xd6, 0x97, 0xcf, 0xed, 0x16, - 0xe0, 0xbd, 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, + // 676 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x4f, 0x4f, 0x13, 0x4f, + 0x18, 0xee, 0x96, 0x1f, 0x3f, 0x60, 0xc0, 0x08, 0x63, 0x81, 0x52, 0xcc, 0x16, 0xd7, 0x84, 0x54, + 0x0c, 0xbb, 0x52, 0x35, 0x31, 0x46, 0x4c, 0x20, 0x25, 0x64, 0x2f, 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x2c, + 0x68, 0xc6, 0x08, 0x89, 0x71, 0x61, 0xe6, 0xaf, 0x6d, 0x6d, 0x2c, 0x9f, 0xcb, 0xcd, 0xc3, 0x7b, + 0x31, 0x72, 0x63, 0x85, 0xad, 0x6e, 0x1c, 0xb5, 0x74, 0xed, 0xb8, 0xa5, 0x6b, 0xdf, 0x5b, 0xba, + 0xf6, 0xee, 0x54, 0x4f, 0x1c, 0x9f, 0xea, 0x89, 0xaf, 0xa7, 0x7a, 0xe2, 0xc5, 0x83, 0x8e, 0x2b, + 0x65, 0x2d, 0x44, 0xdd, 0xc0, 0x62, 0x9f, 0xb2, 0xf2, 0x19, 0xc9, 0x41, 0x27, 0x8d, 0xbc, 0x64, + 0xb6, 0xff, 0x97, 0xff, 0x21, 0xf7, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0xde, 0x68, 0x9a, 0xc7, + 0x0b, 0x07, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/delegation/types/tx.pb.go b/x/delegation/types/tx.pb.go index 757d67414..82266f9cf 100644 --- a/x/delegation/types/tx.pb.go +++ b/x/delegation/types/tx.pb.go @@ -32,7 +32,9 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// ValueField is a field that holds a value of sdk.Int type. type ValueField struct { + // amount is the amount of the asset, as an sdk.Int. 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"` } @@ -69,10 +71,14 @@ func (m *ValueField) XXX_DiscardUnknown() { var xxx_messageInfo_ValueField proto.InternalMessageInfo +// DelegatedSingleAssetInfo is a single asset info that is delegated by a staker. type DelegatedSingleAssetInfo struct { - AssetID string `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` + // asset_id is the asset id. + AssetID string `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` + // total_delegated_amount is the total amount of the asset delegated. 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"` + // per_operator_amounts is the amount of the asset delegated to each operator. + 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{} } @@ -122,7 +128,9 @@ func (m *DelegatedSingleAssetInfo) GetPerOperatorAmounts() map[string]*ValueFiel return nil } +// ClientChainEarningAddrList is the list of client chain earning addresses. type ClientChainEarningAddrList struct { + // earning_info_list is the contents of ClientChainEarningAddrList. EarningInfoList []*ClientChainEarningAddrInfo `protobuf:"bytes,1,rep,name=earning_info_list,json=earningInfoList,proto3" json:"earning_info_list,omitempty"` } @@ -166,8 +174,11 @@ func (m *ClientChainEarningAddrList) GetEarningInfoList() []*ClientChainEarningA return nil } +// ClientChainEarningAddrInfo is the client chain earning address info. type ClientChainEarningAddrInfo struct { - LzClientChainID uint64 `protobuf:"varint,1,opt,name=lz_client_chain_id,json=lzClientChainId,proto3" json:"lz_client_chain_id,omitempty"` + // lz_client_chain_id is the layer0 client chain id. + LzClientChainID uint64 `protobuf:"varint,1,opt,name=lz_client_chain_id,json=lzClientChainId,proto3" json:"lz_client_chain_id,omitempty"` + // client_chain_earning_addr is the client chain earning address. ClientChainEarningAddr string `protobuf:"bytes,2,opt,name=client_chain_earning_addr,json=clientChainEarningAddr,proto3" json:"client_chain_earning_addr,omitempty"` } @@ -218,10 +229,15 @@ func (m *ClientChainEarningAddrInfo) GetClientChainEarningAddr() string { return "" } +// OperatorInfo is the operator info. type OperatorInfo struct { - 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"` + // earnings_addr is the earnings address. + EarningsAddr string `protobuf:"bytes,1,opt,name=earnings_addr,json=earningsAddr,proto3" json:"earnings_addr,omitempty"` + // approve_addr is the approve address. + ApproveAddr string `protobuf:"bytes,2,opt,name=approve_addr,json=approveAddr,proto3" json:"approve_addr,omitempty"` + // operator_meta_info is the operator meta info. + OperatorMetaInfo string `protobuf:"bytes,3,opt,name=operator_meta_info,json=operatorMetaInfo,proto3" json:"operator_meta_info,omitempty"` + // client_chain_earning_addr_list is the client chain earning address list. ClientChainEarningsAddr *ClientChainEarningAddrList `protobuf:"bytes,4,opt,name=client_chain_earnings_addr,json=clientChainEarningsAddr,proto3" json:"client_chain_earnings_addr,omitempty"` } @@ -286,9 +302,12 @@ func (m *OperatorInfo) GetClientChainEarningsAddr() *ClientChainEarningAddrList return nil } +// RegisterOperatorReq is the request to register a new operator. type RegisterOperatorReq struct { - 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"` + // from_address is the address of the operator (sdk.AccAddress). + FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` + // info is the operator info. + Info *OperatorInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` } func (m *RegisterOperatorReq) Reset() { *m = RegisterOperatorReq{} } @@ -324,9 +343,12 @@ func (m *RegisterOperatorReq) XXX_DiscardUnknown() { var xxx_messageInfo_RegisterOperatorReq proto.InternalMessageInfo +// DelegationApproveInfo is the delegation approve info. type DelegationApproveInfo struct { + // signature of the delegation approve info. Signature string `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` - Salt string `protobuf:"bytes,2,opt,name=salt,proto3" json:"salt,omitempty"` + // salt within the signature. + Salt string `protobuf:"bytes,2,opt,name=salt,proto3" json:"salt,omitempty"` } func (m *DelegationApproveInfo) Reset() { *m = DelegationApproveInfo{} } @@ -376,6 +398,7 @@ func (m *DelegationApproveInfo) GetSalt() string { return "" } +// RegisterOperatorResponse is the response to a register operator request. type RegisterOperatorResponse struct { } @@ -412,8 +435,11 @@ func (m *RegisterOperatorResponse) XXX_DiscardUnknown() { var xxx_messageInfo_RegisterOperatorResponse proto.InternalMessageInfo +// DelegationIncOrDecInfo is the delegation increase or decrease info. type DelegationIncOrDecInfo struct { - FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` + // from_address is the staker address + FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` + // per_operator_amounts is the amount of the asset delegated to each operator. 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"` } @@ -450,9 +476,12 @@ func (m *DelegationIncOrDecInfo) XXX_DiscardUnknown() { var xxx_messageInfo_DelegationIncOrDecInfo proto.InternalMessageInfo +// MsgDelegation is the delegation Msg. type MsgDelegation struct { - 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"` + // base_info is the delegation increase or decrease request container. + BaseInfo *DelegationIncOrDecInfo `protobuf:"bytes,1,opt,name=base_info,json=baseInfo,proto3" json:"base_info,omitempty"` + // approved_info is the delegation increase or decrease response container. + ApprovedInfo *DelegationApproveInfo `protobuf:"bytes,2,opt,name=approved_info,json=approvedInfo,proto3" json:"approved_info,omitempty"` } func (m *MsgDelegation) Reset() { *m = MsgDelegation{} } @@ -502,16 +531,29 @@ func (m *MsgDelegation) GetApprovedInfo() *DelegationApproveInfo { return nil } +// UndelegationRecord is the undelegation record, keyed by a RecordKey. type UndelegationRecord struct { - 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"` + // staker_id is the staker id. + StakerID string `protobuf:"bytes,1,opt,name=staker_id,json=stakerId,proto3" json:"staker_id,omitempty"` + // asset_id is the asset id. + AssetID string `protobuf:"bytes,2,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` + // operator_addr is the operator address. + OperatorAddr string `protobuf:"bytes,3,opt,name=operator_addr,json=operatorAddr,proto3" json:"operator_addr,omitempty"` + // tx_hash is the transaction hash on the client chain. + TxHash string `protobuf:"bytes,4,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` + // is_pending is the flag to indicate if the undelegation is pending. + IsPending bool `protobuf:"varint,5,opt,name=is_pending,json=isPending,proto3" json:"is_pending,omitempty"` + // block_number is the block number on Exocore. + BlockNumber uint64 `protobuf:"varint,6,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` + // complete_block_number is the block number on Exocore at which the undelegation + // should be completed. + CompleteBlockNumber uint64 `protobuf:"varint,7,opt,name=complete_block_number,json=completeBlockNumber,proto3" json:"complete_block_number,omitempty"` + // lz_tx_nonce is the nonce of the transaction on the client chain. + LzTxNonce uint64 `protobuf:"varint,8,opt,name=lz_tx_nonce,json=lzTxNonce,proto3" json:"lz_tx_nonce,omitempty"` + // amount is the amount of the asset to be undelegated. + 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"` + // actual_completed_amount is the actual amount of the asset that has been + // undelegated so far. it may be lower than the amount in the case of slashing. 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"` } @@ -604,7 +646,9 @@ func (m *UndelegationRecord) GetLzTxNonce() uint64 { return 0 } +// UndelegationRecordKeyList is the list of undelegation records. type UndelegationRecordKeyList struct { + // key_list is the list of undelegation record keys. KeyList []string `protobuf:"bytes,1,rep,name=key_list,json=keyList,proto3" json:"key_list,omitempty"` } @@ -648,6 +692,7 @@ func (m *UndelegationRecordKeyList) GetKeyList() []string { return nil } +// DelegationResponse is the response to a delegation request. type DelegationResponse struct { } @@ -684,7 +729,9 @@ func (m *DelegationResponse) XXX_DiscardUnknown() { var xxx_messageInfo_DelegationResponse proto.InternalMessageInfo +// MsgUndelegation is the undelegation Msg. type MsgUndelegation struct { + // base_info is the delegation increase or decrease request container. BaseInfo *DelegationIncOrDecInfo `protobuf:"bytes,1,opt,name=base_info,json=baseInfo,proto3" json:"base_info,omitempty"` } @@ -728,6 +775,7 @@ func (m *MsgUndelegation) GetBaseInfo() *DelegationIncOrDecInfo { return nil } +// UndelegationResponse is the response to an undelegation request. type UndelegationResponse struct { } @@ -787,83 +835,83 @@ func init() { func init() { proto.RegisterFile("exocore/delegation/v1/tx.proto", fileDescriptor_16596a15a828f109) } var fileDescriptor_16596a15a828f109 = []byte{ - // 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, 0xc4, 0x60, 0x80, 0x44, 0xbb, 0x74, 0x10, 0x58, 0xbb, 0xe1, 0x0d, - 0x0e, 0x48, 0x93, 0xe5, 0xd8, 0xaf, 0x8e, 0x89, 0xf3, 0x5e, 0xf0, 0x7b, 0xe9, 0x92, 0x72, 0x41, - 0x9c, 0x10, 0x27, 0xae, 0x88, 0xcb, 0xf8, 0x07, 0xd0, 0x0e, 0xfb, 0x07, 0xb8, 0xed, 0x38, 0xed, - 0x84, 0x90, 0xa8, 0x50, 0x76, 0x18, 0x7f, 0x00, 0x47, 0x0e, 0xc8, 0xef, 0xd9, 0xb1, 0xb3, 0x26, - 0x2b, 0x13, 0x3d, 0x70, 0x49, 0xec, 0xef, 0xaf, 0xcf, 0xf7, 0xf7, 0x7b, 0x86, 0x32, 0xee, 0x53, - 0x93, 0x7a, 0xb8, 0x66, 0x61, 0x17, 0xdb,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b4, 0xb9, 0xb6, 0x64, 0xa9, 0x79, 0x40, 0xf5, 0x98, 0x56, 0xb0, - 0xa1, 0xee, 0xc0, 0xc2, 0x16, 0xb3, 0xe3, 0x06, 0x8f, 0x72, 0x46, 0xd4, 0x25, 0xc8, 0x8f, 0x3b, - 0x2b, 0x61, 0xd7, 0x7e, 0x4f, 0x42, 0x6a, 0x8b, 0xd9, 0x88, 0xc2, 0xf1, 0x67, 0x97, 0x27, 0x5a, - 0x99, 0x02, 0x36, 0xe1, 0xcc, 0x29, 0xd5, 0xfe, 0xb5, 0xac, 0x04, 0x46, 0x5f, 0x40, 0x21, 0xbc, - 0x7e, 0x89, 0x99, 0xb8, 0x4d, 0x47, 0xb8, 0xaf, 0x4e, 0xb1, 0x35, 0xb6, 0x41, 0x4a, 0xe7, 0x0f, - 0x4d, 0xc5, 0x08, 0xcb, 0x83, 0x97, 0x46, 0xc1, 0x4b, 0x34, 0xff, 0x78, 0x1a, 0xe1, 0x9d, 0x9d, - 0x8e, 0x17, 0xcf, 0x59, 0xe9, 0xf5, 0x29, 0x72, 0x93, 0x12, 0x5b, 0x3a, 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, + // 1207 bytes of a gzipped FileDescriptorProto + 0x1f, 0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0xda, 0x04, 0xf8, 0xcc, 0x70, 0x7b, 0xf8, + 0x9a, 0x83, 0x5d, 0x0b, 0xdd, 0x86, 0x59, 0xa3, 0x43, 0x7b, 0x84, 0x17, 0x95, 0x53, 0xca, 0xb9, + 0xcc, 0xc6, 0xbb, 0x0f, 0xf7, 0x2b, 0x89, 0xdf, 0xf6, 0x2b, 0x67, 0x6d, 0x87, 0xb7, 0x7a, 0xcd, + 0xaa, 0x49, 0x3b, 0x01, 0x68, 0xf0, 0x6f, 0x95, 0x59, 0xed, 0x1a, 0x1f, 0x74, 0x31, 0xab, 0x36, + 0x08, 0x7f, 0xfc, 0x60, 0x15, 0x02, 0xce, 0x06, 0xe1, 0x5a, 0x80, 0xa5, 0xfe, 0x98, 0x82, 0x62, + 0x5d, 0xa6, 0x84, 0xad, 0x5b, 0x0e, 0xb1, 0x5d, 0xbc, 0xce, 0x18, 0xe6, 0x0d, 0xb2, 0x43, 0xd1, + 0x59, 0x48, 0x1b, 0xfe, 0x83, 0xee, 0x58, 0x01, 0x69, 0x76, 0xb8, 0x5f, 0x99, 0x93, 0x06, 0x75, + 0x6d, 0x4e, 0x28, 0x1b, 0x16, 0xf2, 0x60, 0x89, 0x53, 0x6e, 0xb8, 0xba, 0x15, 0x22, 0xe9, 0x41, + 0xa8, 0xc9, 0x23, 0x08, 0x35, 0x2f, 0xb0, 0x47, 0x41, 0xae, 0x0b, 0x64, 0x34, 0x80, 0x7c, 0x17, + 0x7b, 0x3a, 0xed, 0x62, 0xcf, 0xe0, 0xd4, 0x0b, 0x08, 0x59, 0x31, 0x75, 0x2a, 0x75, 0x2e, 0xbb, + 0xf6, 0x41, 0x75, 0x62, 0xbf, 0xaa, 0xd3, 0x52, 0xad, 0xde, 0xc4, 0xde, 0x8d, 0x00, 0x4a, 0x12, + 0xb0, 0x4d, 0xc2, 0xbd, 0x81, 0x86, 0xba, 0x07, 0x14, 0xa5, 0x16, 0x14, 0xa6, 0x98, 0xa3, 0xe3, + 0x90, 0x6a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x9d, 0x82, 0x35, 0xb6, 0x41, 0x4a, + 0xe7, 0x0f, 0x2d, 0xc5, 0x88, 0xcb, 0x83, 0x97, 0x46, 0xc9, 0x4b, 0x36, 0xff, 0x7a, 0x1a, 0xf1, + 0x9d, 0x9d, 0xce, 0x17, 0xaf, 0x59, 0xe9, 0xf5, 0x29, 0x76, 0x93, 0x0a, 0x5b, 0x3a, 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, + 0xcd, 0xe2, 0xa6, 0xc4, 0xdd, 0xc6, 0xfc, 0x2e, 0xf5, 0xda, 0xb5, 0xf0, 0xeb, 0xa3, 0x1f, 0xff, + 0xfe, 0x10, 0xd3, 0xd9, 0x9c, 0x15, 0x1f, 0x03, 0x6f, 0xfc, 0x13, 0x00, 0x00, 0xff, 0xff, 0x26, + 0x9a, 0x38, 0xa1, 0xa2, 0x0c, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/deposit/types/deposit.pb.go b/x/deposit/types/deposit.pb.go index 7dd66f3bb..7b6c68395 100644 --- a/x/deposit/types/deposit.pb.go +++ b/x/deposit/types/deposit.pb.go @@ -25,7 +25,9 @@ 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=exocore_lz_app_address,json=exocoreLzAppAddress,proto3" json:"exocore_lz_app_address,omitempty"` + // exocore_lz_app_address is the address of the exocore lz app. + ExoCoreLzAppAddress string `protobuf:"bytes,1,opt,name=exocore_lz_app_address,json=exocoreLzAppAddress,proto3" json:"exocore_lz_app_address,omitempty"` + // exocore_lz_app_event_topic is the topic of the exocore lz app event. ExoCoreLzAppEventTopic string `protobuf:"bytes,2,opt,name=exocore_lz_app_event_topic,json=exocoreLzAppEventTopic,proto3" json:"exocore_lz_app_event_topic,omitempty"` } diff --git a/x/deposit/types/query.pb.go b/x/deposit/types/query.pb.go index a13c1ed80..becbd9a79 100644 --- a/x/deposit/types/query.pb.go +++ b/x/deposit/types/query.pb.go @@ -68,6 +68,7 @@ var xxx_messageInfo_QueryParamsRequest proto.InternalMessageInfo // QueryParamsResponse is the response type for the Query/Params RPC // method. type QueryParamsResponse struct { + // params defines the parameters for this module. Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` } @@ -119,24 +120,24 @@ func init() { func init() { proto.RegisterFile("exocore/deposit/v1/query.proto", fileDescriptor_715f16e6b5833923) } var fileDescriptor_715f16e6b5833923 = []byte{ - // 264 bytes of a gzipped FileDescriptorProto + // 263 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, 0x98, 0x08, 0xd3, 0x0c, 0x56, 0xa1, 0x24, 0xc2, 0x25, 0x14, 0x08, 0xb2, 0x22, 0x20, 0xb1, - 0x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, + 0xe7, 0xa7, 0xe7, 0xa4, 0xea, 0x27, 0x16, 0x64, 0xea, 0x27, 0xe6, 0xe5, 0xe5, 0x97, 0x24, 0x96, + 0x64, 0xe6, 0xe7, 0x15, 0x43, 0x64, 0x95, 0x44, 0xb8, 0x84, 0x02, 0x41, 0x56, 0x04, 0x24, 0x16, + 0x25, 0xe6, 0x16, 0x07, 0xa5, 0x16, 0x96, 0xa6, 0x16, 0x97, 0x28, 0x79, 0x72, 0x09, 0xa3, 0x88, + 0x16, 0x17, 0xe4, 0xe7, 0x15, 0xa7, 0x0a, 0x19, 0x71, 0xb1, 0x15, 0x80, 0x45, 0x24, 0x18, 0x15, + 0x18, 0x35, 0xb8, 0x8d, 0xa4, 0xf4, 0x30, 0x5d, 0xa4, 0x07, 0xd5, 0x03, 0x55, 0x69, 0xd4, 0xc6, + 0xc8, 0xc5, 0x0a, 0x36, 0x4b, 0xa8, 0x96, 0x8b, 0x0d, 0x22, 0x27, 0xa4, 0x86, 0x4d, 0x1f, 0xa6, + 0x33, 0xa4, 0xd4, 0x09, 0xaa, 0x83, 0x38, 0x4c, 0x49, 0xa9, 0xe9, 0xf2, 0x93, 0xc9, 0x4c, 0x32, + 0x42, 0x52, 0xfa, 0x58, 0x82, 0x03, 0xa2, 0xd6, 0xc9, 0xfb, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, + 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, + 0x8f, 0xe5, 0x18, 0xa2, 0x0c, 0xd3, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, + 0x5d, 0x21, 0xfa, 0xfd, 0x52, 0x4b, 0xca, 0xf3, 0x8b, 0xb2, 0xe1, 0xc6, 0x55, 0xc0, 0x0d, 0x2c, + 0xa9, 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, 0x87, 0x9e, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x59, + 0x1e, 0x95, 0x6f, 0xb3, 0x01, 0x00, 0x00, } // 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 89a03e49b..1ea759566 100644 --- a/x/deposit/types/tx.pb.go +++ b/x/deposit/types/tx.pb.go @@ -139,23 +139,23 @@ var fileDescriptor_d4939a0226905392 = []byte{ 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, 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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0x3e, 0x84, 0x03, 0x95, 0x52, + 0xc0, 0x62, 0x09, 0xcc, 0x48, 0x88, 0x0a, 0x91, 0xf4, 0xfc, 0xf4, 0x7c, 0x88, 0x4e, 0x10, 0x0b, + 0x22, 0xaa, 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, 0x30, 0x3d, 0xa7, 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, 0x8f, 0x8b, 0xd9, 0xb7, 0x38, 0x5d, 0x28, 0x81, + 0x8b, 0x07, 0xc5, 0xcd, 0xca, 0xd8, 0xec, 0x42, 0x33, 0x43, 0x4a, 0x9b, 0x08, 0x45, 0x30, 0x8b, + 0xa4, 0x58, 0x1b, 0x9e, 0x6f, 0xd0, 0x62, 0x74, 0xf2, 0x3e, 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, 0xc3, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, + 0x57, 0x88, 0xb9, 0x7e, 0xa9, 0x25, 0xe5, 0xf9, 0x45, 0xd9, 0xfa, 0xb0, 0xc8, 0xa8, 0x80, 0x47, + 0x47, 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0x38, 0xd0, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff, + 0xff, 0x1b, 0x3a, 0x48, 0x09, 0x13, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/native_token/types/tx.pb.go b/x/native_token/types/tx.pb.go index 7f23bb815..e373d9728 100644 --- a/x/native_token/types/tx.pb.go +++ b/x/native_token/types/tx.pb.go @@ -61,11 +61,17 @@ func (ValidatorInfo_ValidatorStatus) EnumDescriptor() ([]byte, []int) { return fileDescriptor_769c53c072051eb9, []int{0, 0} } +// ValidatorInfo is the information about a validator. 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=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"` + // status is the validator's status as an enum. + Status ValidatorInfo_ValidatorStatus `protobuf:"varint,1,opt,name=status,proto3,enum=exocore.native_token.v1.ValidatorInfo_ValidatorStatus" json:"status,omitempty"` + // validator_index is the index of the validator in the set of validators. + ValidatorIndex uint64 `protobuf:"varint,2,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty"` + // staked_balance_gwei is the amount of native token staked by the validator in gwei. + 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"` + // most_recent_balance_update_block_number is the block number at which the + // validator's balance was last updated. + 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{} } @@ -122,11 +128,16 @@ func (m *ValidatorInfo) GetMostRecentBalanceUpdateBlockNumber() uint64 { return 0 } +// NativeTokenStakerInfo is the information about a native token staker. type NativeTokenStakerInfo struct { + // total_validator_balances is the total amount of native token staked. 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"` + // unstaked_value_from_pod is the value unstaked from the pod. + UnstakedValueFromPod github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=unstaked_value_from_pod,json=unstakedValueFromPod,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"unstaked_value_from_pod"` + // pod_address is the pod address. + PodAddress string `protobuf:"bytes,3,opt,name=pod_address,json=podAddress,proto3" json:"pod_address,omitempty"` + // validators_info is the information about the validators, indexed by address. + 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{} } @@ -186,50 +197,49 @@ func init() { func init() { proto.RegisterFile("exocore/native_token/v1/tx.proto", fileDescriptor_769c53c072051eb9) } var fileDescriptor_769c53c072051eb9 = []byte{ - // 680 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xcd, 0x6e, 0xda, 0x4a, - 0x18, 0xc5, 0xc0, 0x8d, 0x94, 0x89, 0x6e, 0xc2, 0x9d, 0x70, 0x03, 0xf1, 0xbd, 0x05, 0x8b, 0x45, - 0xc2, 0x26, 0xa0, 0xa4, 0x6a, 0xd4, 0x9f, 0x48, 0x15, 0x24, 0xa4, 0xb5, 0x54, 0x39, 0x91, 0x6d, - 0x88, 0xd4, 0xcd, 0xc8, 0xe0, 0x09, 0xb5, 0x0c, 0x1e, 0xe4, 0x19, 0x1c, 0xb2, 0xec, 0x96, 0x6e, - 0xba, 0xea, 0x8e, 0xb7, 0xe8, 0x43, 0x64, 0xd7, 0xa8, 0xab, 0xaa, 0x8b, 0xa8, 0x22, 0x2f, 0x52, - 0x79, 0xc6, 0x04, 0xc8, 0x8f, 0xd4, 0xaa, 0x2b, 0x7b, 0x66, 0xce, 0x39, 0x33, 0x73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- 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, + // 661 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xcd, 0x4e, 0xdb, 0x4c, + 0x14, 0x8d, 0x93, 0x7c, 0x48, 0xdf, 0xa0, 0x42, 0x3a, 0x50, 0x62, 0xdc, 0x36, 0x58, 0x59, 0x40, + 0x36, 0x38, 0x82, 0xaa, 0xa8, 0x3f, 0x48, 0x55, 0x02, 0xa1, 0xb5, 0x54, 0xb9, 0xc8, 0x09, 0x41, + 0xea, 0x66, 0xe4, 0xc4, 0x43, 0x6a, 0x39, 0x99, 0x89, 0x3c, 0x13, 0x13, 0x96, 0xdd, 0x66, 0xd5, + 0x17, 0xc8, 0x5b, 0xf4, 0x21, 0xd8, 0x15, 0x75, 0x55, 0x75, 0x81, 0x2a, 0x78, 0x8e, 0x4a, 0x95, + 0x67, 0x1c, 0x92, 0x34, 0x20, 0x55, 0x62, 0x65, 0xcf, 0xbd, 0xe7, 0x9c, 0xb1, 0xcf, 0x9c, 0x3b, + 0x40, 0xc7, 0x7d, 0xda, 0xa4, 0x01, 0x2e, 0x12, 0x87, 0x7b, 0x21, 0x46, 0x9c, 0xfa, 0x98, 0x14, + 0xc3, 0xad, 0x22, 0xef, 0x1b, 0xdd, 0x80, 0x72, 0x0a, 0xb3, 0x31, 0xc2, 0x98, 0x44, 0x18, 0xe1, + 0x96, 0xb6, 0xda, 0xa4, 0xac, 0x43, 0x19, 0x12, 0xb0, 0xa2, 0x5c, 0x48, 0x8e, 0xb6, 0x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04, 0xb4, 0x73, 0x48, 0x5d, 0xb8, 0x06, + 0xe6, 0xbb, 0xd4, 0x45, 0x8e, 0xeb, 0x06, 0x98, 0x31, 0x99, 0x62, 0x1b, 0x74, 0xa9, 0x5b, 0x92, + 0x15, 0xe8, 0x4f, 0xcc, 0x05, 0x43, 0x1e, 0x39, 0xa1, 0x6a, 0x5a, 0x4f, 0x15, 0xe6, 0xb7, 0xcb, + 0x77, 0x0e, 0xdc, 0xad, 0xb6, 0x8e, 0x07, 0x8f, 0x45, 0xcb, 0x0a, 0xe1, 0xc1, 0xd9, 0xc4, 0x6c, + 0x89, 0xa2, 0xe6, 0x81, 0xa5, 0x5b, 0x60, 0x30, 0x03, 0x52, 0x3e, 0x3e, 0x93, 0xe6, 0xdb, 0xd1, + 0x2b, 0xdc, 0x05, 0xff, 0x09, 0x8b, 0x84, 0x33, 0xf3, 0xdb, 0xeb, 0xff, 0x36, 0xfc, 0xb6, 0x24, + 0xbd, 0x4a, 0xbe, 0x50, 0xca, 0x87, 0xe7, 0x57, 0x39, 0xe5, 0xe2, 0x2a, 0xa7, 0xfc, 0xba, 0xca, + 0x29, 0x5f, 0xae, 0x73, 0x89, 0x8b, 0xeb, 0x5c, 0xe2, 0xc7, 0x75, 0x2e, 0xf1, 0x71, 0x67, 0xc2, + 0xde, 0x8a, 0x94, 0xb5, 0x30, 0x3f, 0xa5, 0x81, 0x5f, 0x1c, 0xdd, 0x78, 0xfd, 0xe9, 0x3b, 0x4f, + 0x58, 0xde, 0x98, 0x13, 0x57, 0xd5, 0xb3, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x92, 0xf9, 0xbe, + 0xe1, 0x18, 0x05, 0x00, 0x00, } func (m *ValidatorInfo) Marshal() (dAtA []byte, err error) { @@ -334,9 +344,9 @@ func (m *NativeTokenStakerInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0x1a } { - size := m.UnStakedValueFromPOS.Size() + size := m.UnstakedValueFromPod.Size() i -= size - if _, err := m.UnStakedValueFromPOS.MarshalTo(dAtA[i:]); err != nil { + if _, err := m.UnstakedValueFromPod.MarshalTo(dAtA[i:]); err != nil { return 0, err } i = encodeVarintTx(dAtA, i, uint64(size)) @@ -395,7 +405,7 @@ func (m *NativeTokenStakerInfo) Size() (n int) { _ = l l = m.TotalValidatorBalances.Size() n += 1 + l + sovTx(uint64(l)) - l = m.UnStakedValueFromPOS.Size() + l = m.UnstakedValueFromPod.Size() n += 1 + l + sovTx(uint64(l)) l = len(m.PodAddress) if l > 0 { @@ -629,7 +639,7 @@ func (m *NativeTokenStakerInfo) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UnStakedValueFromPOS", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field UnstakedValueFromPod", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -657,7 +667,7 @@ func (m *NativeTokenStakerInfo) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := m.UnStakedValueFromPOS.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.UnstakedValueFromPod.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex diff --git a/x/restaking_assets_manage/types/genesis.pb.go b/x/restaking_assets_manage/types/genesis.pb.go index ebc7961f0..818735621 100644 --- a/x/restaking_assets_manage/types/genesis.pb.go +++ b/x/restaking_assets_manage/types/genesis.pb.go @@ -23,9 +23,14 @@ var _ = math.Inf const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // GenesisState defines the restaking_assets_manage module's genesis state. +// TODO: make this state exportable for the case of chain restarts. type GenesisState struct { - 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"` + // default_supported_client_chains is the list of supported client chains, + // that are supported by default. + DefaultSupportedClientChains []*ClientChainInfo `protobuf:"bytes,1,rep,name=default_supported_client_chains,json=defaultSupportedClientChains,proto3" json:"default_supported_client_chains,omitempty"` + // default_supported_client_chain_tokens is the list of supported client chain tokens, + // that are supported by default. + 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{} } diff --git a/x/restaking_assets_manage/types/query.pb.go b/x/restaking_assets_manage/types/query.pb.go index 1b9dc6ac4..48d348813 100644 --- a/x/restaking_assets_manage/types/query.pb.go +++ b/x/restaking_assets_manage/types/query.pb.go @@ -31,7 +31,9 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// QueryClientChainInfo is the query for getting the client chain info by index. type QueryClientChainInfo struct { + // chain_index is the index of the chain. ChainIndex uint64 `protobuf:"varint,1,opt,name=chain_index,json=chainIndex,proto3" json:"chain_index,omitempty"` } @@ -75,6 +77,7 @@ func (m *QueryClientChainInfo) GetChainIndex() uint64 { return 0 } +// QueryAllClientChainInfo is the query for all client chains info. type QueryAllClientChainInfo struct { } @@ -111,7 +114,9 @@ func (m *QueryAllClientChainInfo) XXX_DiscardUnknown() { var xxx_messageInfo_QueryAllClientChainInfo proto.InternalMessageInfo +// QueryAllClientChainInfoResponse is the response for all client chains info. type QueryAllClientChainInfoResponse struct { + // all_client_chain_infos is the all client chain info, indexed by the chain index. 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"` } @@ -155,7 +160,9 @@ func (m *QueryAllClientChainInfoResponse) GetAllClientChainInfos() map[uint64]*C return nil } +// QueryStakingAssetInfo is the query for getting the staking asset info. type QueryStakingAssetInfo struct { + // asset_id is the asset for which the query is made. AssetID string `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` } @@ -199,6 +206,7 @@ func (m *QueryStakingAssetInfo) GetAssetID() string { return "" } +// QueryAllStakingAssetsInfo is the query for getting all staking assets info. type QueryAllStakingAssetsInfo struct { } @@ -235,7 +243,10 @@ func (m *QueryAllStakingAssetsInfo) XXX_DiscardUnknown() { var xxx_messageInfo_QueryAllStakingAssetsInfo proto.InternalMessageInfo +// QueryAllStakingAssetsInfoResponse is the response for all staking assets info, +// indexed by the asset id. type QueryAllStakingAssetsInfoResponse struct { + // all_staking_assets_info is the response for all staking assets info. 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"` } @@ -279,7 +290,9 @@ func (m *QueryAllStakingAssetsInfoResponse) GetAllStakingAssetsInfo() map[string return nil } +// QueryStakerAssetInfo is the query for getting the staker asset info. type QueryStakerAssetInfo struct { + // stake_id is the staker id for which the query is made. StakerID string `protobuf:"bytes,1,opt,name=staker_id,json=stakerId,proto3" json:"staker_id,omitempty"` } @@ -323,7 +336,9 @@ func (m *QueryStakerAssetInfo) GetStakerID() string { return "" } +// QueryAssetInfoResponse is the response for the staker asset info. type QueryAssetInfoResponse struct { + // asset_infos is the response for the staker asset info, indexed by the asset id. 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"` } @@ -367,9 +382,12 @@ func (m *QueryAssetInfoResponse) GetAssetInfos() map[string]*StakerSingleAssetOr return nil } +// QuerySpecifiedAssetAmountReq is the query for getting the staker specified asset amount. type QuerySpecifiedAssetAmountReq struct { + // staker_id is the staker id for which the query is made. 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"` + // asset_id is the asset for which the query is made. + AssetID string `protobuf:"bytes,2,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` } func (m *QuerySpecifiedAssetAmountReq) Reset() { *m = QuerySpecifiedAssetAmountReq{} } @@ -419,7 +437,9 @@ func (m *QuerySpecifiedAssetAmountReq) GetAssetID() string { return "" } +// QueryOperatorAssetInfos is the query for getting the operator asset info. type QueryOperatorAssetInfos struct { + // operator_addr is the operator address for which the query is made. OperatorAddr string `protobuf:"bytes,1,opt,name=operator_addr,json=operatorAddr,proto3" json:"operator_addr,omitempty"` } @@ -463,7 +483,9 @@ func (m *QueryOperatorAssetInfos) GetOperatorAddr() string { return "" } +// QueryOperatorAssetInfosResponse is the response to the operator asset info query. type QueryOperatorAssetInfosResponse struct { + // asset_infos is the response for the operator asset info, indexed by the asset id. 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"` } @@ -507,9 +529,13 @@ func (m *QueryOperatorAssetInfosResponse) GetAssetInfos() map[string]*OperatorSi return nil } +// QueryOperatorSpecifiedAssetAmountReq is the query for getting the operator +// specified asset amount. type QueryOperatorSpecifiedAssetAmountReq struct { + // operator_addr is the operator address for which the query is made. 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"` + // asset_id is the asset for which the query is made. + AssetID string `protobuf:"bytes,2,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` } func (m *QueryOperatorSpecifiedAssetAmountReq) Reset() { *m = QueryOperatorSpecifiedAssetAmountReq{} } @@ -559,6 +585,7 @@ func (m *QueryOperatorSpecifiedAssetAmountReq) GetAssetID() string { return "" } +// QueryStakerExCoreAddr is the query for getting the staker exocore address. type QueryStakerExCoreAddr struct { // 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. @@ -605,7 +632,9 @@ func (m *QueryStakerExCoreAddr) GetStaker() string { return "" } +// QueryStakerExCoreAddrResponse is the response for the staker exocore address query. type QueryStakerExCoreAddrResponse struct { + // exocore_addr is the exocore address of the staker. ExoCoreAddr string `protobuf:"bytes,1,opt,name=exocore_addr,json=exocoreAddr,proto3" json:"exocore_addr,omitempty"` } @@ -675,7 +704,7 @@ func init() { } var fileDescriptor_6d13900d4f268106 = []byte{ - // 1039 bytes of a gzipped FileDescriptorProto + // 1038 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, @@ -685,62 +714,62 @@ var fileDescriptor_6d13900d4f268106 = []byte{ 0xde, 0x4d, 0xc6, 0x1f, 0x37, 0xcf, 0xbc, 0xdf, 0xef, 0x33, 0xfb, 0x3e, 0xaf, 0x0c, 0x35, 0xdc, 0x26, 0x35, 0xe2, 0x61, 0xdd, 0xc3, 0xd4, 0x37, 0xeb, 0x8e, 0x6b, 0x1b, 0x26, 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, 0x0e, 0xfa, 0x10, 0x00, 0x00, + 0x7c, 0x82, 0x54, 0xa1, 0xaf, 0xa5, 0xe8, 0x6b, 0x47, 0xd7, 0x95, 0xab, 0x35, 0x42, 0x0f, 0x08, + 0xe5, 0x76, 0x31, 0x07, 0xca, 0x12, 0x17, 0x1a, 0xec, 0xa4, 0xf3, 0x83, 0x10, 0xbd, 0x2b, 0x91, + 0x8b, 0xdf, 0x16, 0xca, 0x0b, 0x36, 0xb1, 0x09, 0x77, 0x12, 0xfc, 0x12, 0xb7, 0xd7, 0x6c, 0x42, + 0xec, 0x06, 0xd6, 0xcd, 0xa6, 0xa3, 0x9b, 0xae, 0x4b, 0x7c, 0xd3, 0x77, 0x88, 0x2b, 0x02, 0xa8, + 0x37, 0xe1, 0xc2, 0xfd, 0x20, 0x95, 0x52, 0xc3, 0xc1, 0xae, 0x5f, 0xda, 0x37, 0x1d, 0xb7, 0xe2, + 0xee, 0x11, 0x54, 0x80, 0xd9, 0x5a, 0x70, 0x30, 0x1c, 0xd7, 0xc2, 0xed, 0x1c, 0x58, 0x06, 0x2b, + 0x2f, 0x55, 0x61, 0x8d, 0xcb, 0x2d, 0xdc, 0x56, 0x97, 0xe0, 0x15, 0x66, 0x58, 0x6c, 0x34, 0x62, + 0xb6, 0xea, 0x8f, 0x19, 0x58, 0x48, 0x91, 0x55, 0x31, 0x6d, 0x12, 0x97, 0x62, 0xf4, 0x35, 0x80, + 0x8b, 0x66, 0xa3, 0x61, 0xd4, 0x98, 0xdc, 0xe8, 0xc5, 0xda, 0x23, 0x34, 0x07, 0x96, 0xcf, 0xad, + 0x64, 0x57, 0x3f, 0xd7, 0xce, 0x6e, 0xab, 0x76, 0x46, 0x14, 0x6d, 0x58, 0x44, 0xcb, 0xae, 0xef, + 0x75, 0xaa, 0x97, 0xcd, 0x61, 0x89, 0xf2, 0x10, 0xe6, 0xd2, 0x0c, 0xd0, 0x25, 0x78, 0xae, 0x8e, + 0x3b, 0xa2, 0x0f, 0xc1, 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 0x09, 0x7e, 0x4e, 0x98, 0xbf, 0xe8, 0x03, 0xf9, 0xea, 0x92, + 0xc7, 0xb7, 0x32, 0xf9, 0x86, 0xa0, 0xde, 0x0d, 0x8b, 0x2d, 0xa1, 0xe2, 0x48, 0xc5, 0x26, 0x16, + 0x25, 0x26, 0x4d, 0x02, 0xe5, 0x6f, 0x4c, 0x40, 0xbd, 0x23, 0x4c, 0x9a, 0x74, 0xde, 0x1e, 0x6f, + 0xd2, 0x24, 0x54, 0xf2, 0x98, 0x6f, 0x1f, 0xa7, 0x91, 0x2b, 0xba, 0x33, 0x72, 0xc2, 0x69, 0x20, + 0x4f, 0x63, 0x39, 0x98, 0x3a, 0xcc, 0xcf, 0x01, 0x5b, 0xce, 0x7b, 0xfc, 0xdc, 0x67, 0xdc, 0x11, + 0xa7, 0x6d, 0x94, 0xdb, 0xe5, 0x5e, 0xf3, 0xa9, 0x6b, 0xc1, 0x24, 0x65, 0x46, 0x8a, 0xd0, 0x1f, + 0xf2, 0x35, 0xe4, 0xd1, 0xd6, 0x67, 0xbf, 0x74, 0xf3, 0xe0, 0x59, 0x37, 0x0f, 0xfe, 0xee, 0xe6, + 0xc1, 0x57, 0x27, 0xf9, 0x99, 0x67, 0x27, 0xf9, 0x99, 0xbf, 0x4e, 0xf2, 0x33, 0x9f, 0x16, 0x6d, + 0xc7, 0xdf, 0x6f, 0x3d, 0xd0, 0x6a, 0xe4, 0x40, 0x2f, 0xf3, 0x30, 0x77, 0xb1, 0xff, 0x05, 0xf1, + 0xea, 0xfd, 0xa8, 0xed, 0xd4, 0xb8, 0x7e, 0xa7, 0x89, 0xe9, 0x83, 0x0b, 0xec, 0xbf, 0x80, 0x1b, + 0x2f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xcf, 0x87, 0x86, 0xe8, 0xfa, 0x10, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/restaking_assets_manage/types/tx.pb.go b/x/restaking_assets_manage/types/tx.pb.go index e299d2655..b287edae2 100644 --- a/x/restaking_assets_manage/types/tx.pb.go +++ b/x/restaking_assets_manage/types/tx.pb.go @@ -32,15 +32,25 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// ClientChainInfo defines the client chain information. type ClientChainInfo struct { - 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"` + // name of the client chain, like "Ethereum". + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // meta_info about the client chain, like "Ethereum blockchain". + MetaInfo string `protobuf:"bytes,2,opt,name=meta_info,json=metaInfo,proto3" json:"meta_info,omitempty"` + // chain_id of the client chain. Not necessarily the EVM chain id. + ChainId uint64 `protobuf:"varint,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` + // exo_core_chain_index is the index of the client chain within the exosystem. + ExoCoreChainIndex uint64 `protobuf:"varint,4,opt,name=exo_core_chain_index,json=exoCoreChainIndex,proto3" json:"exo_core_chain_index,omitempty"` + // finalization_blocks is the number of blocks to wait for finalization. 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"` + // layer_zero_chain_id is the chain id of the client chain, according to L0. + // https://layerzero.gitbook.io/docs/technical-reference/mainnet/supported-chain-ids + LayerZeroChainID uint64 `protobuf:"varint,6,opt,name=layer_zero_chain_id,json=layerZeroChainId,proto3" json:"layer_zero_chain_id,omitempty"` + // signature_type is the type of signature used to sign the client chain address. + SignatureType string `protobuf:"bytes,7,opt,name=signature_type,json=signatureType,proto3" json:"signature_type,omitempty"` + // client_chain_addr is the length of addresses on the client chain. + AddressLength uint32 `protobuf:"varint,8,opt,name=address_length,json=addressLength,proto3" json:"address_length,omitempty"` } func (m *ClientChainInfo) Reset() { *m = ClientChainInfo{} } @@ -132,15 +142,24 @@ func (m *ClientChainInfo) GetAddressLength() uint32 { return 0 } +// AssetInfo defines the information for an asset to be used in staking. 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=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"` + // name of the asset, like "Tether USD" + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // symbol of the asset, like "USDT" + Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` + // address of the asset on the client chain + Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` + // decimals used in the asset, typically 6 or 18. + Decimals uint32 `protobuf:"varint,4,opt,name=decimals,proto3" json:"decimals,omitempty"` + // total_supply of the asset, to be used in checks. + 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"` + // layer_zero_chain_id is the chain id of the asset, according to L0. + LayerZeroChainID uint64 `protobuf:"varint,6,opt,name=layer_zero_chain_id,json=layerZeroChainId,proto3" json:"layer_zero_chain_id,omitempty"` + // exo_core_chain_index is the index of the client chain within the exosystem. + ExoCoreChainIndex uint64 `protobuf:"varint,7,opt,name=exo_core_chain_index,json=exoCoreChainIndex,proto3" json:"exo_core_chain_index,omitempty"` + // meta_info about the asset, like "Tether USD on Ethereum blockchain". + MetaInfo string `protobuf:"bytes,8,opt,name=meta_info,json=metaInfo,proto3" json:"meta_info,omitempty"` } func (m *AssetInfo) Reset() { *m = AssetInfo{} } @@ -225,8 +244,11 @@ func (m *AssetInfo) GetMetaInfo() string { return "" } +// StakingAssetInfo defines the information for an asset to be used in staking. type StakingAssetInfo struct { - AssetBasicInfo *AssetInfo `protobuf:"bytes,1,opt,name=asset_basic_info,json=assetBasicInfo,proto3" json:"asset_basic_info,omitempty"` + // asset_basic_info is the basic information of the asset. + AssetBasicInfo *AssetInfo `protobuf:"bytes,1,opt,name=asset_basic_info,json=assetBasicInfo,proto3" json:"asset_basic_info,omitempty"` + // staking_total_amount is the total amount of the asset staked. 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"` } @@ -270,9 +292,19 @@ func (m *StakingAssetInfo) GetAssetBasicInfo() *AssetInfo { return nil } +// StakerSingleAssetOrChangeInfo defines the information for a single asset or its change. +// The type is an overloaded type and is used in two contexts: +// 1. A staker's deposited, withdrawable, and currently unbonding amount. +// 2. The values by which #1 is to be changed / has been changed. type StakerSingleAssetOrChangeInfo struct { - 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"` + // total_deposit_amount_or_want_change_value is the total amount of the asset deposited + // or the amount by which it can change. + 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"` + // can_withdraw_amount_or_want_change_value is the amount that can be withdrawn + // or the amount by which it can change. + 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"` + // wait_undelegation_amount_or_want_change_value is the amount that is waiting for undelegation + // or the amount by which it can change. 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"` } @@ -309,7 +341,10 @@ func (m *StakerSingleAssetOrChangeInfo) XXX_DiscardUnknown() { var xxx_messageInfo_StakerSingleAssetOrChangeInfo proto.InternalMessageInfo +// StakerAllAssetsInfo defines the information for all assets of a staker. +// It is indexed by the asset_id. type StakerAllAssetsInfo struct { + // all_assets_state is the state of all assets of the staker. 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"` } @@ -353,10 +388,18 @@ func (m *StakerAllAssetsInfo) GetAllAssetsState() map[string]*StakerSingleAssetO return nil } +// OperatorSingleAssetOrChangeInfo defines the information for a single asset or its change, +// for an operator. It is also overloaded like StakerSingleAssetOrChangeInfo. type OperatorSingleAssetOrChangeInfo struct { + // total_amount_or_want_change_value is the total amount of the asset deposited + // or the amount by which it can change. 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"` + // operator_own_amount_or_want_change_value is the amount that the operator owns + // or the amount by which it can change. // 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=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"` + 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"` + // wait_undelegation_amount_or_want_change_value is the amount that is waiting for undelegation + // or the amount by which it can change. 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"` } @@ -393,7 +436,10 @@ func (m *OperatorSingleAssetOrChangeInfo) XXX_DiscardUnknown() { var xxx_messageInfo_OperatorSingleAssetOrChangeInfo proto.InternalMessageInfo +// OperatorAllAssetsInfo defines the information for all assets of an operator, +// indexed by the asset_id. type OperatorAllAssetsInfo struct { + // all_assets_state is the state of all assets of the operator. 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"` } @@ -437,11 +483,19 @@ func (m *OperatorAllAssetsInfo) GetAllAssetsState() map[string]*OperatorSingleAs return nil } +// MsgSetExoCoreAddr defines the MsgSetExoCoreAddr message used to set the +// exocore address of the staker. type MsgSetExoCoreAddr struct { - 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"` + // from_address is the address of the staker. + FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` + // set_address is the address to be set. + SetAddress string `protobuf:"bytes,2,opt,name=set_address,json=setAddress,proto3" json:"set_address,omitempty"` + // client_chain_addr is the address of the client chain. + ClientChainAddr string `protobuf:"bytes,3,opt,name=client_chain_addr,json=clientChainAddr,proto3" json:"client_chain_addr,omitempty"` + // client_chain_index is the index of the client chain within the exosystem. + ClientChainIndex uint64 `protobuf:"varint,4,opt,name=client_chain_index,json=clientChainIndex,proto3" json:"client_chain_index,omitempty"` + // staker_client_chain_signature is the signature of the staker's address + // on the client chain. StakerClientChainSignature string `protobuf:"bytes,5,opt,name=staker_client_chain_signature,json=stakerClientChainSignature,proto3" json:"staker_client_chain_signature,omitempty"` } @@ -478,6 +532,8 @@ func (m *MsgSetExoCoreAddr) XXX_DiscardUnknown() { var xxx_messageInfo_MsgSetExoCoreAddr proto.InternalMessageInfo +// MsgSetExoCoreAddrResponse defines the MsgSetExoCoreAddrResponse message used to return the +// response of the MsgSetExoCoreAddr message. type MsgSetExoCoreAddrResponse struct { } @@ -514,9 +570,12 @@ func (m *MsgSetExoCoreAddrResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgSetExoCoreAddrResponse proto.InternalMessageInfo +// RegisterClientChainReq is a request to register a client chain. type RegisterClientChainReq struct { - 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"` + // from_address is the address of the message sender. + FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` + // info is the information of the client chain. + Info *ClientChainInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` } func (m *RegisterClientChainReq) Reset() { *m = RegisterClientChainReq{} } @@ -552,6 +611,7 @@ func (m *RegisterClientChainReq) XXX_DiscardUnknown() { var xxx_messageInfo_RegisterClientChainReq proto.InternalMessageInfo +// RegisterClientChainResponse is the response to the RegisterClientChainReq message. type RegisterClientChainResponse struct { } @@ -588,9 +648,13 @@ func (m *RegisterClientChainResponse) XXX_DiscardUnknown() { var xxx_messageInfo_RegisterClientChainResponse proto.InternalMessageInfo +// RegisterAssetReq is a request to register an asset on the client chain within +// Exocore. type RegisterAssetReq struct { - 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"` + // from_address is the address of the message sender. + FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` + // info is the information of the asset. + Info *AssetInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` } func (m *RegisterAssetReq) Reset() { *m = RegisterAssetReq{} } @@ -626,6 +690,7 @@ func (m *RegisterAssetReq) XXX_DiscardUnknown() { var xxx_messageInfo_RegisterAssetReq proto.InternalMessageInfo +// RegisterAssetResponse is the response to the RegisterAssetReq message. type RegisterAssetResponse struct { } @@ -685,86 +750,86 @@ func init() { } var fileDescriptor_b24e66e530cc30d1 = []byte{ - // 1252 bytes of a gzipped FileDescriptorProto + // 1251 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, 0x59, 0xc7, 0xdb, 0xd8, 0xa9, - 0xf3, 0xa7, 0x07, 0x2e, 0xc9, 0xce, 0x9b, 0xf7, 0xe7, 0xf7, 0xde, 0xfb, 0xcd, 0xcc, 0x33, 0x78, - 0x1d, 0x35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7a, 0xa3, 0xcf, 0xf4, 0xe3, 0xb6, 0x3b, 0x63, 0xb3, + 0xef, 0x1d, 0xd9, 0x56, 0x81, 0xba, 0xaf, 0x81, 0x91, 0x48, 0x15, 0xf5, 0x37, 0x0f, 0xe3, 0x32, + 0xe4, 0x50, 0xf6, 0xc6, 0x11, 0xac, 0x24, 0x84, 0xec, 0xa9, 0xfb, 0xbb, 0x1b, 0x93, 0xda, 0xec, + 0x67, 0x8f, 0xb6, 0x73, 0xda, 0xe3, 0xed, 0x9c, 0xf6, 0x64, 0x3b, 0xa7, 0x7d, 0xbf, 0x93, 0x8b, + 0x3d, 0xde, 0xc9, 0xc5, 0x7e, 0xdf, 0xc9, 0xc5, 0xee, 0x96, 0x3b, 0x1e, 0xab, 0x39, 0x19, 0xe5, + 0x23, 0xc4, 0x1a, 0x24, 0x58, 0x2b, 0x85, 0x77, 0x40, 0xb3, 0xe7, 0x2f, 0x72, 0xf1, 0x96, 0x2d, + 0x9f, 0x16, 0xbf, 0x88, 0xaf, 0xfd, 0x17, 0x00, 0x00, 0xff, 0xff, 0x0b, 0x33, 0xb6, 0xf5, 0xc1, + 0x0f, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/reward/types/genesis.pb.go b/x/reward/types/genesis.pb.go index 0d0363ec8..4564eb397 100644 --- a/x/reward/types/genesis.pb.go +++ b/x/reward/types/genesis.pb.go @@ -25,6 +25,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // GenesisState defines the reward module's genesis state. type GenesisState struct { + // params represents the parameters of the module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` } @@ -75,20 +76,20 @@ func init() { func init() { proto.RegisterFile("exocore/reward/genesis.proto", fileDescriptor_4ccfae99a1ae8f42) } var fileDescriptor_4ccfae99a1ae8f42 = []byte{ - // 195 bytes of a gzipped FileDescriptorProto + // 194 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, 0x4a, 0x2d, 0x4f, 0x2c, 0x4a, 0xd1, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x83, 0xca, 0xea, 0x41, 0x64, 0xa5, - 0x44, 0xd2, 0xf3, 0xd3, 0xf3, 0xc1, 0x52, 0xfa, 0x20, 0x16, 0x44, 0x95, 0x94, 0x34, 0x9a, 0x19, - 0x05, 0x89, 0x45, 0x89, 0xb9, 0x50, 0x23, 0x94, 0x5c, 0xb8, 0x78, 0xdc, 0x21, 0x66, 0x06, 0x97, - 0x24, 0x96, 0xa4, 0x0a, 0x99, 0x70, 0xb1, 0x41, 0xe4, 0x25, 0x18, 0x15, 0x18, 0x35, 0xb8, 0x8d, - 0xc4, 0xf4, 0x50, 0xed, 0xd0, 0x0b, 0x00, 0xcb, 0x3a, 0xb1, 0x9c, 0xb8, 0x27, 0xcf, 0x10, 0x04, - 0x55, 0xeb, 0xe4, 0x75, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, - 0x4e, 0x78, 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0x06, 0xe9, - 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0xae, 0x10, 0x93, 0xfc, 0x52, 0x4b, - 0xca, 0xf3, 0x8b, 0xb2, 0xf5, 0x61, 0xce, 0xaa, 0x80, 0x39, 0xac, 0xa4, 0xb2, 0x20, 0xb5, 0x38, - 0x89, 0x0d, 0xec, 0x30, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x52, 0x1d, 0xec, 0xf9, 0xfb, - 0x00, 0x00, 0x00, + 0xa4, 0xd1, 0x54, 0x17, 0x24, 0x16, 0x25, 0xe6, 0x42, 0x15, 0x4b, 0x89, 0xa4, 0xe7, 0xa7, 0xe7, + 0x83, 0x99, 0xfa, 0x20, 0x16, 0x44, 0x54, 0xc9, 0x85, 0x8b, 0xc7, 0x1d, 0x62, 0x66, 0x70, 0x49, + 0x62, 0x49, 0xaa, 0x90, 0x09, 0x17, 0x1b, 0x44, 0x97, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0xb7, 0x91, + 0x98, 0x1e, 0xaa, 0x1d, 0x7a, 0x01, 0x60, 0x59, 0x27, 0x96, 0x13, 0xf7, 0xe4, 0x19, 0x82, 0xa0, + 0x6a, 0x9d, 0xbc, 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, 0x20, 0x3d, + 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0xdf, 0x15, 0x62, 0x92, 0x5f, 0x6a, 0x49, + 0x79, 0x7e, 0x51, 0xb6, 0x3e, 0xcc, 0xb1, 0x15, 0x30, 0xe7, 0x96, 0x54, 0x16, 0xa4, 0x16, 0x27, + 0xb1, 0x81, 0x1d, 0x66, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xbe, 0xa2, 0x6c, 0x2d, 0xfb, 0x00, + 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/reward/types/params.pb.go b/x/reward/types/params.pb.go index 2eee77c1d..05e43f3d2 100644 --- a/x/reward/types/params.pb.go +++ b/x/reward/types/params.pb.go @@ -24,7 +24,9 @@ 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=exo_core_lz_app_address,json=exoCoreLzAppAddress,proto3" json:"exo_core_lz_app_address,omitempty"` + // exo_core_lz_app_address is the address of the L0 app. + ExoCoreLzAppAddress string `protobuf:"bytes,1,opt,name=exo_core_lz_app_address,json=exoCoreLzAppAddress,proto3" json:"exo_core_lz_app_address,omitempty"` + // exo_core_lz_app_event_topic is the topic of the L0 app. ExoCoreLzAppEventTopic string `protobuf:"bytes,2,opt,name=exo_core_lz_app_event_topic,json=exoCoreLzAppEventTopic,proto3" json:"exo_core_lz_app_event_topic,omitempty"` } diff --git a/x/reward/types/query.pb.go b/x/reward/types/query.pb.go index db0a870f4..13c3882c3 100644 --- a/x/reward/types/query.pb.go +++ b/x/reward/types/query.pb.go @@ -122,20 +122,20 @@ var fileDescriptor_03321eafc9126bed = []byte{ // 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, + 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x83, 0xca, 0xe9, 0x41, 0xe4, 0xa4, 0xa4, 0xd1, + 0xd4, 0x16, 0x24, 0x16, 0x25, 0xe6, 0x16, 0x43, 0x14, 0x4b, 0xc9, 0xa4, 0xe7, 0xe7, 0xa7, 0xe7, + 0xa4, 0xea, 0x27, 0x16, 0x64, 0xea, 0x27, 0xe6, 0xe5, 0xe5, 0x97, 0x24, 0x96, 0x64, 0xe6, 0xe7, + 0x41, 0x65, 0x95, 0x44, 0xb8, 0x84, 0x02, 0x41, 0x26, 0x07, 0x80, 0xb5, 0x04, 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, + 0xe9, 0x71, 0xb1, 0x41, 0x8c, 0x96, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x36, 0x12, 0xd3, 0x43, 0x75, + 0x88, 0x1e, 0x54, 0x3d, 0x54, 0x95, 0x51, 0x15, 0x17, 0x2b, 0xd8, 0x18, 0xa1, 0x42, 0x2e, 0x36, + 0x88, 0x94, 0x90, 0x12, 0xba, 0x16, 0x4c, 0xdb, 0xa5, 0x94, 0xf1, 0xaa, 0x81, 0xb8, 0x45, 0x49, + 0xae, 0xe9, 0xf2, 0x93, 0xc9, 0x4c, 0x12, 0x42, 0x62, 0xfa, 0x58, 0x3d, 0xef, 0xe4, 0x75, 0xe2, + 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x4e, 0x78, 0x2c, 0xc7, 0x70, + 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0x06, 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, + 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0xae, 0x10, 0xbd, 0x7e, 0xa9, 0x25, 0xe5, 0xf9, 0x45, 0xd9, 0x70, + 0xa3, 0x2a, 0x60, 0x86, 0x95, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0xc3, 0xca, 0x18, 0x10, + 0x00, 0x00, 0xff, 0xff, 0xda, 0x66, 0x92, 0x77, 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 0c0785142..19052baa8 100644 --- a/x/reward/types/tx.pb.go +++ b/x/reward/types/tx.pb.go @@ -137,24 +137,24 @@ var fileDescriptor_9cd4863caedb1c8f = []byte{ // 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, 0x44, 0xd2, 0xf3, 0xd3, 0xf3, - 0xc1, 0x52, 0xfa, 0x20, 0x16, 0x44, 0x95, 0x94, 0x64, 0x72, 0x7e, 0x71, 0x6e, 0x7e, 0x71, 0x3c, - 0x44, 0x02, 0xc2, 0x81, 0x4a, 0x89, 0x43, 0x78, 0xfa, 0xb9, 0xc5, 0xe9, 0xfa, 0x65, 0x86, 0x20, - 0x0a, 0x2a, 0x21, 0x8d, 0x66, 0x65, 0x41, 0x62, 0x51, 0x62, 0x2e, 0x54, 0x97, 0x52, 0x3f, 0x23, - 0x17, 0xbf, 0x6f, 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,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xd2, 0x68, 0x86, 0x17, 0x24, 0x16, 0x25, 0xe6, + 0xc2, 0x24, 0x45, 0xd2, 0xf3, 0xd3, 0xf3, 0x21, 0x9a, 0x40, 0x2c, 0x88, 0xa8, 0x52, 0x3f, 0x23, + 0x17, 0xbf, 0x6f, 0x71, 0x7a, 0x68, 0x41, 0x4a, 0x62, 0x49, 0x6a, 0x00, 0x58, 0xbd, 0x90, 0x19, + 0x17, 0x67, 0x62, 0x69, 0x49, 0x46, 0x7e, 0x51, 0x66, 0x49, 0xa5, 0x04, 0xa3, 0x02, 0xa3, 0x06, + 0xa7, 0x93, 0xc4, 0xa5, 0x2d, 0xba, 0x22, 0x50, 0xbb, 0x1c, 0x53, 0x52, 0x8a, 0x52, 0x8b, 0x8b, + 0x83, 0x4b, 0x8a, 0x32, 0xf3, 0xd2, 0x83, 0x10, 0x4a, 0x85, 0x4c, 0xb8, 0xd8, 0x20, 0x36, 0x4a, + 0x30, 0x29, 0x30, 0x6a, 0x70, 0x1b, 0x89, 0xe9, 0xa1, 0xfa, 0x49, 0x0f, 0x62, 0xbe, 0x13, 0xcb, + 0x89, 0x7b, 0xf2, 0x0c, 0x41, 0x50, 0xb5, 0x56, 0x7c, 0x4d, 0xcf, 0x37, 0x68, 0x21, 0x4c, 0x51, + 0x92, 0xe4, 0x12, 0x47, 0x73, 0x50, 0x50, 0x6a, 0x71, 0x41, 0x7e, 0x5e, 0x71, 0xaa, 0x51, 0x3c, + 0x17, 0xb3, 0x6f, 0x71, 0xba, 0x50, 0x04, 0x17, 0x0f, 0x8a, 0x7b, 0xe5, 0xd1, 0xed, 0x41, 0xd3, + 0x2f, 0xa5, 0x4e, 0x40, 0x01, 0xcc, 0x02, 0x27, 0xaf, 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, 0x48, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x77, + 0x85, 0x18, 0xe6, 0x97, 0x5a, 0x52, 0x9e, 0x5f, 0x94, 0xad, 0x0f, 0x0b, 0xf4, 0x0a, 0x78, 0x9c, + 0x56, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0x03, 0xd8, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x95, + 0xcb, 0xe8, 0x83, 0xf2, 0x01, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/reward/types/types.pb.go b/x/reward/types/types.pb.go index bf693dde9..b9a98b83d 100644 --- a/x/reward/types/types.pb.go +++ b/x/reward/types/types.pb.go @@ -25,8 +25,11 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// Pool is a reward pool. type Pool struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // name is the name of the pool. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // rewards is the rewards for the pool, by validator. Rewards []Pool_Reward `protobuf:"bytes,2,rep,name=rewards,proto3" json:"rewards"` } @@ -63,9 +66,12 @@ func (m *Pool) XXX_DiscardUnknown() { var xxx_messageInfo_Pool proto.InternalMessageInfo +// Reward is the reward for a validator. type Pool_Reward struct { + // validator is the validator address, as an `sdk.ValAddress`. Validator github_com_cosmos_cosmos_sdk_types.ValAddress `protobuf:"bytes,1,opt,name=validator,proto3,casttype=github.com/cosmos/cosmos-sdk/types.ValAddress" json:"validator,omitempty"` - Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"` + // coins is the reward amount, as `sdk.Coins`. + Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"` } func (m *Pool_Reward) Reset() { *m = Pool_Reward{} } @@ -114,22 +120,22 @@ var fileDescriptor_620cd6dbeff3c5e2 = []byte{ 0x14, 0x8e, 0x4b, 0x29, 0xaa, 0x41, 0x0c, 0x16, 0x43, 0x09, 0x92, 0x5b, 0x31, 0x75, 0xa9, 0xdd, 0xc2, 0xc8, 0x44, 0x10, 0x6b, 0x41, 0x19, 0x18, 0xd8, 0x9c, 0xc4, 0x2a, 0x51, 0x7f, 0x5e, 0x65, 0x9b, 0xb6, 0xdc, 0x82, 0x89, 0x43, 0x70, 0x06, 0x0e, 0xd0, 0xb1, 0x23, 0x53, 0x81, 0xe6, 0x16, - 0x4c, 0xc8, 0x71, 0x22, 0xe8, 0xc6, 0xe4, 0x27, 0x7d, 0xfe, 0xfe, 0xde, 0xc3, 0xbe, 0x5c, 0x40, + 0x4c, 0xc8, 0x71, 0x22, 0xe8, 0xc6, 0x94, 0x4f, 0x79, 0xfe, 0xfe, 0xde, 0xc3, 0xbe, 0x5c, 0x40, 0x0c, 0x4a, 0x72, 0x25, 0xe7, 0x42, 0x25, 0xdc, 0x3c, 0x4d, 0xa5, 0x66, 0x53, 0x05, 0x06, 0xc8, - 0x61, 0x81, 0x31, 0x87, 0xf9, 0x47, 0x03, 0x18, 0x40, 0x0e, 0x71, 0x3b, 0xb9, 0x5f, 0x3e, 0x8d, - 0x41, 0x8f, 0x41, 0xf3, 0x48, 0x68, 0xc9, 0x67, 0xbd, 0x48, 0x1a, 0xd1, 0xe3, 0x31, 0xa4, 0x13, - 0x87, 0x9f, 0xbe, 0x54, 0x70, 0xf5, 0x16, 0x60, 0x44, 0x08, 0xae, 0x4e, 0xc4, 0x58, 0x36, 0x50, - 0x0b, 0xb5, 0xeb, 0x61, 0x3e, 0x93, 0x0b, 0xbc, 0xe7, 0xc4, 0x75, 0xa3, 0xd2, 0xda, 0x69, 0xef, - 0x9f, 0x9d, 0xb0, 0x6d, 0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ff, 0x09, 0x00, 0x00, 0xff, 0xff, 0xa1, 0xf1, 0x7b, 0x17, 0xd3, 0x01, 0x00, 0x00, } func (m *Pool) Marshal() (dAtA []byte, err error) { diff --git a/x/slash/types/genesis.pb.go b/x/slash/types/genesis.pb.go index ab8531252..aec53a255 100644 --- a/x/slash/types/genesis.pb.go +++ b/x/slash/types/genesis.pb.go @@ -25,6 +25,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // GenesisState defines the exoslash module's genesis state. type GenesisState struct { + // params defines all the parameters of the module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` } @@ -75,20 +76,20 @@ func init() { func init() { proto.RegisterFile("exocore/slash/genesis.proto", fileDescriptor_0800c20695e285d5) } var fileDescriptor_0800c20695e285d5 = []byte{ - // 194 bytes of a gzipped FileDescriptorProto + // 193 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, 0xce, 0x49, 0x2c, 0xce, 0xd0, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, - 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x85, 0x4a, 0xea, 0x81, 0x25, 0xa5, 0x44, - 0xd2, 0xf3, 0xd3, 0xf3, 0xc1, 0x32, 0xfa, 0x20, 0x16, 0x44, 0x91, 0x94, 0x14, 0xaa, 0x09, 0x05, - 0x89, 0x45, 0x89, 0xb9, 0x50, 0x03, 0x94, 0x9c, 0xb9, 0x78, 0xdc, 0x21, 0x26, 0x06, 0x97, 0x24, - 0x96, 0xa4, 0x0a, 0x19, 0x73, 0xb1, 0x41, 0xe4, 0x25, 0x18, 0x15, 0x18, 0x35, 0xb8, 0x8d, 0x44, - 0xf5, 0x50, 0x6c, 0xd0, 0x0b, 0x00, 0x4b, 0x3a, 0xb1, 0x9c, 0xb8, 0x27, 0xcf, 0x10, 0x04, 0x55, - 0xea, 0xe4, 0x79, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x4e, - 0x78, 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0xfa, 0xe9, 0x99, - 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0xae, 0x10, 0x83, 0xfc, 0x52, 0x4b, 0xca, - 0xf3, 0x8b, 0xb2, 0xf5, 0x61, 0x8e, 0xaa, 0x80, 0x3a, 0xab, 0xa4, 0xb2, 0x20, 0xb5, 0x38, 0x89, - 0x0d, 0xec, 0x2c, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x9b, 0xab, 0xe9, 0x4d, 0xf6, 0x00, - 0x00, 0x00, + 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x85, 0x4a, 0xea, 0x81, 0x25, 0xa5, 0xa4, + 0x50, 0xd5, 0x16, 0x24, 0x16, 0x25, 0xe6, 0x42, 0x95, 0x4a, 0x89, 0xa4, 0xe7, 0xa7, 0xe7, 0x83, + 0x99, 0xfa, 0x20, 0x16, 0x44, 0x54, 0xc9, 0x99, 0x8b, 0xc7, 0x1d, 0x62, 0x62, 0x70, 0x49, 0x62, + 0x49, 0xaa, 0x90, 0x31, 0x17, 0x1b, 0x44, 0x97, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0xb7, 0x91, 0xa8, + 0x1e, 0x8a, 0x0d, 0x7a, 0x01, 0x60, 0x49, 0x27, 0x96, 0x13, 0xf7, 0xe4, 0x19, 0x82, 0xa0, 0x4a, + 0x9d, 0x3c, 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, 0x4a, 0x3f, 0x3d, 0xb3, + 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0xdf, 0x15, 0x62, 0x90, 0x5f, 0x6a, 0x49, 0x79, + 0x7e, 0x51, 0xb6, 0x3e, 0xcc, 0xa9, 0x15, 0x50, 0xc7, 0x96, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, + 0x81, 0x9d, 0x65, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x42, 0xf5, 0x1f, 0x8b, 0xf6, 0x00, 0x00, + 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/slash/types/params.pb.go b/x/slash/types/params.pb.go index ddf28cf58..065131cf0 100644 --- a/x/slash/types/params.pb.go +++ b/x/slash/types/params.pb.go @@ -24,7 +24,9 @@ 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=exo_core_lz_app_address,json=exoCoreLzAppAddress,proto3" json:"exo_core_lz_app_address,omitempty"` + // exo_core_lz_app_address defines the address of the lz app + ExoCoreLzAppAddress string `protobuf:"bytes,1,opt,name=exo_core_lz_app_address,json=exoCoreLzAppAddress,proto3" json:"exo_core_lz_app_address,omitempty"` + // exo_core_lz_app_event_topic defines the topic of the lz app ExoCoreLzAppEventTopic string `protobuf:"bytes,2,opt,name=exo_core_lz_app_event_topic,json=exoCoreLzAppEventTopic,proto3" json:"exo_core_lz_app_event_topic,omitempty"` } diff --git a/x/slash/types/query.pb.go b/x/slash/types/query.pb.go index 897e60527..7c26071b8 100644 --- a/x/slash/types/query.pb.go +++ b/x/slash/types/query.pb.go @@ -122,20 +122,20 @@ var fileDescriptor_8cd6399098c1a574 = []byte{ // 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, 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, + 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x85, 0x4a, 0xe9, 0x81, 0xa5, 0xa4, 0xa4, 0x50, 0x55, + 0x16, 0x24, 0x16, 0x25, 0xe6, 0x16, 0x43, 0x94, 0x4a, 0xc9, 0xa4, 0xe7, 0xe7, 0xa7, 0xe7, 0xa4, + 0xea, 0x27, 0x16, 0x64, 0xea, 0x27, 0xe6, 0xe5, 0xe5, 0x97, 0x24, 0x96, 0x64, 0xe6, 0xe7, 0x41, + 0x65, 0x95, 0x44, 0xb8, 0x84, 0x02, 0x41, 0xe6, 0x06, 0x80, 0xb5, 0x04, 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, 0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c, 0xe2, 0x42, 0xa2, 0xfa, 0xd8, 0x3c, 0xee, 0xe4, 0x79, 0xe2, 0x91, + 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x4e, 0x78, 0x2c, 0xc7, 0x70, 0xe1, + 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0xfa, 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, + 0xc9, 0xf9, 0xb9, 0xfa, 0xae, 0x10, 0xad, 0x7e, 0xa9, 0x25, 0xe5, 0xf9, 0x45, 0xd9, 0x70, 0x93, + 0x2a, 0xa0, 0x66, 0x95, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0x83, 0xc9, 0x18, 0x10, 0x00, + 0x00, 0xff, 0xff, 0x41, 0xdf, 0xc3, 0x4f, 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 e74333c39..78a818b45 100644 --- a/x/slash/types/tx.pb.go +++ b/x/slash/types/tx.pb.go @@ -134,27 +134,27 @@ func init() { func init() { proto.RegisterFile("exocore/slash/tx.proto", fileDescriptor_6ec062c35f00efd9) } var fileDescriptor_6ec062c35f00efd9 = []byte{ - // 311 bytes of a gzipped FileDescriptorProto + // 310 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4b, 0xad, 0xc8, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x2f, 0xce, 0x49, 0x2c, 0xce, 0xd0, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, - 0x2f, 0xc9, 0x17, 0xe2, 0x85, 0x8a, 0xeb, 0x81, 0xc5, 0xa5, 0xa4, 0x50, 0x95, 0x15, 0x24, 0x16, - 0x25, 0xe6, 0x16, 0x43, 0x94, 0x4a, 0x89, 0xa4, 0xe7, 0xa7, 0xe7, 0x83, 0x99, 0xfa, 0x20, 0x16, - 0x54, 0x54, 0x32, 0x39, 0xbf, 0x38, 0x37, 0xbf, 0x38, 0x1e, 0x22, 0x01, 0xe1, 0x40, 0xa5, 0xc4, - 0x21, 0x3c, 0xfd, 0xdc, 0xe2, 0x74, 0xfd, 0x32, 0x43, 0x10, 0x05, 0x91, 0x50, 0xea, 0x63, 0xe4, - 0xe2, 0xf7, 0x2d, 0x4e, 0x0f, 0x2d, 0x48, 0x49, 0x2c, 0x49, 0x0d, 0x00, 0xdb, 0x21, 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, 0x44, 0xc7, 0x94, 0x94, 0xa2, 0xd4, 0xe2, 0xe2, - 0xe0, 0x92, 0xa2, 0xcc, 0xbc, 0xf4, 0x20, 0x84, 0x52, 0x21, 0x63, 0x2e, 0x36, 0x88, 0x2b, 0x25, - 0x98, 0x14, 0x18, 0x35, 0xb8, 0x8d, 0x44, 0xf5, 0x50, 0x7c, 0xa4, 0x07, 0x31, 0xde, 0x89, 0xe5, - 0xc4, 0x3d, 0x79, 0x86, 0x20, 0xa8, 0x52, 0x2b, 0xbe, 0xa6, 0xe7, 0x1b, 0xb4, 0x10, 0x86, 0x28, - 0x49, 0x72, 0x89, 0xa3, 0xb9, 0x27, 0x28, 0xb5, 0xb8, 0x20, 0x3f, 0xaf, 0x38, 0xd5, 0x28, 0x96, - 0x8b, 0xd9, 0xb7, 0x38, 0x5d, 0x28, 0x8c, 0x8b, 0x07, 0xc5, 0xb9, 0x72, 0x68, 0xd6, 0xa0, 0x69, - 0x97, 0x52, 0xc3, 0x2f, 0x0f, 0x33, 0xde, 0xc9, 0xf3, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, - 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, 0x8f, - 0xe5, 0x18, 0xa2, 0xf4, 0xd3, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x5d, - 0x21, 0x66, 0xf9, 0xa5, 0x96, 0x94, 0xe7, 0x17, 0x65, 0xeb, 0xc3, 0x22, 0xa9, 0x02, 0x16, 0x9b, - 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0xe0, 0xc0, 0x35, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x0e, - 0x3b, 0x4b, 0x60, 0xeb, 0x01, 0x00, 0x00, + 0x2f, 0xc9, 0x17, 0xe2, 0x85, 0x8a, 0xeb, 0x81, 0xc5, 0xa5, 0xc4, 0x93, 0xf3, 0x8b, 0x73, 0xf3, + 0x8b, 0xf5, 0x73, 0x8b, 0xd3, 0xf5, 0xcb, 0x0c, 0x41, 0x14, 0x44, 0x9d, 0x94, 0x24, 0x44, 0x22, + 0x1e, 0xcc, 0xd3, 0x87, 0x70, 0xa0, 0x52, 0x52, 0xa8, 0x46, 0x17, 0x24, 0x16, 0x25, 0xe6, 0xc2, + 0xe4, 0x44, 0xd2, 0xf3, 0xd3, 0xf3, 0x21, 0x7a, 0x40, 0x2c, 0x88, 0xa8, 0x52, 0x1f, 0x23, 0x17, + 0xbf, 0x6f, 0x71, 0x7a, 0x68, 0x41, 0x4a, 0x62, 0x49, 0x6a, 0x00, 0x58, 0xbd, 0x90, 0x19, 0x17, + 0x67, 0x62, 0x69, 0x49, 0x46, 0x7e, 0x51, 0x66, 0x49, 0xa5, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0xa7, + 0x93, 0xc4, 0xa5, 0x2d, 0xba, 0x22, 0x50, 0xab, 0x1c, 0x53, 0x52, 0x8a, 0x52, 0x8b, 0x8b, 0x83, + 0x4b, 0x8a, 0x32, 0xf3, 0xd2, 0x83, 0x10, 0x4a, 0x85, 0x8c, 0xb9, 0xd8, 0x20, 0x36, 0x4a, 0x30, + 0x29, 0x30, 0x6a, 0x70, 0x1b, 0x89, 0xea, 0xa1, 0xf8, 0x48, 0x0f, 0x62, 0xbc, 0x13, 0xcb, 0x89, + 0x7b, 0xf2, 0x0c, 0x41, 0x50, 0xa5, 0x56, 0x7c, 0x4d, 0xcf, 0x37, 0x68, 0x21, 0x0c, 0x51, 0x92, + 0xe4, 0x12, 0x47, 0x73, 0x4f, 0x50, 0x6a, 0x71, 0x41, 0x7e, 0x5e, 0x71, 0xaa, 0x51, 0x2c, 0x17, + 0xb3, 0x6f, 0x71, 0xba, 0x50, 0x18, 0x17, 0x0f, 0x8a, 0x73, 0xe5, 0xd0, 0xac, 0x41, 0xd3, 0x2e, + 0xa5, 0x86, 0x5f, 0x1e, 0x66, 0xbc, 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, + 0xcc, 0xf2, 0x4b, 0x2d, 0x29, 0xcf, 0x2f, 0xca, 0xd6, 0x87, 0x05, 0x78, 0x05, 0x2c, 0x36, 0x2b, + 0x0b, 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0x81, 0x6b, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x4e, 0xc9, + 0x74, 0x09, 0xeb, 0x01, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/withdraw/types/query.pb.go b/x/withdraw/types/query.pb.go index f57852462..1bf71d1d1 100644 --- a/x/withdraw/types/query.pb.go +++ b/x/withdraw/types/query.pb.go @@ -120,25 +120,25 @@ func init() { func init() { proto.RegisterFile("exocore/withdraw/query.proto", fileDescriptor_59bca5e59812c328) } var fileDescriptor_59bca5e59812c328 = []byte{ - // 275 bytes of a gzipped FileDescriptorProto + // 274 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, + 0x14, 0x60, 0xea, 0x53, 0x52, 0x0b, 0xf2, 0x8b, 0x33, 0x4b, 0xf4, 0xcb, 0x0c, 0x61, 0x4c, 0x88, + 0x1e, 0x29, 0x99, 0xf4, 0xfc, 0xfc, 0xf4, 0x9c, 0x54, 0xfd, 0xc4, 0x82, 0x4c, 0xfd, 0xc4, 0xbc, + 0xbc, 0xfc, 0x92, 0xc4, 0x92, 0xcc, 0xfc, 0xbc, 0x62, 0x88, 0xac, 0x92, 0x08, 0x97, 0x50, 0x20, + 0xc8, 0x82, 0x80, 0xc4, 0xa2, 0xc4, 0xdc, 0xe2, 0xa0, 0xd4, 0xc2, 0xd2, 0xd4, 0xe2, 0x12, 0x25, + 0x4f, 0x2e, 0x61, 0x14, 0xd1, 0xe2, 0x82, 0xfc, 0xbc, 0xe2, 0x54, 0x21, 0x23, 0x2e, 0xb6, 0x02, + 0xb0, 0x88, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0xb7, 0x91, 0x94, 0x1e, 0xcc, 0x3d, 0x30, 0x2b, 0xcb, + 0x0c, 0xf5, 0xa0, 0x7a, 0xa0, 0x2a, 0x8d, 0x1a, 0x18, 0xb9, 0x58, 0xc1, 0x66, 0x09, 0x95, 0x73, + 0xb1, 0x41, 0xe4, 0x84, 0x54, 0xf4, 0xd0, 0xfd, 0xa1, 0x87, 0xe9, 0x08, 0x29, 0x55, 0x02, 0xaa, + 0x20, 0x8e, 0x52, 0x52, 0x68, 0xba, 0xfc, 0x64, 0x32, 0x93, 0x94, 0x90, 0x84, 0x3e, 0x46, 0xd0, + 0x41, 0x9c, 0xe0, 0xe4, 0x73, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, + 0x31, 0x4e, 0x78, 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0x46, + 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0xae, 0x10, 0xdd, 0x7e, 0xa9, + 0x25, 0xe5, 0xf9, 0x45, 0xd9, 0x70, 0xc3, 0x2a, 0x10, 0xc6, 0x95, 0x54, 0x16, 0xa4, 0x16, 0x27, + 0xb1, 0x81, 0x03, 0xce, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x21, 0x6f, 0x4e, 0x7e, 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 1ff2f56bd..39a8673c3 100644 --- a/x/withdraw/types/tx.pb.go +++ b/x/withdraw/types/tx.pb.go @@ -140,23 +140,23 @@ var fileDescriptor_9fa45fb8759a8d92 = []byte{ 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, 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, + 0x24, 0x44, 0x22, 0x1e, 0xcc, 0xd3, 0x87, 0x70, 0xa0, 0x52, 0x0a, 0x30, 0x0b, 0x52, 0x52, 0x0b, + 0xf2, 0x8b, 0x33, 0x4b, 0x40, 0x1a, 0xa1, 0x4c, 0xa8, 0x0a, 0x91, 0xf4, 0xfc, 0xf4, 0x7c, 0x88, + 0x4e, 0x10, 0x0b, 0x22, 0xaa, 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, 0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0xff, 0xff, 0xfa, 0x0b, 0x2a, 0x73, 0x0c, 0x02, 0x00, + 0xb8, 0x8d, 0xa4, 0xf4, 0x60, 0x5e, 0x83, 0xb9, 0xa4, 0xcc, 0x50, 0x0f, 0x62, 0x87, 0x13, 0xcb, + 0x89, 0x7b, 0xf2, 0x0c, 0x41, 0x50, 0xf5, 0x56, 0x7c, 0x4d, 0xcf, 0x37, 0x68, 0x21, 0x4c, 0x52, + 0x92, 0xe4, 0x12, 0x47, 0x73, 0x54, 0x50, 0x6a, 0x71, 0x41, 0x7e, 0x5e, 0x71, 0xaa, 0x51, 0x16, + 0x17, 0xb3, 0x6f, 0x71, 0xba, 0x50, 0x0c, 0x17, 0x0f, 0x8a, 0x9b, 0x15, 0xf5, 0xd0, 0x83, 0x51, + 0x0f, 0xcd, 0x04, 0x29, 0x4d, 0x82, 0x4a, 0x60, 0x96, 0x48, 0xb1, 0x36, 0x3c, 0xdf, 0xa0, 0xc5, + 0xe8, 0xe4, 0x73, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x4e, + 0x78, 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0x46, 0xe9, 0x99, + 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0xae, 0x10, 0x53, 0xfd, 0x52, 0x4b, 0xca, + 0xf3, 0x8b, 0xb2, 0xf5, 0x61, 0x11, 0x51, 0x81, 0x14, 0xd7, 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, + 0xe0, 0x10, 0x37, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x13, 0xe8, 0x1c, 0x17, 0x0c, 0x02, 0x00, 0x00, }