// package: // file: proto/loom.proto import * as jspb from "google-protobuf"; export class SignedTx extends jspb.Message { getInner(): Uint8Array | string; getInner_asU8(): Uint8Array; getInner_asB64(): string; setInner(value: Uint8Array | string): void; getSignature(): Uint8Array | string; getSignature_asU8(): Uint8Array; getSignature_asB64(): string; setSignature(value: Uint8Array | string): void; getPublicKey(): Uint8Array | string; getPublicKey_asU8(): Uint8Array; getPublicKey_asB64(): string; setPublicKey(value: Uint8Array | string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): SignedTx.AsObject; static toObject(includeInstance: boolean, msg: SignedTx): SignedTx.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: SignedTx, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): SignedTx; static deserializeBinaryFromReader(message: SignedTx, reader: jspb.BinaryReader): SignedTx; } export namespace SignedTx { export type AsObject = { inner: Uint8Array | string, signature: Uint8Array | string, publicKey: Uint8Array | string, } } export class NonceTx extends jspb.Message { getInner(): Uint8Array | string; getInner_asU8(): Uint8Array; getInner_asB64(): string; setInner(value: Uint8Array | string): void; getSequence(): number; setSequence(value: number): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): NonceTx.AsObject; static toObject(includeInstance: boolean, msg: NonceTx): NonceTx.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: NonceTx, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): NonceTx; static deserializeBinaryFromReader(message: NonceTx, reader: jspb.BinaryReader): NonceTx; } export namespace NonceTx { export type AsObject = { inner: Uint8Array | string, sequence: number, } } export class BigUInt extends jspb.Message { getValue(): Uint8Array | string; getValue_asU8(): Uint8Array; getValue_asB64(): string; setValue(value: Uint8Array | string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): BigUInt.AsObject; static toObject(includeInstance: boolean, msg: BigUInt): BigUInt.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: BigUInt, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): BigUInt; static deserializeBinaryFromReader(message: BigUInt, reader: jspb.BinaryReader): BigUInt; } export namespace BigUInt { export type AsObject = { value: Uint8Array | string, } } export class Address extends jspb.Message { getChainId(): string; setChainId(value: string): void; getLocal(): Uint8Array | string; getLocal_asU8(): Uint8Array; getLocal_asB64(): string; setLocal(value: Uint8Array | string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): Address.AsObject; static toObject(includeInstance: boolean, msg: Address): Address.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: Address, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): Address; static deserializeBinaryFromReader(message: Address, reader: jspb.BinaryReader): Address; } export namespace Address { export type AsObject = { chainId: string, local: Uint8Array | string, } } export class Transaction extends jspb.Message { getId(): number; setId(value: number): void; getData(): Uint8Array | string; getData_asU8(): Uint8Array; getData_asB64(): string; setData(value: Uint8Array | string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): Transaction.AsObject; static toObject(includeInstance: boolean, msg: Transaction): Transaction.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: Transaction, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): Transaction; static deserializeBinaryFromReader(message: Transaction, reader: jspb.BinaryReader): Transaction; } export namespace Transaction { export type AsObject = { id: number, data: Uint8Array | string, } } export class MessageTx extends jspb.Message { hasTo(): boolean; clearTo(): void; getTo(): Address | undefined; setTo(value?: Address): void; hasFrom(): boolean; clearFrom(): void; getFrom(): Address | undefined; setFrom(value?: Address): void; getData(): Uint8Array | string; getData_asU8(): Uint8Array; getData_asB64(): string; setData(value: Uint8Array | string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): MessageTx.AsObject; static toObject(includeInstance: boolean, msg: MessageTx): MessageTx.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: MessageTx, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): MessageTx; static deserializeBinaryFromReader(message: MessageTx, reader: jspb.BinaryReader): MessageTx; } export namespace MessageTx { export type AsObject = { to?: Address.AsObject, from?: Address.AsObject, data: Uint8Array | string, } } export class DeployTx extends jspb.Message { getVmType(): VMType; setVmType(value: VMType): void; getCode(): Uint8Array | string; getCode_asU8(): Uint8Array; getCode_asB64(): string; setCode(value: Uint8Array | string): void; getName(): string; setName(value: string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): DeployTx.AsObject; static toObject(includeInstance: boolean, msg: DeployTx): DeployTx.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: DeployTx, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): DeployTx; static deserializeBinaryFromReader(message: DeployTx, reader: jspb.BinaryReader): DeployTx; } export namespace DeployTx { export type AsObject = { vmType: VMType, code: Uint8Array | string, name: string, } } export class DeployResponse extends jspb.Message { hasContract(): boolean; clearContract(): void; getContract(): Address | undefined; setContract(value?: Address): void; getOutput(): Uint8Array | string; getOutput_asU8(): Uint8Array; getOutput_asB64(): string; setOutput(value: Uint8Array | string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): DeployResponse.AsObject; static toObject(includeInstance: boolean, msg: DeployResponse): DeployResponse.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: DeployResponse, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): DeployResponse; static deserializeBinaryFromReader(message: DeployResponse, reader: jspb.BinaryReader): DeployResponse; } export namespace DeployResponse { export type AsObject = { contract?: Address.AsObject, output: Uint8Array | string, } } export class DeployResponseData extends jspb.Message { getTxHash(): Uint8Array | string; getTxHash_asU8(): Uint8Array; getTxHash_asB64(): string; setTxHash(value: Uint8Array | string): void; getBytecode(): Uint8Array | string; getBytecode_asU8(): Uint8Array; getBytecode_asB64(): string; setBytecode(value: Uint8Array | string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): DeployResponseData.AsObject; static toObject(includeInstance: boolean, msg: DeployResponseData): DeployResponseData.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: DeployResponseData, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): DeployResponseData; static deserializeBinaryFromReader(message: DeployResponseData, reader: jspb.BinaryReader): DeployResponseData; } export namespace DeployResponseData { export type AsObject = { txHash: Uint8Array | string, bytecode: Uint8Array | string, } } export class CallTx extends jspb.Message { getVmType(): VMType; setVmType(value: VMType): void; getInput(): Uint8Array | string; getInput_asU8(): Uint8Array; getInput_asB64(): string; setInput(value: Uint8Array | string): void; hasValue(): boolean; clearValue(): void; getValue(): BigUInt | undefined; setValue(value?: BigUInt): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): CallTx.AsObject; static toObject(includeInstance: boolean, msg: CallTx): CallTx.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: CallTx, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): CallTx; static deserializeBinaryFromReader(message: CallTx, reader: jspb.BinaryReader): CallTx; } export namespace CallTx { export type AsObject = { vmType: VMType, input: Uint8Array | string, value?: BigUInt.AsObject, } } export class PluginCode extends jspb.Message { getName(): string; setName(value: string): void; getInput(): Uint8Array | string; getInput_asU8(): Uint8Array; getInput_asB64(): string; setInput(value: Uint8Array | string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): PluginCode.AsObject; static toObject(includeInstance: boolean, msg: PluginCode): PluginCode.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: PluginCode, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): PluginCode; static deserializeBinaryFromReader(message: PluginCode, reader: jspb.BinaryReader): PluginCode; } export namespace PluginCode { export type AsObject = { name: string, input: Uint8Array | string, } } export class Request extends jspb.Message { getContentType(): EncodingType; setContentType(value: EncodingType): void; getAccept(): EncodingType; setAccept(value: EncodingType): void; getBody(): Uint8Array | string; getBody_asU8(): Uint8Array; getBody_asB64(): string; setBody(value: Uint8Array | string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): Request.AsObject; static toObject(includeInstance: boolean, msg: Request): Request.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: Request, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): Request; static deserializeBinaryFromReader(message: Request, reader: jspb.BinaryReader): Request; } export namespace Request { export type AsObject = { contentType: EncodingType, accept: EncodingType, body: Uint8Array | string, } } export class Response extends jspb.Message { getContentType(): EncodingType; setContentType(value: EncodingType): void; getBody(): Uint8Array | string; getBody_asU8(): Uint8Array; getBody_asB64(): string; setBody(value: Uint8Array | string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): Response.AsObject; static toObject(includeInstance: boolean, msg: Response): Response.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: Response, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): Response; static deserializeBinaryFromReader(message: Response, reader: jspb.BinaryReader): Response; } export namespace Response { export type AsObject = { contentType: EncodingType, body: Uint8Array | string, } } export class ContractMethodCall extends jspb.Message { getMethod(): string; setMethod(value: string): void; getArgs(): Uint8Array | string; getArgs_asU8(): Uint8Array; getArgs_asB64(): string; setArgs(value: Uint8Array | string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): ContractMethodCall.AsObject; static toObject(includeInstance: boolean, msg: ContractMethodCall): ContractMethodCall.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: ContractMethodCall, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): ContractMethodCall; static deserializeBinaryFromReader(message: ContractMethodCall, reader: jspb.BinaryReader): ContractMethodCall; } export namespace ContractMethodCall { export type AsObject = { method: string, args: Uint8Array | string, } } export enum VMType { PLUGIN = 0, EVM = 1, } export enum EncodingType { JSON = 0, PROTOBUF3 = 1, }