Skip to content

Commit

Permalink
feat(vats): export AssetTerms type from mintHolder.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Apr 25, 2022
1 parent 255e99f commit cfa36cd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/vats/src/mintHolder.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ import { makeIssuerKit } from '@agoric/ertp';
* makeIssuerKit in its own contract, and hence in
* its own vat.
*
* @param {ZCF<{
* @typedef {{
* keyword: string,
* assetKind: AssetKind,
* displayInfo: DisplayInfo,
* }>} zcf
* @returns {{ publicFacet: Issuer, creatorFacet: Mint }}
* }} AssetTerms
*
* @type {ContractStartFn<Issuer, Mint, AssetTerms>}
*/
export const start = zcf => {
const { keyword, assetKind, displayInfo } = zcf.getTerms();
Expand Down

0 comments on commit cfa36cd

Please sign in to comment.