@agoric/builders 0.1.1-dev-fdc566c.0 → 0.1.1-dev-2288a0c.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/builders",
|
|
3
|
-
"version": "0.1.1-dev-
|
|
3
|
+
"version": "0.1.1-dev-2288a0c.0+2288a0c",
|
|
4
4
|
"description": "Build scripts for proposals to an Agoric chain",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -23,14 +23,14 @@
|
|
|
23
23
|
"author": "Agoric",
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
27
|
-
"@agoric/fast-usdc": "0.1.1-dev-
|
|
28
|
-
"@agoric/internal": "0.3.3-dev-
|
|
29
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
30
|
-
"@agoric/smart-wallet": "0.5.4-dev-
|
|
31
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
32
|
-
"@agoric/vats": "0.15.2-dev-
|
|
33
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
26
|
+
"@agoric/ertp": "0.16.3-dev-2288a0c.0+2288a0c",
|
|
27
|
+
"@agoric/fast-usdc": "0.1.1-dev-2288a0c.0+2288a0c",
|
|
28
|
+
"@agoric/internal": "0.3.3-dev-2288a0c.0+2288a0c",
|
|
29
|
+
"@agoric/notifier": "0.6.3-dev-2288a0c.0+2288a0c",
|
|
30
|
+
"@agoric/smart-wallet": "0.5.4-dev-2288a0c.0+2288a0c",
|
|
31
|
+
"@agoric/vat-data": "0.5.3-dev-2288a0c.0+2288a0c",
|
|
32
|
+
"@agoric/vats": "0.15.2-dev-2288a0c.0+2288a0c",
|
|
33
|
+
"@agoric/zoe": "0.26.3-dev-2288a0c.0+2288a0c",
|
|
34
34
|
"@endo/bundle-source": "^3.5.0",
|
|
35
35
|
"@endo/captp": "^4.4.3",
|
|
36
36
|
"@endo/eventual-send": "^1.2.8",
|
|
@@ -43,14 +43,14 @@
|
|
|
43
43
|
"import-meta-resolve": "^2.2.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@agoric/deploy-script-support": "0.10.4-dev-
|
|
47
|
-
"@agoric/governance": "0.10.4-dev-
|
|
48
|
-
"@agoric/inter-protocol": "0.16.2-dev-
|
|
49
|
-
"@agoric/orchestration": "0.1.1-dev-
|
|
50
|
-
"@agoric/store": "0.9.3-dev-
|
|
51
|
-
"@agoric/swing-store": "0.9.2-dev-
|
|
52
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
53
|
-
"@agoric/time": "0.3.3-dev-
|
|
46
|
+
"@agoric/deploy-script-support": "0.10.4-dev-2288a0c.0+2288a0c",
|
|
47
|
+
"@agoric/governance": "0.10.4-dev-2288a0c.0+2288a0c",
|
|
48
|
+
"@agoric/inter-protocol": "0.16.2-dev-2288a0c.0+2288a0c",
|
|
49
|
+
"@agoric/orchestration": "0.1.1-dev-2288a0c.0+2288a0c",
|
|
50
|
+
"@agoric/store": "0.9.3-dev-2288a0c.0+2288a0c",
|
|
51
|
+
"@agoric/swing-store": "0.9.2-dev-2288a0c.0+2288a0c",
|
|
52
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-2288a0c.0+2288a0c",
|
|
53
|
+
"@agoric/time": "0.3.3-dev-2288a0c.0+2288a0c",
|
|
54
54
|
"@endo/errors": "^1.2.8",
|
|
55
55
|
"ava": "^5.3.0",
|
|
56
56
|
"c8": "^10.1.2"
|
|
@@ -83,5 +83,5 @@
|
|
|
83
83
|
"typeCoverage": {
|
|
84
84
|
"atLeast": 90.93
|
|
85
85
|
},
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "2288a0cbfa5956216597ea9d9202f8c8e1ac90c9"
|
|
87
87
|
}
|
|
@@ -24,7 +24,6 @@ const { keys } = Object;
|
|
|
24
24
|
const options = {
|
|
25
25
|
flatFee: { type: 'string', default: '0.01' },
|
|
26
26
|
variableRate: { type: 'string', default: '0.01' },
|
|
27
|
-
maxVariableFee: { type: 'string', default: '5' },
|
|
28
27
|
contractRate: { type: 'string', default: '0.2' },
|
|
29
28
|
net: { type: 'string' },
|
|
30
29
|
oracle: { type: 'string', multiple: true },
|
|
@@ -50,7 +49,6 @@ const assetInfoUsage =
|
|
|
50
49
|
* @typedef {{
|
|
51
50
|
* flatFee: string;
|
|
52
51
|
* variableRate: string;
|
|
53
|
-
* maxVariableFee: string;
|
|
54
52
|
* contractRate: string;
|
|
55
53
|
* net?: string;
|
|
56
54
|
* oracle?: string[];
|
|
@@ -161,11 +159,10 @@ export default async (homeP, endowments) => {
|
|
|
161
159
|
/** @param {string} numeral */
|
|
162
160
|
const toRatio = numeral => parseRatio(numeral, USDC);
|
|
163
161
|
const parseFeeConfigArgs = () => {
|
|
164
|
-
const { flatFee, variableRate,
|
|
162
|
+
const { flatFee, variableRate, contractRate } = fees;
|
|
165
163
|
return {
|
|
166
164
|
flat: toAmount(flatFee),
|
|
167
165
|
variableRate: toRatio(variableRate),
|
|
168
|
-
maxVariable: toAmount(maxVariableFee),
|
|
169
166
|
contractRate: toRatio(contractRate),
|
|
170
167
|
};
|
|
171
168
|
};
|