@routerprotocol/chain-api
Version:
Router Chain API Query client with generated gRPC bindings.
63 lines (49 loc) • 1.75 kB
TypeScript
// package: ethermint.evm.v1
// file: ethermint/evm/v1/log.proto
import * as jspb from "google-protobuf";
import * as gogoproto_gogo_pb from "../../../gogoproto/gogo_pb";
export class Log extends jspb.Message {
getAddress(): string;
setAddress(value: string): void;
clearTopicsList(): void;
getTopicsList(): Array<string>;
setTopicsList(value: Array<string>): void;
addTopics(value: string, index?: number): string;
getData(): Uint8Array | string;
getData_asU8(): Uint8Array;
getData_asB64(): string;
setData(value: Uint8Array | string): void;
getBlockNumber(): number;
setBlockNumber(value: number): void;
getTxHash(): string;
setTxHash(value: string): void;
getTxIndex(): number;
setTxIndex(value: number): void;
getBlockHash(): string;
setBlockHash(value: string): void;
getIndex(): number;
setIndex(value: number): void;
getRemoved(): boolean;
setRemoved(value: boolean): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Log.AsObject;
static toObject(includeInstance: boolean, msg: Log): Log.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: Log, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Log;
static deserializeBinaryFromReader(message: Log, reader: jspb.BinaryReader): Log;
}
export namespace Log {
export type AsObject = {
address: string,
topicsList: Array<string>,
data: Uint8Array | string,
blockNumber: number,
txHash: string,
txIndex: number,
blockHash: string,
index: number,
removed: boolean,
}
}