Created
September 28, 2020 13:00
-
-
Save ashchan/f019ebc5976fa580a2b8914edb222580 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"all_nodes": { | |
"0b2d8d19-b7a0-489a-8cd3-496397a61c29": { | |
"id": "0b2d8d19-b7a0-489a-8cd3-496397a61c29", | |
"name": "Root", | |
"position": { | |
"dx": 157, | |
"dy": 367 | |
}, | |
"slots": [ | |
{ | |
"id": "8a92f815-0480-4e8c-9048-96951528af6c", | |
"name": "balance", | |
"child_id": "b65d42d2-a139-4c5f-8a0d-e1bf15fb3548" | |
}, | |
{ | |
"id": "49cb6250-3693-4736-9822-47808d170215", | |
"name": "deposit", | |
"child_id": "ec719364-326b-41ed-8f0d-bb0164a10786" | |
}, | |
{ | |
"id": "313ddbbb-8107-49d4-8368-efe1621487d0", | |
"name": "withdraw", | |
"child_id": "91a86f54-8a73-415c-9bd4-d44cb8455f47" | |
}, | |
{ | |
"id": "6611c85b-a5d0-4398-9a35-5f83a3476b6f", | |
"name": "unlock", | |
"child_id": "c3a04780-1945-4989-8373-ddbbfc7259f0" | |
} | |
], | |
"call_slot_ids": [ | |
"8a92f815-0480-4e8c-9048-96951528af6c" | |
], | |
"stream_slot_ids": [ | |
"49cb6250-3693-4736-9822-47808d170215", | |
"313ddbbb-8107-49d4-8368-efe1621487d0", | |
"6611c85b-a5d0-4398-9a35-5f83a3476b6f" | |
], | |
"node_type": "RootNode" | |
}, | |
"b65d42d2-a139-4c5f-8a0d-e1bf15fb3548": { | |
"id": "b65d42d2-a139-4c5f-8a0d-e1bf15fb3548", | |
"name": "balance", | |
"position": { | |
"dx": 447, | |
"dy": 257 | |
}, | |
"slots": [ | |
{ | |
"id": "4489b681-d0a3-4c9b-8615-7abd91c81b11", | |
"name": "func", | |
"child_id": "c12c0562-ab7a-476e-a5b3-9e87ce0cf922" | |
}, | |
{ | |
"id": "8eea55cc-78c9-4ca5-9715-f6e6987ddd31", | |
"name": "current", | |
"child_id": "f176c6bb-078f-4f18-9309-782588aba0a7" | |
}, | |
{ | |
"id": "21209458-2483-446e-b51b-2f7829545cee", | |
"name": "capacities", | |
"child_id": "0808a2a8-1260-4f19-a46a-1fb4cbac5b2c" | |
} | |
], | |
"value_type": { | |
"raw_type": 26, | |
"name": "", | |
"description": "" | |
}, | |
"node_type": "AstNode" | |
}, | |
"c12c0562-ab7a-476e-a5b3-9e87ce0cf922": { | |
"id": "c12c0562-ab7a-476e-a5b3-9e87ce0cf922", | |
"name": "func", | |
"position": { | |
"dx": 667, | |
"dy": 106 | |
}, | |
"slots": [ | |
{ | |
"id": "e872116e-ccdf-4a2b-903b-6a3c1f30a5a3", | |
"name": "arg0", | |
"child_id": "acf4ed25-8504-4ac8-a576-85ff88884a08" | |
}, | |
{ | |
"id": "c54fa3f6-0899-495b-85eb-6f3b9cc6e977", | |
"name": "arg1", | |
"child_id": "6f4fce7c-e082-4abe-b50b-d6c16e7a48aa" | |
} | |
], | |
"value_type": { | |
"raw_type": 85, | |
"name": "", | |
"description": "" | |
}, | |
"node_type": "AstNode" | |
}, | |
"acf4ed25-8504-4ac8-a576-85ff88884a08": { | |
"id": "acf4ed25-8504-4ac8-a576-85ff88884a08", | |
"name": "arg0", | |
"position": { | |
"dx": 887, | |
"dy": 41 | |
}, | |
"slots": [], | |
"value_type": { | |
"raw_type": 16, | |
"name": "", | |
"description": "" | |
}, | |
"value": "0", | |
"node_type": "PrimitiveNode" | |
}, | |
"6f4fce7c-e082-4abe-b50b-d6c16e7a48aa": { | |
"id": "6f4fce7c-e082-4abe-b50b-d6c16e7a48aa", | |
"name": "arg1", | |
"position": { | |
"dx": 887, | |
"dy": 151 | |
}, | |
"slots": [], | |
"value_type": { | |
"raw_type": 16, | |
"name": "", | |
"description": "" | |
}, | |
"value": "1", | |
"node_type": "PrimitiveNode" | |
}, | |
"f176c6bb-078f-4f18-9309-782588aba0a7": { | |
"id": "f176c6bb-078f-4f18-9309-782588aba0a7", | |
"name": "current", | |
"position": { | |
"dx": 667, | |
"dy": 235 | |
}, | |
"slots": [], | |
"value_type": { | |
"raw_type": 1, | |
"name": "", | |
"description": "" | |
}, | |
"value": "0", | |
"node_type": "PrimitiveNode" | |
}, | |
"0808a2a8-1260-4f19-a46a-1fb4cbac5b2c": { | |
"id": "0808a2a8-1260-4f19-a46a-1fb4cbac5b2c", | |
"name": "capacities", | |
"position": { | |
"dx": 667, | |
"dy": 345 | |
}, | |
"slots": [ | |
{ | |
"id": "abe0abe7-c98e-4c40-a615-1b2203b12673", | |
"name": "get capacity", | |
"child_id": "283fcb55-27b4-4dd7-8372-c3f70ca1be6d" | |
}, | |
{ | |
"id": "492572ae-bda8-46a8-92cd-83c6f2929b3f", | |
"name": "cells", | |
"child_id": "383ab489-1a14-4153-88b2-381f19b8de48" | |
} | |
], | |
"value_type": { | |
"raw_type": 29, | |
"name": "", | |
"description": "" | |
}, | |
"node_type": "AstNode" | |
}, | |
"283fcb55-27b4-4dd7-8372-c3f70ca1be6d": { | |
"id": "283fcb55-27b4-4dd7-8372-c3f70ca1be6d", | |
"name": "Get Capacity", | |
"position": { | |
"dx": 887, | |
"dy": 263 | |
}, | |
"slots": [ | |
{ | |
"id": "9b315333-2395-4285-9c4c-f2a2a9372a39", | |
"name": "cell", | |
"child_id": "ddf49c98-5d0f-42fc-bb72-7fea5ae31944" | |
} | |
], | |
"value_type": { | |
"raw_type": 48, | |
"name": "", | |
"description": "" | |
}, | |
"type": null, | |
"node_type": "GetOpNode" | |
}, | |
"ddf49c98-5d0f-42fc-bb72-7fea5ae31944": { | |
"id": "ddf49c98-5d0f-42fc-bb72-7fea5ae31944", | |
"name": "arg0", | |
"position": { | |
"dx": 1107, | |
"dy": 252 | |
}, | |
"slots": [], | |
"value_type": { | |
"raw_type": 16, | |
"name": "", | |
"description": "" | |
}, | |
"value": "0", | |
"node_type": "PrimitiveNode" | |
}, | |
"383ab489-1a14-4153-88b2-381f19b8de48": { | |
"id": "383ab489-1a14-4153-88b2-381f19b8de48", | |
"name": "Secp Query Cells", | |
"position": { | |
"dx": 887, | |
"dy": 368 | |
}, | |
"slots": [ | |
{ | |
"id": "574a2d77-b5b9-429f-9c2c-81d95eff9ecf", | |
"name": "and", | |
"child_id": "7aa259bb-6af7-422b-8154-d7018fad88e7" | |
} | |
], | |
"value_type": { | |
"raw_type": 28, | |
"name": "", | |
"description": "" | |
}, | |
"node_type": "AstNode" | |
}, | |
"7aa259bb-6af7-422b-8154-d7018fad88e7": { | |
"id": "7aa259bb-6af7-422b-8154-d7018fad88e7", | |
"name": "DAO TYPE SCRIPT", | |
"position": { | |
"dx": 1251, | |
"dy": 852 | |
}, | |
"slots": [ | |
{ | |
"id": "692aa17b-f830-4668-a4db-89a0a227077c", | |
"name": "code hash", | |
"child_id": "be215367-3dda-402e-91e7-ecf4459cbb72" | |
}, | |
{ | |
"id": "d4205eb2-c424-4252-954d-98e8e15d948f", | |
"name": "hash type", | |
"child_id": "4f80d720-2c54-45d1-9c20-bbbe95afab4a" | |
} | |
], | |
"value_type": { | |
"raw_type": 77, | |
"name": "", | |
"description": "" | |
}, | |
"node_type": "AstNode" | |
}, | |
"af9c2649-a59b-4eaa-bc12-36663c0cbe91": { | |
"id": "af9c2649-a59b-4eaa-bc12-36663c0cbe91", | |
"name": "Get Code Hash", | |
"position": { | |
"dx": 1691, | |
"dy": 676 | |
}, | |
"slots": [ | |
{ | |
"id": "a774a115-88f1-47d3-be57-9ca8a6349d9a", | |
"name": "script", | |
"child_id": "3f806dd6-ced5-4bda-8c4a-20cdfbe23543" | |
} | |
], | |
"value_type": { | |
"raw_type": 54, | |
"name": "", | |
"description": "" | |
}, | |
"type": null, | |
"node_type": "GetOpNode" | |
}, | |
"8c30ba85-c0f3-4672-8ebb-d34e63af012a": { | |
"id": "8c30ba85-c0f3-4672-8ebb-d34e63af012a", | |
"name": "Bytes", | |
"position": { | |
"dx": 1691, | |
"dy": 781 | |
}, | |
"slots": [], | |
"value_type": { | |
"raw_type": 3, | |
"name": "", | |
"description": "" | |
}, | |
"value": "0x82d76d1b75fe2fd9a27dfbaa65a039221a380d76c926f378d3f81cf3e7e13f2e", | |
"node_type": "PrimitiveNode" | |
}, | |
"be215367-3dda-402e-91e7-ecf4459cbb72": { | |
"id": "be215367-3dda-402e-91e7-ecf4459cbb72", | |
"name": "code hash", | |
"position": { | |
"dx": 1471, | |
"dy": 777 | |
}, | |
"slots": [ | |
{ | |
"id": "55f9714d-93e7-4799-9cd9-a6d0419e368f", | |
"name": "operand 1", | |
"child_id": "af9c2649-a59b-4eaa-bc12-36663c0cbe91" | |
}, | |
{ | |
"id": "1b365b53-c87a-47af-a228-2445abb1559e", | |
"name": "operand 2", | |
"child_id": "8c30ba85-c0f3-4672-8ebb-d34e63af012a" | |
} | |
], | |
"value_type": { | |
"raw_type": 80, | |
"name": "", | |
"description": "" | |
}, | |
"node_type": "OperationNode" | |
}, | |
"3f806dd6-ced5-4bda-8c4a-20cdfbe23543": { | |
"id": "3f806dd6-ced5-4bda-8c4a-20cdfbe23543", | |
"name": "script lock", | |
"position": { | |
"dx": 1911, | |
"dy": 949 | |
}, | |
"slots": [ | |
{ | |
"id": "1877429b-5f1d-476b-a9d4-fe44382e53b0", | |
"name": "cell", | |
"child_id": "b5ebead8-ef4c-45d3-8703-ee1fc3d27070" | |
} | |
], | |
"value_type": { | |
"raw_type": 51, | |
"name": "", | |
"description": "" | |
}, | |
"type": null, | |
"node_type": "GetOpNode" | |
}, | |
"b5ebead8-ef4c-45d3-8703-ee1fc3d27070": { | |
"id": "b5ebead8-ef4c-45d3-8703-ee1fc3d27070", | |
"name": "arg0 as cell", | |
"position": { | |
"dx": 2131, | |
"dy": 938 | |
}, | |
"slots": [], | |
"value_type": { | |
"raw_type": 16, | |
"name": "", | |
"description": "" | |
}, | |
"value": "0", | |
"node_type": "PrimitiveNode" | |
}, | |
"c35507ad-b1f4-4ac7-947b-0ac53052151d": { | |
"id": "c35507ad-b1f4-4ac7-947b-0ac53052151d", | |
"name": "Get Hash Type", | |
"position": { | |
"dx": 1691, | |
"dy": 956 | |
}, | |
"slots": [ | |
{ | |
"id": "cbd4c81e-69ac-43c4-8844-e6f57be933f6", | |
"name": "script", | |
"child_id": "3f806dd6-ced5-4bda-8c4a-20cdfbe23543" | |
} | |
], | |
"value_type": { | |
"raw_type": 55, | |
"name": "", | |
"description": "" | |
}, | |
"type": null, | |
"node_type": "GetOpNode" | |
}, | |
"f721126c-78d6-4e4b-8bcc-1bf237c5bbf8": { | |
"id": "f721126c-78d6-4e4b-8bcc-1bf237c5bbf8", | |
"name": "Uint64", | |
"position": { | |
"dx": 1691, | |
"dy": 1061 | |
}, | |
"slots": [], | |
"value_type": { | |
"raw_type": 1, | |
"name": "", | |
"description": "" | |
}, | |
"value": "1", | |
"node_type": "PrimitiveNode" | |
}, | |
"4f80d720-2c54-45d1-9c20-bbbe95afab4a": { | |
"id": "4f80d720-2c54-45d1-9c20-bbbe95afab4a", | |
"name": "hash type", | |
"position": { | |
"dx": 1471, | |
"dy": 906 | |
}, | |
"slots": [ | |
{ | |
"id": "a0098365-db42-41fe-88f4-7dcb7a17b5ee", | |
"name": "operand 1", | |
"child_id": "c35507ad-b1f4-4ac7-947b-0ac53052151d" | |
}, | |
{ | |
"id": "4bfa1478-2e36-4140-a8bf-58e0075a211a", | |
"name": "operand 2", | |
"child_id": "f721126c-78d6-4e4b-8bcc-1bf237c5bbf8" | |
} | |
], | |
"value_type": { | |
"raw_type": 80, | |
"name": "", | |
"description": "" | |
}, | |
"node_type": "OperationNode" | |
}, | |
"ec719364-326b-41ed-8f0d-bb0164a10786": { | |
"id": "ec719364-326b-41ed-8f0d-bb0164a10786", | |
"name": "deposit", | |
"position": { | |
"dx": 452, | |
"dy": 615 | |
}, | |
"slots": [ | |
{ | |
"id": "c6f15ae6-6d6e-4bdb-9387-2c591bf27af1", | |
"name": "condition", | |
"child_id": "e498836f-ec56-485d-88da-385545d8045e" | |
}, | |
{ | |
"id": "bba24f80-3506-4dbc-9d8a-09071246e3eb", | |
"name": "expr1", | |
"child_id": "121759f5-365b-44ff-a7e5-0734cfad77b3" | |
}, | |
{ | |
"id": "d9451871-bacc-4b5e-bf7e-416966499856", | |
"name": "expr2", | |
"child_id": "cf2a90fa-b1ba-4b60-9c81-3b52f5e585d7" | |
} | |
], | |
"value_type": { | |
"raw_type": 120, | |
"name": "", | |
"description": "" | |
}, | |
"node_type": "OperationNode" | |
}, | |
"91a86f54-8a73-415c-9bd4-d44cb8455f47": { | |
"id": "91a86f54-8a73-415c-9bd4-d44cb8455f47", | |
"name": "withdraw", | |
"position": { | |
"dx": 434, | |
"dy": 810 | |
}, | |
"slots": [ | |
{ | |
"id": "abae08ce-e41e-4757-8df8-f7fa958b9c40", | |
"name": "condition", | |
"child_id": "861de322-d3c4-4828-b5c3-2789fa50b73d" | |
}, | |
{ | |
"id": "3bdab4d9-c4db-4ef8-8fdc-c38772e8c3fd", | |
"name": "expr1", | |
"child_id": "121759f5-365b-44ff-a7e5-0734cfad77b3" | |
}, | |
{ | |
"id": "6e4e500a-c4de-403a-8721-7fc8d1ab28a7", | |
"name": "expr2", | |
"child_id": "cf2a90fa-b1ba-4b60-9c81-3b52f5e585d7" | |
} | |
], | |
"value_type": { | |
"raw_type": 120, | |
"name": "", | |
"description": "" | |
}, | |
"node_type": "OperationNode" | |
}, | |
"c3a04780-1945-4989-8373-ddbbfc7259f0": { | |
"id": "c3a04780-1945-4989-8373-ddbbfc7259f0", | |
"name": "unlock", | |
"position": { | |
"dx": 258, | |
"dy": 1034 | |
}, | |
"slots": [ | |
{ | |
"id": "97459d0a-8f75-4226-b096-cc1865e365e2", | |
"name": "condition", | |
"child_id": "84823682-1dab-4cc7-8656-8d8c1df0abb6" | |
}, | |
{ | |
"id": "cf91802a-0d5a-4b00-bf9f-be56fac21924", | |
"name": "expr1", | |
"child_id": "121759f5-365b-44ff-a7e5-0734cfad77b3" | |
}, | |
{ | |
"id": "fc7b88eb-26c9-4217-a357-79a3dbc6e78e", | |
"name": "expr2", | |
"child_id": "cf2a90fa-b1ba-4b60-9c81-3b52f5e585d7" | |
} | |
], | |
"value_type": { | |
"raw_type": 120, | |
"name": "", | |
"description": "" | |
}, | |
"node_type": "OperationNode" | |
}, | |
"e498836f-ec56-485d-88da-385545d8045e": { | |
"id": "e498836f-ec56-485d-88da-385545d8045e", | |
"name": "And", | |
"position": { | |
"dx": 693, | |
"dy": 662 | |
}, | |
"slots": [ | |
{ | |
"id": "b4ef26b3-83ee-42fc-9b3f-1684f2433920", | |
"name": "operand 1", | |
"child_id": "92abd2dc-932d-458c-8da6-02978970aea5" | |
}, | |
{ | |
"id": "578e9452-9d0a-41d4-96a3-f2b2302d0aaf", | |
"name": "operand 2", | |
"child_id": "7aa259bb-6af7-422b-8154-d7018fad88e7" | |
} | |
], | |
"value_type": { | |
"raw_type": 77, | |
"name": "", | |
"description": "" | |
}, | |
"node_type": "OperationNode" | |
}, | |
"600113a4-face-4255-a5d6-c5700727c819": { | |
"id": "600113a4-face-4255-a5d6-c5700727c819", | |
"name": "Get Data", | |
"position": { | |
"dx": 1691, | |
"dy": 1156 | |
}, | |
"slots": [ | |
{ | |
"id": "733108a6-9aa6-4125-b4f1-c5e866f04806", | |
"name": "cell", | |
"child_id": "fb26fc9f-5bb8-43d6-9503-41a25fd1beb7" | |
} | |
], | |
"value_type": { | |
"raw_type": 49, | |
"name": "", | |
"description": "" | |
}, | |
"type": null, | |
"node_type": "GetOpNode" | |
}, | |
"1f1a53ae-3d75-453a-b80b-804906ad5231": { | |
"id": "1f1a53ae-3d75-453a-b80b-804906ad5231", | |
"name": "Bytes", | |
"position": { | |
"dx": 1691, | |
"dy": 1039 | |
}, | |
"slots": [], | |
"value_type": { | |
"raw_type": 3, | |
"name": "", | |
"description": "" | |
}, | |
"value": "0x0000000000000000", | |
"node_type": "PrimitiveNode" | |
}, | |
"92abd2dc-932d-458c-8da6-02978970aea5": { | |
"id": "92abd2dc-932d-458c-8da6-02978970aea5", | |
"name": "dao data", | |
"position": { | |
"dx": 1471, | |
"dy": 1035 | |
}, | |
"slots": [ | |
{ | |
"id": "7767d3c0-54d7-49d5-9b7b-88824cb1394a", | |
"name": "operand 1", | |
"child_id": "600113a4-face-4255-a5d6-c5700727c819" | |
}, | |
{ | |
"id": "4d7ff70c-ce26-4db9-970b-4e1f0053db9d", | |
"name": "operand 2", | |
"child_id": "1f1a53ae-3d75-453a-b80b-804906ad5231" | |
} | |
], | |
"value_type": { | |
"raw_type": 80, | |
"name": "", | |
"description": "" | |
}, | |
"node_type": "OperationNode" | |
}, | |
"fb26fc9f-5bb8-43d6-9503-41a25fd1beb7": { | |
"id": "fb26fc9f-5bb8-43d6-9503-41a25fd1beb7", | |
"name": "cell", | |
"position": { | |
"dx": 1911, | |
"dy": 1146 | |
}, | |
"slots": [], | |
"value_type": { | |
"raw_type": 16, | |
"name": "", | |
"description": "" | |
}, | |
"value": "0", | |
"node_type": "PrimitiveNode" | |
}, | |
"f9ab1190-923f-433a-a4e4-16e8ad9d13c9": { | |
"id": "f9ab1190-923f-433a-a4e4-16e8ad9d13c9", | |
"name": "USE DEPOSIT CELL", | |
"position": { | |
"dx": 1031, | |
"dy": 1058 | |
}, | |
"slots": [ | |
{ | |
"id": "8d469a9a-1b76-4280-8f60-cd122e5e2ab4", | |
"name": "operand 1", | |
"child_id": "7aa259bb-6af7-422b-8154-d7018fad88e7" | |
}, | |
{ | |
"id": "1f78af9b-e80a-461d-8520-9d00a78cd179", | |
"name": "operand 2", | |
"child_id": "1de2d857-1178-4064-a9d2-bd074713e82d" | |
}, | |
{ | |
"id": "57340667-5912-4514-a7ae-1764f2f1bd65", | |
"name": "new child", | |
"child_id": "c91ea21f-df1f-4a95-83e6-c2a3f3de1d81" | |
}, | |
{ | |
"id": "2adb1f87-a173-463f-a745-2923e3883aba", | |
"name": "new child", | |
"child_id": "9e118258-af6c-4427-8ec1-eb3996aad5ea" | |
} | |
], | |
"value_type": { | |
"raw_type": 77, | |
"name": "", | |
"description": "" | |
}, | |
"node_type": "OperationNode" | |
}, | |
"1de2d857-1178-4064-a9d2-bd074713e82d": { | |
"id": "1de2d857-1178-4064-a9d2-bd074713e82d", | |
"name": "withdraw data", | |
"position": { | |
"dx": 1251, | |
"dy": 1005 | |
}, | |
"slots": [ | |
{ | |
"id": "a6d88cc5-ef91-4fec-9104-3c64bf75c059", | |
"name": "operand 1", | |
"child_id": "92abd2dc-932d-458c-8da6-02978970aea5" | |
} | |
], | |
"value_type": { | |
"raw_type": 76, | |
"name": "", | |
"description": "" | |
}, | |
"node_type": "OperationNode" | |
}, | |
"adc97506-52f0-4c4e-ae88-0b738eb06bd0": { | |
"id": "adc97506-52f0-4c4e-ae88-0b738eb06bd0", | |
"name": "Len", | |
"position": { | |
"dx": 1471, | |
"dy": 1164 | |
}, | |
"slots": [ | |
{ | |
"id": "bddf7ebf-0559-495b-8737-8b0428bba999", | |
"name": "bytes", | |
"child_id": "600113a4-face-4255-a5d6-c5700727c819" | |
} | |
], | |
"value_type": { | |
"raw_type": 82, | |
"name": "", | |
"description": "" | |
}, | |
"node_type": "OperationNode" | |
}, | |
"c91ea21f-df1f-4a95-83e6-c2a3f3de1d81": { | |
"id": "c91ea21f-df1f-4a95-83e6-c2a3f3de1d81", | |
"name": "Equal", | |
"position": { | |
"dx": 1251, | |
"dy": 1110 | |
}, | |
"slots": [ | |
{ | |
"id": "9329de1a-d76e-4d89-bd07-dfb60a701e64", | |
"name": "operand 1", | |
"child_id": "adc97506-52f0-4c4e-ae88-0b738eb06bd0" | |
}, | |
{ | |
"id": "7b565298-d072-48d0-b004-6537ce556ad2", | |
"name": "operand 2", | |
"child_id": "b517dcc7-b94c-425c-a573-45983a877e82" | |
} | |
], | |
"value_type": { | |
"raw_type": 80, | |
"name": "", | |
"description": "" | |
}, | |
"node_type": "OperationNode" | |
}, | |
"b517dcc7-b94c-425c-a573-45983a877e82": { | |
"id": "b517dcc7-b94c-425c-a573-45983a877e82", | |
"name": "Uint64", | |
"position": { | |
"dx": 1471, | |
"dy": 1269 | |
}, | |
"slots": [], | |
"value_type": { | |
"raw_type": 1, | |
"name": "", | |
"description": "" | |
}, | |
"value": "8", | |
"node_type": "PrimitiveNode" | |
}, | |
"7b0c5603-12cf-4d8e-9fa5-428fcaf19291": { | |
"id": "7b0c5603-12cf-4d8e-9fa5-428fcaf19291", | |
"name": "Arg", | |
"position": { | |
"dx": 1471, | |
"dy": 1379 | |
}, | |
"slots": [], | |
"value_type": { | |
"raw_type": 16, | |
"name": "", | |
"description": "" | |
}, | |
"value": "2", | |
"node_type": "PrimitiveNode" | |
}, | |
"9e118258-af6c-4427-8ec1-eb3996aad5ea": { | |
"id": "9e118258-af6c-4427-8ec1-eb3996aad5ea", | |
"name": "Equal", | |
"position": { | |
"dx": 1251, | |
"dy": 1239 | |
}, | |
"slots": [ | |
{ | |
"id": "a4e77a43-4210-4a1f-86a2-8e5a1078d906", | |
"name": "operand 1", | |
"child_id": "7b0c5603-12cf-4d8e-9fa5-428fcaf19291" | |
}, | |
{ | |
"id": "235c673d-113a-454a-ad1f-d94490f9b6be", | |
"name": "operand 2", | |
"child_id": "e2488f91-dbd8-48ec-a79f-0c9f7d8c5ed2" | |
} | |
], | |
"value_type": { | |
"raw_type": 80, | |
"name": "", | |
"description": "" | |
}, | |
"node_type": "OperationNode" | |
}, | |
"e2488f91-dbd8-48ec-a79f-0c9f7d8c5ed2": { | |
"id": "e2488f91-dbd8-48ec-a79f-0c9f7d8c5ed2", | |
"name": "index", | |
"position": { | |
"dx": 1471, | |
"dy": 1489 | |
}, | |
"slots": [], | |
"value_type": { | |
"raw_type": 3, | |
"name": "", | |
"description": "" | |
}, | |
"value": "0x696e646578", | |
"node_type": "PrimitiveNode" | |
}, | |
"861de322-d3c4-4828-b5c3-2789fa50b73d": { | |
"id": "861de322-d3c4-4828-b5c3-2789fa50b73d", | |
"name": "And", | |
"position": { | |
"dx": 614, | |
"dy": 838 | |
}, | |
"slots": [ | |
{ | |
"id": "e6ec1482-7548-41d5-9424-6bb8dffebe85", | |
"name": "operand 1", | |
"child_id": "f9ab1190-923f-433a-a4e4-16e8ad9d13c9" | |
}, | |
{ | |
"id": "daf3dc75-d950-491c-a073-6f39c8b1c2fd", | |
"name": "operand 2", | |
"child_id": "9bec55cb-050e-4b09-975c-bb77a41de15b" | |
} | |
], | |
"value_type": { | |
"raw_type": 77, | |
"name": "", | |
"description": "" | |
}, | |
"node_type": "OperationNode" | |
}, | |
"84823682-1dab-4cc7-8656-8d8c1df0abb6": { | |
"id": "84823682-1dab-4cc7-8656-8d8c1df0abb6", | |
"name": "And", | |
"position": { | |
"dx": 521, | |
"dy": 1327 | |
}, | |
"slots": [ | |
{ | |
"id": "0f6be273-a7b4-4a16-acd5-4751e962c3a0", | |
"name": "operand 1", | |
"child_id": "f9ab1190-923f-433a-a4e4-16e8ad9d13c9" | |
}, | |
{ | |
"id": "33dd223b-72ae-4583-ba90-482a9ea03c84", | |
"name": "operand 2", | |
"child_id": "b30403cf-c34b-4cd1-a425-60033da38a4d" | |
} | |
], | |
"value_type": { | |
"raw_type": 77, | |
"name": "", | |
"description": "" | |
}, | |
"node_type": "OperationNode" | |
}, | |
"a987b5b0-9450-406a-8b97-78707d9654db": { | |
"id": "a987b5b0-9450-406a-8b97-78707d9654db", | |
"name": "Arg", | |
"position": { | |
"dx": 899, | |
"dy": 1357 | |
}, | |
"slots": [], | |
"value_type": { | |
"raw_type": 16, | |
"name": "", | |
"description": "" | |
}, | |
"value": "1", | |
"node_type": "PrimitiveNode" | |
}, | |
"9bec55cb-050e-4b09-975c-bb77a41de15b": { | |
"id": "9bec55cb-050e-4b09-975c-bb77a41de15b", | |
"name": "insert", | |
"position": { | |
"dx": 718, | |
"dy": 1504 | |
}, | |
"slots": [ | |
{ | |
"id": "49deb1ee-9085-4061-9b69-f690f61f9ff6", | |
"name": "operand 1", | |
"child_id": "a987b5b0-9450-406a-8b97-78707d9654db" | |
}, | |
{ | |
"id": "a8617943-d63d-46c4-bea4-2380dc0f9968", | |
"name": "operand 2", | |
"child_id": "75759b6b-e516-4643-9b6d-381dbfc783d7" | |
} | |
], | |
"value_type": { | |
"raw_type": 80, | |
"name": "", | |
"description": "" | |
}, | |
"node_type": "OperationNode" | |
}, | |
"75759b6b-e516-4643-9b6d-381dbfc783d7": { | |
"id": "75759b6b-e516-4643-9b6d-381dbfc783d7", | |
"name": "Bytes", | |
"position": { | |
"dx": 984, | |
"dy": 1526 | |
}, | |
"slots": [], | |
"value_type": { | |
"raw_type": 3, | |
"name": "", | |
"description": "" | |
}, | |
"value": "0x696e73657274", | |
"node_type": "PrimitiveNode" | |
}, | |
"070f9648-1d9c-48e5-aca2-dbdd78f88178": { | |
"id": "070f9648-1d9c-48e5-aca2-dbdd78f88178", | |
"name": "Arg", | |
"position": { | |
"dx": 1061, | |
"dy": 1748 | |
}, | |
"slots": [], | |
"value_type": { | |
"raw_type": 16, | |
"name": "", | |
"description": "" | |
}, | |
"value": "1", | |
"node_type": "PrimitiveNode" | |
}, | |
"b30403cf-c34b-4cd1-a425-60033da38a4d": { | |
"id": "b30403cf-c34b-4cd1-a425-60033da38a4d", | |
"name": "remove", | |
"position": { | |
"dx": 708, | |
"dy": 1804 | |
}, | |
"slots": [ | |
{ | |
"id": "43ca8fa4-f29b-4f65-9ae6-f45de07abe13", | |
"name": "operand 1", | |
"child_id": "070f9648-1d9c-48e5-aca2-dbdd78f88178" | |
}, | |
{ | |
"id": "e03a0b09-34d8-46b4-b2ba-502f0975d8a5", | |
"name": "operand 2", | |
"child_id": "874e56d4-0aa9-4153-9b9f-36ade0ee4925" | |
} | |
], | |
"value_type": { | |
"raw_type": 77, | |
"name": "", | |
"description": "" | |
}, | |
"node_type": "OperationNode" | |
}, | |
"874e56d4-0aa9-4153-9b9f-36ade0ee4925": { | |
"id": "874e56d4-0aa9-4153-9b9f-36ade0ee4925", | |
"name": "Bytes", | |
"position": { | |
"dx": 1130, | |
"dy": 1940 | |
}, | |
"slots": [], | |
"value_type": { | |
"raw_type": 3, | |
"name": "", | |
"description": "" | |
}, | |
"value": "0x72656d6f7665", | |
"node_type": "PrimitiveNode" | |
}, | |
"cf2a90fa-b1ba-4b60-9c81-3b52f5e585d7": { | |
"id": "cf2a90fa-b1ba-4b60-9c81-3b52f5e585d7", | |
"name": "Nil", | |
"position": { | |
"dx": 642, | |
"dy": 1053 | |
}, | |
"slots": [], | |
"value_type": { | |
"raw_type": 0, | |
"name": "", | |
"description": "" | |
}, | |
"value": "NIL", | |
"node_type": "PrimitiveNode" | |
}, | |
"121759f5-365b-44ff-a7e5-0734cfad77b3": { | |
"id": "121759f5-365b-44ff-a7e5-0734cfad77b3", | |
"name": "event", | |
"position": { | |
"dx": -60, | |
"dy": 1311 | |
}, | |
"slots": [ | |
{ | |
"id": "786deafb-18c2-4b9b-8676-0ffa64ebf4cb", | |
"name": "child 1", | |
"child_id": "0635f59d-ad3e-4e36-84ca-171bc755bc61" | |
}, | |
{ | |
"id": "075213e8-2386-4dda-8d9f-e880a87feaf1", | |
"name": "child 2", | |
"child_id": "2bd1fc03-e942-4076-9ea5-96edd0e703e6" | |
} | |
], | |
"value_type": { | |
"raw_type": 27, | |
"name": "", | |
"description": "" | |
}, | |
"node_type": "AstNode" | |
}, | |
"7c933626-338a-401e-950d-306292289bfa": { | |
"id": "7c933626-338a-401e-950d-306292289bfa", | |
"name": "Arg", | |
"position": { | |
"dx": 308, | |
"dy": 1491 | |
}, | |
"slots": [], | |
"value_type": { | |
"raw_type": 16, | |
"name": "", | |
"description": "" | |
}, | |
"value": "0", | |
"node_type": "PrimitiveNode" | |
}, | |
"0635f59d-ad3e-4e36-84ca-171bc755bc61": { | |
"id": "0635f59d-ad3e-4e36-84ca-171bc755bc61", | |
"name": "Get Capacity", | |
"position": { | |
"dx": 126, | |
"dy": 1414 | |
}, | |
"slots": [ | |
{ | |
"id": "6817d504-d811-45c1-b230-dafd715818ca", | |
"name": "cell", | |
"child_id": "7c933626-338a-401e-950d-306292289bfa" | |
} | |
], | |
"value_type": { | |
"raw_type": 48, | |
"name": "", | |
"description": "" | |
}, | |
"type": null, | |
"node_type": "GetOpNode" | |
}, | |
"2bd1fc03-e942-4076-9ea5-96edd0e703e6": { | |
"id": "2bd1fc03-e942-4076-9ea5-96edd0e703e6", | |
"name": "Get Out Point", | |
"position": { | |
"dx": 126, | |
"dy": 1530 | |
}, | |
"slots": [ | |
{ | |
"id": "16fb5c10-b58f-4c2d-ac4d-48754cbf2f84", | |
"name": "cell", | |
"child_id": "7c933626-338a-401e-950d-306292289bfa" | |
} | |
], | |
"value_type": { | |
"raw_type": 53, | |
"name": "", | |
"description": "" | |
}, | |
"type": null, | |
"node_type": "GetOpNode" | |
}, | |
"8a698f4f-55cb-432a-a584-c26fafab32a3": { | |
"id": "8a698f4f-55cb-432a-a584-c26fafab32a3", | |
"name": "Len", | |
"position": { | |
"dx": 460, | |
"dy": 1181 | |
}, | |
"slots": [ | |
{ | |
"id": "2ec2fe78-5f2f-47da-a18f-8c17b3255c5a", | |
"name": "bytes", | |
"child_id": "a9cbaa84-e845-4b22-8aa3-e09445d7934e" | |
} | |
], | |
"value_type": { | |
"raw_type": 82, | |
"name": "", | |
"description": "" | |
}, | |
"node_type": "OperationNode" | |
}, | |
"5dccaea9-d53e-442e-92b1-2e8690082629": { | |
"id": "5dccaea9-d53e-442e-92b1-2e8690082629", | |
"name": "data hash", | |
"position": { | |
"dx": 900, | |
"dy": 1149 | |
}, | |
"slots": [ | |
{ | |
"id": "7f6fdb71-a7fe-4b48-abac-93bbe4c8a009", | |
"name": "operand 1", | |
"child_id": "89864eb7-15a1-4c2a-b886-25bdaaeac940" | |
}, | |
{ | |
"id": "d5292f61-9e63-4897-b265-afec1dfa08c5", | |
"name": "operand 2", | |
"child_id": "ca4e11e1-2be9-438b-abdc-ec0a462159b6" | |
} | |
], | |
"value_type": { | |
"raw_type": 80, | |
"name": "", | |
"description": "" | |
}, | |
"node_type": "OperationNode" | |
}, | |
"89864eb7-15a1-4c2a-b886-25bdaaeac940": { | |
"id": "89864eb7-15a1-4c2a-b886-25bdaaeac940", | |
"name": "Get Data Hash", | |
"position": { | |
"dx": 1120, | |
"dy": 1048 | |
}, | |
"slots": [ | |
{ | |
"id": "e3ac5dc7-20b6-471c-9967-5cdc28f8ce81", | |
"name": "cell", | |
"child_id": "d46333bb-1557-4880-97cd-423f8243d29f" | |
} | |
], | |
"value_type": { | |
"raw_type": 52, | |
"name": "", | |
"description": "" | |
}, | |
"type": null, | |
"node_type": "GetOpNode" | |
}, | |
"d46333bb-1557-4880-97cd-423f8243d29f": { | |
"id": "d46333bb-1557-4880-97cd-423f8243d29f", | |
"name": "Arg", | |
"position": { | |
"dx": 1340, | |
"dy": 1038 | |
}, | |
"slots": [], | |
"value_type": { | |
"raw_type": 16, | |
"name": "", | |
"description": "" | |
}, | |
"value": "0", | |
"node_type": "PrimitiveNode" | |
}, | |
"ca4e11e1-2be9-438b-abdc-ec0a462159b6": { | |
"id": "ca4e11e1-2be9-438b-abdc-ec0a462159b6", | |
"name": "Bytes", | |
"position": { | |
"dx": 1120, | |
"dy": 1153 | |
}, | |
"slots": [], | |
"value_type": { | |
"raw_type": 3, | |
"name": "", | |
"description": "" | |
}, | |
"value": "0x57dd0067814dab356e05c6def0d094bb79776711e68ffdfad2df6a7f877f7db6", | |
"node_type": "PrimitiveNode" | |
}, | |
"a9cbaa84-e845-4b22-8aa3-e09445d7934e": { | |
"id": "a9cbaa84-e845-4b22-8aa3-e09445d7934e", | |
"name": "type cells", | |
"position": { | |
"dx": 680, | |
"dy": 1159 | |
}, | |
"slots": [ | |
{ | |
"id": "721d5c0d-845f-4102-a846-201ad8f4bca7", | |
"name": "data hash", | |
"child_id": "5dccaea9-d53e-442e-92b1-2e8690082629" | |
} | |
], | |
"value_type": { | |
"raw_type": 28, | |
"name": "", | |
"description": "" | |
}, | |
"node_type": "AstNode" | |
}, | |
"c6b43e8e-2883-4cde-96c3-2bd838e522d1": { | |
"id": "c6b43e8e-2883-4cde-96c3-2bd838e522d1", | |
"name": "Uint64", | |
"position": { | |
"dx": 460, | |
"dy": 1286 | |
}, | |
"slots": [], | |
"value_type": { | |
"raw_type": 1, | |
"name": "", | |
"description": "" | |
}, | |
"value": "1", | |
"node_type": "PrimitiveNode" | |
}, | |
"31c40138-3f2a-4d7a-9d52-2a4deef0228b": { | |
"id": "31c40138-3f2a-4d7a-9d52-2a4deef0228b", | |
"name": "ready", | |
"position": { | |
"dx": 240, | |
"dy": 1242 | |
}, | |
"slots": [ | |
{ | |
"id": "b2d3e97d-cfc4-4656-b075-a84cd0f4780a", | |
"name": "type cells length", | |
"child_id": "8a698f4f-55cb-432a-a584-c26fafab32a3" | |
}, | |
{ | |
"id": "03d49aa4-e057-43d1-a1f4-bc122c64b748", | |
"name": "1", | |
"child_id": "c6b43e8e-2883-4cde-96c3-2bd838e522d1" | |
} | |
], | |
"value_type": { | |
"raw_type": 80, | |
"name": "", | |
"description": "" | |
}, | |
"node_type": "AstNode" | |
}, | |
"1e0927a5-a90a-4fcb-85f2-6c47973254cb": { | |
"id": "1e0927a5-a90a-4fcb-85f2-6c47973254cb", | |
"name": "balance", | |
"position": { | |
"dx": 240, | |
"dy": 1642 | |
}, | |
"slots": [], | |
"value_type": { | |
"raw_type": null, | |
"name": "UDT_GET_BALANCE", | |
"description": "Calculate UDT balance as total capacities." | |
}, | |
"properties": [ | |
{ | |
"name": "Secp256k1 lock hash", | |
"value": "0x9bd7e06f3ecf4be0f2fcd2188b23f1b9fcc88e5d4b65a8637b17723bbda3cce8" | |
}, | |
{ | |
"name": "UDT code hash", | |
"value": "0x57dd0067814dab356e05c6def0d094bb79776711e68ffdfad2df6a7f877f7db6" | |
} | |
], | |
"node_type": "PrefabNode" | |
}, | |
"2dbcb887-8ec1-46aa-8bb2-1ad86306c593": { | |
"id": "2dbcb887-8ec1-46aa-8bb2-1ad86306c593", | |
"name": "transfer", | |
"position": { | |
"dx": 227, | |
"dy": 1875 | |
}, | |
"slots": [], | |
"value_type": { | |
"raw_type": null, | |
"name": "UDT_TRANSFER", | |
"description": "UDT Transfer" | |
}, | |
"properties": [ | |
{ | |
"name": "Secp256k1 cell dep", | |
"value": "0xace5ea83c478bb866edf122ff862085789158f5cbff155b7bb5f13058555b708" | |
}, | |
{ | |
"name": "Secp256k1 lock hash", | |
"value": "0x9bd7e06f3ecf4be0f2fcd2188b23f1b9fcc88e5d4b65a8637b17723bbda3cce8" | |
}, | |
{ | |
"name": "UDT code hash", | |
"value": "0x57dd0067814dab356e05c6def0d094bb79776711e68ffdfad2df6a7f877f7db6" | |
} | |
], | |
"node_type": "PrefabNode" | |
} | |
}, | |
"file_name": "Root.json" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment