ZCFMint<K>: {
    burnLosses: ((losses: AmountKeywordRecord, zcfSeat: ZCFSeat) => void);
    getIssuerRecord: (() => IssuerRecord<K>);
    mintGains: ((gains: AmountKeywordRecord, zcfSeat?: ZCFSeat) => ZCFSeat);
}

Type Parameters

Type declaration

  • burnLosses: ((losses: AmountKeywordRecord, zcfSeat: ZCFSeat) => void)

    All the amounts in losses must be of this ZCFMint's brand. The losses' keywords are in the namespace of that seat. Subtract losses from that seat's allocation. The resulting state must be offer safe.

    Burn that amount of assets from the pooled purse.

  • getIssuerRecord: (() => IssuerRecord<K>)
      • (): IssuerRecord<K>
      • Returns IssuerRecord<K>

  • mintGains: ((gains: AmountKeywordRecord, zcfSeat?: ZCFSeat) => ZCFSeat)

    All the amounts in gains must be of this ZCFMint's brand. The gains' keywords are in the namespace of that seat. Add the gains to that seat's allocation. The resulting state must be offer safe. (Currently, increasing assets can never violate offer safety anyway.)

    Mint that amount of assets into the pooled purse. If a seat is provided, it is returned. Otherwise a new seat is returned.