@wowok/skills 1.1.9 → 1.1.10
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/LICENSE +36 -0
- package/README.md +1 -8
- package/examples/Insurance/Insurance.md +218 -90
- package/examples/MyShop/MyShop.md +513 -245
- package/examples/MyShop/myshop_machine_nodes.json +87 -0
- package/examples/MyShop_Advanced/MyShop_Advanced.md +633 -228
- package/examples/ThreeBody_Signature/ThreeBody_Signature.md +195 -202
- package/examples/Travel/Travel.md +775 -487
- package/examples/Travel/calc-weather-timestamps.js +9 -5
- package/package.json +4 -3
- package/wowok-tools/SKILL.md +21 -0
- package/examples/Insurance/Insurance_TestResults.md +0 -481
- package/examples/Insurance/insurance_complete_guard_v1.json +0 -50
- package/examples/MyShop/MyShop_TestResults.md +0 -1003
- package/examples/MyShop_Advanced/MyShop_Advanced_MerchantSystem_TestResults.md +0 -1297
- package/examples/MyShop_Advanced/MyShop_Advanced_OrderFlow_TestResults.md +0 -743
- package/examples/MyShop_Advanced/machine_nodes.json +0 -222
- package/examples/MyShop_Advanced/three_body_signature.wip +0 -30
- package/examples/ThreeBody_Signature/ThreeBody_Signature_TestResults.md +0 -599
- package/examples/Travel/Travel_TestResults.md +0 -743
- package/examples/Travel/travel_machine_v2_export.json +0 -104
- package/examples/Travel/weather_check_guard_v1.json +0 -51
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"name": "Ice Scooting",
|
|
4
|
-
"pairs": [
|
|
5
|
-
{
|
|
6
|
-
"prev_node": "SPA",
|
|
7
|
-
"threshold": 1,
|
|
8
|
-
"forwards": [
|
|
9
|
-
{
|
|
10
|
-
"name": "complete_trip",
|
|
11
|
-
"weight": 1,
|
|
12
|
-
"namedOperator": null,
|
|
13
|
-
"permissionIndex": 1003,
|
|
14
|
-
"guard": {
|
|
15
|
-
"guard": "0xe00d9482b61fd7e7a4782f43d678a9fb19bd101737de92e453559b5e09565b51",
|
|
16
|
-
"retained_submission": []
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"name": "cancel_trip",
|
|
21
|
-
"weight": 1,
|
|
22
|
-
"namedOperator": null,
|
|
23
|
-
"permissionIndex": 1004,
|
|
24
|
-
"guard": {
|
|
25
|
-
"guard": "0x831cb9cfe91f81cdcedef7811f4e9b48023cf95d25887c9639615613191e6595",
|
|
26
|
-
"retained_submission": []
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
]
|
|
30
|
-
}
|
|
31
|
-
]
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"name": "Start",
|
|
35
|
-
"pairs": [
|
|
36
|
-
{
|
|
37
|
-
"prev_node": "",
|
|
38
|
-
"threshold": 0,
|
|
39
|
-
"forwards": [
|
|
40
|
-
{
|
|
41
|
-
"name": "buy_insurance",
|
|
42
|
-
"weight": 1,
|
|
43
|
-
"namedOperator": null,
|
|
44
|
-
"permissionIndex": 1000
|
|
45
|
-
}
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
]
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"name": "Buy Insurance",
|
|
52
|
-
"pairs": [
|
|
53
|
-
{
|
|
54
|
-
"prev_node": "Start",
|
|
55
|
-
"threshold": 1,
|
|
56
|
-
"forwards": [
|
|
57
|
-
{
|
|
58
|
-
"name": "go_ice_scooting",
|
|
59
|
-
"weight": 1,
|
|
60
|
-
"namedOperator": null,
|
|
61
|
-
"permissionIndex": 1001
|
|
62
|
-
}
|
|
63
|
-
]
|
|
64
|
-
}
|
|
65
|
-
]
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"name": "Cancel",
|
|
69
|
-
"pairs": [
|
|
70
|
-
{
|
|
71
|
-
"prev_node": "Ice Scooting",
|
|
72
|
-
"threshold": 1,
|
|
73
|
-
"forwards": []
|
|
74
|
-
}
|
|
75
|
-
]
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"name": "Complete",
|
|
79
|
-
"pairs": [
|
|
80
|
-
{
|
|
81
|
-
"prev_node": "Ice Scooting",
|
|
82
|
-
"threshold": 1,
|
|
83
|
-
"forwards": []
|
|
84
|
-
}
|
|
85
|
-
]
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
"name": "SPA",
|
|
89
|
-
"pairs": [
|
|
90
|
-
{
|
|
91
|
-
"prev_node": "Buy Insurance",
|
|
92
|
-
"threshold": 1,
|
|
93
|
-
"forwards": [
|
|
94
|
-
{
|
|
95
|
-
"name": "go_ice_scooting",
|
|
96
|
-
"weight": 1,
|
|
97
|
-
"namedOperator": null,
|
|
98
|
-
"permissionIndex": 1002
|
|
99
|
-
}
|
|
100
|
-
]
|
|
101
|
-
}
|
|
102
|
-
]
|
|
103
|
-
}
|
|
104
|
-
]
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"namedNew": {
|
|
3
|
-
"name": "weather_check_guard_v1",
|
|
4
|
-
"tags": ["weather", "check", "travel"],
|
|
5
|
-
"replaceExistName": true
|
|
6
|
-
},
|
|
7
|
-
"description": "Weather check guard for ice scooting activity. Checks if weather data exists for the activity date.",
|
|
8
|
-
"table": [
|
|
9
|
-
{
|
|
10
|
-
"identifier": 0,
|
|
11
|
-
"b_submission": false,
|
|
12
|
-
"value_type": "Address",
|
|
13
|
-
"value": "weather_repo_v2",
|
|
14
|
-
"name": "Weather Repository address"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"identifier": 1,
|
|
18
|
-
"b_submission": false,
|
|
19
|
-
"value_type": "String",
|
|
20
|
-
"value": "Condition",
|
|
21
|
-
"name": "Repository policy name"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"identifier": 2,
|
|
25
|
-
"b_submission": true,
|
|
26
|
-
"value_type": "U64",
|
|
27
|
-
"value": 0,
|
|
28
|
-
"name": "Activity date timestamp (submitted at runtime)"
|
|
29
|
-
}
|
|
30
|
-
],
|
|
31
|
-
"root": {
|
|
32
|
-
"type": "query",
|
|
33
|
-
"query": 1166,
|
|
34
|
-
"object": {
|
|
35
|
-
"identifier": 0
|
|
36
|
-
},
|
|
37
|
-
"parameters": [
|
|
38
|
-
{
|
|
39
|
-
"type": "identifier",
|
|
40
|
-
"identifier": 1
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"type": "convert_number_address",
|
|
44
|
-
"node": {
|
|
45
|
-
"type": "identifier",
|
|
46
|
-
"identifier": 2
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
]
|
|
50
|
-
}
|
|
51
|
-
}
|