@agoric/fast-usdc 0.1.1-dev-dcf2772.0 → 0.1.1-dev-3154854.0
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/package.json +14 -14
- package/src/fast-usdc.contract.js +3 -2
- package/src/fast-usdc.start.js +7 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/fast-usdc",
|
|
3
|
-
"version": "0.1.1-dev-
|
|
3
|
+
"version": "0.1.1-dev-3154854.0+3154854",
|
|
4
4
|
"description": "CLI and library for Fast USDC product",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"lint:eslint": "eslint ."
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
25
|
-
"@agoric/vats": "0.15.2-dev-
|
|
26
|
-
"@agoric/zone": "0.2.3-dev-
|
|
24
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-3154854.0+3154854",
|
|
25
|
+
"@agoric/vats": "0.15.2-dev-3154854.0+3154854",
|
|
26
|
+
"@agoric/zone": "0.2.3-dev-3154854.0+3154854",
|
|
27
27
|
"@fast-check/ava": "^2.0.1",
|
|
28
28
|
"ava": "^5.3.0",
|
|
29
29
|
"c8": "^10.1.2",
|
|
@@ -31,15 +31,15 @@
|
|
|
31
31
|
"ts-blank-space": "^0.4.1"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@agoric/client-utils": "0.1.1-dev-
|
|
35
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
36
|
-
"@agoric/internal": "0.3.3-dev-
|
|
37
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
38
|
-
"@agoric/orchestration": "0.1.1-dev-
|
|
39
|
-
"@agoric/store": "0.9.3-dev-
|
|
40
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
41
|
-
"@agoric/vow": "0.1.1-dev-
|
|
42
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
34
|
+
"@agoric/client-utils": "0.1.1-dev-3154854.0+3154854",
|
|
35
|
+
"@agoric/ertp": "0.16.3-dev-3154854.0+3154854",
|
|
36
|
+
"@agoric/internal": "0.3.3-dev-3154854.0+3154854",
|
|
37
|
+
"@agoric/notifier": "0.6.3-dev-3154854.0+3154854",
|
|
38
|
+
"@agoric/orchestration": "0.1.1-dev-3154854.0+3154854",
|
|
39
|
+
"@agoric/store": "0.9.3-dev-3154854.0+3154854",
|
|
40
|
+
"@agoric/vat-data": "0.5.3-dev-3154854.0+3154854",
|
|
41
|
+
"@agoric/vow": "0.1.1-dev-3154854.0+3154854",
|
|
42
|
+
"@agoric/zoe": "0.26.3-dev-3154854.0+3154854",
|
|
43
43
|
"@cosmjs/proto-signing": "^0.32.4",
|
|
44
44
|
"@cosmjs/stargate": "^0.32.4",
|
|
45
45
|
"@endo/base64": "^1.0.9",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"publishConfig": {
|
|
79
79
|
"access": "public"
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "315485480f0f0544565374e8d82003938dac04fa"
|
|
82
82
|
}
|
|
@@ -4,6 +4,7 @@ import { observeIteration, subscribeEach } from '@agoric/notifier';
|
|
|
4
4
|
import {
|
|
5
5
|
CosmosChainInfoShape,
|
|
6
6
|
DenomDetailShape,
|
|
7
|
+
DenomShape,
|
|
7
8
|
OrchestrationPowersShape,
|
|
8
9
|
registerChainsAndAssets,
|
|
9
10
|
withOrchestration,
|
|
@@ -55,7 +56,7 @@ export const meta = {
|
|
|
55
56
|
feeConfig: FeeConfigShape,
|
|
56
57
|
marshaller: M.remotable(),
|
|
57
58
|
chainInfo: M.recordOf(M.string(), CosmosChainInfoShape),
|
|
58
|
-
assetInfo: M.
|
|
59
|
+
assetInfo: M.arrayOf([DenomShape, DenomDetailShape]),
|
|
59
60
|
},
|
|
60
61
|
};
|
|
61
62
|
harden(meta);
|
|
@@ -77,7 +78,7 @@ const publishFeeConfig = async (node, marshaller, feeConfig) => {
|
|
|
77
78
|
* marshaller: Marshaller;
|
|
78
79
|
* feeConfig: FeeConfig;
|
|
79
80
|
* chainInfo: Record<string, CosmosChainInfo>;
|
|
80
|
-
* assetInfo:
|
|
81
|
+
* assetInfo: [Denom, DenomDetail & { brandKey?: string}][];
|
|
81
82
|
* }} privateArgs
|
|
82
83
|
* @param {Zone} zone
|
|
83
84
|
* @param {OrchestrationTools} tools
|
package/src/fast-usdc.start.js
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { deeplyFulfilledObject, makeTracer, objectMap } from '@agoric/internal';
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
CosmosChainInfoShape,
|
|
4
|
+
DenomDetailShape,
|
|
5
|
+
DenomShape,
|
|
6
|
+
} from '@agoric/orchestration';
|
|
3
7
|
import { Fail } from '@endo/errors';
|
|
4
8
|
import { E } from '@endo/far';
|
|
5
9
|
import { makeMarshal } from '@endo/marshal';
|
|
@@ -36,7 +40,7 @@ const contractName = 'fastUsdc';
|
|
|
36
40
|
* feeConfig: FeeConfig;
|
|
37
41
|
* feedPolicy: FeedPolicy & Passable;
|
|
38
42
|
* chainInfo: Record<string, CosmosChainInfo & Passable>;
|
|
39
|
-
* assetInfo:
|
|
43
|
+
* assetInfo: [Denom, DenomDetail & {brandKey?: string}][];
|
|
40
44
|
* }} FastUSDCConfig
|
|
41
45
|
*/
|
|
42
46
|
/** @type {TypedPattern<FastUSDCConfig>} */
|
|
@@ -46,7 +50,7 @@ export const FastUSDCConfigShape = M.splitRecord({
|
|
|
46
50
|
feeConfig: FeeConfigShape,
|
|
47
51
|
feedPolicy: FeedPolicyShape,
|
|
48
52
|
chainInfo: M.recordOf(M.string(), CosmosChainInfoShape),
|
|
49
|
-
assetInfo: M.
|
|
53
|
+
assetInfo: M.arrayOf([DenomShape, DenomDetailShape]),
|
|
50
54
|
});
|
|
51
55
|
|
|
52
56
|
/**
|