Skip to content

Commit 8e11aff

Browse files
committed
updated schema
1 parent 2a0deda commit 8e11aff

File tree

2 files changed

+68
-0
lines changed

2 files changed

+68
-0
lines changed

schema/handle_answer.json

+19
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,25 @@
341341
}
342342
}
343343
},
344+
{
345+
"type": "object",
346+
"required": [
347+
"batch_burn_from"
348+
],
349+
"properties": {
350+
"batch_burn_from": {
351+
"type": "object",
352+
"required": [
353+
"status"
354+
],
355+
"properties": {
356+
"status": {
357+
"$ref": "#/definitions/ResponseStatus"
358+
}
359+
}
360+
}
361+
}
362+
},
344363
{
345364
"type": "object",
346365
"required": [

schema/handle_msg.json

+49
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,34 @@
547547
}
548548
}
549549
},
550+
{
551+
"type": "object",
552+
"required": [
553+
"batch_burn_from"
554+
],
555+
"properties": {
556+
"batch_burn_from": {
557+
"type": "object",
558+
"required": [
559+
"actions"
560+
],
561+
"properties": {
562+
"actions": {
563+
"type": "array",
564+
"items": {
565+
"$ref": "#/definitions/BurnFromAction"
566+
}
567+
},
568+
"padding": {
569+
"type": [
570+
"string",
571+
"null"
572+
]
573+
}
574+
}
575+
}
576+
}
577+
},
550578
{
551579
"type": "object",
552580
"required": [
@@ -750,6 +778,27 @@
750778
"description": "Binary is a wrapper around Vec<u8> to add base64 de/serialization with serde. It also adds some helper methods to help encode inline.\n\nThis is only needed as serde-json-{core,wasm} has a horrible encoding for Vec<u8>",
751779
"type": "string"
752780
},
781+
"BurnFromAction": {
782+
"type": "object",
783+
"required": [
784+
"amount",
785+
"owner"
786+
],
787+
"properties": {
788+
"amount": {
789+
"$ref": "#/definitions/Uint128"
790+
},
791+
"memo": {
792+
"type": [
793+
"string",
794+
"null"
795+
]
796+
},
797+
"owner": {
798+
"$ref": "#/definitions/HumanAddr"
799+
}
800+
}
801+
},
753802
"ContractStatusLevel": {
754803
"type": "string",
755804
"enum": [

0 commit comments

Comments
 (0)