tx · EGEY7MorPigufbjdzziLJUuHEA74EtqTyHJsdveZuWXA 3NA3LRSigk6knLZ16uTzcdLNow2EQZtXTaJ: -0.01400000 Waves 2022.05.17 11:32 [2055429] smart account 3NA3LRSigk6knLZ16uTzcdLNow2EQZtXTaJ > SELF 0.00000000 Waves
{ "type": 13, "id": "EGEY7MorPigufbjdzziLJUuHEA74EtqTyHJsdveZuWXA", "fee": 1400000, "feeAssetId": null, "timestamp": 1652776378197, "version": 2, "chainId": 84, "sender": "3NA3LRSigk6knLZ16uTzcdLNow2EQZtXTaJ", "senderPublicKey": "ApEZSyUFWsckB3mZSWm3spfm6UPyDhMdrpxNhydohYs1", "proofs": [ "VGzAjuYELuEVtUo3CgHzfxvwniReGBaUSGXRS3CVhWxo2km3b6CypvbHsoSTnBPXjPq7RPmYGBK8SL6FxJZ91dz" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAGAAAAAAJc2VwYXJhdG9yAgAAAAFfAAAAAA1rZXlDaGFyc0NvdW50AgAAAAtjaGFyc19jb3VudAAAAAAHa2V5Q2hhcgIAAAAEY2hhcgAAAAAIa2V5T3duZXICAAAABW93bmVyAAAAAA1rZXlBcHBlYXJhbmNlAgAAAAphcHBlYXJhbmNlAAAAAAxrZXlQeXJvQm9udXMCAAAACnB5cm9fYm9udXMAAAAADGtleUFxdWFCb251cwIAAAAKYXF1YV9ib251cwAAAAANa2V5VGVycmFCb251cwIAAAALdGVycmFfYm9udXMAAAAADGtleUFlcm9Cb251cwIAAAAKYWVyb19ib251cwAAAAANa2V5TG9vdHNCb251cwIAAAALbG9vdHNfYm9udXMAAAAAEmtleUdlbmVyYXRpbmdCb251cwIAAAAQZ2VuZXJhdGluZ19ib251cwAAAAAHZ292QWRkcgkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQIAAAAjM015eGZ3dmJ1ZVVCeW5ZSGZRc3V0TlhaTnFOb3pHaU1uc0cAAAAAFWtleUVjb3N5c3RlbUFkZHJlc3NlcwIAAA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AAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5NS8fCg==", "height": 2055429, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8MZGp22nUjvx6n714hBk1cWVWQGa4VUcrC4EzUSo1Mf5 Next: ARR6GVBCzn7uEUVQ5FLToEbq58X3TtzVuwt42ncVimpw Diff:
Old | New | Differences | |
---|---|---|---|
23 | 23 | ||
24 | 24 | let k = "generating_bonus" | |
25 | 25 | ||
26 | - | let l = addressFromStringValue("") | |
26 | + | let l = addressFromStringValue("3MyxfwvbueUBynYHfQsutNXZNqNozGiMnsG") | |
27 | 27 | ||
28 | 28 | let m = "ecosystem_addresses" | |
29 | 29 | ||
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 = getStringValue(l, m) | |
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 | - | let l = addressFromStringValue("") | |
26 | + | let l = addressFromStringValue("3MyxfwvbueUBynYHfQsutNXZNqNozGiMnsG") | |
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 = getStringValue(l, m) | |
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 35.05 ms ◑