Class RepaymentSchedule

Hierarchy

  • RepaymentSchedule

Constructors

  • Parameters

    • programVersion: AnchorTypeDef<Object, AnchorDefined<Credix, {
          DealTranche: AnchorTypeDef<Object, ({ Fraction: AnchorTypeDef<{ name: "Fraction"; type: { kind: "struct"; fields: [{ name: "numerator"; type: "u32"; }, { name: "denominator"; type: "u32"; }]; }; } & { name: "Fraction"; }, ...>; ... 5 more ...; TrancheClaim: AnchorTypeDef<...>; })>;
          Fraction: AnchorTypeDef<Object, ({ Fraction: AnchorTypeDef<{ name: "Fraction"; type: { kind: "struct"; fields: [{ name: "numerator"; type: "u32"; }, { name: "denominator"; type: "u32"; }]; }; } & { name: "Fraction"; }, ...>; ... 5 more ...; TrancheClaim: AnchorTypeDef<...>; })>;
          LpClaim: AnchorTypeDef<Object, ({ Fraction: AnchorTypeDef<{ name: "Fraction"; type: { kind: "struct"; fields: [{ name: "numerator"; type: "u32"; }, { name: "denominator"; type: "u32"; }]; }; } & { name: "Fraction"; }, ...>; ... 5 more ...; TrancheClaim: AnchorTypeDef<...>; })>;
          RepaymentPeriod: AnchorTypeDef<Object, ({ Fraction: AnchorTypeDef<{ name: "Fraction"; type: { kind: "struct"; fields: [{ name: "numerator"; type: "u32"; }, { name: "denominator"; type: "u32"; }]; }; } & { name: "Fraction"; }, ...>; ... 5 more ...; TrancheClaim: AnchorTypeDef<...>; })>;
          RepaymentPeriodInput: AnchorTypeDef<Object, ({ Fraction: AnchorTypeDef<{ name: "Fraction"; type: { kind: "struct"; fields: [{ name: "numerator"; type: "u32"; }, { name: "denominator"; type: "u32"; }]; }; } & { name: "Fraction"; }, ...>; ... 5 more ...; TrancheClaim: AnchorTypeDef<...>; })>;
          TrancheClaim: AnchorTypeDef<Object, ({ Fraction: AnchorTypeDef<{ name: "Fraction"; type: { kind: "struct"; fields: [{ name: "numerator"; type: "u32"; }, { name: "denominator"; type: "u32"; }]; }; } & { name: "Fraction"; }, ...>; ... 5 more ...; TrancheClaim: AnchorTypeDef<...>; })>;
          TrancheConfig: AnchorTypeDef<Object, ({ Fraction: AnchorTypeDef<{ name: "Fraction"; type: { kind: "struct"; fields: [{ name: "numerator"; type: "u32"; }, { name: "denominator"; type: "u32"; }]; }; } & { name: "Fraction"; }, ...>; ... 5 more ...; TrancheClaim: AnchorTypeDef<...>; })>;
      }>>
    • address: PublicKey

    Returns RepaymentSchedule

Properties

address: PublicKey
periods: RepaymentPeriod[]

Accessors

Methods

  • The sum of the missing principal and interest for all periods up to and including the current period.

    Parameters

    • deal: Deal

      The deal to get the total missing amount for

    Returns null | TokenAmount

Generated using TypeDoc