tx · Ai8emGQdLjv5i7HcbBdC4N7oumXUzkbtLHuCaycaYJNy

3MuocfPorcMAUnSc35WpLgUKFQJKm6RC55Z:  -0.00900000 Waves

2022.07.06 21:02 [2128160] smart account 3MuocfPorcMAUnSc35WpLgUKFQJKm6RC55Z > SELF 0.00000000 Waves

{ "type": 13, "id": "Ai8emGQdLjv5i7HcbBdC4N7oumXUzkbtLHuCaycaYJNy", "fee": 900000, "feeAssetId": null, "timestamp": 1657130515790, "version": 2, "chainId": 84, "sender": "3MuocfPorcMAUnSc35WpLgUKFQJKm6RC55Z", "senderPublicKey": "B9LahpBYmTXMH24nttq3q9Dss7BEyDSaC8UFgCCwRgsi", "proofs": [ "3JHmMDKHihiW6yLjDWtgv2ysRD4yPSx9WatTPLLWumT5QVx5D3SKPfDmDtWm3irqgBiCZBm587WibBAwY6pMEhux" ], "script": "base64:AAIFAAAAAAAAAA8IAhIAEgMKAQgSBAoCCAgAAAAWAAAAABRtb25zdGVySXNzdWVyQWRkcmVzcwEAAAAaAVSHXYnEznMVzCVLWBzQOwCthPUxvrxCD2MAAAAAEG1heENoaWxkc0NhbkhhdmUAAAAAAAAAAAAAAAAAEGRlbGF5Rm9yQnJlZWRpbmcAAAAAAAAAAAEAAAAAD0JyZWVkaW5nU3RhcnRlZAIAAAAQQlJFRURJTkdfU1RBUlRFRAAAAAAQQnJlZWRpbmdGaW5pc2hlZAIAAAARQlJFRURJTkdfRklOSVNIRUQAAAAABG51bGwCAAAABG51bGwAAAAAEXRvdGFsQnJlZWRlZENvdW50AgAAABJfdG90YWxCcmVlZGVkQ291bnQBAAAADmdldE51bWJlckJ5S2V5AAAAAQAAAANrZXkJAQAAAAt2YWx1ZU9yRWxzZQAAAAIJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5AAAAAAAAAAAAAQAAAA5nZXRTdHJpbmdCeUtleQAAAAEAAAADa2V5CQEAAAALdmFsdWVPckVsc2UAAAACCQAEHQAAAAIFAAAABHRoaXMFAAAAA2tleQIA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ZAUAAAAHYXNzZXRJZAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQACWAAAAAEFAAAAB2Fzc2V0SWQJAAJYAAAAAQUAAAAHYXNzZXRJZAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQACWAAAAAEIBQAAAAFpAAAADXRyYW5zYWN0aW9uSWQJAAJYAAAAAQUAAAAHYXNzZXRJZAUAAAADbmlsCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgAAAAAHiMkP", "height": 2128160, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: VHgE58kH9Rhhaw2CuHQqzXbEYEezcLAfyRG3d48JtWi Next: BWFf8oST9Bw67RZ37ChE2cLZd4Js5qNR4cQ2idL4zhQD Diff:
OldNewDifferences
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 }
136- else if ((ah > height))
137- then throw((((("Breeding is not finished yet " + toString((ah - height))) + " blocks remaining, it will take around ") + toString((ah - height))) + " minutes"))
138- else {
139- let aj = J(x, ah)
140- let ak = (("{\"genotype\": \"" + aj) + "\", \"crossbreeding\": true}")
141- let al = (("https://ipfs.io/ipfs/bafybeidwsupz24ozr244breub5obhl5dxh22xr3wu7xumm4mlf7tgmocvi/" + aj) + ".png")
142- let am = "artefacts"
143- let m = {
144- let an = invoke(Address(a), "createNFT", [aj, ak, al, am], nil)
145- if ($isInstanceOf(an, "String"))
136+ else if ((ag == ""))
137+ then throw("You havent monsters to claim")
138+ else if ((ah > height))
139+ then throw((((("Breeding is not finished yet " + toString((ah - height))) + " blocks remaining, it will take around ") + toString((ah - height))) + " minutes"))
140+ else {
141+ let aj = J(x, ah)
142+ let ak = (("{\"genotype\": \"" + aj) + "\", \"crossbreeding\": true}")
143+ let al = (("https://ipfs.io/ipfs/bafybeidwsupz24ozr244breub5obhl5dxh22xr3wu7xumm4mlf7tgmocvi/" + aj) + ".png")
144+ let am = "artefacts"
145+ let m = {
146+ let an = invoke(Address(a), "createNFT", [aj, ak, al, am], nil)
147+ if ($isInstanceOf(an, "String"))
148+ then {
149+ let ao = an
150+ fromBase58String(ao)
151+ }
152+ else throw("something went wrong during the creation of NFT")
153+ }
154+ if ((m == m))
146155 then {
147- let ao = an
148- fromBase58String(ao)
156+ let N = j(w(x, 1))
157+ let O = j(w(x, 2))
158+[StringEntry(V, e), DeleteEntry((z(toString(Y.caller), Y.transactionId) + 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))]
149159 }
150- else throw("something went wrong during the creation of NFT")
160+ else throw("Strict value is not equal to itself.")
151161 }
152- if ((m == m))
153- then {
154- let N = j(w(x, 1))
155- let O = j(w(x, 2))
156-[StringEntry(V, e), 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))]
157- }
158- else throw("Strict value is not equal to itself.")
159- }
160162 }
161163
162164
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 }
136- else if ((ah > height))
137- then throw((((("Breeding is not finished yet " + toString((ah - height))) + " blocks remaining, it will take around ") + toString((ah - height))) + " minutes"))
138- else {
139- let aj = J(x, ah)
140- let ak = (("{\"genotype\": \"" + aj) + "\", \"crossbreeding\": true}")
141- let al = (("https://ipfs.io/ipfs/bafybeidwsupz24ozr244breub5obhl5dxh22xr3wu7xumm4mlf7tgmocvi/" + aj) + ".png")
142- let am = "artefacts"
143- let m = {
144- let an = invoke(Address(a), "createNFT", [aj, ak, al, am], nil)
145- if ($isInstanceOf(an, "String"))
136+ else if ((ag == ""))
137+ then throw("You havent monsters to claim")
138+ else if ((ah > height))
139+ then throw((((("Breeding is not finished yet " + toString((ah - height))) + " blocks remaining, it will take around ") + toString((ah - height))) + " minutes"))
140+ else {
141+ let aj = J(x, ah)
142+ let ak = (("{\"genotype\": \"" + aj) + "\", \"crossbreeding\": true}")
143+ let al = (("https://ipfs.io/ipfs/bafybeidwsupz24ozr244breub5obhl5dxh22xr3wu7xumm4mlf7tgmocvi/" + aj) + ".png")
144+ let am = "artefacts"
145+ let m = {
146+ let an = invoke(Address(a), "createNFT", [aj, ak, al, am], nil)
147+ if ($isInstanceOf(an, "String"))
148+ then {
149+ let ao = an
150+ fromBase58String(ao)
151+ }
152+ else throw("something went wrong during the creation of NFT")
153+ }
154+ if ((m == m))
146155 then {
147- let ao = an
148- fromBase58String(ao)
156+ let N = j(w(x, 1))
157+ let O = j(w(x, 2))
158+[StringEntry(V, e), DeleteEntry((z(toString(Y.caller), Y.transactionId) + 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))]
149159 }
150- else throw("something went wrong during the creation of NFT")
160+ else throw("Strict value is not equal to itself.")
151161 }
152- if ((m == m))
153- then {
154- let N = j(w(x, 1))
155- let O = j(w(x, 2))
156-[StringEntry(V, e), 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))]
157- }
158- else throw("Strict value is not equal to itself.")
159- }
160162 }
161163
162164
163165
164166 @Callable(Y)
165167 func issueNFTs (ap,ak) = if ((Y.caller.bytes != this.bytes))
166168 then throw("Only Owner Has Permission")
167169 else {
168170 let al = "https://ipfs.io/ipfs/bafybeidwsupz24ozr244breub5obhl5dxh22xr3wu7xumm4mlf7tgmocvi/display.png"
169171 let am = "artefacts"
170172 let m = {
171173 let an = invoke(Address(a), "createNFT", [ap, ak, al, am], nil)
172174 if ($isInstanceOf(an, "String"))
173175 then {
174176 let ao = an
175177 fromBase58String(ao)
176178 }
177179 else throw("something went wrong during the creation of NFT")
178180 }
179181 if ((m == m))
180182 then [StringEntry(toBase58String(m), toBase58String(m)), StringEntry(toBase58String(Y.transactionId), toBase58String(m))]
181183 else throw("Strict value is not equal to itself.")
182184 }
183185
184186

github/deemru/w8io/169f3d6 
35.64 ms