/** * Thorchain-V1 Unchained API * Provides access to thorchain-v1 chain data. * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { ValidatorCommission } from './ValidatorCommission.js'; import type { ValidatorUnbonding } from './ValidatorUnbonding.js'; /** * Contains info about a validator * @export * @interface Validator */ export interface Validator { /** * * @type {string} * @memberof Validator */ address: string; /** * * @type {string} * @memberof Validator */ apr: string; /** * * @type {ValidatorCommission} * @memberof Validator */ commission: ValidatorCommission; /** * * @type {string} * @memberof Validator */ description: string; /** * * @type {boolean} * @memberof Validator */ jailed: boolean; /** * * @type {string} * @memberof Validator */ moniker: string; /** * * @type {string} * @memberof Validator */ shares: string; /** * * @type {string} * @memberof Validator */ status: string; /** * * @type {string} * @memberof Validator */ tokens: string; /** * * @type {ValidatorUnbonding} * @memberof Validator */ unbonding: ValidatorUnbonding; /** * * @type {string} * @memberof Validator */ website: string; } /** * Check if a given object implements the Validator interface. */ export declare function instanceOfValidator(value: object): boolean; export declare function ValidatorFromJSON(json: any): Validator; export declare function ValidatorFromJSONTyped(json: any, ignoreDiscriminator: boolean): Validator; export declare function ValidatorToJSON(value?: Validator | null): any;