/** * Radix Core API * This API is exposed by the Babylon Radix node to give clients access to the Radix Engine, Mempool and State in the node. The default configuration is intended for use by node-runners on a private network, and is not intended to be exposed publicly. Very heavy load may impact the node\'s function. The node exposes a configuration flag which allows disabling certain endpoints which may be problematic, but monitoring is advised. This configuration parameter is `api.core.flags.enable_unbounded_endpoints` / `RADIXDLT_CORE_API_FLAGS_ENABLE_UNBOUNDED_ENDPOINTS`. This API exposes queries against the node\'s current state (see `/lts/state/` or `/state/`), and streams of transaction history (under `/lts/stream/` or `/stream`). If you require queries against snapshots of historical ledger state, you may also wish to consider using the [Gateway API](https://docs-babylon.radixdlt.com/). ## Integration and forward compatibility guarantees Integrators (such as exchanges) are recommended to use the `/lts/` endpoints - they have been designed to be clear and simple for integrators wishing to create and monitor transactions involving fungible transfers to/from accounts. All endpoints under `/lts/` have high guarantees of forward compatibility in future node versions. We may add new fields, but existing fields will not be changed. Assuming the integrating code uses a permissive JSON parser which ignores unknown fields, any additions will not affect existing code. Other endpoints may be changed with new node versions carrying protocol-updates, although any breaking changes will be flagged clearly in the corresponding release notes. All responses may have additional fields added, so clients are advised to use JSON parsers which ignore unknown fields on JSON objects. * * The version of the OpenAPI document: v1.3.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 { EpochChangeCondition } from './EpochChangeCondition'; /** * * @export * @interface ConsensusManagerFieldConfigValue */ export interface ConsensusManagerFieldConfigValue { /** * An integer between `0` and `10^10`, specifying the maximum number of validators * in the active validator set. * @type {number} * @memberof ConsensusManagerFieldConfigValue */ max_validators: number; /** * * @type {EpochChangeCondition} * @memberof ConsensusManagerFieldConfigValue */ epoch_change_condition: EpochChangeCondition; /** * An integer between `0` and `10^10`, specifying the minimum number of epochs * before an unstaker can withdraw their XRD. * @type {number} * @memberof ConsensusManagerFieldConfigValue */ num_unstake_epochs: number; /** * A string-encoded fixed-precision decimal to 18 decimal places. * A decimal is formed of some signed integer `m` of attos (`10^(-18)`) units, where `-2^(192 - 1) <= m < 2^(192 - 1)`. * @type {string} * @memberof ConsensusManagerFieldConfigValue */ total_emission_xrd_per_epoch: string; /** * A string-encoded fixed-precision decimal to 18 decimal places. * A decimal is formed of some signed integer `m` of attos (`10^(-18)`) units, where `-2^(192 - 1) <= m < 2^(192 - 1)`. * @type {string} * @memberof ConsensusManagerFieldConfigValue */ min_validator_reliability: string; /** * An integer between `0` and `10^10`, specifying the minimum number of epochs * before an owner can take their stake units after attempting to withdraw them. * @type {number} * @memberof ConsensusManagerFieldConfigValue */ num_owner_stake_units_unlock_epochs: number; /** * An integer between `0` and `10^10`, specifying the minimum number of epochs * before a fee increase takes effect. * @type {number} * @memberof ConsensusManagerFieldConfigValue */ num_fee_increase_delay_epochs: number; /** * The defining decimal cost of a validator in USD. * This is turned into an XRD cost through the current protocol-based USD/XRD multiplier. * A decimal is formed of some signed integer `m` of attos (`10^(-18)`) units, where `-2^(192 - 1) <= m < 2^(192 - 1)`. * @type {string} * @memberof ConsensusManagerFieldConfigValue */ validator_creation_usd_equivalent_cost: string; /** * The decimal amount of XRD required to be passed in a bucket to create a validator. * A decimal is formed of some signed integer `m` of attos (`10^(-18)`) units, where `-2^(192 - 1) <= m < 2^(192 - 1)`. * @type {string} * @memberof ConsensusManagerFieldConfigValue */ validator_creation_xrd_cost: string; } /** * Check if a given object implements the ConsensusManagerFieldConfigValue interface. */ export declare function instanceOfConsensusManagerFieldConfigValue(value: object): boolean; export declare function ConsensusManagerFieldConfigValueFromJSON(json: any): ConsensusManagerFieldConfigValue; export declare function ConsensusManagerFieldConfigValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConsensusManagerFieldConfigValue; export declare function ConsensusManagerFieldConfigValueToJSON(value?: ConsensusManagerFieldConfigValue | null): any;