tx · 5iTDoEFBk4VZKk9z8DpDarYmtf9EkqZHNNZdWKBW8Aao

3N7J6mMMkjVViBREz9y53JmcX7r7KZRXQpL:  -0.04000000 Waves

2022.04.20 21:12 [2017212] smart account 3N7J6mMMkjVViBREz9y53JmcX7r7KZRXQpL > SELF 0.00000000 Waves

{ "type": 13, "id": "5iTDoEFBk4VZKk9z8DpDarYmtf9EkqZHNNZdWKBW8Aao", "fee": 4000000, "feeAssetId": null, "timestamp": 1650478376422, "version": 2, "chainId": 84, "sender": "3N7J6mMMkjVViBREz9y53JmcX7r7KZRXQpL", "senderPublicKey": "G6aSmaqLJ4p7jzm7BnQcZuqa2NRRLVtzqdYNjYErnEZZ", "proofs": [ "5zxgt8D1yZ87apzGto6p7Fp5uE4Fguqq4AZmoQ8wRNxCG4orDVQgZVxB32c5QQKizayZp9vQMcurgF8SwpFCGkkq" ], "script": "base64:AAIFAAAAAAAAADIIAhIFCgMICAgSBAoCCAgSBwoFCAgICAgSBAoCCAESBQoDCAgIEgUKAwgICBIECgIICAAAABMAAAAABENPTFMAAAAAAAAABAAAAAAABFJPV1MAAAAAAAAABAAAAAAACW5mdERvbWFpbgIAAAAYaHR0cHM6Ly9uZnQuZ3JpZGdhbmcuaW8vAAAAABVhZGRPd25lckFuZEFtb3VudEZ1bmMCAAAAEWFkZE93bmVyQW5kQW1vdW50AAAAAAVERUJVRwYAAAAAEW1pbkZvclNhbGVXYXZsZXRzAAAAAAAF9eEAAAAAABBtaW5QdXJjaGFzZVByaWNlAAAAAAAAD0JAAAAAAARkYXBwAgAAACMzTjdKNm1NTWtqVlZpQlJFejl5NTNKbWNYN3I3S1pSWFFwTAAAAAALZGFwcEFkZHJlc3MJAQAAAAdBZGRyZXNzAAAAAQkAAlkAAAABBQAAAARkYXBwAAAAABFob2xkaW5nc1B1YmxpY0tleQIAAAAsQXlBd1diTVBNN2E0VllrbjFiaEVCZnRDNVdaZ2Z2VVhncllEZTk4bXZMc3YAAAAACGhvbGRpbmdzAgAAAC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zUPSVZg==", "height": 2017212, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: QQgwnMjhLeCsVEBwnmSpkCYX32MGVkdZgASC5HfiUXW Next: BADGqBX489kkRwiCmkk9SSNoHsJVC4End1wrhtSeNN3g Diff:
OldNewDifferences
152152
153153
154154 @Callable(R)
155-func evolve (n,o,y) = {
155+func evolve (n,o,y,z,ab) = {
156156 let X = toBase58String(R.caller.bytes)
157- let A = toBase58String(R.transactionId)
158- let ab = x(n, o, y, X, A)
159- let G = ab._1
160- let H = ab._2
161- let F = ab._3
162- let I = ab._4
163- (J(I, toBase58String(H), F, X, y) ++ [G, StringEntry(A, I), ScriptTransfer(R.caller, 1, H)])
157+ if ((X != k))
158+ then throw("This can only be triggering internally")
159+ else {
160+ let A = toBase58String(R.transactionId)
161+ let ac = x(n, o, y, z, A)
162+ let G = ac._1
163+ let H = ac._2
164+ let F = ac._3
165+ let I = ac._4
166+ (J(I, toBase58String(H), F, z, y) ++ [G, StringEntry(A, I), ScriptTransfer(Address(fromBase58String(z)), 1, H)])
167+ }
164168 }
165169
166170
167171
168172 @Callable(R)
169-func burnForEvolve (ac) = {
170- let ad = split(ac, "|")
171- let ae = size(ad)
172- let af = nil
173- func ag (ah,ai) = if ((ai >= ae))
174- then ah
175- else L(ah, ad[ai])
176-
177- func aj (ah,ai) = if ((ai >= ae))
178- then ah
179- else throw("List size exceeds 110")
180-
181- aj(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(af, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100), 101), 102), 103), 104), 105), 106), 107), 108), 109), 110)
182- }
183-
184-
185-
186-@Callable(R)
187-func putForSale (H,ak) = {
173+func putForSale (H,ad) = {
188174 let X = toBase58String(R.caller.bytes)
189- let al = {
175+ let ae = {
190176 let P = assetInfo(fromBase58String(H))
191177 if ($isInstanceOf(P, "Asset"))
192178 then {
193- let am = P
194- am
179+ let af = P
180+ af
195181 }
196182 else throw("Asset not found")
197183 }
198- let an = u(al.name)
184+ let ag = u(ae.name)
199185 let z = {
200- let P = getString(this, (an + "_owner"))
186+ let P = getString(this, (ag + "_owner"))
201187 if ($isInstanceOf(P, "String"))
202188 then {
203- let ao = P
204- ao
189+ let ah = P
190+ ah
205191 }
206192 else throw("Owner not found in data")
207193 }
208- if ((f > ak))
194+ if ((f > ad))
209195 then throw("Amount needs to be more than 1 wave")
210196 else if (if ((X != z))
211197 then (X != k)
212198 else false)
213199 then throw("You are not able to put this asset up for sale")
214200 else {
215- let aa = invoke(l, d, [X, H, ak], [AttachedPayment(unit, 0)])
201+ let aa = invoke(l, d, [X, H, ad], [AttachedPayment(unit, 0)])
216202 if ((aa == aa))
217203 then [ScriptTransfer(l, 1, fromBase58String(H))]
218204 else throw("Strict value is not equal to itself.")
243229
244230
245231 @Callable(R)
246-func adminPromotionPurchase (n,o,ap) = {
232+func adminPromotionPurchase (n,o,ai) = {
247233 let X = toBase58String(R.caller.bytes)
248234 if ((X != k))
249235 then throw("This can only be triggering internally")
250236 else {
251237 let A = toBase58String(R.transactionId)
252- let aq = x(n, o, "1", ap, A)
253- let G = aq._1
254- let H = aq._2
255- let F = aq._3
256- let I = aq._4
238+ let aj = x(n, o, "1", ai, A)
239+ let G = aj._1
240+ let H = aj._2
241+ let F = aj._3
242+ let I = aj._4
257243 let Z = toBase58String(H)
258- (J(I, Z, F, ap, "1") ++ [G, StringEntry(A, I), ScriptTransfer(Address(fromBase58String(ap)), 1, H)])
244+ (J(I, Z, F, ai, "1") ++ [G, StringEntry(A, I), ScriptTransfer(Address(fromBase58String(ai)), 1, H)])
259245 }
260246 }
261247
262248
263249
264250 @Callable(R)
265-func adminSetHandle (z,ar) = {
251+func adminSetHandle (z,ak) = {
266252 let X = toBase58String(R.caller.bytes)
267253 if ((X != k))
268254 then throw("This can only be triggering internally")
269- else [StringEntry((z + "_handle"), ar)]
255+ else [StringEntry((z + "_handle"), ak)]
270256 }
271257
272258
273-@Verifier(as)
274-func at () = if (if (sigVerify(as.bodyBytes, as.proofs[0], as.senderPublicKey))
259+@Verifier(al)
260+func am () = if (if (sigVerify(al.bodyBytes, al.proofs[0], al.senderPublicKey))
275261 then true
276- else (addressFromPublicKey(as.senderPublicKey) == l))
262+ else (addressFromPublicKey(al.senderPublicKey) == l))
277263 then true
278- else (addressFromPublicKey(as.senderPublicKey) == i)
264+ else (addressFromPublicKey(al.senderPublicKey) == i)
279265
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 1024
55
66 let b = 1024
77
88 let c = "https://nft.gridgang.io/"
99
1010 let d = "addOwnerAndAmount"
1111
1212 let e = true
1313
1414 let f = 100000000
1515
1616 let g = 1000000
1717
1818 let h = "3N7J6mMMkjVViBREz9y53JmcX7r7KZRXQpL"
1919
2020 let i = Address(fromBase58String(h))
2121
2222 let j = "AyAwWbMPM7a4VYkn1bhEBftC5WZgfvUXgrYDe98mvLsv"
2323
2424 let k = "3MwPsLy9F1mUQrdP37sCAKvHuE5HvPE674Y"
2525
2626 let l = Address(fromBase58String(k))
2727
2828 func m (n,o) = ((n + ",") + o)
2929
3030
3131 func p (n,o) = m(n, o)
3232
3333
3434 func q (r) = {
3535 let s = split(r, ",")
3636 let t = $Tuple2(s[0], s[1])
3737 t
3838 }
3939
4040
4141 func u (r) = {
4242 let v = q(r)
4343 let n = v._1
4444 let o = v._2
4545 let w = p(n, o)
4646 w
4747 }
4848
4949
5050 func x (n,o,y,z,A) = {
5151 let B = n
5252 let C = o
5353 let D = y
5454 let E = m(B, C)
5555 let F = ((c + A) + ".png")
5656 let G = Issue(E, F, 1, 0, false)
5757 let H = calculateAssetId(G)
5858 let I = p(B, C)
5959 $Tuple4(G, H, F, I)
6060 }
6161
6262
6363 func J (w,H,G,K,y) = [StringEntry((w + "_assetId"), H), StringEntry((w + "_asset"), G), StringEntry((w + "_owner"), K), StringEntry((w + "_gen"), y)]
6464
6565
6666 func L (M,N) = {
6767 let O = {
6868 let P = N
6969 if ($isInstanceOf(P, "Unit"))
7070 then "unset"
7171 else if ($isInstanceOf(P, "String"))
7272 then {
7373 let Q = P
7474 Q
7575 }
7676 else throw("Match error")
7777 }
7878 if ((O == "unset"))
7979 then M
8080 else {
8181 let H = {
8282 let P = getString(this, (O + "_assetId"))
8383 if ($isInstanceOf(P, "Unit"))
8484 then "unset"
8585 else if ($isInstanceOf(P, "String"))
8686 then {
8787 let Q = P
8888 Q
8989 }
9090 else throw("Match error")
9191 }
9292 if ((H == "unset"))
9393 then M
9494 else (M ++ [Burn(fromBase58String(H), 1)])
9595 }
9696 }
9797
9898
9999 @Callable(R)
100100 func purchase (n,o,S) = {
101101 let w = p(n, o)
102102 let T = valueOrElse(R.payments[0].amount, 0)
103103 let U = {
104104 let P = getString(this, (w + "_assetId"))
105105 if ($isInstanceOf(P, "Unit"))
106106 then "unset"
107107 else if ($isInstanceOf(P, "String"))
108108 then {
109109 let V = P
110110 throw("This square has already been purchased")
111111 }
112112 else throw("Match error")
113113 }
114114 if ((g > T))
115115 then throw((("You need to send at least " + toString(g)) + "WAVLETS to purchase a square"))
116116 else {
117117 let z = toBase58String(R.caller.bytes)
118118 let A = toBase58String(R.transactionId)
119119 let W = x(n, o, "1", z, A)
120120 let G = W._1
121121 let H = W._2
122122 let F = W._3
123123 let I = W._4
124124 (J(I, toBase58String(H), F, z, "1") ++ [G, StringEntry((z + "_handle"), S), StringEntry(A, I), ScriptTransfer(R.caller, 1, H)])
125125 }
126126 }
127127
128128
129129
130130 @Callable(R)
131131 func autoBuy (n,o) = {
132132 let X = toBase58String(R.caller.bytes)
133133 if (if ((X != k))
134134 then (X != h)
135135 else false)
136136 then throw("This can only be triggering internally")
137137 else {
138138 let A = toBase58String(R.transactionId)
139139 let Y = x(n, o, "1", k, A)
140140 let G = Y._1
141141 let H = Y._2
142142 let F = Y._3
143143 let I = Y._4
144144 let Z = toBase58String(H)
145145 let aa = invoke(l, d, [k, Z, 3], [AttachedPayment(unit, 0)])
146146 if ((aa == aa))
147147 then (J(I, Z, F, k, "1") ++ [G, StringEntry(A, I), ScriptTransfer(l, 1, H)])
148148 else throw("Strict value is not equal to itself.")
149149 }
150150 }
151151
152152
153153
154154 @Callable(R)
155-func evolve (n,o,y) = {
155+func evolve (n,o,y,z,ab) = {
156156 let X = toBase58String(R.caller.bytes)
157- let A = toBase58String(R.transactionId)
158- let ab = x(n, o, y, X, A)
159- let G = ab._1
160- let H = ab._2
161- let F = ab._3
162- let I = ab._4
163- (J(I, toBase58String(H), F, X, y) ++ [G, StringEntry(A, I), ScriptTransfer(R.caller, 1, H)])
157+ if ((X != k))
158+ then throw("This can only be triggering internally")
159+ else {
160+ let A = toBase58String(R.transactionId)
161+ let ac = x(n, o, y, z, A)
162+ let G = ac._1
163+ let H = ac._2
164+ let F = ac._3
165+ let I = ac._4
166+ (J(I, toBase58String(H), F, z, y) ++ [G, StringEntry(A, I), ScriptTransfer(Address(fromBase58String(z)), 1, H)])
167+ }
164168 }
165169
166170
167171
168172 @Callable(R)
169-func burnForEvolve (ac) = {
170- let ad = split(ac, "|")
171- let ae = size(ad)
172- let af = nil
173- func ag (ah,ai) = if ((ai >= ae))
174- then ah
175- else L(ah, ad[ai])
176-
177- func aj (ah,ai) = if ((ai >= ae))
178- then ah
179- else throw("List size exceeds 110")
180-
181- aj(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(af, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100), 101), 102), 103), 104), 105), 106), 107), 108), 109), 110)
182- }
183-
184-
185-
186-@Callable(R)
187-func putForSale (H,ak) = {
173+func putForSale (H,ad) = {
188174 let X = toBase58String(R.caller.bytes)
189- let al = {
175+ let ae = {
190176 let P = assetInfo(fromBase58String(H))
191177 if ($isInstanceOf(P, "Asset"))
192178 then {
193- let am = P
194- am
179+ let af = P
180+ af
195181 }
196182 else throw("Asset not found")
197183 }
198- let an = u(al.name)
184+ let ag = u(ae.name)
199185 let z = {
200- let P = getString(this, (an + "_owner"))
186+ let P = getString(this, (ag + "_owner"))
201187 if ($isInstanceOf(P, "String"))
202188 then {
203- let ao = P
204- ao
189+ let ah = P
190+ ah
205191 }
206192 else throw("Owner not found in data")
207193 }
208- if ((f > ak))
194+ if ((f > ad))
209195 then throw("Amount needs to be more than 1 wave")
210196 else if (if ((X != z))
211197 then (X != k)
212198 else false)
213199 then throw("You are not able to put this asset up for sale")
214200 else {
215- let aa = invoke(l, d, [X, H, ak], [AttachedPayment(unit, 0)])
201+ let aa = invoke(l, d, [X, H, ad], [AttachedPayment(unit, 0)])
216202 if ((aa == aa))
217203 then [ScriptTransfer(l, 1, fromBase58String(H))]
218204 else throw("Strict value is not equal to itself.")
219205 }
220206 }
221207
222208
223209
224210 @Callable(R)
225211 func finalizeSale (H,z,S) = {
226212 let X = toBase58String(R.caller.bytes)
227213 if ((X != k))
228214 then throw("This can only be triggering internally")
229215 else {
230216 let w = {
231217 let P = assetInfo(fromBase58String(H))
232218 if ($isInstanceOf(P, "Asset"))
233219 then {
234220 let G = P
235221 G.name
236222 }
237223 else throw("Can't find asset")
238224 }
239225 [StringEntry((w + "_owner"), z), StringEntry((z + "_handle"), S)]
240226 }
241227 }
242228
243229
244230
245231 @Callable(R)
246-func adminPromotionPurchase (n,o,ap) = {
232+func adminPromotionPurchase (n,o,ai) = {
247233 let X = toBase58String(R.caller.bytes)
248234 if ((X != k))
249235 then throw("This can only be triggering internally")
250236 else {
251237 let A = toBase58String(R.transactionId)
252- let aq = x(n, o, "1", ap, A)
253- let G = aq._1
254- let H = aq._2
255- let F = aq._3
256- let I = aq._4
238+ let aj = x(n, o, "1", ai, A)
239+ let G = aj._1
240+ let H = aj._2
241+ let F = aj._3
242+ let I = aj._4
257243 let Z = toBase58String(H)
258- (J(I, Z, F, ap, "1") ++ [G, StringEntry(A, I), ScriptTransfer(Address(fromBase58String(ap)), 1, H)])
244+ (J(I, Z, F, ai, "1") ++ [G, StringEntry(A, I), ScriptTransfer(Address(fromBase58String(ai)), 1, H)])
259245 }
260246 }
261247
262248
263249
264250 @Callable(R)
265-func adminSetHandle (z,ar) = {
251+func adminSetHandle (z,ak) = {
266252 let X = toBase58String(R.caller.bytes)
267253 if ((X != k))
268254 then throw("This can only be triggering internally")
269- else [StringEntry((z + "_handle"), ar)]
255+ else [StringEntry((z + "_handle"), ak)]
270256 }
271257
272258
273-@Verifier(as)
274-func at () = if (if (sigVerify(as.bodyBytes, as.proofs[0], as.senderPublicKey))
259+@Verifier(al)
260+func am () = if (if (sigVerify(al.bodyBytes, al.proofs[0], al.senderPublicKey))
275261 then true
276- else (addressFromPublicKey(as.senderPublicKey) == l))
262+ else (addressFromPublicKey(al.senderPublicKey) == l))
277263 then true
278- else (addressFromPublicKey(as.senderPublicKey) == i)
264+ else (addressFromPublicKey(al.senderPublicKey) == i)
279265

github/deemru/w8io/026f985 
89.20 ms