tx · CxZnjP1gyGM8PUjk69DEtgGBYw5Hu2HqDGLGCXgMppei 3MuH9NgpoGaSQufEQLPRikXNS9PXhkhcLzp: -0.01400000 Waves 2022.05.19 15:29 [2058553] smart account 3MuH9NgpoGaSQufEQLPRikXNS9PXhkhcLzp > SELF 0.00000000 Waves
{ "type": 13, "id": "CxZnjP1gyGM8PUjk69DEtgGBYw5Hu2HqDGLGCXgMppei", "fee": 1400000, "feeAssetId": null, "timestamp": 1652963449952, "version": 2, "chainId": 84, "sender": "3MuH9NgpoGaSQufEQLPRikXNS9PXhkhcLzp", "senderPublicKey": "74D2dSZ2CcYprVwEPr2GayHyp7wbLrppDt4SWXZcfT1z", "proofs": [ "4vTx8bVVjGisvvitfhLW4TySBnmAbuvqsDegKtfcapib8dwCehHjmkECc58jUhVEGf5gEjKB6t2NB7c2qFzHa1Q3" ], "script": "base64:AAIFAAAAAAAAAAwIAhIDCgEBEgMKAQEAAAAhAAAAAAlzZXBhcmF0b3ICAAAAAV8AAAAAE2tleUxhc3RCYXR0bGVIZWlnaHQCAAAAEmxhc3RfYmF0dGxlX2hlaWdodAAAAAANa2V5SXRlbXNDb3VudAIAAAALaXRlbXNfY291bnQAAAAADGtleUl0ZW1Pd25lcgIAAAAKaXRlbV9vd25lcgAAAAAPa2V5SXRlbUNhdGVnb3J5AgAAAA1pdGVtX2NhdGVnb3J5AAAAAAtrZXlJdGVtVHlwZQIAAAAJaXRlbV90eXBlAAAAABJrZXlJdGVtRWZmZWN0VHlwZTECAAAAEml0ZW1fZWZmZWN0X3R5cGVfMQAAAAATa2V5SXRlbUVmZmVjdFZhbHVlMQIAAAATaXRlbV9lZmZlY3RfdmFsdWVfMQAAAAASa2V5SXRlbUVmZmVjdFR5cGUyAgAAABJpdGVtX2VmZmVjdF90eXBlXzIAAAAAE2tleUl0ZW1FZmZlY3RWYWx1ZTICAAAAE2l0ZW1fZWZmZWN0X3ZhbHVlXzIAAAAAEmtleUl0ZW1FZmZlY3RUeXBlMwIAAA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"succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3VCV6AQtm5NEA7BUxjEWcyd5W2437knQKFFfT3FEnX8Z Next: 4SoAWkBc8nzkLZVga8zBKfE1SUbxDq8CDzeThHLUJjrt Diff:
Old | New | Differences | |
---|---|---|---|
114 | 114 | else { | |
115 | 115 | let Y = min([((getIntegerValue(o, s) * (height - X)) + (getIntegerValue(z, I(B, W)) * 100)), getIntegerValue(o, r)]) | |
116 | 116 | if ((Y > P(0, 10000, S, 0))) | |
117 | - | then [IntegerEntry(I(b, W), height)] | |
117 | + | then [IntegerEntry(I(b, W), height), IntegerEntry("test", Y)] | |
118 | 118 | else { | |
119 | 119 | let Z = P(1, getIntegerValue(o, v), S, 1) | |
120 | 120 | let aa = parseIntValue(split(getStringValue(o, w), a)[(Z - 1)]) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "_" | |
5 | 5 | ||
6 | 6 | let b = "last_battle_height" | |
7 | 7 | ||
8 | 8 | let c = "items_count" | |
9 | 9 | ||
10 | 10 | let d = "item_owner" | |
11 | 11 | ||
12 | 12 | let e = "item_category" | |
13 | 13 | ||
14 | 14 | let f = "item_type" | |
15 | 15 | ||
16 | 16 | let g = "item_effect_type_1" | |
17 | 17 | ||
18 | 18 | let h = "item_effect_value_1" | |
19 | 19 | ||
20 | 20 | let i = "item_effect_type_2" | |
21 | 21 | ||
22 | 22 | let j = "item_effect_value_2" | |
23 | 23 | ||
24 | 24 | let k = "item_effect_type_3" | |
25 | 25 | ||
26 | 26 | let l = "item_effect_value_3" | |
27 | 27 | ||
28 | 28 | let m = "item_effect_type_4" | |
29 | 29 | ||
30 | 30 | let n = "item_effect_value_4" | |
31 | 31 | ||
32 | 32 | let o = addressFromStringValue("3MyxfwvbueUBynYHfQsutNXZNqNozGiMnsG") | |
33 | 33 | ||
34 | 34 | let p = "ecosystem_addresses" | |
35 | 35 | ||
36 | 36 | let q = "battle_rest_period" | |
37 | 37 | ||
38 | 38 | let r = "battle_win_chance_hardcap" | |
39 | 39 | ||
40 | 40 | let s = "battle_win_chance_incr_per_block" | |
41 | 41 | ||
42 | 42 | let t = "battle_loot_rarity_ranges" | |
43 | 43 | ||
44 | 44 | let u = "chars_natural_battle_bonus_ranges" | |
45 | 45 | ||
46 | 46 | let v = "items_categories" | |
47 | 47 | ||
48 | 48 | let w = "items_types_per_cat" | |
49 | 49 | ||
50 | 50 | let x = "items_effects" | |
51 | 51 | ||
52 | 52 | let y = "items_effects_max_range" | |
53 | 53 | ||
54 | 54 | let z = addressFromStringValue("3NA3LRSigk6knLZ16uTzcdLNow2EQZtXTaJ") | |
55 | 55 | ||
56 | 56 | let A = "owner" | |
57 | 57 | ||
58 | 58 | let B = "natural_battle_bonus" | |
59 | 59 | ||
60 | 60 | let C = addressFromStringValue("3MxiJLrY6Qa5bSYxxSFHSG5bVV2n59x1MGn") | |
61 | 61 | ||
62 | 62 | func D (E) = if ((isDataStorageUntouched(o) != false)) | |
63 | 63 | then throw("Governing app not ready") | |
64 | 64 | else { | |
65 | 65 | let F = getStringValue(o, p) | |
66 | 66 | if ((contains(F, toString(E)) != false)) | |
67 | 67 | then throw("Access denied") | |
68 | 68 | else true | |
69 | 69 | } | |
70 | 70 | ||
71 | 71 | ||
72 | 72 | func G (H) = if ((contains(getStringValue(o, p), toBase58String(H.bytes)) != true)) | |
73 | 73 | then throw("Access denied") | |
74 | 74 | else true | |
75 | 75 | ||
76 | 76 | ||
77 | 77 | func I (J,K) = { | |
78 | 78 | let L = { | |
79 | 79 | let M = K | |
80 | 80 | if ($isInstanceOf(M, "Int")) | |
81 | 81 | then { | |
82 | 82 | let N = M | |
83 | 83 | toString(N) | |
84 | 84 | } | |
85 | 85 | else if ($isInstanceOf(M, "String")) | |
86 | 86 | then { | |
87 | 87 | let O = M | |
88 | 88 | O | |
89 | 89 | } | |
90 | 90 | else throw("Matching issue in with function") | |
91 | 91 | } | |
92 | 92 | ((L + a) + J) | |
93 | 93 | } | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | func P (Q,R,S,T) = { | |
97 | 97 | let U = value(sha256_16Kb(((value(value(blockInfoByHeight(height)).vrf) + S) + toBytes(T)))) | |
98 | 98 | value(((value(toInt(U)) % ((R - Q) + 1)) + Q)) | |
99 | 99 | } | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | @Callable(V) | |
103 | 103 | func battle (W) = if ((D(V.caller) != true)) | |
104 | 104 | then throw() | |
105 | 105 | else { | |
106 | 106 | let E = toBase58String(V.caller.bytes) | |
107 | 107 | let S = V.transactionId | |
108 | 108 | if ((getStringValue(z, I(A, W)) != E)) | |
109 | 109 | then throw("Caller doesn't own this char") | |
110 | 110 | else { | |
111 | 111 | let X = (getIntegerValue(this, I(b, W)) + getIntegerValue(o, q)) | |
112 | 112 | if ((X > height)) | |
113 | 113 | then throw("Still resting") | |
114 | 114 | else { | |
115 | 115 | let Y = min([((getIntegerValue(o, s) * (height - X)) + (getIntegerValue(z, I(B, W)) * 100)), getIntegerValue(o, r)]) | |
116 | 116 | if ((Y > P(0, 10000, S, 0))) | |
117 | - | then [IntegerEntry(I(b, W), height)] | |
117 | + | then [IntegerEntry(I(b, W), height), IntegerEntry("test", Y)] | |
118 | 118 | else { | |
119 | 119 | let Z = P(1, getIntegerValue(o, v), S, 1) | |
120 | 120 | let aa = parseIntValue(split(getStringValue(o, w), a)[(Z - 1)]) | |
121 | 121 | let ab = P(1, aa, S, 2) | |
122 | 122 | let ac = split(getStringValue(o, t), a) | |
123 | 123 | let ad = P(0, 10000, S, 3) | |
124 | 124 | let ae = if ((parseIntValue(ac[0]) >= ad)) | |
125 | 125 | then 1 | |
126 | 126 | else if ((parseIntValue(ac[1]) >= ad)) | |
127 | 127 | then 2 | |
128 | 128 | else if ((parseIntValue(ac[2]) >= ad)) | |
129 | 129 | then 3 | |
130 | 130 | else 4 | |
131 | 131 | let af = getIntegerValue(o, x) | |
132 | 132 | let ag = split(getStringValue(o, y), a) | |
133 | 133 | let ah = P(1, af, S, 4) | |
134 | 134 | let ai = P(1, parseIntValue(ag[ah]), S, 5) | |
135 | 135 | let aj = if ((ae > 1)) | |
136 | 136 | then P(1, af, S, 6) | |
137 | 137 | else 0 | |
138 | 138 | let ak = if ((ae > 1)) | |
139 | 139 | then P(1, parseIntValue(ag[aj]), S, 7) | |
140 | 140 | else 0 | |
141 | 141 | let al = if ((ae > 2)) | |
142 | 142 | then P(1, af, S, 8) | |
143 | 143 | else 0 | |
144 | 144 | let am = if ((ae > 2)) | |
145 | 145 | then P(1, parseIntValue(ag[al]), S, 9) | |
146 | 146 | else 0 | |
147 | 147 | let an = if ((ae > 3)) | |
148 | 148 | then P(1, af, S, 10) | |
149 | 149 | else 0 | |
150 | 150 | let ao = if ((ae > 3)) | |
151 | 151 | then P(1, parseIntValue(ag[an]), S, 11) | |
152 | 152 | else 0 | |
153 | 153 | let ap = valueOrElse(getInteger(this, c), 1) | |
154 | 154 | [IntegerEntry(I(b, W), height), IntegerEntry(c, (ap + 1)), StringEntry(I(d, ap), E), IntegerEntry(I(e, ap), Z), IntegerEntry(I(f, ap), ab), IntegerEntry(I(g, ap), ah), IntegerEntry(I(h, ap), ai), IntegerEntry(I(i, ap), aj), IntegerEntry(I(j, ap), ak), IntegerEntry(I(k, ap), al), IntegerEntry(I(l, ap), am), IntegerEntry(I(m, ap), an), IntegerEntry(I(n, ap), ao), IntegerEntry("test", Y)] | |
155 | 155 | } | |
156 | 156 | } | |
157 | 157 | } | |
158 | 158 | } | |
159 | 159 | ||
160 | 160 | ||
161 | 161 | ||
162 | 162 | @Callable(V) | |
163 | 163 | func updateLastBattleHeight (W) = if ((G(V.caller) != true)) | |
164 | 164 | then throw() | |
165 | 165 | else $Tuple2([IntegerEntry(I(b, W), height)], height) | |
166 | 166 | ||
167 | 167 | ||
168 | 168 | @Verifier(aq) | |
169 | 169 | func ar () = sigVerify(aq.bodyBytes, aq.proofs[0], aq.senderPublicKey) | |
170 | 170 |
github/deemru/w8io/169f3d6 42.10 ms ◑