tx · 3hP7eQP6t5TvE7ouUHNVcVzMhHV5z6wkswjqi3XNssSb 3MucnifgqjCVTQDsVvyBbDfUYL4NzUJme6c: -0.01400000 Waves 2022.02.04 13:38 [1908753] smart account 3MucnifgqjCVTQDsVvyBbDfUYL4NzUJme6c > SELF 0.00000000 Waves
{ "type": 13, "id": "3hP7eQP6t5TvE7ouUHNVcVzMhHV5z6wkswjqi3XNssSb", "fee": 1400000, "feeAssetId": null, "timestamp": 1643971166360, "version": 2, "chainId": 84, "sender": "3MucnifgqjCVTQDsVvyBbDfUYL4NzUJme6c", "senderPublicKey": "5VeehaC8J2hY5k7GyMevtfCSC4on8kxpPvqqQqNe5erh", "proofs": [ "2nrCe3be8TohSL6MZGj2pgzZPs7fMwuiTiixh4tm8hsQo3YkQVPFp4pwuqncX6U8m9kFYRh1QBGnKHYrSdDMuTVn" ], "script": "base64:AAIFAAAAAAAAAAwIAhIICgYIAQEBAQEAAAAkAAAAAAZwYXJhbXMJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAECAAAAIzNOMXVkRThxSnRITkMxaGlabVZFdFZyWlA3dUZUOFM2M2FnAAAAAA1rZXlJbml0VjFEb25lAgAAAAxpbml0X3YxX2RvbmUAAAAACmtleVRva2VuSWQCAAAAB3Rva2VuSWQAAAAAG2tleUluaXRpYWxDaGFyQ3JlYXRpb25TdGF0cwIAAAAYaW5pdGlhbENoYXJDcmVhdGlvblN0YXRzAAAAAAlzZXBhcmF0b3ICAAAAAV8AAAAAB2tleU5hbWUCAAAABG5hbWUAAAAABmtleVNleAIAAAADc2V4AAAAAAdrZXlSYW5rAgAAAARyYW5rAAAAABBrZXlIZWFsdGhDdXJyZW50AgAAAA1oZWFsdGhDdXJyZW50AAAAAAxrZXlIZWFsdGhNYXgCAAAACWhlYWx0aE1heAAAAAATa2V5TWluSGVhbHRoUGVyUmFuawIAAAAQbWluSGVhbHRoUGVyUmFuawAAAAATa2V5TWF4SGVhbHRoUGVyUmFuawIAAAAQbWF4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AAgkBAAAABHdpdGgAAAACBQAAABJrZXlNaW5UZXJyYVBlclJhbmsFAAAACWNoYXJJZFN0cgkBAAAADXBhcnNlSW50VmFsdWUAAAABCQABkQAAAAIFAAAADGluaXRpYWxTdGF0cwAAAAAAAAAAEQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkBAAAABHdpdGgAAAACBQAAABJrZXlNYXhUZXJyYVBlclJhbmsFAAAACWNoYXJJZFN0cgUAAAAFdGVycmEJAARMAAAAAgUAAAAJY2hhcklzc3VlCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAAAAAAAQUAAAAGY2hhcklkBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleZvI7Vs=", "height": 1908753, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 59TCu3ZunqE7A4Y1caTUE3fKUdTso1WQ7fAE6pKmBHbk Next: BzeTnCraUVmkv1CjXGBf4SCKRChzVdt2frSCBTM17JXS Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = addressFromStringValue("3N1udE8qJtHNC1hiZmVEtVrZP7uFT8S63ag") | |
5 | 5 | ||
6 | 6 | let b = "init_v1_done" | |
7 | 7 | ||
8 | 8 | let c = "tokenId" | |
9 | 9 | ||
10 | 10 | let d = "initialCharCreationStats" | |
11 | 11 | ||
12 | 12 | let e = "_" | |
13 | 13 | ||
14 | 14 | let f = "name" | |
15 | 15 | ||
16 | 16 | let g = "sex" | |
17 | 17 | ||
18 | 18 | let h = "rank" | |
19 | 19 | ||
20 | 20 | let i = "healthCurrent" | |
21 | 21 | ||
22 | 22 | let j = "healthMax" | |
23 | 23 | ||
24 | 24 | let k = "minHealthPerRank" | |
25 | 25 | ||
26 | 26 | let l = "maxHealthPerRank" | |
27 | 27 | ||
28 | 28 | let m = "healthRegen" | |
29 | 29 | ||
30 | 30 | let n = "minHealthRegenPerRank" | |
31 | 31 | ||
32 | 32 | let o = "maxHealthRegenPerRank" | |
33 | 33 | ||
34 | 34 | let p = "manaCurrent" | |
35 | 35 | ||
36 | 36 | let q = "manaMax" | |
37 | 37 | ||
38 | 38 | let r = "minManaPerRank" | |
39 | 39 | ||
40 | 40 | let s = "maxManaPerRank" | |
41 | 41 | ||
42 | 42 | let t = "manaRegen" | |
43 | 43 | ||
44 | 44 | let u = "minManaRegenPerRank" | |
45 | 45 | ||
46 | 46 | let v = "maxManaRegenPerRank" | |
47 | 47 | ||
48 | 48 | let w = "pyro" | |
49 | 49 | ||
50 | 50 | let x = "minPyroPerRank" | |
51 | 51 | ||
52 | 52 | let y = "maxPyroPerRank" | |
53 | 53 | ||
54 | 54 | let z = "aero" | |
55 | 55 | ||
56 | 56 | let A = "minAeroPerRank" | |
57 | 57 | ||
58 | 58 | let B = "maxAeroPerRank" | |
59 | 59 | ||
60 | 60 | let C = "aqua" | |
61 | 61 | ||
62 | 62 | let D = "minAquaPerRank" | |
63 | 63 | ||
64 | 64 | let E = "maxAquaPerRank" | |
65 | 65 | ||
66 | 66 | let F = "terra" | |
67 | 67 | ||
68 | 68 | let G = "minTerraPerRank" | |
69 | 69 | ||
70 | 70 | let H = "maxTerraPerRank" | |
71 | 71 | ||
72 | 72 | func I (J,K) = ((J + e) + K) | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | func L (M,N,O) = { | |
76 | 76 | let P = { | |
77 | 77 | let Q = O | |
78 | 78 | if ($isInstanceOf(Q, "Int")) | |
79 | 79 | then { | |
80 | 80 | let R = Q | |
81 | 81 | R | |
82 | 82 | } | |
83 | 83 | else { | |
84 | 84 | let S = Q | |
85 | 85 | 0 | |
86 | 86 | } | |
87 | 87 | } | |
88 | 88 | (toInt(sha256_16Kb((value(value(blockInfoByHeight(height)).vrf) + N)), P) % M) | |
89 | 89 | } | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | @Callable(T) | |
93 | 93 | func create (U,V,W,X,Y,Z) = { | |
94 | 94 | let aa = split(getStringValue(a, d), e) | |
95 | 95 | let ab = size(U) | |
96 | 96 | if (if ((parseIntValue(aa[0]) > ab)) | |
97 | 97 | then true | |
98 | 98 | else (ab > parseIntValue(aa[1]))) | |
99 | 99 | then throw("Char name size not valid") | |
100 | 100 | else if (if (contains(U, " ")) | |
101 | 101 | then true | |
102 | 102 | else contains(U, e)) | |
103 | 103 | then throw((("Whitespaces or " + e) + " not allowed")) | |
104 | 104 | else if (if ((V != 1)) | |
105 | 105 | then (V != 2) | |
106 | 106 | else false) | |
107 | 107 | then throw("Somethings wrong with char sex") | |
108 | 108 | else if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (((((W + X) + Y) + Z) != 14)) | |
109 | 109 | then true | |
110 | 110 | else (2 > W)) | |
111 | 111 | then true | |
112 | 112 | else (W > 5)) | |
113 | 113 | then true | |
114 | 114 | else (2 > X)) | |
115 | 115 | then true | |
116 | 116 | else (X > 5)) | |
117 | 117 | then true | |
118 | 118 | else (2 > Y)) | |
119 | 119 | then true | |
120 | 120 | else (Y > 5)) | |
121 | 121 | then true | |
122 | 122 | else (2 > Z)) | |
123 | 123 | then true | |
124 | 124 | else (Z > 5)) | |
125 | 125 | then true | |
126 | 126 | else (W == X)) | |
127 | 127 | then true | |
128 | 128 | else (W == Y)) | |
129 | 129 | then true | |
130 | 130 | else (W == Z)) | |
131 | 131 | then true | |
132 | 132 | else (X == Y)) | |
133 | 133 | then true | |
134 | 134 | else (X == Z)) | |
135 | 135 | then true | |
136 | 136 | else (Y == Z)) | |
137 | 137 | then throw("Elem spec issue") | |
138 | 138 | else { | |
139 | 139 | let ac = Issue(U, "", 1, 0, false, unit, 0) | |
140 | 140 | let ad = calculateAssetId(ac) | |
141 | 141 | let ae = toBase58String(ad) | |
142 | 142 | [StringEntry(I(f, ae), U), IntegerEntry(I(g, ae), V), IntegerEntry(I(h, ae), 1), IntegerEntry(I(i, ae), parseIntValue(aa[2])), IntegerEntry(I(j, ae), parseIntValue(aa[2])), IntegerEntry(I(k, ae), parseIntValue(aa[3])), IntegerEntry(I(l, ae), parseIntValue(aa[4])), IntegerEntry(I(m, ae), parseIntValue(aa[5])), IntegerEntry(I(n, ae), parseIntValue(aa[6])), IntegerEntry(I(o, ae), parseIntValue(aa[7])), IntegerEntry(I(p, ae), parseIntValue(aa[8])), IntegerEntry(I(q, ae), parseIntValue(aa[8])), IntegerEntry(I(r, ae), parseIntValue(aa[9])), IntegerEntry(I(s, ae), parseIntValue(aa[10])), IntegerEntry(I(t, ae), parseIntValue(aa[11])), IntegerEntry(I(u, ae), parseIntValue(aa[12])), IntegerEntry(I(v, ae), parseIntValue(aa[13])), IntegerEntry(I(w, ae), W), IntegerEntry(I(x, ae), parseIntValue(aa[14])), IntegerEntry(I(y, ae), W), IntegerEntry(I(z, ae), X), IntegerEntry(I(A, ae), parseIntValue(aa[15])), IntegerEntry(I(B, ae), X), IntegerEntry(I(C, ae), Y), IntegerEntry(I(D, ae), parseIntValue(aa[16])), IntegerEntry(I(E, ae), Y), IntegerEntry(I(F, ae), Z), IntegerEntry(I(G, ae), parseIntValue(aa[17])), IntegerEntry(I(H, ae), Z), ac, ScriptTransfer(T.caller, 1, ad)] | |
143 | 143 | } | |
144 | 144 | } | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | @Verifier(af) | |
148 | 148 | func ag () = sigVerify(af.bodyBytes, af.proofs[0], af.senderPublicKey) | |
149 | 149 |
github/deemru/w8io/169f3d6 54.83 ms ◑