@ocap/config 1.22.2 → 1.23.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/lib/default.js CHANGED
@@ -35,11 +35,16 @@ module.exports = {
35
35
  'fg:t:migrate_rollup': 1691,
36
36
  'fg:t:create_rollup_block': 4096,
37
37
  'fg:t:claim_block_reward': 1691,
38
+ 'fg:t:mint_token': 4096,
39
+ 'fg:t:burn_token': 4096,
40
+ 'fg:t:create_token_factory': 1691,
41
+ 'fg:t:update_token_factory': 1691,
38
42
  },
39
43
  txFee: {
40
44
  default: 0, // in ABT
41
45
  'fg:t:create_asset': 1,
42
46
  'fg:t:mint_asset': 1,
47
+ 'fg:t:update_token_factory': 100,
43
48
  'fg:t:create_token_factory': 100,
44
49
  'fg:t:create_factory': 100,
45
50
  'fg:t:create_token': 1000,
@@ -67,6 +72,8 @@ module.exports = {
67
72
  'fg:t:create_factory',
68
73
  'fg:t:create_token',
69
74
  'fg:t:create_rollup',
75
+ 'fg:t:create_token_factory',
76
+ 'fg:t:update_token_factory',
70
77
  ],
71
78
  },
72
79
  supportedTxs: [
@@ -124,10 +131,13 @@ module.exports = {
124
131
  'fg:t:claim_block_reward',
125
132
  'fg:t:create_asset',
126
133
  'fg:t:consume_asset',
134
+ 'fg:t:mint_token',
135
+ 'fg:t:burn_token',
127
136
  ],
128
137
  },
129
138
  vaults: {},
130
139
  accounts: [],
140
+ internalSymbols: ['TBA'],
131
141
  token: {
132
142
  name: 'TestChainToken',
133
143
  decimal: 18,
package/lib/schema.js CHANGED
@@ -70,6 +70,7 @@ const configSchema = Joi.object({
70
70
  })
71
71
  .optional()
72
72
  .default(defaultConfig.token),
73
+ internalSymbols: Joi.array().items(Joi.string()).optional(),
73
74
  }).options({ stripUnknown: true });
74
75
 
75
76
  module.exports = configSchema;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.22.2",
6
+ "version": "1.23.0",
7
7
  "description": "OCAP config parsing/validation and default",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -20,10 +20,10 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "lodash": "^4.17.21",
23
- "@arcblock/did": "1.22.2",
24
- "@arcblock/did-util": "1.22.2",
25
- "@arcblock/validator": "1.22.2",
26
- "@ocap/util": "1.22.2"
23
+ "@arcblock/did": "1.23.0",
24
+ "@arcblock/did-util": "1.23.0",
25
+ "@ocap/util": "1.23.0",
26
+ "@arcblock/validator": "1.23.0"
27
27
  },
28
28
  "scripts": {
29
29
  "lint": "eslint tests lib",