# ZCFMint Object

An object used by the Zoe Contract Facet to issue digital assets. It's very similar to the Mint object, but it has a more limited set of methods.

ZCFMints are created and returned by Zoe Contract Facet's zcf.makeZCFMint() method.

# aZCFMint.getIssuerRecord()

  • Returns: IssuerRecord

Returns an IssuerRecord containing the Issuer and Brand associated with the zcfMint.

# aZCFMint.mintGains(gains, zcfSeat?)

All amounts in gains must be of this ZCFMint's Brand. The gains' Keywords are in that seat's namespace. Mint the gains Amount of assets and add them to that seat's Allocation. If a seat is provided, it is returned. Otherwise a new seat is returned.

# aZCFMint.burnLosses(losses, zcfSeat?)

All amounts in losses must be of this ZCFMint's Brand. The losses' Keywords are in that seat's namespace. Subtract losses from that seat's Allocation, then burn that amount of assets from the pooled Purse.