@provenanceio/wallet-utils
Version:
Typescript Utilities for Provenance Blockchain Wallet
141 lines (119 loc) • 6.17 kB
TypeScript
// package: cosmos.authz.v1beta1
// file: cosmos/authz/v1beta1/authz.proto
/* tslint:disable */
/* eslint-disable */
import * as jspb from "google-protobuf";
import * as cosmos_proto_cosmos_pb from "../../../cosmos_proto/cosmos_pb";
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
import * as gogoproto_gogo_pb from "../../../gogoproto/gogo_pb";
import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb";
export class GenericAuthorization extends jspb.Message {
getMsg(): string;
setMsg(value: string): GenericAuthorization;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GenericAuthorization.AsObject;
static toObject(includeInstance: boolean, msg: GenericAuthorization): GenericAuthorization.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: GenericAuthorization, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GenericAuthorization;
static deserializeBinaryFromReader(message: GenericAuthorization, reader: jspb.BinaryReader): GenericAuthorization;
}
export namespace GenericAuthorization {
export type AsObject = {
msg: string,
}
}
export class CountAuthorization extends jspb.Message {
getMsg(): string;
setMsg(value: string): CountAuthorization;
getAllowedAuthorizations(): number;
setAllowedAuthorizations(value: number): CountAuthorization;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): CountAuthorization.AsObject;
static toObject(includeInstance: boolean, msg: CountAuthorization): CountAuthorization.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: CountAuthorization, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): CountAuthorization;
static deserializeBinaryFromReader(message: CountAuthorization, reader: jspb.BinaryReader): CountAuthorization;
}
export namespace CountAuthorization {
export type AsObject = {
msg: string,
allowedAuthorizations: number,
}
}
export class Grant extends jspb.Message {
hasAuthorization(): boolean;
clearAuthorization(): void;
getAuthorization(): google_protobuf_any_pb.Any | undefined;
setAuthorization(value?: google_protobuf_any_pb.Any): Grant;
hasExpiration(): boolean;
clearExpiration(): void;
getExpiration(): google_protobuf_timestamp_pb.Timestamp | undefined;
setExpiration(value?: google_protobuf_timestamp_pb.Timestamp): Grant;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Grant.AsObject;
static toObject(includeInstance: boolean, msg: Grant): Grant.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: Grant, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Grant;
static deserializeBinaryFromReader(message: Grant, reader: jspb.BinaryReader): Grant;
}
export namespace Grant {
export type AsObject = {
authorization?: google_protobuf_any_pb.Any.AsObject,
expiration?: google_protobuf_timestamp_pb.Timestamp.AsObject,
}
}
export class GrantAuthorization extends jspb.Message {
getGranter(): string;
setGranter(value: string): GrantAuthorization;
getGrantee(): string;
setGrantee(value: string): GrantAuthorization;
hasAuthorization(): boolean;
clearAuthorization(): void;
getAuthorization(): google_protobuf_any_pb.Any | undefined;
setAuthorization(value?: google_protobuf_any_pb.Any): GrantAuthorization;
hasExpiration(): boolean;
clearExpiration(): void;
getExpiration(): google_protobuf_timestamp_pb.Timestamp | undefined;
setExpiration(value?: google_protobuf_timestamp_pb.Timestamp): GrantAuthorization;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GrantAuthorization.AsObject;
static toObject(includeInstance: boolean, msg: GrantAuthorization): GrantAuthorization.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: GrantAuthorization, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GrantAuthorization;
static deserializeBinaryFromReader(message: GrantAuthorization, reader: jspb.BinaryReader): GrantAuthorization;
}
export namespace GrantAuthorization {
export type AsObject = {
granter: string,
grantee: string,
authorization?: google_protobuf_any_pb.Any.AsObject,
expiration?: google_protobuf_timestamp_pb.Timestamp.AsObject,
}
}
export class GrantQueueItem extends jspb.Message {
clearMsgTypeUrlsList(): void;
getMsgTypeUrlsList(): Array<string>;
setMsgTypeUrlsList(value: Array<string>): GrantQueueItem;
addMsgTypeUrls(value: string, index?: number): string;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GrantQueueItem.AsObject;
static toObject(includeInstance: boolean, msg: GrantQueueItem): GrantQueueItem.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: GrantQueueItem, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): GrantQueueItem;
static deserializeBinaryFromReader(message: GrantQueueItem, reader: jspb.BinaryReader): GrantQueueItem;
}
export namespace GrantQueueItem {
export type AsObject = {
msgTypeUrlsList: Array<string>,
}
}