Skip to content

Commit

Permalink
WIP: toy code for cate token
Browse files Browse the repository at this point in the history
  • Loading branch information
amessbee committed May 13, 2024
1 parent d192f04 commit e81b0ea
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
5 changes: 2 additions & 3 deletions contract/src/cateCoin.contract.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@

import { AmountMath, AmountShape, makeIssuerKit, AssetKind } from '@agoric/ertp';
import { AmountMath, makeIssuerKit } from '@agoric/ertp';
import { Far } from '@endo/far';
import { M, getCopyBagEntries, makeCopyBag } from '@endo/patterns';
//import { atomicRearrange } from '@agoric/zoe/src/contractSupport/atomicTransfer.js';

import '@agoric/zoe/exported.js';


Expand Down
9 changes: 9 additions & 0 deletions contract/src/cateCoin.proposal.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ const contractName = 'cateCoin';
* @param {BootstrapPowers} permittedPowers
* @param {*} config
*/


import {

Check failure on line 11 in contract/src/cateCoin.proposal.js

View workflow job for this annotation

GitHub Actions / unit

Import in body of module; reorder to top
installContract,
} from './platform-goals/start-contract.js';
import { allValues } from './objectTools.js';

Check failure on line 14 in contract/src/cateCoin.proposal.js

View workflow job for this annotation

GitHub Actions / unit

Import in body of module; reorder to top

const { Fail } = assert;

export const startCateCoin = async (powers, config) => {
console.log('core eval for', contractName);
const {
Expand Down

0 comments on commit e81b0ea

Please sign in to comment.