tx · 6aGr2BgeUpMNDJHpXep1b5mR6vab6be2NtYz5YJdMpJ6 3N8WDKbqGox5Eky326PHHT7rUyrby5MXdmb: -0.03000000 Waves 2022.06.29 20:30 [2118035] smart account 3N8WDKbqGox5Eky326PHHT7rUyrby5MXdmb > SELF 0.00000000 Waves
{ "type": 13, "id": "6aGr2BgeUpMNDJHpXep1b5mR6vab6be2NtYz5YJdMpJ6", "fee": 3000000, "feeAssetId": null, "timestamp": 1656523906956, "version": 2, "chainId": 84, "sender": "3N8WDKbqGox5Eky326PHHT7rUyrby5MXdmb", "senderPublicKey": "FWSsBbeCwLVkekWhvNKtX6JkrZiruRybKKVuiS3F4bqN", "proofs": [ "5gF6DJwJ6Lci53fQkYakJQMSssaTKmyCwHRgacCNXUbvAJe1CNKmbNZRrqqK5U27D8eEb4dQcUBqNetjNKRRDSEj" ], "script": "base64:AAIFAAAAAAAAAEkIAhIGCgQIAQgIEgYKBAgIAQgSBAoCCAgSBQoDCAEIEgQKAggBEgQKAggIEgQKAggIEgUKAwgIARIECgIIARIDCgEIEgQKAggIAAAAKQAAAAAKc2hpbnl3Z2dpZAEAAAAgiWnPAv+2urnUcZbXebiZdiawdNB3efRzbobw9HOfBiYAAAAAD3RyZWFzdXJ5QWRkcmVzcwEAAAAaAVRl+PAWCwTAWUJwGp5IjJf/ftwcYvLdu/0AAAAADWFzc2V0c0FkZHJlc3MBAAAAGgFUy+a0wXfXHSctaxYQS8qRSOspiwoalaeaAAAAABJtYXJrZXRwbGFjZUFkZHJlc3MBAAAAGgFUHSG5k/H8GMOnG0lxFkOWUXTrrFQuJbzvAAAAABRjb25maWd1cmF0aW9uQWRkcmVzcwEAAAAaAVTbIMuXkVY/Qg5sp2U1gothv7V0cji00C4AAAAADm5hdGlvbnNBZGRyZXNzAQAAABoBVE2F6N70+ERrWRA7cF/Dt7llDlH1REZtoAAAAAALYWRtaW5XYWxsZXQJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAECAAAAIzNNcE50a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AAAAA25pbAQAAAAHJG1hdGNoMAUAAAACdHIDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABdAUAAAAHJG1hdGNoMAkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQEAAAAWZ2V0QXNzZXRPd25lcktleVN0cmluZwAAAAEFAAAAB2Fzc2V0SWQJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAHYXNzZXRJZAUAAAADbmlsCQAAAgAAAAECAAAAKUVycm9yIHB1dHRpbmcgdGhlIGl0ZW0gb24gdGhlIG1hcmtldHBsYWNlAAAAAWkBAAAABkRlbEtleQAAAAEAAAADa2V5AwkBAAAAASEAAAABCQEAAAAKY2hlY2tBZG1pbgAAAAEIBQAAAAFpAAAABmNhbGxlcgkAAAIAAAABAgAAAAAJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAADa2V5BQAAAANuaWwAAAABaQEAAAAGVXBkS2V5AAAAAgAAAANrZXkAAAADdmFsAwkBAAAAASEAAAABCQEAAAAKY2hlY2tBZG1pbgAAAAEIBQAAAAFpAAAABmNhbGxlcgkAAAIAAAABAgAAAAAJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgUAAAADa2V5BQAAAAN2YWwFAAAAA25pbAAAAAAAd7Co", "height": 2118035, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CA5y7adHxU1a2mtqKncxW4AqiW1WAPZ7PUKQMtVndkqE Next: GokZw4JeTL857kKJRan2p3po45ro6bECWFBYASpcDd8N Diff:
Old | New | Differences | |
---|---|---|---|
526 | 526 | ||
527 | 527 | bu(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(bq, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50) | |
528 | 528 | } | |
529 | - | let bc = bn | |
530 | - | if ($isInstanceOf(bc, "List[Any]")) | |
531 | - | then { | |
532 | - | let bv = bc | |
533 | - | if (((bl - au) > 0)) | |
534 | - | then [IntegerEntry((ay + "_Qty"), (bl - au))] | |
535 | - | else [DeleteEntry(E), DeleteEntry(D(E))] | |
536 | - | } | |
537 | - | else throw("error distributigmn rewards") | |
529 | + | if (((bl - au) > 0)) | |
530 | + | then [IntegerEntry((ay + "_Qty"), (bl - au))] | |
531 | + | else [DeleteEntry(E), DeleteEntry(D(E))] | |
538 | 532 | } | |
539 | 533 | else throw("Error setting user power") | |
540 | 534 | } | |
555 | 549 | ||
556 | 550 | bu(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(bq, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50) | |
557 | 551 | } | |
558 | - | let | |
559 | - | if ( | |
552 | + | let ap = invoke(Address(f), "setUserPower", [aB, (ao - am)], nil) | |
553 | + | if ((ap == ap)) | |
560 | 554 | then { | |
561 | - | let bv = n | |
562 | - | let ap = invoke(Address(f), "setUserPower", [aB, (ao - am)], nil) | |
563 | - | if ((ap == ap)) | |
555 | + | let n = ap | |
556 | + | if ($isInstanceOf(n, "Int")) | |
564 | 557 | then { | |
565 | - | let bc = ap | |
566 | - | if ($isInstanceOf(bc, "Int")) | |
567 | - | then { | |
568 | - | let aE = bc | |
558 | + | let aE = n | |
569 | 559 | [DeleteEntry(E), DeleteEntry(D(E))] | |
570 | - | } | |
571 | - | else throw("Error setting user power") | |
572 | 560 | } | |
573 | - | else throw(" | |
561 | + | else throw("Error setting user power") | |
574 | 562 | } | |
575 | - | else throw(" | |
563 | + | else throw("Strict value is not equal to itself.") | |
576 | 564 | } | |
577 | 565 | } | |
578 | 566 | } | |
640 | 628 | ||
641 | 629 | ||
642 | 630 | @Callable(aT) | |
643 | - | func setNationOwner ( | |
644 | - | then $Tuple2([StringEntry(( | |
631 | + | func setNationOwner (bv,aA) = if (j(aT.caller)) | |
632 | + | then $Tuple2([StringEntry((bv + "_Owner"), aA)], true) | |
645 | 633 | else { | |
646 | - | let | |
647 | - | if (( | |
634 | + | let bw = q((bv + "_Owner")) | |
635 | + | if ((bw != toString(aT.caller))) | |
648 | 636 | then throw("You are not the nation owner") | |
649 | - | else [StringEntry(( | |
637 | + | else [StringEntry((bv + "_Owner"), aA)] | |
650 | 638 | } | |
651 | 639 | ||
652 | 640 | ||
657 | 645 | let R = Q._1 | |
658 | 646 | let S = Q._2 | |
659 | 647 | let ay = r(R, S) | |
660 | - | let | |
661 | - | let | |
662 | - | if (( | |
648 | + | let bx = A(toString(aT.caller)) | |
649 | + | let by = A(aL) | |
650 | + | if ((bx != by)) | |
663 | 651 | then throw("you can buy assets only from your nation") | |
664 | 652 | else if (!(av(aL, E))) | |
665 | 653 | then throw("The asset does not belong to the nation") | |
666 | 654 | else if (!(ax(R, S))) | |
667 | 655 | then throw("this asset cannot be sold by the nation") | |
668 | 656 | else { | |
669 | - | let | |
657 | + | let bz = u((r(R, S) + "_SellPrice")) | |
670 | 658 | let bf = value(aT.payments[0].amount) | |
671 | - | if (( | |
659 | + | if ((bz > bf)) | |
672 | 660 | then throw(("You provided less $heg than the needed cost for buying this " + R)) | |
673 | 661 | else if ((aT.payments[0].assetId != a)) | |
674 | 662 | then throw("Only $HEG payments allowed") | |
675 | 663 | else { | |
676 | - | let | |
677 | - | let n = | |
664 | + | let bA = invoke(Address(b), "increaseNationWallet", [aL, bf], nil) | |
665 | + | let n = bA | |
678 | 666 | if ($isInstanceOf(n, "Int")) | |
679 | 667 | then { | |
680 | 668 | let o = n | |
688 | 676 | ||
689 | 677 | ||
690 | 678 | @Callable(aT) | |
691 | - | func AddAssetFromMarkeplace (E,aB, | |
679 | + | func AddAssetFromMarkeplace (E,aB,bB) = if (!(j(aT.caller))) | |
692 | 680 | then throw("You are not allowed to perform this operation") | |
693 | - | else $Tuple2([StringEntry(D(E), aB), IntegerEntry(E, | |
681 | + | else $Tuple2([StringEntry(D(E), aB), IntegerEntry(E, bB)], aB) | |
694 | 682 | ||
695 | 683 | ||
696 | 684 | ||
697 | 685 | @Callable(aT) | |
698 | - | func TransferAssetToMarketplace (E, | |
686 | + | func TransferAssetToMarketplace (E,bC) = if (!(av(toString(aT.caller), E))) | |
699 | 687 | then throw("You are not the owner of this asset") | |
700 | 688 | else { | |
701 | - | let | |
702 | - | let W = invoke(Address(d), "putOnSale", [E, | |
689 | + | let bB = l(E) | |
690 | + | let W = invoke(Address(d), "putOnSale", [E, bB, bC], nil) | |
703 | 691 | let n = W | |
704 | 692 | if ($isInstanceOf(n, "Int")) | |
705 | 693 | then { |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'AFQS5E4ELtxex3iANtWtUU2V2oWJZSo8VVnK8z3VFmqf' | |
5 | 5 | ||
6 | 6 | let b = base58'3MyDGEoKp1gF4LSRknk9vSuDEyrwuYXcQEQ' | |
7 | 7 | ||
8 | 8 | let c = base58'3N8WDKbqGox5Eky326PHHT7rUyrby5MXdmb' | |
9 | 9 | ||
10 | 10 | let d = base58'3Mra7mjPipcQd5sJaRmXK8xgS4scb8gPF4A' | |
11 | 11 | ||
12 | 12 | let e = base58'3N9tj3b2djcaZozn97VkYchL9S1i6cdEbC1' | |
13 | 13 | ||
14 | 14 | let f = base58'3MvyzDtzWWV5MZ1GP8JfQhhQqiGU4Nbifdy' | |
15 | 15 | ||
16 | 16 | let g = addressFromStringValue("3MpNtiPSRSq6NnaQYk38BfWSzZcgAYTyrQ9") | |
17 | 17 | ||
18 | 18 | let h = addressFromStringValue("3MuSrXTTiwo9bdoD6FeaBpMUYMiU5saDv2U") | |
19 | 19 | ||
20 | 20 | let i = addressFromStringValue("3Mv3mr3uNXdpgkVPApbGEJjMQXqau37DY5i") | |
21 | 21 | ||
22 | 22 | func j (k) = if (if (if (if (if ((k == g)) | |
23 | 23 | then true | |
24 | 24 | else (k == this)) | |
25 | 25 | then true | |
26 | 26 | else (k.bytes == c)) | |
27 | 27 | then true | |
28 | 28 | else (k.bytes == b)) | |
29 | 29 | then true | |
30 | 30 | else (k.bytes == d)) | |
31 | 31 | then true | |
32 | 32 | else (k.bytes == f) | |
33 | 33 | ||
34 | 34 | ||
35 | 35 | func l (m) = { | |
36 | 36 | let n = getInteger(this, m) | |
37 | 37 | if ($isInstanceOf(n, "Int")) | |
38 | 38 | then { | |
39 | 39 | let o = n | |
40 | 40 | o | |
41 | 41 | } | |
42 | 42 | else 0 | |
43 | 43 | } | |
44 | 44 | ||
45 | 45 | ||
46 | 46 | func p (m) = { | |
47 | 47 | let n = getBoolean(this, m) | |
48 | 48 | if ($isInstanceOf(n, "Boolean")) | |
49 | 49 | then { | |
50 | 50 | let o = n | |
51 | 51 | o | |
52 | 52 | } | |
53 | 53 | else false | |
54 | 54 | } | |
55 | 55 | ||
56 | 56 | ||
57 | 57 | func q (m) = { | |
58 | 58 | let n = getString(this, m) | |
59 | 59 | if ($isInstanceOf(n, "String")) | |
60 | 60 | then { | |
61 | 61 | let o = n | |
62 | 62 | o | |
63 | 63 | } | |
64 | 64 | else "" | |
65 | 65 | } | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | func r (s,t) = ((s + "_lvl") + toString(t)) | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | func u (m) = { | |
72 | 72 | let n = getInteger(Address(e), m) | |
73 | 73 | if ($isInstanceOf(n, "Int")) | |
74 | 74 | then { | |
75 | 75 | let o = n | |
76 | 76 | o | |
77 | 77 | } | |
78 | 78 | else 0 | |
79 | 79 | } | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | func v (m) = { | |
83 | 83 | let n = getString(Address(e), m) | |
84 | 84 | if ($isInstanceOf(n, "String")) | |
85 | 85 | then { | |
86 | 86 | let o = n | |
87 | 87 | o | |
88 | 88 | } | |
89 | 89 | else "" | |
90 | 90 | } | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | func w (m) = { | |
94 | 94 | let n = getBoolean(Address(e), m) | |
95 | 95 | if ($isInstanceOf(n, "Boolean")) | |
96 | 96 | then { | |
97 | 97 | let o = n | |
98 | 98 | o | |
99 | 99 | } | |
100 | 100 | else false | |
101 | 101 | } | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func x (y) = (y + "_Treasury") | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func z (m) = { | |
108 | 108 | let n = getInteger(Address(b), m) | |
109 | 109 | if ($isInstanceOf(n, "Int")) | |
110 | 110 | then { | |
111 | 111 | let o = n | |
112 | 112 | o | |
113 | 113 | } | |
114 | 114 | else 0 | |
115 | 115 | } | |
116 | 116 | ||
117 | 117 | ||
118 | 118 | func A (m) = { | |
119 | 119 | let n = getInteger(Address(f), m) | |
120 | 120 | if ($isInstanceOf(n, "Int")) | |
121 | 121 | then { | |
122 | 122 | let o = n | |
123 | 123 | o | |
124 | 124 | } | |
125 | 125 | else 0 | |
126 | 126 | } | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func B (m) = { | |
130 | 130 | let n = getBoolean(Address(f), m) | |
131 | 131 | if ($isInstanceOf(n, "Boolean")) | |
132 | 132 | then { | |
133 | 133 | let o = n | |
134 | 134 | o | |
135 | 135 | } | |
136 | 136 | else false | |
137 | 137 | } | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | func C (m) = { | |
141 | 141 | let n = getString(Address(f), m) | |
142 | 142 | if ($isInstanceOf(n, "String")) | |
143 | 143 | then { | |
144 | 144 | let o = n | |
145 | 145 | o | |
146 | 146 | } | |
147 | 147 | else "" | |
148 | 148 | } | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | func D (E) = (E + "_Owner") | |
152 | 152 | ||
153 | 153 | ||
154 | 154 | let F = "BUILD_STARTED" | |
155 | 155 | ||
156 | 156 | let G = "BUILD_FINISHED" | |
157 | 157 | ||
158 | 158 | func H (I,J) = ((J + "_") + toBase58String(I)) | |
159 | 159 | ||
160 | 160 | ||
161 | 161 | func K (I,J) = (H(I, J) + "_Owner") | |
162 | 162 | ||
163 | 163 | ||
164 | 164 | func L (M,I,J) = (((M + "_") + H(I, J)) + "_fh") | |
165 | 165 | ||
166 | 166 | ||
167 | 167 | func N (M,I,J) = (((M + "_") + H(I, J)) + "_status") | |
168 | 168 | ||
169 | 169 | ||
170 | 170 | func O (P) = { | |
171 | 171 | let Q = split(P, "_") | |
172 | 172 | let R = Q[0] | |
173 | 173 | let S = parseIntValue(drop(Q[1], 3)) | |
174 | 174 | $Tuple2(R, S) | |
175 | 175 | } | |
176 | 176 | ||
177 | 177 | ||
178 | 178 | func T (U,V) = { | |
179 | 179 | let W = invoke(Address(b), "adminTransfer", [addressFromStringValue(U), V], nil) | |
180 | 180 | if ((W == W)) | |
181 | 181 | then { | |
182 | 182 | let n = W | |
183 | 183 | if ($isInstanceOf(n, "Int")) | |
184 | 184 | then { | |
185 | 185 | let X = n | |
186 | 186 | V | |
187 | 187 | } | |
188 | 188 | else 0 | |
189 | 189 | } | |
190 | 190 | else throw("Strict value is not equal to itself.") | |
191 | 191 | } | |
192 | 192 | ||
193 | 193 | ||
194 | 194 | func Y (Z,aa) = { | |
195 | 195 | let ab = split(aa, "_") | |
196 | 196 | let ac = ab[0] | |
197 | 197 | let ad = ab[1] | |
198 | 198 | (Z :+ T(ac, parseIntValue(ad))) | |
199 | 199 | } | |
200 | 200 | ||
201 | 201 | ||
202 | 202 | func ae (k,P,af,ag,ah,ai,aj) = { | |
203 | 203 | let Q = O(P) | |
204 | 204 | let R = Q._1 | |
205 | 205 | let S = Q._2 | |
206 | 206 | let ak = getIntegerValue(this, ah) | |
207 | 207 | if ((ak > height)) | |
208 | 208 | then throw((((("Building is not finished yet " + toString((ak - height))) + " blocks remaining, it will take around ") + toString((ak - height))) + " minutes")) | |
209 | 209 | else if ((take(R, 4) == "TECH")) | |
210 | 210 | then { | |
211 | 211 | let al = invoke(Address(f), "setTecnhnologyDiscovered", [k, P], nil) | |
212 | 212 | if ((al == true)) | |
213 | 213 | then [DeleteEntry(ag), DeleteEntry(ah), DeleteEntry(K(ai, P))] | |
214 | 214 | else throw("error discovering technology") | |
215 | 215 | } | |
216 | 216 | else { | |
217 | 217 | let am = u((P + "_Power")) | |
218 | 218 | let an = ((u((aj + "_Cost")) * 20) / 100) | |
219 | 219 | if ((am > 0)) | |
220 | 220 | then { | |
221 | 221 | let ao = A((k + "_Power")) | |
222 | 222 | let ap = invoke(Address(f), "setUserPower", [k, (ao + am)], nil) | |
223 | 223 | if ((ap == ap)) | |
224 | 224 | then [IntegerEntry(af, an), DeleteEntry(ag), DeleteEntry(ah)] | |
225 | 225 | else throw("Strict value is not equal to itself.") | |
226 | 226 | } | |
227 | 227 | else [IntegerEntry(af, an), DeleteEntry(ag), DeleteEntry(ah)] | |
228 | 228 | } | |
229 | 229 | } | |
230 | 230 | ||
231 | 231 | ||
232 | 232 | func aq (k,P,af,ag,ah,ai) = { | |
233 | 233 | let Q = O(P) | |
234 | 234 | let R = Q._1 | |
235 | 235 | let S = Q._2 | |
236 | 236 | let ak = getIntegerValue(this, ah) | |
237 | 237 | if ((ak > height)) | |
238 | 238 | then throw((((("Building is not finished yet " + toString((ak - height))) + " blocks remaining, it will take around ") + toString((ak - height))) + " minutes")) | |
239 | 239 | else if ((take(R, 4) == "TECH")) | |
240 | 240 | then { | |
241 | 241 | let al = invoke(Address(f), "setTecnhnologyDiscovered", [k, P], nil) | |
242 | 242 | if ((al == true)) | |
243 | 243 | then [DeleteEntry(ag), DeleteEntry(ah), DeleteEntry(K(ai, P))] | |
244 | 244 | else throw("error discovering technology") | |
245 | 245 | } | |
246 | 246 | else { | |
247 | 247 | let am = u((P + "_Power")) | |
248 | 248 | let an = ((u((P + "_Cost")) * 20) / 100) | |
249 | 249 | let ar = invoke(Address(b), "Pay", [k, an], nil) | |
250 | 250 | if ((ar == ar)) | |
251 | 251 | then if ((am > 0)) | |
252 | 252 | then { | |
253 | 253 | let ao = A((k + "_Power")) | |
254 | 254 | let ap = invoke(Address(f), "setUserPower", [k, (ao + am)], nil) | |
255 | 255 | if ((ap == ap)) | |
256 | 256 | then if (w((P + "_Aggregated"))) | |
257 | 257 | then { | |
258 | 258 | let as = ((P + "_") + k) | |
259 | 259 | let at = l(as) | |
260 | 260 | let au = l((as + "_Qty")) | |
261 | 261 | [DeleteEntry(K(ai, P)), StringEntry((as + "_Owner"), k), IntegerEntry(as, (at + an)), IntegerEntry((as + "_Qty"), (au + 1)), DeleteEntry(ag), DeleteEntry(ah)] | |
262 | 262 | } | |
263 | 263 | else [IntegerEntry(af, an), DeleteEntry(ag), DeleteEntry(ah)] | |
264 | 264 | else throw("Strict value is not equal to itself.") | |
265 | 265 | } | |
266 | 266 | else if (w((P + "_Aggregated"))) | |
267 | 267 | then { | |
268 | 268 | let as = ((P + "_") + k) | |
269 | 269 | let at = l(as) | |
270 | 270 | let au = l((as + "_Qty")) | |
271 | 271 | [DeleteEntry(K(ai, P)), StringEntry((as + "_Owner"), k), IntegerEntry(as, (at + an)), IntegerEntry((as + "_Qty"), (au + 1)), DeleteEntry(ag), DeleteEntry(ah)] | |
272 | 272 | } | |
273 | 273 | else [IntegerEntry(af, an), DeleteEntry(ag), DeleteEntry(ah)] | |
274 | 274 | else throw("Strict value is not equal to itself.") | |
275 | 275 | } | |
276 | 276 | } | |
277 | 277 | ||
278 | 278 | ||
279 | 279 | func av (k,af) = { | |
280 | 280 | let aw = q(D(af)) | |
281 | 281 | (aw == k) | |
282 | 282 | } | |
283 | 283 | ||
284 | 284 | ||
285 | 285 | func ax (s,t) = { | |
286 | 286 | let ay = r(s, t) | |
287 | 287 | w((ay + "_NationReserved")) | |
288 | 288 | } | |
289 | 289 | ||
290 | 290 | ||
291 | 291 | func az (E,aA) = { | |
292 | 292 | let Q = O(E) | |
293 | 293 | let R = Q._1 | |
294 | 294 | let S = Q._2 | |
295 | 295 | let ay = r(R, S) | |
296 | 296 | let aB = q(D(E)) | |
297 | 297 | let am = u((ay + "_Power")) | |
298 | 298 | if ((am > 0)) | |
299 | 299 | then { | |
300 | 300 | let ao = A((aB + "_Power")) | |
301 | 301 | let ap = invoke(Address(f), "setUserPower", [aB, (ao - am)], nil) | |
302 | 302 | if ((ap == ap)) | |
303 | 303 | then if ((ap != (ao - am))) | |
304 | 304 | then throw("Incorrect invoke result") | |
305 | 305 | else { | |
306 | 306 | let aC = A((aA + "_Power")) | |
307 | 307 | let aD = invoke(Address(f), "setUserPower", [aA, (aC + am)], nil) | |
308 | 308 | if ((aD == aD)) | |
309 | 309 | then { | |
310 | 310 | let n = aD | |
311 | 311 | if ($isInstanceOf(n, "Int")) | |
312 | 312 | then { | |
313 | 313 | let aE = n | |
314 | 314 | [StringEntry(D(E), aA)] | |
315 | 315 | } | |
316 | 316 | else throw("Incorrect invoke result") | |
317 | 317 | } | |
318 | 318 | else throw("Strict value is not equal to itself.") | |
319 | 319 | } | |
320 | 320 | else throw("Strict value is not equal to itself.") | |
321 | 321 | } | |
322 | 322 | else [StringEntry(D(E), aA)] | |
323 | 323 | } | |
324 | 324 | ||
325 | 325 | ||
326 | 326 | func aF (aG,k,aH) = { | |
327 | 327 | let aI = v((aG + "_SacrificeAsset")) | |
328 | 328 | let aJ = u((aG + "_SacrificeAssetLevel")) | |
329 | 329 | if ((aI == "")) | |
330 | 330 | then true | |
331 | 331 | else if (!(av(k, aH))) | |
332 | 332 | then throw("you are not the owner of the Sacrifice asset") | |
333 | 333 | else { | |
334 | 334 | let Q = O(aH) | |
335 | 335 | if (if ((aI != Q._1)) | |
336 | 336 | then true | |
337 | 337 | else (aJ != Q._2)) | |
338 | 338 | then throw("the sacrificeAsset has the wrong type or level") | |
339 | 339 | else true | |
340 | 340 | } | |
341 | 341 | } | |
342 | 342 | ||
343 | 343 | ||
344 | 344 | func aK (s,t,aL,aH) = { | |
345 | 345 | let aM = r(s, t) | |
346 | 346 | let aN = v((aM + "_Tecnhology_discovered")) | |
347 | 347 | if ((aN != "")) | |
348 | 348 | then if (B(((aL + "_") + aN))) | |
349 | 349 | then aF(aM, aL, aH) | |
350 | 350 | else false | |
351 | 351 | else aF(aM, aL, aH) | |
352 | 352 | } | |
353 | 353 | ||
354 | 354 | ||
355 | 355 | func aO (s,t,k,aH) = { | |
356 | 356 | let aP = r(s, t) | |
357 | 357 | let aQ = A(k) | |
358 | 358 | if ((aQ == 0)) | |
359 | 359 | then false | |
360 | 360 | else { | |
361 | 361 | let aN = v((aP + "_Tecnhology_discovered")) | |
362 | 362 | if ((aN != "")) | |
363 | 363 | then { | |
364 | 364 | let aL = C(toString(aQ)) | |
365 | 365 | if (B(((aL + "_") + aN))) | |
366 | 366 | then aF(aP, k, aH) | |
367 | 367 | else false | |
368 | 368 | } | |
369 | 369 | else aF(aP, k, aH) | |
370 | 370 | } | |
371 | 371 | } | |
372 | 372 | ||
373 | 373 | ||
374 | 374 | func aR (s,t,aS,aL,aH) = if ((aL != "")) | |
375 | 375 | then aK(s, t, aL, aH) | |
376 | 376 | else aO(s, t, aS, aH) | |
377 | 377 | ||
378 | 378 | ||
379 | 379 | @Callable(aT) | |
380 | 380 | func StartBuild (R,t,aL,aH) = if (!(aR(R, t, toString(aT.caller), aL, aH))) | |
381 | 381 | then throw("You cannot build this Item") | |
382 | 382 | else { | |
383 | 383 | let aM = r(R, t) | |
384 | 384 | let aU = u((aM + "_BuildTime")) | |
385 | 385 | let aV = u((aM + "_Cost")) | |
386 | 386 | let aW = ((aV * 5) / 100) | |
387 | 387 | let aX = ((aV * 10) / 100) | |
388 | 388 | let aY = ((aV * 65) / 100) | |
389 | 389 | let aZ = (((aV - aW) - aX) - aY) | |
390 | 390 | if (ax(R, t)) | |
391 | 391 | then if (if (!(av(toString(aT.caller), aL))) | |
392 | 392 | then !(j(aT.caller)) | |
393 | 393 | else false) | |
394 | 394 | then throw("You are not the owner of the nation") | |
395 | 395 | else { | |
396 | 396 | let ba = z(x(aL)) | |
397 | 397 | if ((aV > ba)) | |
398 | 398 | then throw("The nation hasn't enough funds") | |
399 | 399 | else { | |
400 | 400 | let bb = invoke(Address(b), "decreaseNationWallet", [aL, aV], nil) | |
401 | 401 | let n = bb | |
402 | 402 | if ($isInstanceOf(n, "Int")) | |
403 | 403 | then { | |
404 | 404 | let aE = n | |
405 | 405 | let ap = invoke(Address(b), "arbitraryAddCoins", [aL, aZ], nil) | |
406 | 406 | let bc = ap | |
407 | 407 | if ($isInstanceOf(bc, "Int")) | |
408 | 408 | then { | |
409 | 409 | let o = bc | |
410 | 410 | let bd = invoke(Address(b), "distributeNationPayRewards", [aV], nil) | |
411 | 411 | let be = bd | |
412 | 412 | if ($isInstanceOf(be, "Int")) | |
413 | 413 | then { | |
414 | 414 | let X = be | |
415 | 415 | [StringEntry(N(toString(aT.originCaller), aT.transactionId, aM), F), StringEntry(K(aT.transactionId, aM), aL), IntegerEntry(L(toString(aT.originCaller), aT.transactionId, aM), (height + aU))] | |
416 | 416 | } | |
417 | 417 | else throw("Error Distributing asset rewards") | |
418 | 418 | } | |
419 | 419 | else throw("Error Depositing nation funds") | |
420 | 420 | } | |
421 | 421 | else throw("Error Depositing nation funds") | |
422 | 422 | } | |
423 | 423 | } | |
424 | 424 | else { | |
425 | 425 | let aI = v((aM + "_SacrificeAsset")) | |
426 | 426 | if ((aI != "")) | |
427 | 427 | then [DeleteEntry(aH), DeleteEntry((aH + "_Owner")), StringEntry(N(toString(aT.originCaller), aT.transactionId, aM), F), StringEntry(K(aT.transactionId, aM), toString(aT.originCaller)), IntegerEntry(L(toString(aT.originCaller), aT.transactionId, aM), (height + aU))] | |
428 | 428 | else { | |
429 | 429 | let bf = value(aT.payments[0].amount) | |
430 | 430 | if ((aV > bf)) | |
431 | 431 | then throw(("You provided less $heg than the needed cost for building this " + R)) | |
432 | 432 | else if ((aT.payments[0].assetId != a)) | |
433 | 433 | then throw("Only $HEG payments allowed") | |
434 | 434 | else { | |
435 | 435 | let ap = invoke(Address(b), "Deposit", nil, [AttachedPayment(a, aZ)]) | |
436 | 436 | let n = ap | |
437 | 437 | if ($isInstanceOf(n, "Int")) | |
438 | 438 | then { | |
439 | 439 | let aE = n | |
440 | 440 | [StringEntry(N(toString(aT.originCaller), aT.transactionId, aM), F), StringEntry(K(aT.transactionId, aM), toString(aT.originCaller)), IntegerEntry(L(toString(aT.originCaller), aT.transactionId, aM), (height + aU)), ScriptTransfer(g, aW, a), ScriptTransfer(h, aX, a), ScriptTransfer(i, aY, a)] | |
441 | 441 | } | |
442 | 442 | else throw("Incorrect invoke result") | |
443 | 443 | } | |
444 | 444 | } | |
445 | 445 | } | |
446 | 446 | } | |
447 | 447 | ||
448 | 448 | ||
449 | 449 | ||
450 | 450 | @Callable(aT) | |
451 | 451 | func FinishBuild (bg,P,t,aL) = { | |
452 | 452 | let I = fromBase58String(bg) | |
453 | 453 | let aG = r(P, t) | |
454 | 454 | let ag = N(toString(aT.caller), I, aG) | |
455 | 455 | let ah = L(toString(aT.caller), I, aG) | |
456 | 456 | let af = H(I, aG) | |
457 | 457 | let aw = q(K(I, aG)) | |
458 | 458 | if (ax(P, t)) | |
459 | 459 | then if (if (!(av(toString(aT.caller), aL))) | |
460 | 460 | then !(j(aT.caller)) | |
461 | 461 | else false) | |
462 | 462 | then throw("You are not authorized to perform this operation") | |
463 | 463 | else aq(aL, aG, af, ag, ah, I) | |
464 | 464 | else if ((aw != toString(aT.caller))) | |
465 | 465 | then throw(("You cannot claim other's players " + P)) | |
466 | 466 | else { | |
467 | 467 | let bh = q(ag) | |
468 | 468 | if ((bh == "")) | |
469 | 469 | then throw("No pending operations for this asset") | |
470 | 470 | else { | |
471 | 471 | let aI = v((aG + "_SacrificeAsset")) | |
472 | 472 | let bi = u((aG + "_SacrificeAssetLevel")) | |
473 | 473 | if ((aI != "")) | |
474 | 474 | then ae(toString(aT.caller), aG, af, ag, ah, I, r(aI, bi)) | |
475 | 475 | else aq(toString(aT.caller), aG, af, ag, ah, I) | |
476 | 476 | } | |
477 | 477 | } | |
478 | 478 | } | |
479 | 479 | ||
480 | 480 | ||
481 | 481 | ||
482 | 482 | @Callable(aT) | |
483 | 483 | func transferOwnership (E,aA) = if (!(j(aT.caller))) | |
484 | 484 | then throw("Only the admin can perform this operation") | |
485 | 485 | else $Tuple2(az(E, aA), aA) | |
486 | 486 | ||
487 | 487 | ||
488 | 488 | ||
489 | 489 | @Callable(aT) | |
490 | 490 | func destroyAssetAndTransfer (E,au,bj) = { | |
491 | 491 | let Q = O(E) | |
492 | 492 | let R = Q._1 | |
493 | 493 | let S = Q._2 | |
494 | 494 | let ay = r(R, S) | |
495 | 495 | if (!(j(aT.caller))) | |
496 | 496 | then throw("Only the admin can perform this operation") | |
497 | 497 | else { | |
498 | 498 | let aB = q(D(E)) | |
499 | 499 | let an = l(E) | |
500 | 500 | let ao = A((aB + "_Power")) | |
501 | 501 | let am = u((ay + "_Power")) | |
502 | 502 | if (w((ay + "_Aggregated"))) | |
503 | 503 | then { | |
504 | 504 | let bk = ((u((ay + "_Cost")) * 20) / 100) | |
505 | 505 | let bl = l((ay + "_Qty")) | |
506 | 506 | if ((0 > (bl - au))) | |
507 | 507 | then throw(("you don't have enough " + R)) | |
508 | 508 | else { | |
509 | 509 | let ap = invoke(Address(f), "setUserPower", [aB, (ao - (am * au))], nil) | |
510 | 510 | let n = ap | |
511 | 511 | if ($isInstanceOf(n, "Int")) | |
512 | 512 | then { | |
513 | 513 | let aE = n | |
514 | 514 | let bm = split(bj, "#") | |
515 | 515 | let bn = { | |
516 | 516 | let bo = bm | |
517 | 517 | let bp = size(bo) | |
518 | 518 | let bq = nil | |
519 | 519 | func br (bs,bt) = if ((bt >= bp)) | |
520 | 520 | then bs | |
521 | 521 | else Y(bs, bo[bt]) | |
522 | 522 | ||
523 | 523 | func bu (bs,bt) = if ((bt >= bp)) | |
524 | 524 | then bs | |
525 | 525 | else throw("List size exceeds 50") | |
526 | 526 | ||
527 | 527 | bu(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(bq, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50) | |
528 | 528 | } | |
529 | - | let bc = bn | |
530 | - | if ($isInstanceOf(bc, "List[Any]")) | |
531 | - | then { | |
532 | - | let bv = bc | |
533 | - | if (((bl - au) > 0)) | |
534 | - | then [IntegerEntry((ay + "_Qty"), (bl - au))] | |
535 | - | else [DeleteEntry(E), DeleteEntry(D(E))] | |
536 | - | } | |
537 | - | else throw("error distributigmn rewards") | |
529 | + | if (((bl - au) > 0)) | |
530 | + | then [IntegerEntry((ay + "_Qty"), (bl - au))] | |
531 | + | else [DeleteEntry(E), DeleteEntry(D(E))] | |
538 | 532 | } | |
539 | 533 | else throw("Error setting user power") | |
540 | 534 | } | |
541 | 535 | } | |
542 | 536 | else { | |
543 | 537 | let bm = split(bj, "#") | |
544 | 538 | let bn = { | |
545 | 539 | let bo = bm | |
546 | 540 | let bp = size(bo) | |
547 | 541 | let bq = nil | |
548 | 542 | func br (bs,bt) = if ((bt >= bp)) | |
549 | 543 | then bs | |
550 | 544 | else Y(bs, bo[bt]) | |
551 | 545 | ||
552 | 546 | func bu (bs,bt) = if ((bt >= bp)) | |
553 | 547 | then bs | |
554 | 548 | else throw("List size exceeds 50") | |
555 | 549 | ||
556 | 550 | bu(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(br(bq, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50) | |
557 | 551 | } | |
558 | - | let | |
559 | - | if ( | |
552 | + | let ap = invoke(Address(f), "setUserPower", [aB, (ao - am)], nil) | |
553 | + | if ((ap == ap)) | |
560 | 554 | then { | |
561 | - | let bv = n | |
562 | - | let ap = invoke(Address(f), "setUserPower", [aB, (ao - am)], nil) | |
563 | - | if ((ap == ap)) | |
555 | + | let n = ap | |
556 | + | if ($isInstanceOf(n, "Int")) | |
564 | 557 | then { | |
565 | - | let bc = ap | |
566 | - | if ($isInstanceOf(bc, "Int")) | |
567 | - | then { | |
568 | - | let aE = bc | |
558 | + | let aE = n | |
569 | 559 | [DeleteEntry(E), DeleteEntry(D(E))] | |
570 | - | } | |
571 | - | else throw("Error setting user power") | |
572 | 560 | } | |
573 | - | else throw(" | |
561 | + | else throw("Error setting user power") | |
574 | 562 | } | |
575 | - | else throw(" | |
563 | + | else throw("Strict value is not equal to itself.") | |
576 | 564 | } | |
577 | 565 | } | |
578 | 566 | } | |
579 | 567 | ||
580 | 568 | ||
581 | 569 | ||
582 | 570 | @Callable(aT) | |
583 | 571 | func destroyAssetFromUser (E,au) = { | |
584 | 572 | let Q = O(E) | |
585 | 573 | let R = Q._1 | |
586 | 574 | let S = Q._2 | |
587 | 575 | let ay = r(R, S) | |
588 | 576 | if (!(av(toString(aT.caller), E))) | |
589 | 577 | then throw("You don't own this asset") | |
590 | 578 | else { | |
591 | 579 | let an = l(E) | |
592 | 580 | let ao = A((toString(aT.caller) + "_Power")) | |
593 | 581 | let am = u((ay + "_Power")) | |
594 | 582 | if (w((ay + "_Aggregated"))) | |
595 | 583 | then { | |
596 | 584 | let bk = ((u((ay + "_Cost")) * 20) / 100) | |
597 | 585 | let bl = l((ay + "_Qty")) | |
598 | 586 | if ((0 > (bl - au))) | |
599 | 587 | then throw(("you don't have enough " + R)) | |
600 | 588 | else { | |
601 | 589 | let ap = invoke(Address(f), "setUserPower", [toString(aT.caller), (ao - (am * au))], nil) | |
602 | 590 | let n = ap | |
603 | 591 | if ($isInstanceOf(n, "Int")) | |
604 | 592 | then { | |
605 | 593 | let aE = n | |
606 | 594 | let W = invoke(Address(b), "adminTransfer", [toString(aT.caller), (bk * au)], nil) | |
607 | 595 | let bc = W | |
608 | 596 | if ($isInstanceOf(bc, "Int")) | |
609 | 597 | then { | |
610 | 598 | let X = bc | |
611 | 599 | if (((bl - au) > 0)) | |
612 | 600 | then [IntegerEntry((ay + "_Qty"), (bl - au))] | |
613 | 601 | else [DeleteEntry(E), DeleteEntry(D(E))] | |
614 | 602 | } | |
615 | 603 | else throw("Error transferring coins") | |
616 | 604 | } | |
617 | 605 | else throw("Error setting user power") | |
618 | 606 | } | |
619 | 607 | } | |
620 | 608 | else { | |
621 | 609 | let ap = invoke(Address(f), "setUserPower", [toString(aT.caller), (ao - am)], nil) | |
622 | 610 | let n = ap | |
623 | 611 | if ($isInstanceOf(n, "Int")) | |
624 | 612 | then { | |
625 | 613 | let aE = n | |
626 | 614 | let W = invoke(Address(b), "adminTransfer", [toString(aT.caller), an], nil) | |
627 | 615 | let bc = W | |
628 | 616 | if ($isInstanceOf(bc, "Int")) | |
629 | 617 | then { | |
630 | 618 | let X = bc | |
631 | 619 | [DeleteEntry(E), DeleteEntry(D(E))] | |
632 | 620 | } | |
633 | 621 | else throw("Error transferring coins") | |
634 | 622 | } | |
635 | 623 | else throw("Error setting user power") | |
636 | 624 | } | |
637 | 625 | } | |
638 | 626 | } | |
639 | 627 | ||
640 | 628 | ||
641 | 629 | ||
642 | 630 | @Callable(aT) | |
643 | - | func setNationOwner ( | |
644 | - | then $Tuple2([StringEntry(( | |
631 | + | func setNationOwner (bv,aA) = if (j(aT.caller)) | |
632 | + | then $Tuple2([StringEntry((bv + "_Owner"), aA)], true) | |
645 | 633 | else { | |
646 | - | let | |
647 | - | if (( | |
634 | + | let bw = q((bv + "_Owner")) | |
635 | + | if ((bw != toString(aT.caller))) | |
648 | 636 | then throw("You are not the nation owner") | |
649 | - | else [StringEntry(( | |
637 | + | else [StringEntry((bv + "_Owner"), aA)] | |
650 | 638 | } | |
651 | 639 | ||
652 | 640 | ||
653 | 641 | ||
654 | 642 | @Callable(aT) | |
655 | 643 | func buyNationItem (E,aL) = { | |
656 | 644 | let Q = O(E) | |
657 | 645 | let R = Q._1 | |
658 | 646 | let S = Q._2 | |
659 | 647 | let ay = r(R, S) | |
660 | - | let | |
661 | - | let | |
662 | - | if (( | |
648 | + | let bx = A(toString(aT.caller)) | |
649 | + | let by = A(aL) | |
650 | + | if ((bx != by)) | |
663 | 651 | then throw("you can buy assets only from your nation") | |
664 | 652 | else if (!(av(aL, E))) | |
665 | 653 | then throw("The asset does not belong to the nation") | |
666 | 654 | else if (!(ax(R, S))) | |
667 | 655 | then throw("this asset cannot be sold by the nation") | |
668 | 656 | else { | |
669 | - | let | |
657 | + | let bz = u((r(R, S) + "_SellPrice")) | |
670 | 658 | let bf = value(aT.payments[0].amount) | |
671 | - | if (( | |
659 | + | if ((bz > bf)) | |
672 | 660 | then throw(("You provided less $heg than the needed cost for buying this " + R)) | |
673 | 661 | else if ((aT.payments[0].assetId != a)) | |
674 | 662 | then throw("Only $HEG payments allowed") | |
675 | 663 | else { | |
676 | - | let | |
677 | - | let n = | |
664 | + | let bA = invoke(Address(b), "increaseNationWallet", [aL, bf], nil) | |
665 | + | let n = bA | |
678 | 666 | if ($isInstanceOf(n, "Int")) | |
679 | 667 | then { | |
680 | 668 | let o = n | |
681 | 669 | (az(E, toString(aT.caller)) :+ ScriptTransfer(Address(b), bf, a)) | |
682 | 670 | } | |
683 | 671 | else throw("Error transferring SHEG to nations wallet") | |
684 | 672 | } | |
685 | 673 | } | |
686 | 674 | } | |
687 | 675 | ||
688 | 676 | ||
689 | 677 | ||
690 | 678 | @Callable(aT) | |
691 | - | func AddAssetFromMarkeplace (E,aB, | |
679 | + | func AddAssetFromMarkeplace (E,aB,bB) = if (!(j(aT.caller))) | |
692 | 680 | then throw("You are not allowed to perform this operation") | |
693 | - | else $Tuple2([StringEntry(D(E), aB), IntegerEntry(E, | |
681 | + | else $Tuple2([StringEntry(D(E), aB), IntegerEntry(E, bB)], aB) | |
694 | 682 | ||
695 | 683 | ||
696 | 684 | ||
697 | 685 | @Callable(aT) | |
698 | - | func TransferAssetToMarketplace (E, | |
686 | + | func TransferAssetToMarketplace (E,bC) = if (!(av(toString(aT.caller), E))) | |
699 | 687 | then throw("You are not the owner of this asset") | |
700 | 688 | else { | |
701 | - | let | |
702 | - | let W = invoke(Address(d), "putOnSale", [E, | |
689 | + | let bB = l(E) | |
690 | + | let W = invoke(Address(d), "putOnSale", [E, bB, bC], nil) | |
703 | 691 | let n = W | |
704 | 692 | if ($isInstanceOf(n, "Int")) | |
705 | 693 | then { | |
706 | 694 | let X = n | |
707 | 695 | [DeleteEntry(D(E)), DeleteEntry(E)] | |
708 | 696 | } | |
709 | 697 | else throw("Error putting the item on the marketplace") | |
710 | 698 | } | |
711 | 699 | ||
712 | 700 | ||
713 | 701 | ||
714 | 702 | @Callable(aT) | |
715 | 703 | func DelKey (m) = if (!(j(aT.caller))) | |
716 | 704 | then throw("") | |
717 | 705 | else [DeleteEntry(m)] | |
718 | 706 | ||
719 | 707 | ||
720 | 708 | ||
721 | 709 | @Callable(aT) | |
722 | 710 | func UpdKey (m,ab) = if (!(j(aT.caller))) | |
723 | 711 | then throw("") | |
724 | 712 | else [StringEntry(m, ab)] | |
725 | 713 | ||
726 | 714 |
github/deemru/w8io/026f985 88.17 ms ◑