Skip to content

Commit

Permalink
Make generate
Browse files Browse the repository at this point in the history
  • Loading branch information
skosito committed Apr 26, 2024
1 parent fbe40f5 commit 70eec6f
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 202 deletions.
49 changes: 0 additions & 49 deletions docs/openapi/openapi.swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29023,21 +29023,6 @@ paths:
$ref: '#/definitions/googlerpcStatus'
tags:
- Query
/zeta-chain/emissions/params:
get:
summary: Parameters queries the parameters of the module.
operationId: Query_Params
responses:
"200":
description: A successful response.
schema:
$ref: '#/definitions/emissionsQueryParamsResponse'
default:
description: An unexpected error response.
schema:
$ref: '#/definitions/googlerpcStatus'
tags:
- Query
/zeta-chain/emissions/show_available_emissions/{address}:
get:
summary: Queries a list of ShowAvailableEmissions items.
Expand Down Expand Up @@ -56745,35 +56730,8 @@ definitions:
ed25519:
type: string
title: PubKeySet contains two pub keys , secp256k1 and ed25519
emissionsMsgUpdateParamsResponse:
type: object
emissionsMsgWithdrawEmissionResponse:
type: object
emissionsParams:
type: object
properties:
max_bond_factor:
type: string
min_bond_factor:
type: string
avg_block_time:
type: string
target_bond_ratio:
type: string
validator_emission_percentage:
type: string
observer_emission_percentage:
type: string
tss_signer_emission_percentage:
type: string
duration_factor_constant:
type: string
observer_slash_amount:
type: string
ballot_maturity_blocks:
type: string
format: int64
description: Params defines the parameters for the module.
emissionsQueryGetEmissionsFactorsResponse:
type: object
properties:
Expand All @@ -56792,13 +56750,6 @@ definitions:
type: string
emission_module_address:
type: string
emissionsQueryParamsResponse:
type: object
properties:
params:
$ref: '#/definitions/emissionsParams'
description: params holds all the parameters of this module.
description: QueryParamsResponse is response type for the Query/Params RPC method.
emissionsQueryShowAvailableEmissionsResponse:
type: object
properties:
Expand Down
12 changes: 0 additions & 12 deletions docs/spec/emissions/messages.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
# Messages

## MsgUpdateParams

UpdateParams defines a governance operation for updating the x/emissions module parameters.
The authority is hard-coded to the x/gov module account.

```proto
message MsgUpdateParams {
string authority = 1;
Params params = 2;
}
```

## MsgWithdrawEmission

WithdrawEmission allows the user to withdraw from their withdrawable emissions.
Expand Down
50 changes: 0 additions & 50 deletions typescript/zetachain/zetacore/emissions/query_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,56 +5,6 @@

import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
import { Message, proto3 } from "@bufbuild/protobuf";
import type { Params } from "./params_pb.js";

/**
* QueryParamsRequest is request type for the Query/Params RPC method.
*
* @generated from message zetachain.zetacore.emissions.QueryParamsRequest
*/
export declare class QueryParamsRequest extends Message<QueryParamsRequest> {
constructor(data?: PartialMessage<QueryParamsRequest>);

static readonly runtime: typeof proto3;
static readonly typeName = "zetachain.zetacore.emissions.QueryParamsRequest";
static readonly fields: FieldList;

static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QueryParamsRequest;

static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): QueryParamsRequest;

static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QueryParamsRequest;

static equals(a: QueryParamsRequest | PlainMessage<QueryParamsRequest> | undefined, b: QueryParamsRequest | PlainMessage<QueryParamsRequest> | undefined): boolean;
}

/**
* QueryParamsResponse is response type for the Query/Params RPC method.
*
* @generated from message zetachain.zetacore.emissions.QueryParamsResponse
*/
export declare class QueryParamsResponse extends Message<QueryParamsResponse> {
/**
* params holds all the parameters of this module.
*
* @generated from field: zetachain.zetacore.emissions.Params params = 1;
*/
params?: Params;

constructor(data?: PartialMessage<QueryParamsResponse>);

static readonly runtime: typeof proto3;
static readonly typeName = "zetachain.zetacore.emissions.QueryParamsResponse";
static readonly fields: FieldList;

static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QueryParamsResponse;

static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): QueryParamsResponse;

static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QueryParamsResponse;

static equals(a: QueryParamsResponse | PlainMessage<QueryParamsResponse> | undefined, b: QueryParamsResponse | PlainMessage<QueryParamsResponse> | undefined): boolean;
}

/**
* @generated from message zetachain.zetacore.emissions.QueryListPoolAddressesRequest
Expand Down
49 changes: 0 additions & 49 deletions typescript/zetachain/zetacore/emissions/tx_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
import { Message, proto3 } from "@bufbuild/protobuf";
import type { Params } from "./params_pb.js";

/**
* @generated from message zetachain.zetacore.emissions.MsgWithdrawEmission
Expand Down Expand Up @@ -55,51 +54,3 @@ export declare class MsgWithdrawEmissionResponse extends Message<MsgWithdrawEmis
static equals(a: MsgWithdrawEmissionResponse | PlainMessage<MsgWithdrawEmissionResponse> | undefined, b: MsgWithdrawEmissionResponse | PlainMessage<MsgWithdrawEmissionResponse> | undefined): boolean;
}

/**
* @generated from message zetachain.zetacore.emissions.MsgUpdateParams
*/
export declare class MsgUpdateParams extends Message<MsgUpdateParams> {
/**
* @generated from field: string authority = 1;
*/
authority: string;

/**
* @generated from field: zetachain.zetacore.emissions.Params params = 2;
*/
params?: Params;

constructor(data?: PartialMessage<MsgUpdateParams>);

static readonly runtime: typeof proto3;
static readonly typeName = "zetachain.zetacore.emissions.MsgUpdateParams";
static readonly fields: FieldList;

static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MsgUpdateParams;

static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MsgUpdateParams;

static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MsgUpdateParams;

static equals(a: MsgUpdateParams | PlainMessage<MsgUpdateParams> | undefined, b: MsgUpdateParams | PlainMessage<MsgUpdateParams> | undefined): boolean;
}

/**
* @generated from message zetachain.zetacore.emissions.MsgUpdateParamsResponse
*/
export declare class MsgUpdateParamsResponse extends Message<MsgUpdateParamsResponse> {
constructor(data?: PartialMessage<MsgUpdateParamsResponse>);

static readonly runtime: typeof proto3;
static readonly typeName = "zetachain.zetacore.emissions.MsgUpdateParamsResponse";
static readonly fields: FieldList;

static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MsgUpdateParamsResponse;

static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MsgUpdateParamsResponse;

static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MsgUpdateParamsResponse;

static equals(a: MsgUpdateParamsResponse | PlainMessage<MsgUpdateParamsResponse> | undefined, b: MsgUpdateParamsResponse | PlainMessage<MsgUpdateParamsResponse> | undefined): boolean;
}

42 changes: 0 additions & 42 deletions typescript/zetachain/zetacore/observer/params_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
import { Message, proto3 } from "@bufbuild/protobuf";
import type { Chain } from "../pkg/chains/chains_pb.js";

/**
* @generated from message zetachain.zetacore.observer.ChainParamsList
Expand Down Expand Up @@ -120,44 +119,3 @@ export declare class ChainParams extends Message<ChainParams> {
static equals(a: ChainParams | PlainMessage<ChainParams> | undefined, b: ChainParams | PlainMessage<ChainParams> | undefined): boolean;
}

/**
* Deprecated(v13): Use ChainParamsList
*
* @generated from message zetachain.zetacore.observer.ObserverParams
*/
export declare class ObserverParams extends Message<ObserverParams> {
/**
* @generated from field: zetachain.zetacore.pkg.chains.Chain chain = 1;
*/
chain?: Chain;

/**
* @generated from field: string ballot_threshold = 3;
*/
ballotThreshold: string;

/**
* @generated from field: string min_observer_delegation = 4;
*/
minObserverDelegation: string;

/**
* @generated from field: bool is_supported = 5;
*/
isSupported: boolean;

constructor(data?: PartialMessage<ObserverParams>);

static readonly runtime: typeof proto3;
static readonly typeName = "zetachain.zetacore.observer.ObserverParams";
static readonly fields: FieldList;

static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ObserverParams;

static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ObserverParams;

static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ObserverParams;

static equals(a: ObserverParams | PlainMessage<ObserverParams> | undefined, b: ObserverParams | PlainMessage<ObserverParams> | undefined): boolean;
}

0 comments on commit 70eec6f

Please sign in to comment.