-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from bandprotocol/patch-cosmos-sdk-0.50-Beta
[chore] Patch-cosmos-sdk-0.50
- Loading branch information
Showing
38 changed files
with
17,379 additions
and
15,847 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,109 +1,161 @@ | ||
// package: bandchain.v1.node | ||
// file: bandchain/v1/node/query.proto | ||
|
||
import * as jspb from "google-protobuf"; | ||
import * as google_api_annotations_pb from "../../../google/api/annotations_pb"; | ||
import * as gogoproto_gogo_pb from "../../../gogoproto/gogo_pb"; | ||
|
||
export class QueryChainIDRequest extends jspb.Message { | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): QueryChainIDRequest.AsObject; | ||
static toObject(includeInstance: boolean, msg: QueryChainIDRequest): QueryChainIDRequest.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: QueryChainIDRequest, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): QueryChainIDRequest; | ||
static deserializeBinaryFromReader(message: QueryChainIDRequest, reader: jspb.BinaryReader): QueryChainIDRequest; | ||
import * as jspb from 'google-protobuf' | ||
import * as google_api_annotations_pb from '../../../google/api/annotations_pb' | ||
import * as gogoproto_gogo_pb from '../../../gogoproto/gogo_pb' | ||
|
||
export class ChainIDRequest extends jspb.Message { | ||
serializeBinary(): Uint8Array | ||
toObject(includeInstance?: boolean): ChainIDRequest.AsObject | ||
static toObject( | ||
includeInstance: boolean, | ||
msg: ChainIDRequest, | ||
): ChainIDRequest.AsObject | ||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> } | ||
static extensionsBinary: { | ||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message> | ||
} | ||
static serializeBinaryToWriter( | ||
message: ChainIDRequest, | ||
writer: jspb.BinaryWriter, | ||
): void | ||
static deserializeBinary(bytes: Uint8Array): ChainIDRequest | ||
static deserializeBinaryFromReader( | ||
message: ChainIDRequest, | ||
reader: jspb.BinaryReader, | ||
): ChainIDRequest | ||
} | ||
|
||
export namespace QueryChainIDRequest { | ||
export type AsObject = { | ||
} | ||
export namespace ChainIDRequest { | ||
export type AsObject = {} | ||
} | ||
|
||
export class QueryChainIDResponse extends jspb.Message { | ||
getChainId(): string; | ||
setChainId(value: string): void; | ||
|
||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): QueryChainIDResponse.AsObject; | ||
static toObject(includeInstance: boolean, msg: QueryChainIDResponse): QueryChainIDResponse.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: QueryChainIDResponse, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): QueryChainIDResponse; | ||
static deserializeBinaryFromReader(message: QueryChainIDResponse, reader: jspb.BinaryReader): QueryChainIDResponse; | ||
export class ChainIDResponse extends jspb.Message { | ||
getChainId(): string | ||
setChainId(value: string): void | ||
|
||
serializeBinary(): Uint8Array | ||
toObject(includeInstance?: boolean): ChainIDResponse.AsObject | ||
static toObject( | ||
includeInstance: boolean, | ||
msg: ChainIDResponse, | ||
): ChainIDResponse.AsObject | ||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> } | ||
static extensionsBinary: { | ||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message> | ||
} | ||
static serializeBinaryToWriter( | ||
message: ChainIDResponse, | ||
writer: jspb.BinaryWriter, | ||
): void | ||
static deserializeBinary(bytes: Uint8Array): ChainIDResponse | ||
static deserializeBinaryFromReader( | ||
message: ChainIDResponse, | ||
reader: jspb.BinaryReader, | ||
): ChainIDResponse | ||
} | ||
|
||
export namespace QueryChainIDResponse { | ||
export namespace ChainIDResponse { | ||
export type AsObject = { | ||
chainId: string, | ||
chainId: string | ||
} | ||
} | ||
|
||
export class QueryEVMValidatorsRequest extends jspb.Message { | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): QueryEVMValidatorsRequest.AsObject; | ||
static toObject(includeInstance: boolean, msg: QueryEVMValidatorsRequest): QueryEVMValidatorsRequest.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: QueryEVMValidatorsRequest, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): QueryEVMValidatorsRequest; | ||
static deserializeBinaryFromReader(message: QueryEVMValidatorsRequest, reader: jspb.BinaryReader): QueryEVMValidatorsRequest; | ||
export class EVMValidatorsRequest extends jspb.Message { | ||
serializeBinary(): Uint8Array | ||
toObject(includeInstance?: boolean): EVMValidatorsRequest.AsObject | ||
static toObject( | ||
includeInstance: boolean, | ||
msg: EVMValidatorsRequest, | ||
): EVMValidatorsRequest.AsObject | ||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> } | ||
static extensionsBinary: { | ||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message> | ||
} | ||
static serializeBinaryToWriter( | ||
message: EVMValidatorsRequest, | ||
writer: jspb.BinaryWriter, | ||
): void | ||
static deserializeBinary(bytes: Uint8Array): EVMValidatorsRequest | ||
static deserializeBinaryFromReader( | ||
message: EVMValidatorsRequest, | ||
reader: jspb.BinaryReader, | ||
): EVMValidatorsRequest | ||
} | ||
|
||
export namespace QueryEVMValidatorsRequest { | ||
export type AsObject = { | ||
} | ||
export namespace EVMValidatorsRequest { | ||
export type AsObject = {} | ||
} | ||
|
||
export class QueryEVMValidatorsResponse extends jspb.Message { | ||
getBlockHeight(): number; | ||
setBlockHeight(value: number): void; | ||
|
||
clearValidatorsList(): void; | ||
getValidatorsList(): Array<ValidatorMinimal>; | ||
setValidatorsList(value: Array<ValidatorMinimal>): void; | ||
addValidators(value?: ValidatorMinimal, index?: number): ValidatorMinimal; | ||
|
||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): QueryEVMValidatorsResponse.AsObject; | ||
static toObject(includeInstance: boolean, msg: QueryEVMValidatorsResponse): QueryEVMValidatorsResponse.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: QueryEVMValidatorsResponse, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): QueryEVMValidatorsResponse; | ||
static deserializeBinaryFromReader(message: QueryEVMValidatorsResponse, reader: jspb.BinaryReader): QueryEVMValidatorsResponse; | ||
export class EVMValidatorsResponse extends jspb.Message { | ||
getBlockHeight(): number | ||
setBlockHeight(value: number): void | ||
|
||
clearValidatorsList(): void | ||
getValidatorsList(): Array<ValidatorMinimal> | ||
setValidatorsList(value: Array<ValidatorMinimal>): void | ||
addValidators(value?: ValidatorMinimal, index?: number): ValidatorMinimal | ||
|
||
serializeBinary(): Uint8Array | ||
toObject(includeInstance?: boolean): EVMValidatorsResponse.AsObject | ||
static toObject( | ||
includeInstance: boolean, | ||
msg: EVMValidatorsResponse, | ||
): EVMValidatorsResponse.AsObject | ||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> } | ||
static extensionsBinary: { | ||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message> | ||
} | ||
static serializeBinaryToWriter( | ||
message: EVMValidatorsResponse, | ||
writer: jspb.BinaryWriter, | ||
): void | ||
static deserializeBinary(bytes: Uint8Array): EVMValidatorsResponse | ||
static deserializeBinaryFromReader( | ||
message: EVMValidatorsResponse, | ||
reader: jspb.BinaryReader, | ||
): EVMValidatorsResponse | ||
} | ||
|
||
export namespace QueryEVMValidatorsResponse { | ||
export namespace EVMValidatorsResponse { | ||
export type AsObject = { | ||
blockHeight: number, | ||
validatorsList: Array<ValidatorMinimal.AsObject>, | ||
blockHeight: number | ||
validatorsList: Array<ValidatorMinimal.AsObject> | ||
} | ||
} | ||
|
||
export class ValidatorMinimal extends jspb.Message { | ||
getAddress(): string; | ||
setAddress(value: string): void; | ||
|
||
getVotingPower(): number; | ||
setVotingPower(value: number): void; | ||
|
||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): ValidatorMinimal.AsObject; | ||
static toObject(includeInstance: boolean, msg: ValidatorMinimal): ValidatorMinimal.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: ValidatorMinimal, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): ValidatorMinimal; | ||
static deserializeBinaryFromReader(message: ValidatorMinimal, reader: jspb.BinaryReader): ValidatorMinimal; | ||
getAddress(): string | ||
setAddress(value: string): void | ||
|
||
getVotingPower(): number | ||
setVotingPower(value: number): void | ||
|
||
serializeBinary(): Uint8Array | ||
toObject(includeInstance?: boolean): ValidatorMinimal.AsObject | ||
static toObject( | ||
includeInstance: boolean, | ||
msg: ValidatorMinimal, | ||
): ValidatorMinimal.AsObject | ||
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> } | ||
static extensionsBinary: { | ||
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message> | ||
} | ||
static serializeBinaryToWriter( | ||
message: ValidatorMinimal, | ||
writer: jspb.BinaryWriter, | ||
): void | ||
static deserializeBinary(bytes: Uint8Array): ValidatorMinimal | ||
static deserializeBinaryFromReader( | ||
message: ValidatorMinimal, | ||
reader: jspb.BinaryReader, | ||
): ValidatorMinimal | ||
} | ||
|
||
export namespace ValidatorMinimal { | ||
export type AsObject = { | ||
address: string, | ||
votingPower: number, | ||
address: string | ||
votingPower: number | ||
} | ||
} | ||
|
Oops, something went wrong.