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+vEIPYwAAAAAQbWF4Q2hpbGRzQ2FuSGF2ZQAAAAAAAAAAAAAAAAAQZGVsYXlGb3JCcmVlZGluZwAAAAAAAAAAAQAAAAAPQnJlZWRpbmdTdGFydGVkAgAAABBCUkVFRElOR19TVEFSVEVEAAAAABBCcmVlZGluZ0ZpbmlzaGVkAgAAABFCUkVFRElOR19GSU5JU0hFRAAAAAAEbnVsbAIAAAAEbnVsbAAAAAARdG90YWxCcmVlZGVkQ291bnQCAAAAEl90b3RhbEJyZWVkZWRDb3VudAEAAAAOZ2V0TnVtYmVyQnlLZXkAAAABAAAAA2tleQkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABBoAAAACBQAAAAR0aGlzBQAAAANrZXkAAAAAAAAAAAABAAAADmdldFN0cmluZ0J5S2V5AAAAAQAAAANrZXkJAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQdAAAAAgUAAAAEdG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2V0SWQFAAAAB2Fzc2V0SWQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAAlgAAAABBQAAAAdhc3NldElkCQACWAAAAAEFAAAAB2Fzc2V0SWQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAAlgAAAABCAUAAAABaQAAAA10cmFuc2FjdGlvbklkCQACWAAAAAEFAAAAB2Fzc2V0SWQFAAAAA25pbAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAABaQEAAAAKZGVsZXRlRGF0YQAAAAEAAAADa2V5AwkBAAAAAiE9AAAAAggIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwgFAAAABHRoaXMAAAAFYnl0ZXMJAAACAAAAAQIAAAAZT25seSBPd25lciBIYXMgUGVybWlzc2lvbgkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAANrZXkFAAAAA25pbAAAAAAG9NkN", "height": 2128191, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BWFf8oST9Bw67RZ37ChE2cLZd4Js5qNR4cQ2idL4zhQD Next: none Diff:
OldNewDifferences
155155 then {
156156 let N = j(w(x, 1))
157157 let O = j(w(x, 2))
158-[StringEntry(V, e), DeleteEntry((z(toString(Y.caller), toBytes(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))]
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))]
159159 }
160160 else throw("Strict value is not equal to itself.")
161161 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'3N2Fq3xoRamZ62SFkonL1kcSs9womjpF7KQ'
55
66 let b = 0
77
88 let c = 1
99
1010 let d = "BREEDING_STARTED"
1111
1212 let e = "BREEDING_FINISHED"
1313
1414 let f = "null"
1515
1616 let g = "_totalBreededCount"
1717
1818 func h (i) = valueOrElse(getInteger(this, i), 0)
1919
2020
2121 func j (i) = valueOrElse(getString(this, i), "")
2222
2323
2424 func k () = valueOrElse(getInteger(this, g), 0)
2525
2626
2727 func l (m) = {
2828 let n = valueOrElse(getString(Address(a), m), f)
2929 let o = valueOrElse(getString(this, m), f)
3030 if ((n != f))
3131 then true
3232 else (o != f)
3333 }
3434
3535
3636 func p (m) = {
3737 let q = (("asset_" + m) + "_children")
3838 q
3939 }
4040
4141
4242 func r (s,t) = {
4343 let u = split(value(assetInfo(s)).name, "")
4444 let v = split(value(assetInfo(t)).name, "")
4545 true
4646 }
4747
4848
4949 func w (x,y) = ((("inittx_" + toBase58String(x)) + "_parent") + toString(y))
5050
5151
5252 func z (A,x) = (((A + "_") + toBase58String(x)) + "_status_")
5353
5454
5555 func B (A,x) = (((A + "_") + toBase58String(x)) + "_fh")
5656
5757
5858 func C (A,x) = (((A + "_") + toBase58String(x)) + "_di")
5959
6060
6161 func D (E,x,F,G) = {
6262 let H = value(blockInfoByHeight((F - 1)))
6363 let I = sha256_16Kb((x + value(H.vrf)))
6464 (toInt(I, G) % E)
6565 }
6666
6767
6868 func J (x,K) = {
6969 let L = D(4, x, K, 11)
7070 let M = if ((L == 0))
7171 then "Y"
7272 else if ((L == 1))
7373 then "G"
7474 else if ((L == 2))
7575 then "B"
7676 else "R"
7777 let N = fromBase58String(j(w(x, 1)))
7878 let O = fromBase58String(j(w(x, 2)))
7979 let P = split(value(assetInfo(N)).name, "")
8080 let Q = split(value(assetInfo(O)).name, "")
8181 let R = ((((("MONSTER-" + M) + "-") + P[2]) + "-") + Q[2])
8282 R
8383 }
8484
8585
8686 func S (T) = (("stats_" + T) + "_amount")
8787
8888
8989 func U (V) = valueOrElse(getString(this, V), "")
9090
9191
9292 func W (X) = valueOrElse(getInteger(this, X), 0)
9393
9494
9595 @Callable(Y)
9696 func startMonsterBreeding () = {
9797 let Z = value(Y.payments[0])
9898 let aa = value(Y.payments[1])
9999 let ab = toBase58String(value(Z.assetId))
100100 let ac = toBase58String(value(aa.assetId))
101101 if (if ((Z.amount != 1))
102102 then true
103103 else (aa.amount != 1))
104104 then throw("NFT is not attached")
105105 else if (!(if (l(ab))
106106 then l(ac)
107107 else false))
108108 then throw("You need to attach 2 valid NFT-monsters.")
109109 else if (if ((h(p(ab)) > b))
110110 then true
111111 else (h(p(ac)) > b))
112112 then throw("One monster can be used for breeding only once in its lifetime.")
113113 else {
114114 let ad = r(fromBase58String(ab), fromBase58String(ac))
115115 if (!(ad))
116116 then throw("These monsters cannot be breeded")
117117 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))]
118118 }
119119 }
120120
121121
122122
123123 @Callable(Y)
124124 func finishMonsterBreeding (ae) = {
125125 let x = fromBase58String(ae)
126126 let V = z(toString(Y.caller), x)
127127 let X = B(toString(Y.caller), x)
128128 let af = C(toString(Y.caller), x)
129129 let ag = U(V)
130130 let ah = W(X)
131131 if ((ag == e))
132132 then {
133133 let ai = getStringValue(this, C(toString(Y.caller), x))
134134 throw(("The monster was breeded and claimed already, here is the folowing: " + ai))
135135 }
136136 else if ((ag == ""))
137137 then throw("You havent monsters to claim")
138138 else if ((ah > height))
139139 then throw((((("Breeding is not finished yet " + toString((ah - height))) + " blocks remaining, it will take around ") + toString((ah - height))) + " minutes"))
140140 else {
141141 let aj = J(x, ah)
142142 let ak = (("{\"genotype\": \"" + aj) + "\", \"crossbreeding\": true}")
143143 let al = (("https://ipfs.io/ipfs/bafybeidwsupz24ozr244breub5obhl5dxh22xr3wu7xumm4mlf7tgmocvi/" + aj) + ".png")
144144 let am = "artefacts"
145145 let m = {
146146 let an = invoke(Address(a), "createNFT", [aj, ak, al, am], nil)
147147 if ($isInstanceOf(an, "String"))
148148 then {
149149 let ao = an
150150 fromBase58String(ao)
151151 }
152152 else throw("something went wrong during the creation of NFT")
153153 }
154154 if ((m == m))
155155 then {
156156 let N = j(w(x, 1))
157157 let O = j(w(x, 2))
158-[StringEntry(V, e), DeleteEntry((z(toString(Y.caller), toBytes(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))]
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))]
159159 }
160160 else throw("Strict value is not equal to itself.")
161161 }
162162 }
163163
164164
165165
166166 @Callable(Y)
167167 func issueNFTs (ap,ak) = if ((Y.caller.bytes != this.bytes))
168168 then throw("Only Owner Has Permission")
169169 else {
170170 let al = "https://ipfs.io/ipfs/bafybeidwsupz24ozr244breub5obhl5dxh22xr3wu7xumm4mlf7tgmocvi/display.png"
171171 let am = "artefacts"
172172 let m = {
173173 let an = invoke(Address(a), "createNFT", [ap, ak, al, am], nil)
174174 if ($isInstanceOf(an, "String"))
175175 then {
176176 let ao = an
177177 fromBase58String(ao)
178178 }
179179 else throw("something went wrong during the creation of NFT")
180180 }
181181 if ((m == m))
182182 then [StringEntry(toBase58String(m), toBase58String(m)), StringEntry(toBase58String(Y.transactionId), toBase58String(m))]
183183 else throw("Strict value is not equal to itself.")
184184 }
185185
186186
187187
188188 @Callable(Y)
189189 func deleteData (i) = if ((Y.caller.bytes != this.bytes))
190190 then throw("Only Owner Has Permission")
191191 else [DeleteEntry(i)]
192192
193193

github/deemru/w8io/169f3d6 
38.46 ms