|
| 1 | +// @generated by protoc-gen-es v1.3.0 with parameter "target=dts" |
| 2 | +// @generated from file zetachain/zetacore/observer/confirmation_params.proto (package zetachain.zetacore.observer, syntax proto3) |
| 3 | +/* eslint-disable */ |
| 4 | +// @ts-nocheck |
| 5 | + |
| 6 | +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; |
| 7 | +import { Message, proto3 } from "@bufbuild/protobuf"; |
| 8 | + |
| 9 | +/** |
| 10 | + * @generated from message zetachain.zetacore.observer.ConfirmationParams |
| 11 | + */ |
| 12 | +export declare class ConfirmationParams extends Message<ConfirmationParams> { |
| 13 | + /** |
| 14 | + * This is the safe number of confirmations to wait before an inbound is |
| 15 | + * considered finalized. |
| 16 | + * |
| 17 | + * @generated from field: uint64 safe_inbound_count = 1; |
| 18 | + */ |
| 19 | + safeInboundCount: bigint; |
| 20 | + |
| 21 | + /** |
| 22 | + * This is the number of confirmations for fast inbound observation, which is |
| 23 | + * shorter than safe_inbound_count. |
| 24 | + * |
| 25 | + * @generated from field: uint64 fast_inbound_count = 2; |
| 26 | + */ |
| 27 | + fastInboundCount: bigint; |
| 28 | + |
| 29 | + /** |
| 30 | + * This is the safe number of confirmations to wait before an outbound is |
| 31 | + * considered finalized. |
| 32 | + * |
| 33 | + * @generated from field: uint64 safe_outbound_count = 3; |
| 34 | + */ |
| 35 | + safeOutboundCount: bigint; |
| 36 | + |
| 37 | + /** |
| 38 | + * This is the number of confirmations for fast outbound observation, which is |
| 39 | + * shorter than safe_outbound_count. |
| 40 | + * |
| 41 | + * @generated from field: uint64 fast_outbound_count = 4; |
| 42 | + */ |
| 43 | + fastOutboundCount: bigint; |
| 44 | + |
| 45 | + constructor(data?: PartialMessage<ConfirmationParams>); |
| 46 | + |
| 47 | + static readonly runtime: typeof proto3; |
| 48 | + static readonly typeName = "zetachain.zetacore.observer.ConfirmationParams"; |
| 49 | + static readonly fields: FieldList; |
| 50 | + |
| 51 | + static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConfirmationParams; |
| 52 | + |
| 53 | + static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConfirmationParams; |
| 54 | + |
| 55 | + static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConfirmationParams; |
| 56 | + |
| 57 | + static equals(a: ConfirmationParams | PlainMessage<ConfirmationParams> | undefined, b: ConfirmationParams | PlainMessage<ConfirmationParams> | undefined): boolean; |
| 58 | +} |
| 59 | + |
0 commit comments