tx · BWXQEyj3pdxU4ukiqwGKtszeg5DBULEV44Pzz1tRtbtJ

3N7J6mMMkjVViBREz9y53JmcX7r7KZRXQpL:  -0.04000000 Waves

2022.04.20 01:29 [2016042] smart account 3N7J6mMMkjVViBREz9y53JmcX7r7KZRXQpL > SELF 0.00000000 Waves

{ "type": 13, "id": "BWXQEyj3pdxU4ukiqwGKtszeg5DBULEV44Pzz1tRtbtJ", "fee": 4000000, "feeAssetId": null, "timestamp": 1650407367808, "version": 2, "chainId": 84, "sender": "3N7J6mMMkjVViBREz9y53JmcX7r7KZRXQpL", "senderPublicKey": "G6aSmaqLJ4p7jzm7BnQcZuqa2NRRLVtzqdYNjYErnEZZ", "proofs": [ "5AGK8T3VGaqrkNF44W4JmaLJbhfmjEztVwxuP2wCcychk9G5bnYftQxcTszTeM446wY1X1HL72vjUx174TszzEm4" ], "script": "base64:AAIFAAAAAAAAADEIAhIFCgMICAgSBAoCCAgSBgoECAgICBIECgIIARIFCgMICAgSBQoDCAgIEgQKAggIAAAAEgAAAAAEQ09MUwAAAAAAAAAEAAAAAAAEUk9XUwAAAAAAAAAEAAAAAAAJbmZ0RG9tYWluAgAAABhodHRwczovL25mdC5ncmlkZ2FuZy5pby8AAAAAFWFkZE93bmVyQW5kQW1vdW50RnVuYwIAAAARYWRkT3duZXJBbmRBbW91bnQAAAAABURFQlVHBgAAAAARbWluRm9yU2FsZVdhdmxldHMAAAAAAAX14QAAAAAAEG1pblB1cmNoYXNlUHJpY2UAAAAAAAAPQkAAAAAABGRhcHACAAAAIzNON0o2bU1Na2pWVmlCUkV6OXk1M0ptY1g3cjdLWlJYUXBMAAAAAAtkYXBwQWRkcmVzcwkBAAAAB0FkZHJlc3MAAAABCQACWQAAAAEFAAAABGRhcHAAAAAAEWhvbGRpbmdzUHVibGljS2V5AgAAACxBeUF3V2JNUE03YTRWWWtuMWJoRUJmdEM1V1pnZnZVWGdyWURlOThtdkxzdgAAAAAIaG9sZGluZ3MCAAAAIzNNd1BzTHk5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AAAA9zZW5kZXJQdWJsaWNLZXkGCQAAAAAAAAIJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkFAAAAD2hvbGRpbmdzQWRkcmVzcwYJAAAAAAAAAgkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQUAAAALZGFwcEFkZHJlc3MzJQM7", "height": 2016042, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Ef3zYniofQUL7D4jzkYeGDLp8qEQohmi16uN8SiSq9fp Next: HSVG75L6UBtr3LSeJmNVcigC1AgziJ3mMCmpn86Dt2tR Diff:
OldNewDifferences
223223 }
224224
225225
226-
227-@Callable(L)
228-func burnTest (H) = [Burn(fromBase58String(H), 1)]
229-
230-
231226 @Verifier(af)
232227 func ag () = if (if (sigVerify(af.bodyBytes, af.proofs[0], af.senderPublicKey))
233228 then true
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 @Callable(L)
6767 func purchase (n,o,M) = {
6868 let w = p(n, o)
6969 let N = valueOrElse(L.payments[0].amount, 0)
7070 let O = {
7171 let P = getString(this, (w + "_assetId"))
7272 if ($isInstanceOf(P, "Unit"))
7373 then "unset"
7474 else if ($isInstanceOf(P, "String"))
7575 then {
7676 let Q = P
7777 throw("This square has already been purchased")
7878 }
7979 else throw("Match error")
8080 }
8181 if ((g > N))
8282 then throw((("You need to send at least " + toString(g)) + "WAVLETS to purchase a square"))
8383 else {
8484 let z = toBase58String(L.caller.bytes)
8585 let A = toBase58String(L.transactionId)
8686 let R = x(n, o, "1", z, A)
8787 let G = R._1
8888 let H = R._2
8989 let F = R._3
9090 let I = R._4
9191 (J(I, toBase58String(H), F, z, "1") ++ [G, StringEntry((z + "_handle"), M), StringEntry(A, I), ScriptTransfer(L.caller, 1, H)])
9292 }
9393 }
9494
9595
9696
9797 @Callable(L)
9898 func autoBuy (n,o) = {
9999 let S = toBase58String(L.caller.bytes)
100100 if (if ((S != k))
101101 then (S != h)
102102 else false)
103103 then throw("This can only be triggering internally")
104104 else {
105105 let A = toBase58String(L.transactionId)
106106 let T = x(n, o, "1", k, A)
107107 let G = T._1
108108 let H = T._2
109109 let F = T._3
110110 let I = T._4
111111 let U = toBase58String(H)
112112 let V = invoke(l, d, [k, U, 3], [AttachedPayment(unit, 0)])
113113 if ((V == V))
114114 then (J(I, U, F, k, "1") ++ [G, StringEntry(A, I), ScriptTransfer(l, 1, H)])
115115 else throw("Strict value is not equal to itself.")
116116 }
117117 }
118118
119119
120120
121121 @Callable(L)
122122 func evolve (n,o,y,z) = {
123123 let S = toBase58String(L.caller.bytes)
124124 if ((S != k))
125125 then throw("This can only be triggering internally")
126126 else {
127127 let A = toBase58String(L.transactionId)
128128 let W = x(n, o, y, z, A)
129129 let G = W._1
130130 let H = W._2
131131 let F = W._3
132132 let I = W._4
133133 (J(I, toBase58String(H), F, z, y) ++ [G, StringEntry(A, I), ScriptTransfer(Address(fromBase58String(z)), 1, H)])
134134 }
135135 }
136136
137137
138138
139139 @Callable(L)
140140 func putForSale (H,X) = {
141141 let S = toBase58String(L.caller.bytes)
142142 let Y = {
143143 let P = assetInfo(fromBase58String(H))
144144 if ($isInstanceOf(P, "Asset"))
145145 then {
146146 let Z = P
147147 Z
148148 }
149149 else throw("Asset not found")
150150 }
151151 let aa = u(Y.name)
152152 let z = {
153153 let P = getString(this, (aa + "_owner"))
154154 if ($isInstanceOf(P, "String"))
155155 then {
156156 let ab = P
157157 ab
158158 }
159159 else throw("Owner not found in data")
160160 }
161161 if ((f > X))
162162 then throw("Amount needs to be more than 1 wave")
163163 else if (if ((S != z))
164164 then (S != k)
165165 else false)
166166 then throw("You are not able to put this asset up for sale")
167167 else {
168168 let V = invoke(l, d, [S, H, X], [AttachedPayment(unit, 0)])
169169 if ((V == V))
170170 then [ScriptTransfer(l, 1, fromBase58String(H))]
171171 else throw("Strict value is not equal to itself.")
172172 }
173173 }
174174
175175
176176
177177 @Callable(L)
178178 func finalizeSale (H,z,M) = {
179179 let S = toBase58String(L.caller.bytes)
180180 if ((S != k))
181181 then throw("This can only be triggering internally")
182182 else {
183183 let w = {
184184 let P = assetInfo(fromBase58String(H))
185185 if ($isInstanceOf(P, "Asset"))
186186 then {
187187 let G = P
188188 G.name
189189 }
190190 else throw("Can't find asset")
191191 }
192192 [StringEntry((w + "_owner"), z), StringEntry((z + "_handle"), M)]
193193 }
194194 }
195195
196196
197197
198198 @Callable(L)
199199 func adminPromotionPurchase (n,o,ac) = {
200200 let S = toBase58String(L.caller.bytes)
201201 if ((S != k))
202202 then throw("This can only be triggering internally")
203203 else {
204204 let A = toBase58String(L.transactionId)
205205 let ad = x(n, o, "1", ac, A)
206206 let G = ad._1
207207 let H = ad._2
208208 let F = ad._3
209209 let I = ad._4
210210 let U = toBase58String(H)
211211 (J(I, U, F, ac, "1") ++ [G, StringEntry(A, I), ScriptTransfer(Address(fromBase58String(ac)), 1, H)])
212212 }
213213 }
214214
215215
216216
217217 @Callable(L)
218218 func adminSetHandle (z,ae) = {
219219 let S = toBase58String(L.caller.bytes)
220220 if ((S != k))
221221 then throw("This can only be triggering internally")
222222 else [StringEntry((z + "_handle"), ae)]
223223 }
224224
225225
226-
227-@Callable(L)
228-func burnTest (H) = [Burn(fromBase58String(H), 1)]
229-
230-
231226 @Verifier(af)
232227 func ag () = if (if (sigVerify(af.bodyBytes, af.proofs[0], af.senderPublicKey))
233228 then true
234229 else (addressFromPublicKey(af.senderPublicKey) == l))
235230 then true
236231 else (addressFromPublicKey(af.senderPublicKey) == i)
237232

github/deemru/w8io/169f3d6 
56.01 ms