tx · Zqv9AQM9HfxAzK254JMMKKUoQDmyDZRouZHFUdyXfZY 3MucnifgqjCVTQDsVvyBbDfUYL4NzUJme6c: -0.01400000 Waves 2022.02.04 14:02 [1908776] smart account 3MucnifgqjCVTQDsVvyBbDfUYL4NzUJme6c > SELF 0.00000000 Waves
{ "type": 13, "id": "Zqv9AQM9HfxAzK254JMMKKUoQDmyDZRouZHFUdyXfZY", "fee": 1400000, "feeAssetId": null, "timestamp": 1643972559701, "version": 2, "chainId": 84, "sender": "3MucnifgqjCVTQDsVvyBbDfUYL4NzUJme6c", "senderPublicKey": "5VeehaC8J2hY5k7GyMevtfCSC4on8kxpPvqqQqNe5erh", "proofs": [ "oTEwx2D6ThsECfQCVbSebKFL5NLWBj9xwwV8QYYNP23kGpfJur7UmbepYHCHV8gBAsg767Td4xBingFD4PTaTtB" ], "script": "base64:AAIFAAAAAAAAAA4IAhIAEggKBggBAQEBAQAAACQAAAAABnBhcmFtcwkBAAAAEUBleHRyTmF0aXZlKDEwNjIpAAAAAQIAAAAjM04yalphSDFqTFo1dWhLa05pazZnZUE1N0h6TUd3OThpZ1IAAAAADWtleUluaXRWMURvbmUCAAAADGluaXRfdjFfZG9uZQAAAAAKa2V5VG9rZW5JZAIAAAAHdG9rZW5JZAAAAAAba2V5SW5pdGlhbENoYXJDcmVhdGlvblN0YXRzAgAAABhpbml0aWFsQ2hhckNyZWF0aW9uU3RhdHMAAAAACXNlcGFyYXRvcgIAAAABXwAAAAAHa2V5TmFtZQIAAAAEbmFtZQAAAAAGa2V5U2V4AgAAAANzZXgAAAAAB2tleVJhbmsCAAAABHJhbmsAAAAAEGtleUhlYWx0aEN1cnJlbnQCAAAADWhlYWx0aEN1cnJlbnQAAAAADGtleUhlYWx0aE1heAIAAAAJaGVhbHRoTWF4AAAAABNrZXlNaW5IZWFsdGhQZXJSYW5rAgAAABBtaW5IZWFsdGhQZXJSYW5rAAAAABNrZXlNYXhIZWFsdGhQZXJSYW5rAgAAABBtYXhIZWFsdG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ETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQEAAAAEd2l0aAAAAAIFAAAAEmtleU1pblRlcnJhUGVyUmFuawUAAAAJY2hhcklkU3RyCQEAAAANcGFyc2VJbnRWYWx1ZQAAAAEJAAGRAAAAAgUAAAAMaW5pdGlhbFN0YXRzAAAAAAAAAAARCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQEAAAAEd2l0aAAAAAIFAAAAEmtleU1heFRlcnJhUGVyUmFuawUAAAAJY2hhcklkU3RyBQAAAAV0ZXJyYQkABEwAAAACBQAAAAljaGFySXNzdWUJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyAAAAAAAAAAABBQAAAAZjaGFySWQFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5hrNkLg==", "height": 1908776, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BzeTnCraUVmkv1CjXGBf4SCKRChzVdt2frSCBTM17JXS Next: 8fY3U4PxoLoqrroMGTdBH1AsNyHh46iSPkuWz7cF2wQT Diff:
Old | New | Differences | |
---|---|---|---|
77 | 77 | ||
78 | 78 | @Callable(P) | |
79 | 79 | func testRand () = { | |
80 | - | let Q = L( | |
80 | + | let Q = L(100, P.transactionId, 0) | |
81 | 81 | [IntegerEntry("testRand", Q)] | |
82 | 82 | } | |
83 | 83 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = addressFromStringValue("3N2jZaH1jLZ5uhKkNik6geA57HzMGw98igR") | |
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) = (toInt(sha256_16Kb((value(value(blockInfoByHeight(height)).vrf) + N)), O) % M) | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | @Callable(P) | |
79 | 79 | func testRand () = { | |
80 | - | let Q = L( | |
80 | + | let Q = L(100, P.transactionId, 0) | |
81 | 81 | [IntegerEntry("testRand", Q)] | |
82 | 82 | } | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | ||
86 | 86 | @Callable(P) | |
87 | 87 | func create (R,S,T,U,V,W) = { | |
88 | 88 | let X = split(getStringValue(a, d), e) | |
89 | 89 | let Y = size(R) | |
90 | 90 | if (if ((parseIntValue(X[0]) > Y)) | |
91 | 91 | then true | |
92 | 92 | else (Y > parseIntValue(X[1]))) | |
93 | 93 | then throw("Char name size not valid") | |
94 | 94 | else if (if (contains(R, " ")) | |
95 | 95 | then true | |
96 | 96 | else contains(R, e)) | |
97 | 97 | then throw((("Whitespaces or " + e) + " not allowed")) | |
98 | 98 | else if (if ((S != 1)) | |
99 | 99 | then (S != 2) | |
100 | 100 | else false) | |
101 | 101 | then throw("Somethings wrong with char sex") | |
102 | 102 | else if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (((((T + U) + V) + W) != 14)) | |
103 | 103 | then true | |
104 | 104 | else (2 > T)) | |
105 | 105 | then true | |
106 | 106 | else (T > 5)) | |
107 | 107 | then true | |
108 | 108 | else (2 > U)) | |
109 | 109 | then true | |
110 | 110 | else (U > 5)) | |
111 | 111 | then true | |
112 | 112 | else (2 > V)) | |
113 | 113 | then true | |
114 | 114 | else (V > 5)) | |
115 | 115 | then true | |
116 | 116 | else (2 > W)) | |
117 | 117 | then true | |
118 | 118 | else (W > 5)) | |
119 | 119 | then true | |
120 | 120 | else (T == U)) | |
121 | 121 | then true | |
122 | 122 | else (T == V)) | |
123 | 123 | then true | |
124 | 124 | else (T == W)) | |
125 | 125 | then true | |
126 | 126 | else (U == V)) | |
127 | 127 | then true | |
128 | 128 | else (U == W)) | |
129 | 129 | then true | |
130 | 130 | else (V == W)) | |
131 | 131 | then throw("Elem spec issue") | |
132 | 132 | else { | |
133 | 133 | let Z = Issue(R, "", 1, 0, false, unit, 0) | |
134 | 134 | let aa = calculateAssetId(Z) | |
135 | 135 | let ab = toBase58String(aa) | |
136 | 136 | [StringEntry(I(f, ab), R), IntegerEntry(I(g, ab), S), IntegerEntry(I(h, ab), 1), IntegerEntry(I(i, ab), parseIntValue(X[2])), IntegerEntry(I(j, ab), parseIntValue(X[2])), IntegerEntry(I(k, ab), parseIntValue(X[3])), IntegerEntry(I(l, ab), parseIntValue(X[4])), IntegerEntry(I(m, ab), parseIntValue(X[5])), IntegerEntry(I(n, ab), parseIntValue(X[6])), IntegerEntry(I(o, ab), parseIntValue(X[7])), IntegerEntry(I(p, ab), parseIntValue(X[8])), IntegerEntry(I(q, ab), parseIntValue(X[8])), IntegerEntry(I(r, ab), parseIntValue(X[9])), IntegerEntry(I(s, ab), parseIntValue(X[10])), IntegerEntry(I(t, ab), parseIntValue(X[11])), IntegerEntry(I(u, ab), parseIntValue(X[12])), IntegerEntry(I(v, ab), parseIntValue(X[13])), IntegerEntry(I(w, ab), T), IntegerEntry(I(x, ab), parseIntValue(X[14])), IntegerEntry(I(y, ab), T), IntegerEntry(I(z, ab), U), IntegerEntry(I(A, ab), parseIntValue(X[15])), IntegerEntry(I(B, ab), U), IntegerEntry(I(C, ab), V), IntegerEntry(I(D, ab), parseIntValue(X[16])), IntegerEntry(I(E, ab), V), IntegerEntry(I(F, ab), W), IntegerEntry(I(G, ab), parseIntValue(X[17])), IntegerEntry(I(H, ab), W), Z, ScriptTransfer(P.caller, 1, aa)] | |
137 | 137 | } | |
138 | 138 | } | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | @Verifier(ac) | |
142 | 142 | func ad () = sigVerify(ac.bodyBytes, ac.proofs[0], ac.senderPublicKey) | |
143 | 143 |
github/deemru/w8io/169f3d6 43.78 ms ◑