@sentio/cli 2.20.2-rc.2 → 2.20.2-rc.3

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": "@sentio/cli",
3
- "version": "2.20.2-rc.2",
3
+ "version": "2.20.2-rc.3",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -1,137 +1,136 @@
1
1
  {
2
- "encoding": "1",
3
- "types": [
2
+ "programType": "contract",
3
+ "specVersion": "1",
4
+ "encodingVersion": "1",
5
+ "concreteTypes": [
4
6
  {
5
- "typeId": 0,
6
- "type": "()",
7
- "components": [],
8
- "typeParameters": null
7
+ "type": "b256",
8
+ "concreteTypeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
9
9
  },
10
10
  {
11
- "typeId": 1,
12
- "type": "b256",
13
- "components": null,
14
- "typeParameters": null
11
+ "type": "enum ColorError",
12
+ "concreteTypeId": "3c5893a10e00114df7da4af22e21bc4e6abb442f0a9a0236892144ef8b5ee356",
13
+ "metadataTypeId": 2
14
+ },
15
+ {
16
+ "type": "enum std::option::Option<str[1]>",
17
+ "concreteTypeId": "41a3629cd05378f7fb5c2027250fdfb884768575efbdad2994495e18752a1b96",
18
+ "metadataTypeId": 3,
19
+ "typeArguments": ["6354581bfa62ac188c9f243cc30e1bf38a150773f871be8765351ef8c5db6c1e"]
20
+ },
21
+ {
22
+ "type": "enum std::result::Result<struct Foo,enum ColorError>",
23
+ "concreteTypeId": "19bd183cd8661e37253fee96c5294d94f25d166c405d72794bf29e48d881f69d",
24
+ "metadataTypeId": 4,
25
+ "typeArguments": [
26
+ "7cfc11f7909eb46c488c03c985d20c9937ae8b9ed2083fa0007b3da8f1a79d87",
27
+ "3c5893a10e00114df7da4af22e21bc4e6abb442f0a9a0236892144ef8b5ee356"
28
+ ]
29
+ },
30
+ {
31
+ "type": "str[1]",
32
+ "concreteTypeId": "6354581bfa62ac188c9f243cc30e1bf38a150773f871be8765351ef8c5db6c1e"
33
+ },
34
+ {
35
+ "type": "str[25]",
36
+ "concreteTypeId": "cb0ee391dbed30daa3cdad5577605a178185248dc00dcf53960b10eea0cab237"
37
+ },
38
+ {
39
+ "type": "struct Foo",
40
+ "concreteTypeId": "7cfc11f7909eb46c488c03c985d20c9937ae8b9ed2083fa0007b3da8f1a79d87",
41
+ "metadataTypeId": 7
42
+ },
43
+ {
44
+ "type": "u32",
45
+ "concreteTypeId": "d7649d428b9ff33d188ecbf38a7e4d8fd167fa01b2e10fe9a8f9308e52f1d7cc"
46
+ },
47
+ {
48
+ "type": "u64",
49
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
50
+ }
51
+ ],
52
+ "metadataTypes": [
53
+ {
54
+ "type": "()",
55
+ "metadataTypeId": 0
15
56
  },
16
57
  {
17
- "typeId": 2,
18
58
  "type": "bool",
19
- "components": null,
20
- "typeParameters": null
59
+ "metadataTypeId": 1
21
60
  },
22
61
  {
23
- "typeId": 3,
24
62
  "type": "enum ColorError",
63
+ "metadataTypeId": 2,
25
64
  "components": [
26
65
  {
27
66
  "name": "Blue",
28
- "type": 0,
29
- "typeArguments": null
67
+ "typeId": 0
30
68
  },
31
69
  {
32
70
  "name": "Green",
33
- "type": 0,
34
- "typeArguments": null
71
+ "typeId": 0
35
72
  },
36
73
  {
37
74
  "name": "Red",
38
- "type": 0,
39
- "typeArguments": null
75
+ "typeId": 0
40
76
  },
41
77
  {
42
78
  "name": "Other",
43
- "type": 0,
44
- "typeArguments": null
79
+ "typeId": 0
45
80
  }
46
- ],
47
- "typeParameters": null
81
+ ]
48
82
  },
49
83
  {
50
- "typeId": 4,
51
- "type": "enum Option",
84
+ "type": "enum std::option::Option",
85
+ "metadataTypeId": 3,
52
86
  "components": [
53
87
  {
54
88
  "name": "None",
55
- "type": 0,
56
- "typeArguments": null
89
+ "typeId": 0
57
90
  },
58
91
  {
59
92
  "name": "Some",
60
- "type": 7,
61
- "typeArguments": null
93
+ "typeId": 6
62
94
  }
63
95
  ],
64
- "typeParameters": [7]
96
+ "typeParameters": [6]
65
97
  },
66
98
  {
67
- "typeId": 5,
68
- "type": "enum Result",
99
+ "type": "enum std::result::Result",
100
+ "metadataTypeId": 4,
69
101
  "components": [
70
102
  {
71
103
  "name": "Ok",
72
- "type": 7,
73
- "typeArguments": null
104
+ "typeId": 6
74
105
  },
75
106
  {
76
107
  "name": "Err",
77
- "type": 6,
78
- "typeArguments": null
108
+ "typeId": 5
79
109
  }
80
110
  ],
81
- "typeParameters": [7, 6]
111
+ "typeParameters": [6, 5]
82
112
  },
83
113
  {
84
- "typeId": 6,
85
114
  "type": "generic E",
86
- "components": null,
87
- "typeParameters": null
115
+ "metadataTypeId": 5
88
116
  },
89
117
  {
90
- "typeId": 7,
91
118
  "type": "generic T",
92
- "components": null,
93
- "typeParameters": null
94
- },
95
- {
96
- "typeId": 8,
97
- "type": "str[1]",
98
- "components": null,
99
- "typeParameters": null
119
+ "metadataTypeId": 6
100
120
  },
101
121
  {
102
- "typeId": 9,
103
- "type": "str[25]",
104
- "components": null,
105
- "typeParameters": null
106
- },
107
- {
108
- "typeId": 10,
109
122
  "type": "struct Foo",
123
+ "metadataTypeId": 7,
110
124
  "components": [
111
125
  {
112
126
  "name": "bar",
113
- "type": 12,
114
- "typeArguments": null
127
+ "typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
115
128
  },
116
129
  {
117
130
  "name": "baz",
118
- "type": 2,
119
- "typeArguments": null
131
+ "typeId": 1
120
132
  }
121
- ],
122
- "typeParameters": null
123
- },
124
- {
125
- "typeId": 11,
126
- "type": "u32",
127
- "components": null,
128
- "typeParameters": null
129
- },
130
- {
131
- "typeId": 12,
132
- "type": "u64",
133
- "components": null,
134
- "typeParameters": null
133
+ ]
135
134
  }
136
135
  ],
137
136
  "functions": [
@@ -139,38 +138,15 @@
139
138
  "inputs": [
140
139
  {
141
140
  "name": "foo",
142
- "type": 10,
143
- "typeArguments": null
141
+ "concreteTypeId": "7cfc11f7909eb46c488c03c985d20c9937ae8b9ed2083fa0007b3da8f1a79d87"
144
142
  },
145
143
  {
146
144
  "name": "option",
147
- "type": 4,
148
- "typeArguments": [
149
- {
150
- "name": "",
151
- "type": 8,
152
- "typeArguments": null
153
- }
154
- ]
145
+ "concreteTypeId": "41a3629cd05378f7fb5c2027250fdfb884768575efbdad2994495e18752a1b96"
155
146
  }
156
147
  ],
157
148
  "name": "complex",
158
- "output": {
159
- "name": "",
160
- "type": 5,
161
- "typeArguments": [
162
- {
163
- "name": "",
164
- "type": 10,
165
- "typeArguments": null
166
- },
167
- {
168
- "name": "",
169
- "type": 3,
170
- "typeArguments": null
171
- }
172
- ]
173
- },
149
+ "output": "19bd183cd8661e37253fee96c5294d94f25d166c405d72794bf29e48d881f69d",
174
150
  "attributes": [
175
151
  {
176
152
  "name": "storage",
@@ -181,11 +157,7 @@
181
157
  {
182
158
  "inputs": [],
183
159
  "name": "count",
184
- "output": {
185
- "name": "",
186
- "type": 12,
187
- "typeArguments": null
188
- },
160
+ "output": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
189
161
  "attributes": [
190
162
  {
191
163
  "name": "storage",
@@ -197,26 +169,19 @@
197
169
  "inputs": [
198
170
  {
199
171
  "name": "add",
200
- "type": 11,
201
- "typeArguments": null
172
+ "concreteTypeId": "d7649d428b9ff33d188ecbf38a7e4d8fd167fa01b2e10fe9a8f9308e52f1d7cc"
202
173
  },
203
174
  {
204
175
  "name": "two",
205
- "type": 12,
206
- "typeArguments": null
176
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
207
177
  },
208
178
  {
209
179
  "name": "three",
210
- "type": 1,
211
- "typeArguments": null
180
+ "concreteTypeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
212
181
  }
213
182
  ],
214
183
  "name": "increment",
215
- "output": {
216
- "name": "",
217
- "type": 12,
218
- "typeArguments": null
219
- },
184
+ "output": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
220
185
  "attributes": [
221
186
  {
222
187
  "name": "storage",
@@ -228,43 +193,23 @@
228
193
  "loggedTypes": [
229
194
  {
230
195
  "logId": "1515152261580153489",
231
- "loggedType": {
232
- "name": "",
233
- "type": 12,
234
- "typeArguments": null
235
- }
196
+ "concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
236
197
  },
237
198
  {
238
199
  "logId": "9006093109815063660",
239
- "loggedType": {
240
- "name": "",
241
- "type": 10,
242
- "typeArguments": []
243
- }
200
+ "concreteTypeId": "7cfc11f7909eb46c488c03c985d20c9937ae8b9ed2083fa0007b3da8f1a79d87"
244
201
  },
245
202
  {
246
203
  "logId": "14631882454972838106",
247
- "loggedType": {
248
- "name": "",
249
- "type": 9,
250
- "typeArguments": null
251
- }
204
+ "concreteTypeId": "cb0ee391dbed30daa3cdad5577605a178185248dc00dcf53960b10eea0cab237"
252
205
  },
253
206
  {
254
207
  "logId": "15520703124961489725",
255
- "loggedType": {
256
- "name": "",
257
- "type": 11,
258
- "typeArguments": null
259
- }
208
+ "concreteTypeId": "d7649d428b9ff33d188ecbf38a7e4d8fd167fa01b2e10fe9a8f9308e52f1d7cc"
260
209
  },
261
210
  {
262
211
  "logId": "8961848586872524460",
263
- "loggedType": {
264
- "name": "",
265
- "type": 1,
266
- "typeArguments": null
267
- }
212
+ "concreteTypeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
268
213
  }
269
214
  ],
270
215
  "messagesTypes": [],