JS API Reference

Module: market/agreement/agreement

Table of contents

Classes

Interfaces

Type Aliases

Type Aliases

AgreementState

Ƭ AgreementState: "Proposal" | "Pending" | "Cancelled" | "Rejected" | "Approved" | "Expired" | "Terminated"

  • Proposal - newly created by a Requestor (draft based on Proposal)
  • Pending - confirmed by a Requestor and send to Provider for approval
  • Cancelled by a Requestor
  • Rejected by a Provider
  • Approved by both sides
  • Expired - not approved, rejected nor cancelled within validity period
  • Terminated - finished after approval.

Defined in

src/market/agreement/agreement.ts:14