tx · 8MZGp22nUjvx6n714hBk1cWVWQGa4VUcrC4EzUSo1Mf5 3NA3LRSigk6knLZ16uTzcdLNow2EQZtXTaJ: -0.01400000 Waves 2022.05.17 11:29 [2055427] smart account 3NA3LRSigk6knLZ16uTzcdLNow2EQZtXTaJ > SELF 0.00000000 Waves
{ "type": 13, "id": "8MZGp22nUjvx6n714hBk1cWVWQGa4VUcrC4EzUSo1Mf5", "fee": 1400000, "feeAssetId": null, "timestamp": 1652776254595, "version": 2, "chainId": 84, "sender": "3NA3LRSigk6knLZ16uTzcdLNow2EQZtXTaJ", "senderPublicKey": "ApEZSyUFWsckB3mZSWm3spfm6UPyDhMdrpxNhydohYs1", "proofs": [ "5VKQ89dwUz4WVEMJ5hhwt33H5NhnC9nbo45xMefZ7NSkuJQ8yTCsbfUUp4aQJqVqMjGKXZhjLNLJEn3QBCXdFJMh" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAGAAAAAAJc2VwYXJhdG9yAgAAAAFfAAAAAA1rZXlDaGFyc0NvdW50AgAAAAtjaGFyc19jb3VudAAAAAAHa2V5Q2hhcgIAAAAEY2hhcgAAAAAIa2V5T3duZXICAAAABW93bmVyAAAAAA1rZXlBcHBlYXJhbmNlAgAAAAphcHBlYXJhbmNlAAAAAAxrZXlQeXJvQm9udXMCAAAACnB5cm9fYm9udXMAAAAADGtleUFxdWFCb251cwIAAAAKYXF1YV9ib251cwAAAAANa2V5VGVycmFCb251cwIAAAALdGVycmFfYm9udXMAAAAADGtleUFlcm9Cb251cwIAAAAKYWVyb19ib251cwAAAAANa2V5TG9vdHNCb251cwIAAAALbG9vdHNfYm9udXMAAAAAEmtleUdlbmVyYXRpbmdCb251cwIAAAAQZ2VuZXJhdGluZ19ib251cwAAAAAHZ292QWRkcgkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQIAAAAAAAAAABVrZXlFY29zeXN0ZW1BZGRyZXNzZXMCAAAAE2Vjb3N5c3RlbV9hZGRyZXNzZXMAAAAA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FAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleaYncXc=", "height": 2055427, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: H5J3SdK7ZxBFoNhQrnWXSDkDQnjdJjv2DSLxTzgDCck Next: EGEY7MorPigufbjdzziLJUuHEA74EtqTyHJsdveZuWXA Diff:
Old | New | Differences | |
---|---|---|---|
44 | 44 | func u (v) = if ((isDataStorageUntouched(l) != false)) | |
45 | 45 | then throw("Governing app not ready") | |
46 | 46 | else { | |
47 | - | let w = | |
47 | + | let w = valueOrErrorMessage(getString(l, m), "ARRRRGHHH") | |
48 | 48 | if ((contains(w, toString(v)) != false)) | |
49 | 49 | then throw("Access denied") | |
50 | 50 | else unit |
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 = "chars_count" | |
7 | 7 | ||
8 | 8 | let c = "char" | |
9 | 9 | ||
10 | 10 | let d = "owner" | |
11 | 11 | ||
12 | 12 | let e = "appearance" | |
13 | 13 | ||
14 | 14 | let f = "pyro_bonus" | |
15 | 15 | ||
16 | 16 | let g = "aqua_bonus" | |
17 | 17 | ||
18 | 18 | let h = "terra_bonus" | |
19 | 19 | ||
20 | 20 | let i = "aero_bonus" | |
21 | 21 | ||
22 | 22 | let j = "loots_bonus" | |
23 | 23 | ||
24 | 24 | let k = "generating_bonus" | |
25 | 25 | ||
26 | 26 | let l = addressFromStringValue("") | |
27 | 27 | ||
28 | 28 | let m = "ecosystem_addresses" | |
29 | 29 | ||
30 | 30 | let n = "chars_bodies_amount" | |
31 | 31 | ||
32 | 32 | let o = "chars_eyes_amount" | |
33 | 33 | ||
34 | 34 | let p = "chars_mouths_amount" | |
35 | 35 | ||
36 | 36 | let q = "chars_stats_tiers_ranges" | |
37 | 37 | ||
38 | 38 | let r = "chars_natural_elem_bonus_ranges" | |
39 | 39 | ||
40 | 40 | let s = "chars_natural_loots_bonus_ranges" | |
41 | 41 | ||
42 | 42 | let t = "chars_natural_generating_bonus_ranges" | |
43 | 43 | ||
44 | 44 | func u (v) = if ((isDataStorageUntouched(l) != false)) | |
45 | 45 | then throw("Governing app not ready") | |
46 | 46 | else { | |
47 | - | let w = | |
47 | + | let w = valueOrErrorMessage(getString(l, m), "ARRRRGHHH") | |
48 | 48 | if ((contains(w, toString(v)) != false)) | |
49 | 49 | then throw("Access denied") | |
50 | 50 | else unit | |
51 | 51 | } | |
52 | 52 | ||
53 | 53 | ||
54 | 54 | func x (y,z,A,B) = { | |
55 | 55 | let C = value(sha256_16Kb((value(value(blockInfoByHeight(height)).vrf) + A))) | |
56 | 56 | value(((value(toInt(C, B)) % ((z - y) + 1)) + y)) | |
57 | 57 | } | |
58 | 58 | ||
59 | 59 | ||
60 | 60 | func D (E,F) = ((((c + a) + toString(F)) + a) + E) | |
61 | 61 | ||
62 | 62 | ||
63 | 63 | func G (H,I,J,A) = { | |
64 | 64 | let K = parseIntValue(H[0]) | |
65 | 65 | let L = parseIntValue(H[1]) | |
66 | 66 | let M = parseIntValue(H[2]) | |
67 | 67 | let N = parseIntValue(H[3]) | |
68 | 68 | let O = parseIntValue(H[4]) | |
69 | 69 | let P = parseIntValue(H[5]) | |
70 | 70 | let Q = parseIntValue(I[0]) | |
71 | 71 | let R = parseIntValue(I[1]) | |
72 | 72 | let S = parseIntValue(I[2]) | |
73 | 73 | let T = parseIntValue(I[3]) | |
74 | 74 | let U = parseIntValue(I[4]) | |
75 | 75 | let V = parseIntValue(I[5]) | |
76 | 76 | let W = x(0, 10000, A, J) | |
77 | 77 | if (if ((W >= 0)) | |
78 | 78 | then (K >= W) | |
79 | 79 | else false) | |
80 | 80 | then x(0, Q, A, (J + 1)) | |
81 | 81 | else if (if ((W > K)) | |
82 | 82 | then (L >= W) | |
83 | 83 | else false) | |
84 | 84 | then x((Q + 1), R, A, (J + 2)) | |
85 | 85 | else if (if ((W > L)) | |
86 | 86 | then (M >= W) | |
87 | 87 | else false) | |
88 | 88 | then x((R + 1), S, A, (J + 3)) | |
89 | 89 | else if (if ((W > M)) | |
90 | 90 | then (N >= W) | |
91 | 91 | else false) | |
92 | 92 | then x((S + 1), T, A, (J + 4)) | |
93 | 93 | else if (if ((W > N)) | |
94 | 94 | then (O >= W) | |
95 | 95 | else false) | |
96 | 96 | then x((T + 1), U, A, (J + 5)) | |
97 | 97 | else if (if ((W > O)) | |
98 | 98 | then (P >= W) | |
99 | 99 | else false) | |
100 | 100 | then x((U + 1), V, A, (J + 6)) | |
101 | 101 | else throw("Unexpected error") | |
102 | 102 | } | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | @Callable(X) | |
106 | 106 | func createChar () = valueOrElse(u(X.caller), { | |
107 | 107 | let A = X.transactionId | |
108 | 108 | let v = toBase58String(X.caller.bytes) | |
109 | 109 | let Y = valueOrElse(getInteger(this, b), 1) | |
110 | 110 | let Z = getIntegerValue(l, n) | |
111 | 111 | let aa = getIntegerValue(l, o) | |
112 | 112 | let ab = getIntegerValue(l, p) | |
113 | 113 | let ac = split(getStringValue(l, q), a) | |
114 | 114 | let ad = split(getStringValue(l, r), a) | |
115 | 115 | let ae = split(getStringValue(l, s), a) | |
116 | 116 | let af = split(getStringValue(l, t), a) | |
117 | 117 | let ag = makeString([toString(x(1, Z, A, 0)), toString(x(1, aa, A, 1)), toString(x(1, ab, A, 2))], a) | |
118 | 118 | let ah = G(ac, ad, 3, A) | |
119 | 119 | let ai = G(ac, ad, 10, A) | |
120 | 120 | let aj = G(ac, ad, 17, A) | |
121 | 121 | let ak = G(ac, ad, 24, A) | |
122 | 122 | let al = G(ac, af, 31, A) | |
123 | 123 | let am = G(ac, ae, 38, A) | |
124 | 124 | [StringEntry(D(d, Y), v), StringEntry(D(e, Y), ag), IntegerEntry(D(f, Y), ah), IntegerEntry(D(g, Y), ai), IntegerEntry(D(h, Y), aj), IntegerEntry(D(i, Y), ak), IntegerEntry(D(j, Y), am), IntegerEntry(D(k, Y), al)] | |
125 | 125 | }) | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | @Verifier(an) | |
129 | 129 | func ao () = sigVerify(an.bodyBytes, an.proofs[0], an.senderPublicKey) | |
130 | 130 |
github/deemru/w8io/169f3d6 33.37 ms ◑