diff --git a/packages/fast-usdc/src/fast-usdc.contract.js b/packages/fast-usdc/src/fast-usdc.contract.js index 91bccb8ddf1..f6482066bf7 100644 --- a/packages/fast-usdc/src/fast-usdc.contract.js +++ b/packages/fast-usdc/src/fast-usdc.contract.js @@ -151,35 +151,6 @@ export const contract = async (zcf, privateArgs, zone, tools) => { async makeOperatorInvitation(operatorId) { return feedKit.creator.makeOperatorInvitation(operatorId); }, - /** - * @param {{ USDC: Amount<'nat'>}} amounts - */ - testBorrow(amounts) { - console.log('🚧🚧 UNTIL: borrow is integrated (#10388) 🚧🚧', amounts); - const { zcfSeat: tmpAssetManagerSeat } = zcf.makeEmptySeatKit(); - poolKit.borrower.borrow(tmpAssetManagerSeat, amounts); - return tmpAssetManagerSeat.getCurrentAllocation(); - }, - /** - * - * @param {RepayAmountKWR} amounts - * @param {RepayPaymentKWR} payments - * @returns {Promise} - */ - async testRepay(amounts, payments) { - console.log('🚧🚧 UNTIL: repay is integrated (#10388) 🚧🚧', amounts); - const { zcfSeat: tmpAssetManagerSeat } = zcf.makeEmptySeatKit(); - await depositToSeat( - zcf, - tmpAssetManagerSeat, - await deeplyFulfilledObject( - objectMap(payments, pmt => E(terms.issuers.USDC).getAmountOf(pmt)), - ), - payments, - ); - poolKit.repayer.repay(tmpAssetManagerSeat, amounts); - return tmpAssetManagerSeat.getCurrentAllocation(); - }, }); const publicFacet = zone.exo('Fast USDC Public', undefined, {