@dashevo/dashpay-contract 0.25.16-rc.2 → 0.25.16-rc.4
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/Cargo.toml +1 -1
- package/package.json +2 -2
- package/schema/dashpay.schema.json +32 -15
package/Cargo.toml
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dashevo/dashpay-contract",
|
|
3
|
-
"version": "0.25.16-rc.
|
|
3
|
+
"version": "0.25.16-rc.4",
|
|
4
4
|
"description": "Reference contract of the DashPay DPA on Dash Evolution",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"lint": "eslint .",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"homepage": "https://github.com/dashevo/dashpay-contract#readme",
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@dashevo/wasm-dpp": "0.25.16-rc.
|
|
28
|
+
"@dashevo/wasm-dpp": "0.25.16-rc.4",
|
|
29
29
|
"chai": "^4.3.10",
|
|
30
30
|
"dirty-chai": "^2.0.1",
|
|
31
31
|
"eslint": "^8.53.0",
|
|
@@ -27,29 +27,34 @@
|
|
|
27
27
|
"avatarUrl": {
|
|
28
28
|
"type": "string",
|
|
29
29
|
"format": "uri",
|
|
30
|
-
"maxLength": 2048
|
|
30
|
+
"maxLength": 2048,
|
|
31
|
+
"position": 0
|
|
31
32
|
},
|
|
32
33
|
"avatarHash": {
|
|
33
34
|
"type": "array",
|
|
34
35
|
"byteArray": true,
|
|
35
36
|
"minItems": 32,
|
|
36
37
|
"maxItems": 32,
|
|
37
|
-
"description": "SHA256 hash of the bytes of the image specified by avatarUrl"
|
|
38
|
+
"description": "SHA256 hash of the bytes of the image specified by avatarUrl",
|
|
39
|
+
"position": 1
|
|
38
40
|
},
|
|
39
41
|
"avatarFingerprint": {
|
|
40
42
|
"type": "array",
|
|
41
43
|
"byteArray": true,
|
|
42
44
|
"minItems": 8,
|
|
43
45
|
"maxItems": 8,
|
|
44
|
-
"description": "dHash the image specified by avatarUrl"
|
|
46
|
+
"description": "dHash the image specified by avatarUrl",
|
|
47
|
+
"position": 2
|
|
45
48
|
},
|
|
46
49
|
"publicMessage": {
|
|
47
50
|
"type": "string",
|
|
48
|
-
"maxLength": 140
|
|
51
|
+
"maxLength": 140,
|
|
52
|
+
"position": 3
|
|
49
53
|
},
|
|
50
54
|
"displayName": {
|
|
51
55
|
"type": "string",
|
|
52
|
-
"maxLength": 25
|
|
56
|
+
"maxLength": 25,
|
|
57
|
+
"position": 4
|
|
53
58
|
}
|
|
54
59
|
},
|
|
55
60
|
"required": [
|
|
@@ -93,21 +98,25 @@
|
|
|
93
98
|
"type": "array",
|
|
94
99
|
"byteArray": true,
|
|
95
100
|
"minItems": 32,
|
|
96
|
-
"maxItems": 32
|
|
101
|
+
"maxItems": 32,
|
|
102
|
+
"position": 0
|
|
97
103
|
},
|
|
98
104
|
"rootEncryptionKeyIndex": {
|
|
99
105
|
"type": "integer",
|
|
100
|
-
"minimum": 0
|
|
106
|
+
"minimum": 0,
|
|
107
|
+
"position": 1
|
|
101
108
|
},
|
|
102
109
|
"derivationEncryptionKeyIndex": {
|
|
103
110
|
"type": "integer",
|
|
104
|
-
"minimum": 0
|
|
111
|
+
"minimum": 0,
|
|
112
|
+
"position": 2
|
|
105
113
|
},
|
|
106
114
|
"privateData": {
|
|
107
115
|
"type": "array",
|
|
108
116
|
"byteArray": true,
|
|
109
117
|
"minItems": 48,
|
|
110
118
|
"maxItems": 2048,
|
|
119
|
+
"position": 3,
|
|
111
120
|
"description": "This is the encrypted values of aliasName + note + displayHidden encoded as an array in cbor"
|
|
112
121
|
}
|
|
113
122
|
},
|
|
@@ -181,41 +190,49 @@
|
|
|
181
190
|
"byteArray": true,
|
|
182
191
|
"minItems": 32,
|
|
183
192
|
"maxItems": 32,
|
|
193
|
+
"position": 0,
|
|
184
194
|
"contentMediaType": "application/x.dash.dpp.identifier"
|
|
185
195
|
},
|
|
186
196
|
"encryptedPublicKey": {
|
|
187
197
|
"type": "array",
|
|
188
198
|
"byteArray": true,
|
|
189
199
|
"minItems": 96,
|
|
190
|
-
"maxItems": 96
|
|
200
|
+
"maxItems": 96,
|
|
201
|
+
"position": 1
|
|
191
202
|
},
|
|
192
203
|
"senderKeyIndex": {
|
|
193
204
|
"type": "integer",
|
|
194
|
-
"minimum": 0
|
|
205
|
+
"minimum": 0,
|
|
206
|
+
"position": 2
|
|
195
207
|
},
|
|
196
208
|
"recipientKeyIndex": {
|
|
197
209
|
"type": "integer",
|
|
198
|
-
"minimum": 0
|
|
210
|
+
"minimum": 0,
|
|
211
|
+
"position": 3
|
|
199
212
|
},
|
|
200
213
|
"accountReference": {
|
|
201
214
|
"type": "integer",
|
|
202
|
-
"minimum": 0
|
|
215
|
+
"minimum": 0,
|
|
216
|
+
"position": 4
|
|
203
217
|
},
|
|
204
218
|
"encryptedAccountLabel": {
|
|
205
219
|
"type": "array",
|
|
206
220
|
"byteArray": true,
|
|
207
221
|
"minItems": 48,
|
|
208
|
-
"maxItems": 80
|
|
222
|
+
"maxItems": 80,
|
|
223
|
+
"position": 5
|
|
209
224
|
},
|
|
210
225
|
"autoAcceptProof": {
|
|
211
226
|
"type": "array",
|
|
212
227
|
"byteArray": true,
|
|
213
228
|
"minItems": 38,
|
|
214
|
-
"maxItems": 102
|
|
229
|
+
"maxItems": 102,
|
|
230
|
+
"position": 6
|
|
215
231
|
},
|
|
216
232
|
"coreHeightCreatedAt": {
|
|
217
233
|
"type": "integer",
|
|
218
|
-
"minimum": 1
|
|
234
|
+
"minimum": 1,
|
|
235
|
+
"position": 7
|
|
219
236
|
}
|
|
220
237
|
},
|
|
221
238
|
"required": [
|