Skip to content

Commit 379e4a6

Browse files
pauldeluciashumkovQuantumExplorer
authored
fix: token history contract (#2474)
Co-authored-by: Ivan Shumkov <[email protected]> Co-authored-by: QuantumExplorer <[email protected]>
1 parent b9e42a2 commit 379e4a6

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

packages/token-history-contract/schema/v1/token-history-contract-documents.json

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
"amount": {
153153
"type": "integer",
154154
"minimum": 0,
155-
"description": "The amount that was burned",
155+
"description": "The amount that was minted",
156156
"position": 2
157157
},
158158
"note": {
@@ -414,15 +414,17 @@
414414
"minItems": 32,
415415
"maxItems": 32,
416416
"description": "The token ID",
417-
"position": 0
417+
"position": 0,
418+
"contentMediaType": "application/x.dash.dpp.identifier"
418419
},
419420
"frozenIdentityId": {
420421
"type": "array",
421422
"byteArray": true,
422423
"minItems": 32,
423424
"maxItems": 32,
424425
"description": "The identity Id of the frozen token account",
425-
"position": 1
426+
"position": 1,
427+
"contentMediaType": "application/x.dash.dpp.identifier"
426428
}
427429
},
428430
"required": [
@@ -668,8 +670,11 @@
668670
},
669671
"action": {
670672
"type": "integer",
671-
"minimum": 0,
672-
"description": "The action we are performing",
673+
"enum": [
674+
0,
675+
1
676+
],
677+
"description": "The action we are performing. 0 - Pause, 1 - Resume",
673678
"position": 1
674679
}
675680
},
@@ -752,4 +757,4 @@
752757
],
753758
"additionalProperties": false
754759
}
755-
}
760+
}

0 commit comments

Comments
 (0)