Skip to content

Commit d4dd15c

Browse files
author
Arjan Zijderveld
committed
Type registry update
1 parent 3ff8c3b commit d4dd15c

File tree

1 file changed

+63
-3
lines changed

1 file changed

+63
-3
lines changed

scalecodec/type_registry/default.json

+63-3
Original file line numberDiff line numberDiff line change
@@ -1322,8 +1322,14 @@
13221322
"DispatchResult": {
13231323
"type": "enum",
13241324
"type_mapping": [
1325-
["Ok", "Null"],
1326-
["Error", "DispatchError"]
1325+
[
1326+
"Ok",
1327+
"Null"
1328+
],
1329+
[
1330+
"Error",
1331+
"DispatchError"
1332+
]
13271333
]
13281334
},
13291335
"ActiveRecovery": {
@@ -3993,6 +3999,60 @@
39933999
"Vec<u8>"
39944000
]
39954001
]
3996-
}
4002+
},
4003+
"AssetOptions": {
4004+
"type": "struct",
4005+
"type_mapping": [
4006+
[
4007+
"initalIssuance",
4008+
"Compact<Balance>"
4009+
],
4010+
[
4011+
"permissions",
4012+
"PermissionLatest"
4013+
]
4014+
]
4015+
},
4016+
"Owner": {
4017+
"type": "enum",
4018+
"type_mapping": [
4019+
[
4020+
"None",
4021+
"Null"
4022+
],
4023+
[
4024+
"Address",
4025+
"AccountId"
4026+
]
4027+
]
4028+
},
4029+
"PermissionsV1": {
4030+
"type": "struct",
4031+
"type_mapping": [
4032+
[
4033+
"update",
4034+
"Owner"
4035+
],
4036+
[
4037+
"mint",
4038+
"Owner"
4039+
],
4040+
[
4041+
"burn",
4042+
"Owner"
4043+
]
4044+
]
4045+
},
4046+
"PermissionVersions": {
4047+
"type": "enum",
4048+
"type_mapping": [
4049+
[
4050+
"V1",
4051+
"PermissionsV1"
4052+
]
4053+
]
4054+
},
4055+
"PermissionLatest": "PermissionsV1",
4056+
"Approvals": "[bool; 4]"
39974057
}
39984058
}

0 commit comments

Comments
 (0)