• Provide the State in which a vesting contract is.

    Parameters

    • scheme: VestingScheme
    • stateOpt: Option<MarloweState>
    • inputHistory: Input[]
    • getNext: ((environement) => Promise<{
          applicable_inputs: { notify: Option<{ case_index: bigint; is_merkleized_continuation: boolean; }>; deposits: { case_index: bigint; party: Address | Role; can_deposit: bigint; of_token: Token; into_account: Address | Role; is_merkleized_continuation: boolean; }[]; choices: { ...; }[]; };
          can_reduce: boolean;
      }>)
        • (environement): Promise<{
              applicable_inputs: { notify: Option<{ case_index: bigint; is_merkleized_continuation: boolean; }>; deposits: { case_index: bigint; party: Address | Role; can_deposit: bigint; of_token: Token; into_account: Address | Role; is_merkleized_continuation: boolean; }[]; choices: { ...; }[]; };
              can_reduce: boolean;
          }>
        • Parameters

          Returns Promise<{
              applicable_inputs: { notify: Option<{ case_index: bigint; is_merkleized_continuation: boolean; }>; deposits: { case_index: bigint; party: Address | Role; can_deposit: bigint; of_token: Token; into_account: Address | Role; is_merkleized_continuation: boolean; }[]; choices: { ...; }[]; };
              can_reduce: boolean;
          }>

    Returns Promise<VestingState>