// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { DecCoin } from './DecCoin';
import type { DelegationEvent } from './DelegationEvent';
import type { MixNodeCostParams } from './MixNodeCostParams';

export interface DelegationWithEverything {
  owner: string;
  mix_id: number;
  node_identity: string;
  amount: DecCoin;
  accumulated_by_delegates: DecCoin | null;
  accumulated_by_operator: DecCoin | null;
  block_height: bigint;
  delegated_on_iso_datetime: string;
  cost_params: MixNodeCostParams | null;
  avg_uptime_percent: number | null;
  stake_saturation: string | null;
  uses_vesting_contract_tokens: boolean;
  unclaimed_rewards: DecCoin | null;
  pending_events: Array<DelegationEvent>;
  mixnode_is_unbonding: boolean | null;
}
