ZCFSeat: RemotableObject & {
    exit: ((completion?: Completion) => void);
    fail: ZCFSeatFail;
    getAmountAllocated: (<B>(keyword: Keyword, brand?: B) => B extends Brand<infer K>
        ? Amount<K>
        : Amount);
    getCurrentAllocation: (() => Allocation);
    getProposal: (() => ProposalRecord);
    getSubscriber: (() => Promise<Subscriber<Allocation>>);
    hasExited: (() => boolean);
    isOfferSafe: ((newAllocation: Allocation) => boolean);
}

Type declaration

  • exit: ((completion?: Completion) => void)
      • (completion?): void
      • Parameters

        Returns void

  • fail: ZCFSeatFail
  • getAmountAllocated: (<B>(keyword: Keyword, brand?: B) => B extends Brand<infer K>
        ? Amount<K>
        : Amount)
      • <B>(keyword, brand?): B extends Brand<infer K>
            ? Amount<K>
            : Amount
      • Type Parameters

        Parameters

        • keyword: Keyword
        • Optionalbrand: B

          used for filling in an empty amount if the keyword is not present in the allocation

        Returns B extends Brand<infer K>
            ? Amount<K>
            : Amount

  • getCurrentAllocation: (() => Allocation)
      • (): Allocation
      • Returns Allocation

  • getProposal: (() => ProposalRecord)
  • getSubscriber: (() => Promise<Subscriber<Allocation>>)
  • hasExited: (() => boolean)
      • (): boolean
      • Returns boolean

  • isOfferSafe: ((newAllocation: Allocation) => boolean)
      • (newAllocation): boolean
      • Parameters

        • newAllocation: Allocation

        Returns boolean