@agoric/zoe 0.26.3-dev-37d3a13.0.37d3a13 → 0.26.3-dev-503ac8b.0.503ac8b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/bundle-contractFacet-js-meta.json +213 -213
- package/package.json +14 -14
- package/src/contractSupport/{types-ambient.d.ts → types.d.ts} +1 -1
- package/src/contractSupport/types.d.ts.map +1 -0
- package/src/contractSupport/{types-ambient.js → types.js} +0 -1
- package/src/contractSupport/zoeHelpers.d.ts +5 -5
- package/src/contractSupport/zoeHelpers.d.ts.map +1 -1
- package/src/contractSupport/zoeHelpers.js +1 -1
- package/src/contracts/autoswap.d.ts +2 -2
- package/src/contracts/autoswap.d.ts.map +1 -1
- package/src/contracts/autoswap.js +1 -1
- package/src/contracts/callSpread/calculateShares.d.ts +1 -1
- package/src/contracts/callSpread/calculateShares.js +2 -2
- package/src/contracts/callSpread/fundedCallSpread.d.ts +2 -2
- package/src/contracts/callSpread/fundedCallSpread.js +3 -3
- package/src/contracts/callSpread/payoffHandler.d.ts +5 -5
- package/src/contracts/callSpread/payoffHandler.d.ts.map +1 -1
- package/src/contracts/callSpread/payoffHandler.js +4 -4
- package/src/contracts/callSpread/percent.js +2 -2
- package/src/contracts/callSpread/pricedCallSpread.js +3 -3
- package/src/contracts/callSpread/{types-ambient.d.ts → types.d.ts} +1 -1
- package/src/contracts/callSpread/types.d.ts.map +1 -0
- package/src/contracts/loan/addCollateral.d.ts +2 -2
- package/src/contracts/loan/addCollateral.d.ts.map +1 -1
- package/src/contracts/loan/addCollateral.js +1 -1
- package/src/contracts/loan/borrow.d.ts +5 -5
- package/src/contracts/loan/borrow.d.ts.map +1 -1
- package/src/contracts/loan/borrow.js +4 -4
- package/src/contracts/loan/close.d.ts +2 -2
- package/src/contracts/loan/close.d.ts.map +1 -1
- package/src/contracts/loan/close.js +2 -2
- package/src/contracts/loan/index.d.ts +2 -2
- package/src/contracts/loan/index.d.ts.map +1 -1
- package/src/contracts/loan/index.js +1 -1
- package/src/contracts/loan/lend.d.ts +2 -2
- package/src/contracts/loan/lend.d.ts.map +1 -1
- package/src/contracts/loan/lend.js +1 -1
- package/src/contracts/loan/liquidate.d.ts +1 -1
- package/src/contracts/loan/liquidate.d.ts.map +1 -1
- package/src/contracts/loan/liquidate.js +1 -1
- package/src/contracts/loan/scheduleLiquidation.d.ts +2 -2
- package/src/contracts/loan/scheduleLiquidation.d.ts.map +1 -1
- package/src/contracts/loan/scheduleLiquidation.js +1 -1
- package/src/contracts/loan/{types-ambient.d.ts → types.d.ts} +1 -1
- package/src/contracts/loan/types.d.ts.map +1 -0
- package/src/contracts/loan/updateDebt.d.ts +3 -3
- package/src/contracts/loan/updateDebt.d.ts.map +1 -1
- package/src/contracts/loan/updateDebt.js +1 -1
- package/src/contracts/mintAndSellNFT.d.ts +2 -2
- package/src/contracts/mintAndSellNFT.d.ts.map +1 -1
- package/src/contracts/mintAndSellNFT.js +1 -1
- package/src/contracts/sellItems.d.ts +4 -4
- package/src/contracts/sellItems.d.ts.map +1 -1
- package/src/contracts/sellItems.js +2 -2
- package/src/contracts/{types-ambient.d.ts → types.d.ts} +1 -1
- package/src/contracts/types.d.ts.map +1 -0
- package/src/contractSupport/types-ambient.d.ts.map +0 -1
- package/src/contracts/callSpread/types-ambient.d.ts.map +0 -1
- package/src/contracts/exported.d.ts +0 -2
- package/src/contracts/exported.d.ts.map +0 -1
- package/src/contracts/exported.js +0 -4
- package/src/contracts/loan/types-ambient.d.ts.map +0 -1
- package/src/contracts/types-ambient.d.ts.map +0 -1
- package/src/types-ambient.d.ts +0 -2
- package/src/types-ambient.d.ts.map +0 -1
- package/src/types-ambient.js +0 -5
- package/src/zoeService/types-ambient.d.ts +0 -2
- package/src/zoeService/types-ambient.d.ts.map +0 -1
- package/src/zoeService/types-ambient.js +0 -5
- /package/src/contracts/callSpread/{types-ambient.js → types.js} +0 -0
- /package/src/contracts/loan/{types-ambient.js → types.js} +0 -0
- /package/src/contracts/{types-ambient.js → types.js} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/zoe",
|
|
3
|
-
"version": "0.26.3-dev-
|
|
3
|
+
"version": "0.26.3-dev-503ac8b.0.503ac8b",
|
|
4
4
|
"description": "Zoe: the Smart Contract Framework for Offer Enforcement",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/zoeService/zoe.js",
|
|
@@ -43,17 +43,17 @@
|
|
|
43
43
|
},
|
|
44
44
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@agoric/base-zone": "0.1.1-dev-
|
|
47
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
48
|
-
"@agoric/internal": "0.3.3-dev-
|
|
49
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
50
|
-
"@agoric/store": "0.9.3-dev-
|
|
51
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
52
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
53
|
-
"@agoric/time": "0.3.3-dev-
|
|
54
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
55
|
-
"@agoric/vow": "0.1.1-dev-
|
|
56
|
-
"@agoric/zone": "0.2.3-dev-
|
|
46
|
+
"@agoric/base-zone": "0.1.1-dev-503ac8b.0.503ac8b",
|
|
47
|
+
"@agoric/ertp": "0.16.3-dev-503ac8b.0.503ac8b",
|
|
48
|
+
"@agoric/internal": "0.3.3-dev-503ac8b.0.503ac8b",
|
|
49
|
+
"@agoric/notifier": "0.6.3-dev-503ac8b.0.503ac8b",
|
|
50
|
+
"@agoric/store": "0.9.3-dev-503ac8b.0.503ac8b",
|
|
51
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-503ac8b.0.503ac8b",
|
|
52
|
+
"@agoric/swingset-vat": "0.32.3-dev-503ac8b.0.503ac8b",
|
|
53
|
+
"@agoric/time": "0.3.3-dev-503ac8b.0.503ac8b",
|
|
54
|
+
"@agoric/vat-data": "0.5.3-dev-503ac8b.0.503ac8b",
|
|
55
|
+
"@agoric/vow": "0.1.1-dev-503ac8b.0.503ac8b",
|
|
56
|
+
"@agoric/zone": "0.2.3-dev-503ac8b.0.503ac8b",
|
|
57
57
|
"@endo/bundle-source": "^4.1.2",
|
|
58
58
|
"@endo/captp": "^4.4.8",
|
|
59
59
|
"@endo/common": "^1.2.13",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"yargs-parser": "^21.1.1"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@agoric/kmarshal": "0.1.1-dev-
|
|
73
|
+
"@agoric/kmarshal": "0.1.1-dev-503ac8b.0.503ac8b",
|
|
74
74
|
"@endo/init": "^1.1.12",
|
|
75
75
|
"ava": "^6.4.1",
|
|
76
76
|
"c8": "^10.1.3",
|
|
@@ -99,5 +99,5 @@
|
|
|
99
99
|
"typeCoverage": {
|
|
100
100
|
"atLeast": 84.84
|
|
101
101
|
},
|
|
102
|
-
"gitHead": "
|
|
102
|
+
"gitHead": "503ac8b7585b631d47e3de876b5621ef7ce7d940"
|
|
103
103
|
}
|
|
@@ -67,4 +67,4 @@ import type { Keyword } from '@agoric/zoe';
|
|
|
67
67
|
import type { PaymentPKeywordRecord } from '@agoric/zoe';
|
|
68
68
|
import type { IssuerKeywordRecord } from '@agoric/zoe';
|
|
69
69
|
import type { Amount } from '@agoric/ertp';
|
|
70
|
-
//# sourceMappingURL=types
|
|
70
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.js"],"names":[],"mappings":";UAcc,OAAO;;;;;WACP,mBAAmB;;;;;;;;YAEnB,mBAAmB;;;;;;;;;;;;;;;yBAqBtB,GAAG,YACH,OAAO,aACP,OAAO,KACL,MAAM;;;;;;;;;;8BAcR,GAAG,YACH,OAAO,aACP,OAAO,KACL,MAAM;;;;mCAIN,MAAM,CAAC,OAAO,EAAC,OAAO,CAAC;;;;;;4EAYvB,oBAAoB;;;;;;;0CAWtB,mBAAmB,GAAG,qBAAqB,GAAG,mBAAmB,GAAG,SAAS,kBAC7E,oBAAoB;;eAKjB,OAAO,KAAK,CAAC;iBACb,OAAO,KAAK,CAAC;;mCAKhB,OAAO,KAAK,CAAC,SACb,KAAK,KACH,OAAO,KAAK,CAAC;6BA3F+E,aAAa;yCAAb,aAAa;yBAAb,aAAa;6BAAb,aAAa;2CAAb,aAAa;yCAAb,aAAa;4BAC7F,cAAc"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @import {Pattern} from '@endo/patterns';
|
|
3
3
|
* @import {AmountKeywordRecord, ContractMeta, Invitation, IssuerKeywordRecord, Keyword, PaymentPKeywordRecord, Proposal, ProposalRecord, UserSeat, ZCF, ZCFSeat} from '@agoric/zoe';
|
|
4
|
-
* @import {KeywordKeywordRecord, MapKeywords, Reverse, Swap, SwapExact} from './types
|
|
4
|
+
* @import {KeywordKeywordRecord, MapKeywords, Reverse, Swap, SwapExact} from './types.js';
|
|
5
5
|
* @import {Allocation} from '../contractFacet/types.js';
|
|
6
6
|
* @import {ERef} from '@agoric/vow';
|
|
7
7
|
*/
|
|
@@ -35,17 +35,17 @@ export type ExpectedRecord = {
|
|
|
35
35
|
exit?: Partial<Record<never, null>> | undefined;
|
|
36
36
|
};
|
|
37
37
|
import type { AmountKeywordRecord } from '@agoric/zoe';
|
|
38
|
-
import type { Swap } from './types
|
|
39
|
-
import type { SwapExact } from './types
|
|
38
|
+
import type { Swap } from './types.js';
|
|
39
|
+
import type { SwapExact } from './types.js';
|
|
40
40
|
import type { ZCFSeat } from '@agoric/zoe';
|
|
41
41
|
import type { Pattern } from '@endo/patterns';
|
|
42
42
|
import type { ZCF } from '@agoric/zoe';
|
|
43
43
|
import type { PaymentPKeywordRecord } from '@agoric/zoe';
|
|
44
44
|
import type { IssuerKeywordRecord } from '@agoric/zoe';
|
|
45
|
-
import type { MapKeywords } from './types
|
|
45
|
+
import type { MapKeywords } from './types.js';
|
|
46
46
|
import type { Invitation } from '@agoric/zoe';
|
|
47
47
|
import type { ERef } from '@agoric/vow';
|
|
48
|
-
import type { KeywordKeywordRecord } from './types
|
|
48
|
+
import type { KeywordKeywordRecord } from './types.js';
|
|
49
49
|
import type { Proposal } from '@agoric/zoe';
|
|
50
50
|
import type { UserSeat } from '@agoric/zoe';
|
|
51
51
|
import type { ProposalRecord } from '@agoric/zoe';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zoeHelpers.d.ts","sourceRoot":"","sources":["zoeHelpers.js"],"names":[],"mappings":"AASA;;;;;;GAMG;AAEH,iIAAkI;AAI3H,oEAON;AAuBM,oCALI,GAAG,QACH,cAAc,UACd,mBAAmB,GACjB,CAAC,GAAC,CAAC,CAOf;AAED,mBAAmB;AACnB,mBADW,IAAI,CAkBb;AAEF,wBAAwB;AACxB,wBADW,SAAS,CAqBlB;AAiBK,uCAHI,OAAO,iBACP,OAAO,QAIgD;AAsB3D,0CAHI,OAAO,YACP,cAAc,QA8BxB;AAGM,+DAGN;AAED,6EAA8E;AAavE,mCANI,GAAG,iBACH,OAAO,WACP,mBAAmB,YACnB,qBAAqB,GACnB,OAAO,CAAC,MAAM,CAAC,CA8B3B;AAYM,sCALI,GAAG,QACH,OAAO,WACP,mBAAmB,GACjB,OAAO,CAAC,qBAAqB,CAAC,CAQ1C;AAWM,oCAJI,GAAG,wBACH,mBAAmB,qGAgB7B;AAED,0BAA0B;AAC1B,0BADW,WAAW,CAYpB;AAiDK,wBAHe,IAAI,kBACJ,MAAM,uBA/BjB,GAAG,cAGH,KAAK,WAAW,MAAM,EAAE,IAAI,CAAC,CAAC,kBAG9B,oBAAoB,GAAG,SAAS,YAKhC,QAAQ,YAGR,OAAO,WAGP,OAAO,cAIP,IAAI,GAGF,OAAO,CAAC;IAAC,eAAe,EAAE,OAAO,CAAC,SAAS,MAAM,CAAC,CAAC,CAAC;IAAC,SAAS,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAA;CAAC,CAAC,CA+D1G;;iBAxVa,MAAM,cAAc;0BACpB,MAAM,UAAU;;;;;;;yCAtByI,aAAa;0BACtG,
|
|
1
|
+
{"version":3,"file":"zoeHelpers.d.ts","sourceRoot":"","sources":["zoeHelpers.js"],"names":[],"mappings":"AASA;;;;;;GAMG;AAEH,iIAAkI;AAI3H,oEAON;AAuBM,oCALI,GAAG,QACH,cAAc,UACd,mBAAmB,GACjB,CAAC,GAAC,CAAC,CAOf;AAED,mBAAmB;AACnB,mBADW,IAAI,CAkBb;AAEF,wBAAwB;AACxB,wBADW,SAAS,CAqBlB;AAiBK,uCAHI,OAAO,iBACP,OAAO,QAIgD;AAsB3D,0CAHI,OAAO,YACP,cAAc,QA8BxB;AAGM,+DAGN;AAED,6EAA8E;AAavE,mCANI,GAAG,iBACH,OAAO,WACP,mBAAmB,YACnB,qBAAqB,GACnB,OAAO,CAAC,MAAM,CAAC,CA8B3B;AAYM,sCALI,GAAG,QACH,OAAO,WACP,mBAAmB,GACjB,OAAO,CAAC,qBAAqB,CAAC,CAQ1C;AAWM,oCAJI,GAAG,wBACH,mBAAmB,qGAgB7B;AAED,0BAA0B;AAC1B,0BADW,WAAW,CAYpB;AAiDK,wBAHe,IAAI,kBACJ,MAAM,uBA/BjB,GAAG,cAGH,KAAK,WAAW,MAAM,EAAE,IAAI,CAAC,CAAC,kBAG9B,oBAAoB,GAAG,SAAS,YAKhC,QAAQ,YAGR,OAAO,WAGP,OAAO,cAIP,IAAI,GAGF,OAAO,CAAC;IAAC,eAAe,EAAE,OAAO,CAAC,SAAS,MAAM,CAAC,CAAC,CAAC;IAAC,SAAS,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAA;CAAC,CAAC,CA+D1G;;iBAxVa,MAAM,cAAc;0BACpB,MAAM,UAAU;;;;;;;yCAtByI,aAAa;0BACtG,YAAY;+BAAZ,YAAY;6BAD6E,aAAa;6BAD1J,gBAAgB;yBAC6H,aAAa;2CAAb,aAAa;yCAAb,aAAa;iCACtG,YAAY;gCAD6E,aAAa;0BAG7J,aAAa;0CAF0C,YAAY;8BAD6E,aAAa;8BAAb,aAAa;oCAAb,aAAa;gCAEvJ,2BAA2B"}
|
|
@@ -10,7 +10,7 @@ import { atomicTransfer, fromOnly, toOnly } from './atomicTransfer.js';
|
|
|
10
10
|
/**
|
|
11
11
|
* @import {Pattern} from '@endo/patterns';
|
|
12
12
|
* @import {AmountKeywordRecord, ContractMeta, Invitation, IssuerKeywordRecord, Keyword, PaymentPKeywordRecord, Proposal, ProposalRecord, UserSeat, ZCF, ZCFSeat} from '@agoric/zoe';
|
|
13
|
-
* @import {KeywordKeywordRecord, MapKeywords, Reverse, Swap, SwapExact} from './types
|
|
13
|
+
* @import {KeywordKeywordRecord, MapKeywords, Reverse, Swap, SwapExact} from './types.js';
|
|
14
14
|
* @import {Allocation} from '../contractFacet/types.js';
|
|
15
15
|
* @import {ERef} from '@agoric/vow';
|
|
16
16
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @import {Keyword, OfferHandler, ZCF} from '@agoric/zoe';
|
|
3
|
-
* @import {AutoswapPublicFacet} from './types
|
|
3
|
+
* @import {AutoswapPublicFacet} from './types.js';
|
|
4
4
|
* @import {Brand} from '@agoric/ertp';
|
|
5
5
|
* @import {Amount} from '@agoric/ertp';
|
|
6
6
|
*/
|
|
@@ -47,5 +47,5 @@ export function start(zcf: ZCF): Promise<{
|
|
|
47
47
|
publicFacet: AutoswapPublicFacet;
|
|
48
48
|
}>;
|
|
49
49
|
import type { ZCF } from '@agoric/zoe';
|
|
50
|
-
import type { AutoswapPublicFacet } from './types
|
|
50
|
+
import type { AutoswapPublicFacet } from './types.js';
|
|
51
51
|
//# sourceMappingURL=autoswap.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autoswap.d.ts","sourceRoot":"","sources":["autoswap.js"],"names":[],"mappings":"AAeA;;;;;GAKG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,2BAFW,GAAG;;GAwVb;yBAnY4C,aAAa;yCACpB,
|
|
1
|
+
{"version":3,"file":"autoswap.d.ts","sourceRoot":"","sources":["autoswap.js"],"names":[],"mappings":"AAeA;;;;;GAKG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,2BAFW,GAAG;;GAwVb;yBAnY4C,aAAa;yCACpB,YAAY"}
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* @import {Keyword, OfferHandler, ZCF} from '@agoric/zoe';
|
|
18
|
-
* @import {AutoswapPublicFacet} from './types
|
|
18
|
+
* @import {AutoswapPublicFacet} from './types.js';
|
|
19
19
|
* @import {Brand} from '@agoric/ertp';
|
|
20
20
|
* @import {Amount} from '@agoric/ertp';
|
|
21
21
|
*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function calculateShares(collateralBrand: import("@agoric/ertp").Brand, price: import("@agoric/ertp").Amount<"nat">, strikePrice1: import("@agoric/ertp").Amount<"nat">, strikePrice2: import("@agoric/ertp").Amount<"nat">): import("./types
|
|
1
|
+
export function calculateShares(collateralBrand: import("@agoric/ertp").Brand, price: import("@agoric/ertp").Amount<"nat">, strikePrice1: import("@agoric/ertp").Amount<"nat">, strikePrice2: import("@agoric/ertp").Amount<"nat">): import("./types.js").CalculateSharesReturn;
|
|
2
2
|
//# sourceMappingURL=calculateShares.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference path="./types
|
|
1
|
+
/// <reference path="./types.js" />
|
|
2
2
|
|
|
3
3
|
import { AmountMath, isNatValue } from '@agoric/ertp';
|
|
4
4
|
import { assert } from '@endo/errors';
|
|
@@ -6,7 +6,7 @@ import { makeRatio, oneMinus } from '../../contractSupport/index.js';
|
|
|
6
6
|
import { make0Percent, make100Percent } from './percent.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* @import {CalculateShares} from './types
|
|
9
|
+
* @import {CalculateShares} from './types.js';
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @import {PriceAuthority} from '@agoric/zoe/tools/types.js';
|
|
3
3
|
* @import {OfferHandler, ZCF, ZCFSeat} from '@agoric/zoe';
|
|
4
|
-
* @import {PositionKind} from './types
|
|
5
|
-
* @import {PayoffHandler} from './types
|
|
4
|
+
* @import {PositionKind} from './types.js';
|
|
5
|
+
* @import {PayoffHandler} from './types.js';
|
|
6
6
|
* @import {Amount} from '@agoric/ertp';
|
|
7
7
|
* @import {PromiseRecord} from '@endo/promise-kit';
|
|
8
8
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference path="./types
|
|
1
|
+
/// <reference path="./types.js" />
|
|
2
2
|
|
|
3
3
|
import { AmountMath } from '@agoric/ertp';
|
|
4
4
|
import { E } from '@endo/eventual-send';
|
|
@@ -14,8 +14,8 @@ import { Position } from './position.js';
|
|
|
14
14
|
/**
|
|
15
15
|
* @import {PriceAuthority} from '@agoric/zoe/tools/types.js';
|
|
16
16
|
* @import {OfferHandler, ZCF, ZCFSeat} from '@agoric/zoe';
|
|
17
|
-
* @import {PositionKind} from './types
|
|
18
|
-
* @import {PayoffHandler} from './types
|
|
17
|
+
* @import {PositionKind} from './types.js';
|
|
18
|
+
* @import {PayoffHandler} from './types.js';
|
|
19
19
|
* @import {Amount} from '@agoric/ertp';
|
|
20
20
|
* @import {PromiseRecord} from '@endo/promise-kit';
|
|
21
21
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @import {ZCF, ZCFSeat} from '@agoric/zoe';
|
|
3
|
-
* @import {PositionKind} from './types
|
|
4
|
-
* @import {PayoffHandler} from './types
|
|
5
|
-
* @import {MakeOptionInvitation} from './types
|
|
3
|
+
* @import {PositionKind} from './types.js';
|
|
4
|
+
* @import {PayoffHandler} from './types.js';
|
|
5
|
+
* @import {MakeOptionInvitation} from './types.js';
|
|
6
6
|
* @import {PromiseRecord} from '@endo/promise-kit';
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export function makePayoffHandler(zcf: ZCF<Record<string, any>>, seatPromiseKits: Record<PositionKind, PromiseRecord<ZCFSeat>>, collateralSeat: ZCFSeat): PayoffHandler;
|
|
18
18
|
import type { ZCF } from '@agoric/zoe';
|
|
19
|
-
import type { PositionKind } from './types
|
|
19
|
+
import type { PositionKind } from './types.js';
|
|
20
20
|
import type { ZCFSeat } from '@agoric/zoe';
|
|
21
21
|
import type { PromiseRecord } from '@endo/promise-kit';
|
|
22
|
-
import type { PayoffHandler } from './types
|
|
22
|
+
import type { PayoffHandler } from './types.js';
|
|
23
23
|
//# sourceMappingURL=payoffHandler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payoffHandler.d.ts","sourceRoot":"","sources":["payoffHandler.js"],"names":[],"mappings":"AAYA;;;;;;GAMG;AAEH;;;;;;;;GAQG;AACH,uCALW,IAAI,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,mBACxB,MAAM,CAAC,YAAY,EAAC,cAAc,OAAO,CAAC,CAAC,kBAC3C,OAAO,GACL,aAAa,CAgEzB;yBA9E8B,aAAa;kCACb,
|
|
1
|
+
{"version":3,"file":"payoffHandler.d.ts","sourceRoot":"","sources":["payoffHandler.js"],"names":[],"mappings":"AAYA;;;;;;GAMG;AAEH;;;;;;;;GAQG;AACH,uCALW,IAAI,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,mBACxB,MAAM,CAAC,YAAY,EAAC,cAAc,OAAO,CAAC,CAAC,kBAC3C,OAAO,GACL,aAAa,CAgEzB;yBA9E8B,aAAa;kCACb,YAAY;6BADZ,aAAa;mCAIZ,mBAAmB;mCAFnB,YAAY"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference path="./types
|
|
1
|
+
/// <reference path="./types.js" />
|
|
2
2
|
|
|
3
3
|
import { AmountMath } from '@agoric/ertp';
|
|
4
4
|
import { E } from '@endo/eventual-send';
|
|
@@ -12,9 +12,9 @@ import { Position } from './position.js';
|
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* @import {ZCF, ZCFSeat} from '@agoric/zoe';
|
|
15
|
-
* @import {PositionKind} from './types
|
|
16
|
-
* @import {PayoffHandler} from './types
|
|
17
|
-
* @import {MakeOptionInvitation} from './types
|
|
15
|
+
* @import {PositionKind} from './types.js';
|
|
16
|
+
* @import {PayoffHandler} from './types.js';
|
|
17
|
+
* @import {MakeOptionInvitation} from './types.js';
|
|
18
18
|
* @import {PromiseRecord} from '@endo/promise-kit';
|
|
19
19
|
*/
|
|
20
20
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { makeRatio } from '../../contractSupport/index.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* @import {Make100Percent} from './types
|
|
7
|
-
* @import {Make0Percent} from './types
|
|
6
|
+
* @import {Make100Percent} from './types.js';
|
|
7
|
+
* @import {Make0Percent} from './types.js';
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
const BASIS_POINTS = 10000n;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference path="./types
|
|
1
|
+
/// <reference path="./types.js" />
|
|
2
2
|
|
|
3
3
|
import { AmountMath } from '@agoric/ertp';
|
|
4
4
|
import { Fail } from '@endo/errors';
|
|
@@ -18,8 +18,8 @@ import { Position } from './position.js';
|
|
|
18
18
|
/**
|
|
19
19
|
* @import {PriceAuthority, PriceDescription, PriceQuote, PriceQuoteValue, PriceQuery,} from '@agoric/zoe/tools/types.js';
|
|
20
20
|
* @import {OfferHandler, ZCF, ZCFSeat} from '@agoric/zoe';
|
|
21
|
-
* @import {PositionKind} from './types
|
|
22
|
-
* @import {PayoffHandler} from './types
|
|
21
|
+
* @import {PositionKind} from './types.js';
|
|
22
|
+
* @import {PayoffHandler} from './types.js';
|
|
23
23
|
* @import {Amount} from '@agoric/ertp';
|
|
24
24
|
* @import {PromiseRecord} from '@endo/promise-kit';
|
|
25
25
|
*/
|
|
@@ -31,4 +31,4 @@ import type { Invitation } from '@agoric/zoe';
|
|
|
31
31
|
import type { Ratio } from '@agoric/ertp';
|
|
32
32
|
import type { Brand } from '@agoric/ertp';
|
|
33
33
|
import type { Amount } from '@agoric/ertp';
|
|
34
|
-
//# sourceMappingURL=types
|
|
34
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.js"],"names":[],"mappings":"2BAEa,MAAM,GAAG,OAAO;kDAUlB,YAAY,KACV,OAAO,CAAC,UAAU,CAAC;;qBAKlB,MAAM,IAAI;0BACT,oBAAoB;;;;;;;;eAQrB,KAAK;gBACL,KAAK;;;;;;;;;;;;;gDAcR,KAAK,SACL,OAAO,KAAK,CAAC,gBACb,OAAO,KAAK,CAAC,gBACb,OAAO,KAAK,CAAC,KACX,qBAAqB;qCAKvB,KAAK,KACH,KAAK;mCAKP,KAAK,KACH,KAAK;gCAnDW,aAAa;2BADH,cAAc;2BAAd,cAAc;4BAAd,cAAc"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @import {OfferHandler} from '@agoric/zoe';
|
|
3
|
-
* @import {MakeAddCollateralInvitation} from './types
|
|
3
|
+
* @import {MakeAddCollateralInvitation} from './types.js';
|
|
4
4
|
*/
|
|
5
5
|
/** @type {MakeAddCollateralInvitation} */
|
|
6
6
|
export const makeAddCollateralInvitation: MakeAddCollateralInvitation;
|
|
7
|
-
import type { MakeAddCollateralInvitation } from './types
|
|
7
|
+
import type { MakeAddCollateralInvitation } from './types.js';
|
|
8
8
|
//# sourceMappingURL=addCollateral.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addCollateral.d.ts","sourceRoot":"","sources":["addCollateral.js"],"names":[],"mappings":"AAOA;;;GAGG;AAKH,0CAA0C;AAC1C,0CADW,2BAA2B,CAwBpC;iDA9B4C,
|
|
1
|
+
{"version":3,"file":"addCollateral.d.ts","sourceRoot":"","sources":["addCollateral.js"],"names":[],"mappings":"AAOA;;;GAGG;AAKH,0CAA0C;AAC1C,0CADW,2BAA2B,CAwBpC;iDA9B4C,YAAY"}
|
|
@@ -7,7 +7,7 @@ import { scheduleLiquidation } from './scheduleLiquidation.js';
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @import {OfferHandler} from '@agoric/zoe';
|
|
10
|
-
* @import {MakeAddCollateralInvitation} from './types
|
|
10
|
+
* @import {MakeAddCollateralInvitation} from './types.js';
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
// Create an invitation to add collateral to the loan. Part of the
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @import {OfferHandler} from '@agoric/zoe';
|
|
3
|
-
* @import {MakeBorrowInvitation} from './types
|
|
4
|
-
* @import {DebtCalculatorConfig} from './types
|
|
5
|
-
* @import {LoanConfigWithBorrower} from './types
|
|
6
|
-
* @import {BorrowFacet} from './types
|
|
3
|
+
* @import {MakeBorrowInvitation} from './types.js';
|
|
4
|
+
* @import {DebtCalculatorConfig} from './types.js';
|
|
5
|
+
* @import {LoanConfigWithBorrower} from './types.js';
|
|
6
|
+
* @import {BorrowFacet} from './types.js';
|
|
7
7
|
* @import {Brand} from '@agoric/ertp';
|
|
8
8
|
*/
|
|
9
9
|
/** @type {MakeBorrowInvitation} */
|
|
10
10
|
export const makeBorrowInvitation: MakeBorrowInvitation;
|
|
11
|
-
import type { MakeBorrowInvitation } from './types
|
|
11
|
+
import type { MakeBorrowInvitation } from './types.js';
|
|
12
12
|
//# sourceMappingURL=borrow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"borrow.d.ts","sourceRoot":"","sources":["borrow.js"],"names":[],"mappings":"AAkBA;;;;;;;GAOG;AAEH,mCAAmC;AACnC,mCADW,oBAAoB,CAsI7B;0CA7IqC,
|
|
1
|
+
{"version":3,"file":"borrow.d.ts","sourceRoot":"","sources":["borrow.js"],"names":[],"mappings":"AAkBA;;;;;;;GAOG;AAEH,mCAAmC;AACnC,mCADW,oBAAoB,CAsI7B;0CA7IqC,YAAY"}
|
|
@@ -18,10 +18,10 @@ import { calculateInterest, makeDebtCalculator } from './updateDebt.js';
|
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* @import {OfferHandler} from '@agoric/zoe';
|
|
21
|
-
* @import {MakeBorrowInvitation} from './types
|
|
22
|
-
* @import {DebtCalculatorConfig} from './types
|
|
23
|
-
* @import {LoanConfigWithBorrower} from './types
|
|
24
|
-
* @import {BorrowFacet} from './types
|
|
21
|
+
* @import {MakeBorrowInvitation} from './types.js';
|
|
22
|
+
* @import {DebtCalculatorConfig} from './types.js';
|
|
23
|
+
* @import {LoanConfigWithBorrower} from './types.js';
|
|
24
|
+
* @import {BorrowFacet} from './types.js';
|
|
25
25
|
* @import {Brand} from '@agoric/ertp';
|
|
26
26
|
*/
|
|
27
27
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @import {OfferHandler} from '@agoric/zoe';
|
|
3
|
-
* @import {MakeCloseLoanInvitation} from './types
|
|
3
|
+
* @import {MakeCloseLoanInvitation} from './types.js';
|
|
4
4
|
*/
|
|
5
5
|
/** @type {MakeCloseLoanInvitation} */
|
|
6
6
|
export const makeCloseLoanInvitation: MakeCloseLoanInvitation;
|
|
7
|
-
import type { MakeCloseLoanInvitation } from './types
|
|
7
|
+
import type { MakeCloseLoanInvitation } from './types.js';
|
|
8
8
|
//# sourceMappingURL=close.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"close.d.ts","sourceRoot":"","sources":["close.js"],"names":[],"mappings":"AAOA;;;GAGG;AAOH,sCAAsC;AACtC,sCADW,uBAAuB,CAiDhC;6CAzDwC,
|
|
1
|
+
{"version":3,"file":"close.d.ts","sourceRoot":"","sources":["close.js"],"names":[],"mappings":"AAOA;;;GAGG;AAOH,sCAAsC;AACtC,sCADW,uBAAuB,CAiDhC;6CAzDwC,YAAY"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference path="./types
|
|
1
|
+
/// <reference path="./types.js" />
|
|
2
2
|
|
|
3
3
|
import { AmountMath } from '@agoric/ertp';
|
|
4
4
|
import { Fail } from '@endo/errors';
|
|
@@ -7,7 +7,7 @@ import { assertProposalShape } from '../../contractSupport/index.js';
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @import {OfferHandler} from '@agoric/zoe';
|
|
10
|
-
* @import {MakeCloseLoanInvitation} from './types
|
|
10
|
+
* @import {MakeCloseLoanInvitation} from './types.js';
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
// The debt, the amount which must be repaid, is just the amount
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @import {PriceAuthority, PriceDescription, PriceQuote, PriceQuoteValue, PriceQuery,} from '@agoric/zoe/tools/types.js';
|
|
3
3
|
* @import {Ratio} from '@agoric/ertp';
|
|
4
4
|
* @import {Instance, ZCF} from '@agoric/zoe';
|
|
5
|
-
* @import {LoanTerms, PeriodNotifier} from './types
|
|
5
|
+
* @import {LoanTerms, PeriodNotifier} from './types.js';
|
|
6
6
|
*/
|
|
7
7
|
/**
|
|
8
8
|
* Add collateral of a particular brand and get a loan of another
|
|
@@ -70,6 +70,6 @@ export function start(zcf: ZCF<{
|
|
|
70
70
|
import type { Ratio } from '@agoric/ertp';
|
|
71
71
|
import type { Instance } from '@agoric/zoe';
|
|
72
72
|
import type { PriceAuthority } from '@agoric/zoe/tools/types.js';
|
|
73
|
-
import type { PeriodNotifier } from './types
|
|
73
|
+
import type { PeriodNotifier } from './types.js';
|
|
74
74
|
import type { ZCF } from '@agoric/zoe';
|
|
75
75
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.js"],"names":[],"mappings":"AAQA;;;;;GAKG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,2BATW,IAAI;IACV,GAAG,EAAE,KAAK,CAAC;IACX,gBAAgB,EAAE,QAAQ,CAAC;IAC3B,cAAc,EAAE,cAAc,CAAC;IAC/B,cAAc,EAAE,cAAc,CAAC;IAC/B,YAAY,EAAE,KAAK,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;;GAsCJ;2BA9FuB,cAAc;8BACN,aAAa;oCAFgD,4BAA4B;oCAG7E,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.js"],"names":[],"mappings":"AAQA;;;;;GAKG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,2BATW,IAAI;IACV,GAAG,EAAE,KAAK,CAAC;IACX,gBAAgB,EAAE,QAAQ,CAAC;IAC3B,cAAc,EAAE,cAAc,CAAC;IAC/B,cAAc,EAAE,cAAc,CAAC;IAC/B,YAAY,EAAE,KAAK,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;;GAsCJ;2BA9FuB,cAAc;8BACN,aAAa;oCAFgD,4BAA4B;oCAG7E,YAAY;yBADxB,aAAa"}
|
|
@@ -10,7 +10,7 @@ import { makeLendInvitation } from './lend.js';
|
|
|
10
10
|
* @import {PriceAuthority, PriceDescription, PriceQuote, PriceQuoteValue, PriceQuery,} from '@agoric/zoe/tools/types.js';
|
|
11
11
|
* @import {Ratio} from '@agoric/ertp';
|
|
12
12
|
* @import {Instance, ZCF} from '@agoric/zoe';
|
|
13
|
-
* @import {LoanTerms, PeriodNotifier} from './types
|
|
13
|
+
* @import {LoanTerms, PeriodNotifier} from './types.js';
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @import {OfferHandler} from '@agoric/zoe';
|
|
3
|
-
* @import {MakeLendInvitation} from './types
|
|
3
|
+
* @import {MakeLendInvitation} from './types.js';
|
|
4
4
|
*/
|
|
5
5
|
/** @type {MakeLendInvitation} */
|
|
6
6
|
export const makeLendInvitation: MakeLendInvitation;
|
|
7
|
-
import type { MakeLendInvitation } from './types
|
|
7
|
+
import type { MakeLendInvitation } from './types.js';
|
|
8
8
|
//# sourceMappingURL=lend.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lend.d.ts","sourceRoot":"","sources":["lend.js"],"names":[],"mappings":"AAGA;;;GAGG;AAYH,iCAAiC;AACjC,iCADW,kBAAkB,CA4B3B;wCAzCmC,
|
|
1
|
+
{"version":3,"file":"lend.d.ts","sourceRoot":"","sources":["lend.js"],"names":[],"mappings":"AAGA;;;GAGG;AAYH,iCAAiC;AACjC,iCADW,kBAAkB,CA4B3B;wCAzCmC,YAAY"}
|
|
@@ -3,7 +3,7 @@ import { makeBorrowInvitation } from './borrow.js';
|
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @import {OfferHandler} from '@agoric/zoe';
|
|
6
|
-
* @import {MakeLendInvitation} from './types
|
|
6
|
+
* @import {MakeLendInvitation} from './types.js';
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
// The lender puts up the amount to be loaned to the borrower, but has
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export function doLiquidation(zcf: any, collateralSeat: any, autoswapPublicFacetP: any, lenderSeat: any, loanBrand: any): Promise<void>;
|
|
2
2
|
export function liquidate(zcf: ZCF, config: LoanConfigWithBorrower): Promise<void>;
|
|
3
3
|
import type { ZCF } from '@agoric/zoe';
|
|
4
|
-
import type { LoanConfigWithBorrower } from './types
|
|
4
|
+
import type { LoanConfigWithBorrower } from './types.js';
|
|
5
5
|
//# sourceMappingURL=liquidate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"liquidate.d.ts","sourceRoot":"","sources":["liquidate.js"],"names":[],"mappings":"AAWO,wIA6CN;AAeM,+BAJI,GAAG,UACH,sBAAsB,GACpB,OAAO,CAAC,IAAI,CAAC,CAiBzB;yBA/EqB,aAAa;4CACM,
|
|
1
|
+
{"version":3,"file":"liquidate.d.ts","sourceRoot":"","sources":["liquidate.js"],"names":[],"mappings":"AAWO,wIA6CN;AAeM,+BAJI,GAAG,UACH,sBAAsB,GACpB,OAAO,CAAC,IAAI,CAAC,CAiBzB;yBA/EqB,aAAa;4CACM,YAAY"}
|
|
@@ -6,7 +6,7 @@ import { offerTo } from '../../contractSupport/zoeHelpers.js';
|
|
|
6
6
|
/**
|
|
7
7
|
* @import {ShutdownWithFailure} from '@agoric/swingset-vat';
|
|
8
8
|
* @import {ZCF} from '@agoric/zoe';
|
|
9
|
-
* @import {LoanConfigWithBorrower} from './types
|
|
9
|
+
* @import {LoanConfigWithBorrower} from './types.js';
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
export const doLiquidation = async (
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @import {ScheduleLiquidation} from './types
|
|
2
|
+
* @import {ScheduleLiquidation} from './types.js';
|
|
3
3
|
*/
|
|
4
4
|
/** @type {ScheduleLiquidation} */
|
|
5
5
|
export const scheduleLiquidation: ScheduleLiquidation;
|
|
6
|
-
import type { ScheduleLiquidation } from './types
|
|
6
|
+
import type { ScheduleLiquidation } from './types.js';
|
|
7
7
|
//# sourceMappingURL=scheduleLiquidation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduleLiquidation.d.ts","sourceRoot":"","sources":["scheduleLiquidation.js"],"names":[],"mappings":"AAUA;;GAEG;AAEH,kCAAkC;AAClC,kCADW,mBAAmB,CAsD5B;yCAzDoC,
|
|
1
|
+
{"version":3,"file":"scheduleLiquidation.d.ts","sourceRoot":"","sources":["scheduleLiquidation.js"],"names":[],"mappings":"AAUA;;GAEG;AAEH,kCAAkC;AAClC,kCADW,mBAAmB,CAsD5B;yCAzDoC,YAAY"}
|
|
@@ -173,4 +173,4 @@ import type { ZCF } from '../../types-index.js';
|
|
|
173
173
|
import type { Invitation } from '../../types-index.js';
|
|
174
174
|
import type { Timestamp } from '@agoric/time';
|
|
175
175
|
import type { Handle } from '@agoric/zoe';
|
|
176
|
-
//# sourceMappingURL=types
|
|
176
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.js"],"names":[],"mappings":";;;;;;;6BAea,SAAS,eAAe,CAAC;;;;;;;+BAUzB,QAAQ;;;;;;SAUP,KAAK;sBAGL,gBAAgB;;;;;oBAEhB,cAAc;oBAKd,cAAc;;;;;kBAEd,KAAK;oBAIL,YAAY;eAEZ,KAAK;qBACL,KAAK;;;;;;gBAKL,OAAO;;;;;mCAMR,SAAS,GAAG,kBAAkB;;;;;;oBAQ7B,OAAO;;;;aAKP,MAAM,OAAO,KAAK,CAAC;;;;;2BAInB,cAAc,UAAU,CAAC;;;;;;;oBASzB,OAAO;;;;;2BAKP,cAAc,UAAU,CAAC;;;;;qCAO1B,oBAAoB,GAAG,wBAAwB;8CAM/C,oBAAoB,GAAG,iCAAiC;wCAM1D,GAAG,UACH,sBAAsB;uCAKtB,GAAG,UACH,SAAS,KACP,OAAO,CAAC,UAAU,CAAC;yCAKrB,GAAG,UACH,oBAAoB,KAClB,OAAO,CAAC,UAAU,CAAC;4CAKrB,GAAG,UACH,sBAAsB,KACpB,OAAO,CAAC,UAAU,CAAC;;;;;gDAQrB,GAAG,UACH,sBAAsB,KACpB,OAAO,CAAC,UAAU,CAAC;wDAKrB,oBAAoB;uCAKpB,OAAO,KAAK,CAAC,gBACb,KAAK,KACH,OAAO,KAAK,CAAC;;;;;;oBAKZ,cAAc;;;;kBAKd,OAAO,KAAK,CAAC;;;;oBAIb,cAAc;kBAId,KAAK;;;;oBACL,YAAY;SAIZ,GAAG;wBAEH,+BAA+B;;;;;cAC/B,SAAS;;;oBAMT,OAAO;2BACP,cAAc,GAAG,CAAC;;sBAElB,OAAO,UAAU,CAAC;oBAClB,cAAc;oBACd,cAAc;kBACd,MAAM;oBACN,YAAY;gBACZ,OAAO;;;;;;;6BAMP,MAAM,OAAO,CAAC,UAAU,CAAC;;;;iCAKzB,MAAM,OAAO,CAAC,UAAU,CAAC;;;;;;;2BAIzB,MAAM,OAAO,CAAC,UAAU,CAAC;;;;iCAOzB,MAAM,SAAS;;;;;qBAIf,MAAM,SAAS,MAAM,CAAC;;;;+BAKtB,MAAM,MAAM;;qCApOQ,cAAc;8BADrB,kBAAkB;8BAWV,aAAa;2BATT,cAAc;oCACpB,yBAAyB;kCAC3B,cAAc;2BAFN,cAAc;6BAG3B,sBAAsB;4BAHT,cAAc;gCAKxB,yBAAyB;mCADtB,mBAAmB;yBAE7B,sBAAsB;gCACf,sBAAsB;+BACvB,cAAc;4BACP,aAAa"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @import {TimestampRecord} from '@agoric/time';
|
|
3
|
-
* @import {CalcInterestFn, MakeDebtCalculator} from './types
|
|
3
|
+
* @import {CalcInterestFn, MakeDebtCalculator} from './types.js';
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @type {CalcInterestFn} Calculate the interest using an interest
|
|
@@ -12,6 +12,6 @@
|
|
|
12
12
|
export const calculateInterest: CalcInterestFn;
|
|
13
13
|
/** @type {MakeDebtCalculator} */
|
|
14
14
|
export const makeDebtCalculator: MakeDebtCalculator;
|
|
15
|
-
import type { CalcInterestFn } from './types
|
|
16
|
-
import type { MakeDebtCalculator } from './types
|
|
15
|
+
import type { CalcInterestFn } from './types.js';
|
|
16
|
+
import type { MakeDebtCalculator } from './types.js';
|
|
17
17
|
//# sourceMappingURL=updateDebt.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateDebt.d.ts","sourceRoot":"","sources":["updateDebt.js"],"names":[],"mappings":"AASA;;;GAGG;AAKH;;;;;;GAMG;AACH,gCANU,cAAc,CAOgB;AAExC,iCAAiC;AACjC,iCADW,kBAAkB,CAyE3B;oCAzFmD,
|
|
1
|
+
{"version":3,"file":"updateDebt.d.ts","sourceRoot":"","sources":["updateDebt.js"],"names":[],"mappings":"AASA;;;GAGG;AAKH;;;;;;GAMG;AACH,gCANU,cAAc,CAOgB;AAExC,iCAAiC;AACjC,iCADW,kBAAkB,CAyE3B;oCAzFmD,YAAY;wCAAZ,YAAY"}
|
|
@@ -9,7 +9,7 @@ import { scheduleLiquidation } from './scheduleLiquidation.js';
|
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @import {TimestampRecord} from '@agoric/time';
|
|
12
|
-
* @import {CalcInterestFn, MakeDebtCalculator} from './types
|
|
12
|
+
* @import {CalcInterestFn, MakeDebtCalculator} from './types.js';
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
// Update the debt by adding the new interest on every period, as
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @import {start as sellItemStart} from './sellItems.js';
|
|
3
3
|
* @import {Installation, ZCF} from '@agoric/zoe';
|
|
4
|
-
* @import {MintAndSellNFTCreatorFacet} from './types
|
|
4
|
+
* @import {MintAndSellNFTCreatorFacet} from './types.js';
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
7
|
* This contract mints non-fungible tokens and creates a selling contract
|
|
@@ -31,5 +31,5 @@ export function start(zcf: ZCF<{
|
|
|
31
31
|
creatorFacet: MintAndSellNFTCreatorFacet;
|
|
32
32
|
};
|
|
33
33
|
import type { ZCF } from '@agoric/zoe';
|
|
34
|
-
import type { MintAndSellNFTCreatorFacet } from './types
|
|
34
|
+
import type { MintAndSellNFTCreatorFacet } from './types.js';
|
|
35
35
|
//# sourceMappingURL=mintAndSellNFT.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mintAndSellNFT.d.ts","sourceRoot":"","sources":["mintAndSellNFT.js"],"names":[],"mappings":"AAOA;;;;GAIG;AAEH;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,2BAJW,IAAI;IACZ,SAAS,EAAE,MAAM,CAAC;CACjB,CAAC;;EA4FJ;yBApHmC,aAAa;gDACJ,
|
|
1
|
+
{"version":3,"file":"mintAndSellNFT.d.ts","sourceRoot":"","sources":["mintAndSellNFT.js"],"names":[],"mappings":"AAOA;;;;GAIG;AAEH;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,2BAJW,IAAI;IACZ,SAAS,EAAE,MAAM,CAAC;CACjB,CAAC;;EA4FJ;yBApHmC,aAAa;gDACJ,YAAY"}
|
|
@@ -8,7 +8,7 @@ import { notForProductionUse } from '@agoric/internal/src/magic-cookie-test-only
|
|
|
8
8
|
/**
|
|
9
9
|
* @import {start as sellItemStart} from './sellItems.js';
|
|
10
10
|
* @import {Installation, ZCF} from '@agoric/zoe';
|
|
11
|
-
* @import {MintAndSellNFTCreatorFacet} from './types
|
|
11
|
+
* @import {MintAndSellNFTCreatorFacet} from './types.js';
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @import {ZCF} from '@agoric/zoe';
|
|
3
|
-
* @import {SellItemsPublicFacet} from './types
|
|
4
|
-
* @import {SellItemsCreatorFacet} from './types
|
|
3
|
+
* @import {SellItemsPublicFacet} from './types.js';
|
|
4
|
+
* @import {SellItemsCreatorFacet} from './types.js';
|
|
5
5
|
* @import {Amount} from '@agoric/ertp';
|
|
6
6
|
*/
|
|
7
7
|
/**
|
|
@@ -35,6 +35,6 @@ export function start(zcf: ZCF<{
|
|
|
35
35
|
};
|
|
36
36
|
import type { Amount } from '@agoric/ertp';
|
|
37
37
|
import type { ZCF } from '@agoric/zoe';
|
|
38
|
-
import type { SellItemsCreatorFacet } from './types
|
|
39
|
-
import type { SellItemsPublicFacet } from './types
|
|
38
|
+
import type { SellItemsCreatorFacet } from './types.js';
|
|
39
|
+
import type { SellItemsPublicFacet } from './types.js';
|
|
40
40
|
//# sourceMappingURL=sellItems.d.ts.map
|