agoric 0.21.2-dev-a6737cd.0 → 0.21.2-dev-f010e07.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.
Files changed (2) hide show
  1. package/package.json +17 -17
  2. package/src/chain-config.js +11 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agoric",
3
- "version": "0.21.2-dev-a6737cd.0+a6737cd",
3
+ "version": "0.21.2-dev-f010e07.0+f010e07",
4
4
  "description": "Manage the Agoric Javascript smart contract platform",
5
5
  "type": "module",
6
6
  "main": "src/main.js",
@@ -28,25 +28,25 @@
28
28
  "lint:eslint": "eslint ."
29
29
  },
30
30
  "devDependencies": {
31
- "@agoric/deploy-script-support": "0.10.4-dev-a6737cd.0+a6737cd",
31
+ "@agoric/deploy-script-support": "0.10.4-dev-f010e07.0+f010e07",
32
32
  "ava": "^5.3.0",
33
33
  "c8": "^7.13.0"
34
34
  },
35
35
  "dependencies": {
36
- "@agoric/access-token": "0.4.22-dev-a6737cd.0+a6737cd",
37
- "@agoric/assert": "0.6.1-dev-a6737cd.0+a6737cd",
38
- "@agoric/cache": "0.3.3-dev-a6737cd.0+a6737cd",
39
- "@agoric/casting": "0.4.3-dev-a6737cd.0+a6737cd",
40
- "@agoric/cosmic-proto": "0.3.1-dev-a6737cd.0+a6737cd",
41
- "@agoric/ertp": "0.16.3-dev-a6737cd.0+a6737cd",
42
- "@agoric/inter-protocol": "0.16.2-dev-a6737cd.0+a6737cd",
43
- "@agoric/internal": "0.3.3-dev-a6737cd.0+a6737cd",
44
- "@agoric/smart-wallet": "0.5.4-dev-a6737cd.0+a6737cd",
45
- "@agoric/store": "0.9.3-dev-a6737cd.0+a6737cd",
46
- "@agoric/swingset-vat": "0.32.3-dev-a6737cd.0+a6737cd",
47
- "@agoric/vats": "0.15.2-dev-a6737cd.0+a6737cd",
48
- "@agoric/zoe": "0.26.3-dev-a6737cd.0+a6737cd",
49
- "@agoric/zone": "0.2.3-dev-a6737cd.0+a6737cd",
36
+ "@agoric/access-token": "0.4.22-dev-f010e07.0+f010e07",
37
+ "@agoric/assert": "0.6.1-dev-f010e07.0+f010e07",
38
+ "@agoric/cache": "0.3.3-dev-f010e07.0+f010e07",
39
+ "@agoric/casting": "0.4.3-dev-f010e07.0+f010e07",
40
+ "@agoric/cosmic-proto": "0.3.1-dev-f010e07.0+f010e07",
41
+ "@agoric/ertp": "0.16.3-dev-f010e07.0+f010e07",
42
+ "@agoric/inter-protocol": "0.16.2-dev-f010e07.0+f010e07",
43
+ "@agoric/internal": "0.3.3-dev-f010e07.0+f010e07",
44
+ "@agoric/smart-wallet": "0.5.4-dev-f010e07.0+f010e07",
45
+ "@agoric/store": "0.9.3-dev-f010e07.0+f010e07",
46
+ "@agoric/swingset-vat": "0.32.3-dev-f010e07.0+f010e07",
47
+ "@agoric/vats": "0.15.2-dev-f010e07.0+f010e07",
48
+ "@agoric/zoe": "0.26.3-dev-f010e07.0+f010e07",
49
+ "@agoric/zone": "0.2.3-dev-f010e07.0+f010e07",
50
50
  "@confio/relayer": "^0.9.0",
51
51
  "@cosmjs/crypto": "^0.30.1",
52
52
  "@cosmjs/encoding": "^0.30.1",
@@ -92,5 +92,5 @@
92
92
  "timeout": "2m",
93
93
  "workerThreads": false
94
94
  },
95
- "gitHead": "a6737cdbaad786c978345a026ea65488db259752"
95
+ "gitHead": "f010e07de4def9e926f60e3327908baf5fa91b90"
96
96
  }
@@ -1,5 +1,6 @@
1
1
  import djson from 'deterministic-json';
2
2
  import TOML from '@iarna/toml';
3
+ import * as Tokens from '@agoric/inter-protocol/src/tokens.js';
3
4
 
4
5
  export const STAKING_MAX_VALIDATORS = 150;
5
6
  // Required for IBC connections not to time out.
@@ -13,38 +14,38 @@ export const ICA_HOST_ALLOW_MESSAGES = [
13
14
  ];
14
15
 
15
16
  const Stake = /** @type {const} */ ({
16
- name: 'Agoric Staking Token',
17
+ name: Tokens.Stake.proposedName,
17
18
  description: 'The token used by delegates to stake on the Agoric chain',
18
19
  denom_units: [
19
20
  {
20
- denom: 'ubld',
21
+ denom: Tokens.Stake.denom,
21
22
  exponent: 0,
22
23
  },
23
24
  {
24
25
  denom: 'bld',
25
- exponent: 6,
26
+ exponent: Tokens.Stake.displayInfo.decimalPlaces,
26
27
  },
27
28
  ],
28
- base: 'ubld',
29
+ base: Tokens.Stake.denom,
29
30
  display: 'bld',
30
- symbol: 'BLD',
31
+ symbol: Tokens.Stake.symbol,
31
32
  });
32
33
  const Stable = /** @type {const} */ ({
33
- name: 'Agoric stable token',
34
+ name: Tokens.Stable.proposedName,
34
35
  description: 'The stable token used by the Agoric chain',
35
36
  denom_units: [
36
37
  {
37
- denom: 'uist',
38
+ denom: Tokens.Stable.denom,
38
39
  exponent: 0,
39
40
  },
40
41
  {
41
42
  denom: 'ist',
42
- exponent: 6,
43
+ exponent: Tokens.Stable.displayInfo.decimalPlaces,
43
44
  },
44
45
  ],
45
- base: 'uist',
46
+ base: Tokens.Stable.denom,
46
47
  display: 'ist',
47
- symbol: 'IST',
48
+ symbol: Tokens.Stable.symbol,
48
49
  });
49
50
  export const DENOM_METADATA = /** @type {const} */ ([Stake, Stable]);
50
51