tx · AokDQuauoTPV5gLRdmyZRByvoP6ewVtp1z2aVgZwXfqJ 3MuocfPorcMAUnSc35WpLgUKFQJKm6RC55Z: -0.00900000 Waves 2022.07.06 21:34 [2128191] smart account 3MuocfPorcMAUnSc35WpLgUKFQJKm6RC55Z > SELF 0.00000000 Waves
{ "type": 13, "id": "AokDQuauoTPV5gLRdmyZRByvoP6ewVtp1z2aVgZwXfqJ", "fee": 900000, "feeAssetId": null, "timestamp": 1657132499104, "version": 2, "chainId": 84, "sender": "3MuocfPorcMAUnSc35WpLgUKFQJKm6RC55Z", "senderPublicKey": "B9LahpBYmTXMH24nttq3q9Dss7BEyDSaC8UFgCCwRgsi", "proofs": [ "329e81PktuUnJxj2LnnEnvyhhBYK4pvcM3w9uTuDUvBDsY6uC88T95oab62CYA1eRZv2em5Z2L1ENGYWdYMgsC14" ], "script": "base64:AAIFAAAAAAAAABQIAhIAEgMKAQgSBAoCCAgSAwoBCAAAABYAAAAAFG1vbnN0ZXJJc3N1ZXJBZGRyZXNzAQAAABoBVIddicTOcxXMJUtYHNA7AK2E9TG+vEIPYwAAAAAQbWF4Q2hpbGRzQ2FuSGF2ZQAAAAAAAAAAAAAAAAAQZGVsYXlGb3JCcmVlZGluZwAAAAAAAAAAAQAAAAAPQnJlZWRpbmdTdGFydGVkAgAAABBCUkVFRElOR19TVEFSVEVEAAAAABBCcmVlZGluZ0ZpbmlzaGVkAgAAABFCUkVFRElOR19GSU5JU0hFRAAAAAAEbnVsbAIAAAAEbnVsbAAAAAARdG90YWxCcmVlZGVkQ291bnQCAAAAEl90b3RhbEJyZWVkZWRDb3VudAEAAAAOZ2V0TnVtYmVyQnlLZXkAAAABAAAAA2tleQkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBoAAAACBQAAAAR0aGlzBQAAAANrZXkAAAAAAAAAAAABAAAADmdldFN0cmluZ0J5S2V5AAAAAQAAAANrZXkJAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQdAAAAAgUAAAAEdGh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V0SWQFAAAAB2Fzc2V0SWQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAAlgAAAABBQAAAAdhc3NldElkCQACWAAAAAEFAAAAB2Fzc2V0SWQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAAlgAAAABCAUAAAABaQAAAA10cmFuc2FjdGlvbklkCQACWAAAAAEFAAAAB2Fzc2V0SWQFAAAAA25pbAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAABaQEAAAAKZGVsZXRlRGF0YQAAAAEAAAADa2V5AwkBAAAAAiE9AAAAAggIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwgFAAAABHRoaXMAAAAFYnl0ZXMJAAACAAAAAQIAAAAZT25seSBPd25lciBIYXMgUGVybWlzc2lvbgkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAANrZXkFAAAAA25pbAAAAAAG9NkN", "height": 2128191, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BWFf8oST9Bw67RZ37ChE2cLZd4Js5qNR4cQ2idL4zhQD Next: none Diff:
Old | New | Differences | |
---|---|---|---|
155 | 155 | then { | |
156 | 156 | let N = j(w(x, 1)) | |
157 | 157 | let O = j(w(x, 2)) | |
158 | - | [StringEntry(V, e), DeleteEntry((z(toString(Y.caller), | |
158 | + | [StringEntry(V, e), DeleteEntry((z(toString(Y.caller), fromBase58String(ae)) + d)), StringEntry((V + e), ae), StringEntry(af, toBase58String(m)), StringEntry(toBase58String(m), af), StringEntry(toBase58String(m), toBase58String(m)), IntegerEntry(g, (k() + 1)), ScriptTransfer(Y.caller, 1, m), ScriptTransfer(Y.caller, 1, fromBase58String(N)), ScriptTransfer(Y.caller, 1, fromBase58String(O))] | |
159 | 159 | } | |
160 | 160 | else throw("Strict value is not equal to itself.") | |
161 | 161 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'3N2Fq3xoRamZ62SFkonL1kcSs9womjpF7KQ' | |
5 | 5 | ||
6 | 6 | let b = 0 | |
7 | 7 | ||
8 | 8 | let c = 1 | |
9 | 9 | ||
10 | 10 | let d = "BREEDING_STARTED" | |
11 | 11 | ||
12 | 12 | let e = "BREEDING_FINISHED" | |
13 | 13 | ||
14 | 14 | let f = "null" | |
15 | 15 | ||
16 | 16 | let g = "_totalBreededCount" | |
17 | 17 | ||
18 | 18 | func h (i) = valueOrElse(getInteger(this, i), 0) | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | func j (i) = valueOrElse(getString(this, i), "") | |
22 | 22 | ||
23 | 23 | ||
24 | 24 | func k () = valueOrElse(getInteger(this, g), 0) | |
25 | 25 | ||
26 | 26 | ||
27 | 27 | func l (m) = { | |
28 | 28 | let n = valueOrElse(getString(Address(a), m), f) | |
29 | 29 | let o = valueOrElse(getString(this, m), f) | |
30 | 30 | if ((n != f)) | |
31 | 31 | then true | |
32 | 32 | else (o != f) | |
33 | 33 | } | |
34 | 34 | ||
35 | 35 | ||
36 | 36 | func p (m) = { | |
37 | 37 | let q = (("asset_" + m) + "_children") | |
38 | 38 | q | |
39 | 39 | } | |
40 | 40 | ||
41 | 41 | ||
42 | 42 | func r (s,t) = { | |
43 | 43 | let u = split(value(assetInfo(s)).name, "") | |
44 | 44 | let v = split(value(assetInfo(t)).name, "") | |
45 | 45 | true | |
46 | 46 | } | |
47 | 47 | ||
48 | 48 | ||
49 | 49 | func w (x,y) = ((("inittx_" + toBase58String(x)) + "_parent") + toString(y)) | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | func z (A,x) = (((A + "_") + toBase58String(x)) + "_status_") | |
53 | 53 | ||
54 | 54 | ||
55 | 55 | func B (A,x) = (((A + "_") + toBase58String(x)) + "_fh") | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | func C (A,x) = (((A + "_") + toBase58String(x)) + "_di") | |
59 | 59 | ||
60 | 60 | ||
61 | 61 | func D (E,x,F,G) = { | |
62 | 62 | let H = value(blockInfoByHeight((F - 1))) | |
63 | 63 | let I = sha256_16Kb((x + value(H.vrf))) | |
64 | 64 | (toInt(I, G) % E) | |
65 | 65 | } | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | func J (x,K) = { | |
69 | 69 | let L = D(4, x, K, 11) | |
70 | 70 | let M = if ((L == 0)) | |
71 | 71 | then "Y" | |
72 | 72 | else if ((L == 1)) | |
73 | 73 | then "G" | |
74 | 74 | else if ((L == 2)) | |
75 | 75 | then "B" | |
76 | 76 | else "R" | |
77 | 77 | let N = fromBase58String(j(w(x, 1))) | |
78 | 78 | let O = fromBase58String(j(w(x, 2))) | |
79 | 79 | let P = split(value(assetInfo(N)).name, "") | |
80 | 80 | let Q = split(value(assetInfo(O)).name, "") | |
81 | 81 | let R = ((((("MONSTER-" + M) + "-") + P[2]) + "-") + Q[2]) | |
82 | 82 | R | |
83 | 83 | } | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func S (T) = (("stats_" + T) + "_amount") | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func U (V) = valueOrElse(getString(this, V), "") | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func W (X) = valueOrElse(getInteger(this, X), 0) | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | @Callable(Y) | |
96 | 96 | func startMonsterBreeding () = { | |
97 | 97 | let Z = value(Y.payments[0]) | |
98 | 98 | let aa = value(Y.payments[1]) | |
99 | 99 | let ab = toBase58String(value(Z.assetId)) | |
100 | 100 | let ac = toBase58String(value(aa.assetId)) | |
101 | 101 | if (if ((Z.amount != 1)) | |
102 | 102 | then true | |
103 | 103 | else (aa.amount != 1)) | |
104 | 104 | then throw("NFT is not attached") | |
105 | 105 | else if (!(if (l(ab)) | |
106 | 106 | then l(ac) | |
107 | 107 | else false)) | |
108 | 108 | then throw("You need to attach 2 valid NFT-monsters.") | |
109 | 109 | else if (if ((h(p(ab)) > b)) | |
110 | 110 | then true | |
111 | 111 | else (h(p(ac)) > b)) | |
112 | 112 | then throw("One monster can be used for breeding only once in its lifetime.") | |
113 | 113 | else { | |
114 | 114 | let ad = r(fromBase58String(ab), fromBase58String(ac)) | |
115 | 115 | if (!(ad)) | |
116 | 116 | then throw("These monsters cannot be breeded") | |
117 | 117 | else [IntegerEntry(p(ab), 1), IntegerEntry(p(ac), 1), StringEntry(w(Y.transactionId, 1), ab), StringEntry(w(Y.transactionId, 2), ac), StringEntry(z(toString(Y.caller), Y.transactionId), d), StringEntry((z(toString(Y.caller), Y.transactionId) + d), toBase58String(Y.transactionId)), IntegerEntry(B(toString(Y.caller), Y.transactionId), (height + c))] | |
118 | 118 | } | |
119 | 119 | } | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | ||
123 | 123 | @Callable(Y) | |
124 | 124 | func finishMonsterBreeding (ae) = { | |
125 | 125 | let x = fromBase58String(ae) | |
126 | 126 | let V = z(toString(Y.caller), x) | |
127 | 127 | let X = B(toString(Y.caller), x) | |
128 | 128 | let af = C(toString(Y.caller), x) | |
129 | 129 | let ag = U(V) | |
130 | 130 | let ah = W(X) | |
131 | 131 | if ((ag == e)) | |
132 | 132 | then { | |
133 | 133 | let ai = getStringValue(this, C(toString(Y.caller), x)) | |
134 | 134 | throw(("The monster was breeded and claimed already, here is the folowing: " + ai)) | |
135 | 135 | } | |
136 | 136 | else if ((ag == "")) | |
137 | 137 | then throw("You havent monsters to claim") | |
138 | 138 | else if ((ah > height)) | |
139 | 139 | then throw((((("Breeding is not finished yet " + toString((ah - height))) + " blocks remaining, it will take around ") + toString((ah - height))) + " minutes")) | |
140 | 140 | else { | |
141 | 141 | let aj = J(x, ah) | |
142 | 142 | let ak = (("{\"genotype\": \"" + aj) + "\", \"crossbreeding\": true}") | |
143 | 143 | let al = (("https://ipfs.io/ipfs/bafybeidwsupz24ozr244breub5obhl5dxh22xr3wu7xumm4mlf7tgmocvi/" + aj) + ".png") | |
144 | 144 | let am = "artefacts" | |
145 | 145 | let m = { | |
146 | 146 | let an = invoke(Address(a), "createNFT", [aj, ak, al, am], nil) | |
147 | 147 | if ($isInstanceOf(an, "String")) | |
148 | 148 | then { | |
149 | 149 | let ao = an | |
150 | 150 | fromBase58String(ao) | |
151 | 151 | } | |
152 | 152 | else throw("something went wrong during the creation of NFT") | |
153 | 153 | } | |
154 | 154 | if ((m == m)) | |
155 | 155 | then { | |
156 | 156 | let N = j(w(x, 1)) | |
157 | 157 | let O = j(w(x, 2)) | |
158 | - | [StringEntry(V, e), DeleteEntry((z(toString(Y.caller), | |
158 | + | [StringEntry(V, e), DeleteEntry((z(toString(Y.caller), fromBase58String(ae)) + d)), StringEntry((V + e), ae), StringEntry(af, toBase58String(m)), StringEntry(toBase58String(m), af), StringEntry(toBase58String(m), toBase58String(m)), IntegerEntry(g, (k() + 1)), ScriptTransfer(Y.caller, 1, m), ScriptTransfer(Y.caller, 1, fromBase58String(N)), ScriptTransfer(Y.caller, 1, fromBase58String(O))] | |
159 | 159 | } | |
160 | 160 | else throw("Strict value is not equal to itself.") | |
161 | 161 | } | |
162 | 162 | } | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | ||
166 | 166 | @Callable(Y) | |
167 | 167 | func issueNFTs (ap,ak) = if ((Y.caller.bytes != this.bytes)) | |
168 | 168 | then throw("Only Owner Has Permission") | |
169 | 169 | else { | |
170 | 170 | let al = "https://ipfs.io/ipfs/bafybeidwsupz24ozr244breub5obhl5dxh22xr3wu7xumm4mlf7tgmocvi/display.png" | |
171 | 171 | let am = "artefacts" | |
172 | 172 | let m = { | |
173 | 173 | let an = invoke(Address(a), "createNFT", [ap, ak, al, am], nil) | |
174 | 174 | if ($isInstanceOf(an, "String")) | |
175 | 175 | then { | |
176 | 176 | let ao = an | |
177 | 177 | fromBase58String(ao) | |
178 | 178 | } | |
179 | 179 | else throw("something went wrong during the creation of NFT") | |
180 | 180 | } | |
181 | 181 | if ((m == m)) | |
182 | 182 | then [StringEntry(toBase58String(m), toBase58String(m)), StringEntry(toBase58String(Y.transactionId), toBase58String(m))] | |
183 | 183 | else throw("Strict value is not equal to itself.") | |
184 | 184 | } | |
185 | 185 | ||
186 | 186 | ||
187 | 187 | ||
188 | 188 | @Callable(Y) | |
189 | 189 | func deleteData (i) = if ((Y.caller.bytes != this.bytes)) | |
190 | 190 | then throw("Only Owner Has Permission") | |
191 | 191 | else [DeleteEntry(i)] | |
192 | 192 | ||
193 | 193 |
github/deemru/w8io/169f3d6 38.46 ms ◑