tx · HUBaP9j7LKGXumYwYWef4hL15zdUMKZ8v2LVcqmnxTZn

3NBwZbvD45CscLGF78qTaDRBZ7mDBHt3Yib:  -0.01000000 Waves

2022.08.10 09:00 [2177958] smart account 3NBwZbvD45CscLGF78qTaDRBZ7mDBHt3Yib > SELF 0.00000000 Waves

{ "type": 13, "id": "HUBaP9j7LKGXumYwYWef4hL15zdUMKZ8v2LVcqmnxTZn", "fee": 1000000, "feeAssetId": null, "timestamp": 1660111280781, "version": 2, "chainId": 84, "sender": "3NBwZbvD45CscLGF78qTaDRBZ7mDBHt3Yib", "senderPublicKey": "3q3N8Kv49DbzNHyTB4A87UYz2DdquXCgP3GNCcD9Zj66", "proofs": [ "2KCjtqFAYipDAEySVqYGJQ9wawuLNQM7Cfr6WiekQLPxHqQgWGSbub5TvEkqztbm27qYfsoibkMD9KPsBgNTHuD6" ], "script": "base64:AAIFAAAAAAAAAC0IAhIGCgQICAgIEgQKAggBEgQKAggIEgQKAggIEgQKAggIEgQKAgQIEgMKAQgAAAAxAAAAAAtDT05GX0lOSVRfSwIAAAALY29uZmlnX2luaXQAAAAAC0NPTkZfQU1JTl9LAgAAAAxjb25maWdfYWRtaW4AAAAADUNPTkZfT1JBQ0xFX0sCAAAADWNvbmZpZ19vcmFjbGUAAAAAE0NPTkZfQVJUV09SS19EQVBQX0sCAAAAE2NvbmZpZ19hcnR3b3JrX2RhcHAAAAAAEUNPTkZfVVNFUlNfREFQUF9LAgAAABFjb25maWdfdXNlcnNfZGFwcAAAAAAQQ09ORl9GRUVfQVNTRVRfSwIAAAAQY29uZmlnX2ZlZV9hc3NldAAAAAARQ09ORl9GRUVfQU1PVU5UX0sCAAAAEWNvbmZpZ19mZWVfYW1vdW50AAAAAA5kYXBwUnVubmluZ0tleQIAAAAUY29uZl9kYXBwX2lzX3J1bm5pbmcAAAAAEW1haW50ZW5hbmNlTVNHS2V5AgAAABRjb25mX21haW50ZW5hbmNlX21zZwAAAAALZGFwcFJ1bm5pbmcJAQAAA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XR1cwAAAAEFAAAABW5mdElkBQAAAA9zdGF0dXNfVU5MT0NLRUQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwkBAAAAB0FkZHJlc3MAAAABCQACWQAAAAEFAAAACXJlY2lwaWVudAAAAAAAAAAAAQkAAlkAAAABBQAAAAVuZnRJZAUAAAADbmlsCQAAAgAAAAECAAAAC05vdCBhbGxvd2VkAAAAAWkBAAAACmFwcFJ1bm5pbmcAAAACAAAABmlzTGl2ZQAAAAdtZXNzYWdlAwkBAAAAASEAAAABBQAAAAZpc0luaXQJAAACAAAAAQIAAAAOZEFwcCBub3QgcmVhZHkDCQEAAAAJb3duZXJPbmx5AAAAAQUAAAABaQkABEwAAAACCQEAAAAMQm9vbGVhbkVudHJ5AAAAAgUAAAAOZGFwcFJ1bm5pbmdLZXkFAAAABmlzTGl2ZQkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACBQAAABFtYWludGVuYW5jZU1TR0tleQUAAAAHbWVzc2FnZQUAAAADbmlsCQAAAgAAAAECAAAAIllvdSBhcmUgbm90IGFsbG93ZWQgdG8gY2hhbmdlIHRoaXMAAAABaQEAAAALZGVsZXRlRW50cnkAAAABAAAABWVudHJ5AwkBAAAACW93bmVyT25seQAAAAEFAAAAAWkJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQUAAAAFZW50cnkFAAAAA25pbAkAAAIAAAABAgAAAAJubwAAAAB04lw+", "height": 2177958, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: gWF33UQmWApxhQJwh3r2jDT87URXuujiV5kYicekNy3 Next: CJn5khfJLxxh7qYCpVLEw1a1hxVan2BatSoJeCZGmHDv Diff:
OldNewDifferences
150150
151151 func an (ah,aj) = {
152152 let am = M(((("art_status_" + ah) + "_") + aj))
153- am
153+ if (true)
154+ then throw(am)
155+ else am
154156 }
155157
156158
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "config_init"
55
66 let b = "config_admin"
77
88 let c = "config_oracle"
99
1010 let d = "config_artwork_dapp"
1111
1212 let e = "config_users_dapp"
1313
1414 let f = "config_fee_asset"
1515
1616 let g = "config_fee_amount"
1717
1818 let h = "conf_dapp_is_running"
1919
2020 let i = "conf_maintenance_msg"
2121
2222 let j = valueOrElse(getBoolean(this, h), true)
2323
2424 let k = valueOrElse(getString(this, i), "")
2525
2626 let l = "LOCKED"
2727
2828 let m = "UNLOCKED"
2929
3030 let n = "PENDING"
3131
3232 let o = "CLOSED"
3333
3434 let p = "REGISTERED"
3535
3636 let q = "VERIFIED"
3737
3838 let r = "FLAGGED"
3939
4040 let s = "ILLEGAL"
4141
4242 let t = "CHANGE_REQUIRED"
4343
4444 let u = ["ETH", "POLYGON"]
4545
4646 func v (w) = (("nft_" + w) + "_status")
4747
4848
4949 func x (w,y) = ((("transfer_" + w) + "_") + y)
5050
5151
5252 let z = "cost_non_minted"
5353
5454 let A = "cost_minted"
5555
5656 func B (C) = valueOrElse(getString(this, C), "")
5757
5858
5959 func D (C) = valueOrElse(getInteger(this, C), 0)
6060
6161
6262 func E (C) = valueOrElse(getBoolean(this, C), false)
6363
6464
6565 let F = value(addressFromString(B(b)))
6666
6767 let G = value(addressFromString(B(d)))
6868
6969 let H = value(addressFromString(B(e)))
7070
7171 let I = value(addressFromString(B(c)))
7272
7373 let J = B(f)
7474
7575 let K = D(g)
7676
7777 func L (C) = valueOrElse(getString(H, C), "")
7878
7979
8080 func M (C) = valueOrElse(getString(G, C), "")
8181
8282
8383 func N (C) = valueOrErrorMessage(getInteger(I, C), "Integer undefine or 0 in oracle")
8484
8585
8686 func O (P) = if (if (if ((P.quantity == 1))
8787 then (P.decimals == 0)
8888 else false)
8989 then (P.reissuable == false)
9090 else false)
9191 then (P.issuer == G)
9292 else false
9393
9494
9595 func Q (R) = {
9696 let P = value(assetInfo(R))
9797 O(P)
9898 }
9999
100100
101101 func S (T) = if ((size(T.payments) == 0))
102102 then throw("No payment attached")
103103 else {
104104 let U = value(T.payments[0])
105105 let V = value(U.amount)
106106 let W = value(T.payments[1])
107107 let X = value(W.amount)
108108 $Tuple4(U, V, W, X)
109109 }
110110
111111
112112 let Y = valueOrElse(E(a), false)
113113
114114 func Z (T) = {
115115 let aa = toString(T.caller)
116116 let R = toBase58String(T.transactionId)
117117 let ab = if (Y)
118118 then [toString(F), toString(this)]
119119 else [toString(this)]
120120 if (containsElement(ab, aa))
121121 then true
122122 else false
123123 }
124124
125125
126126 func ac (T) = if (!(j))
127127 then throw(k)
128128 else $Tuple3(toBase58String(T.transactionId), toBase58String(T.caller.bytes), lastBlock.timestamp)
129129
130130
131131 func ad (ae) = {
132132 let af = M(("nft_" + ae))
133133 let ag = split(af, "_")[6]
134134 let ah = split(af, "_")[5]
135135 $Tuple2(ag, ah)
136136 }
137137
138138
139139 func ai (aj) = {
140140 let ak = L(("user_ERC20_" + aj))
141141 ak
142142 }
143143
144144
145145 func al (aj) = {
146146 let am = L(("user_status_" + aj))
147147 am
148148 }
149149
150150
151151 func an (ah,aj) = {
152152 let am = M(((("art_status_" + ah) + "_") + aj))
153- am
153+ if (true)
154+ then throw(am)
155+ else am
154156 }
155157
156158
157159 func ao (am) = if ((am == p))
158160 then true
159161 else (am == q)
160162
161163
162164 func ap (ah) = if (if ((ah != r))
163165 then true
164166 else (ah != s))
165167 then true
166168 else (ah != t)
167169
168170
169171 @Callable(T)
170172 func init (aq,I,G,H) = if (Z(T))
171173 then [StringEntry(b, aq), StringEntry(c, I), StringEntry(d, G), StringEntry(e, H), BooleanEntry(a, true)]
172174 else throw("Not allowed")
173175
174176
175177
176178 @Callable(T)
177179 func setFee (ar,as) = {
178180 let P = assetInfo(fromBase58String(ar))
179181 let at = value(P).decimals
180182 let au = pow(as, 0, 10, 1, at, HALFUP)
181183 if (Z(T))
182184 then [StringEntry(f, ar), IntegerEntry(g, au)]
183185 else throw("Not allowed")
184186 }
185187
186188
187189
188190 @Callable(T)
189191 func lock (av,aw) = if (!(Y))
190192 then throw("dApp not ready")
191193 else if (!(containsElement(u, aw)))
192194 then throw("Network not supported")
193195 else {
194196 let ax = ac(T)
195197 let R = ax._1
196198 let aa = ax._2
197199 let ay = ax._3
198200 let az = S(T)
199201 let U = az._1
200202 let V = az._2
201203 let W = az._3
202204 let X = az._4
203205 if ((V != 1))
204206 then throw("No NFT attached")
205207 else {
206208 let w = if (if (isDefined(U.assetId))
207209 then Q(value(U.assetId))
208210 else false)
209211 then toBase58String(value(U.assetId))
210212 else throw("Only SIGN Art NFT accepted.")
211213 let aA = ad(w)
212214 let ag = aA._1
213215 let ah = aA._2
214216 if (!(ao(al(ag))))
215217 then throw(("Creator status is :" + al(ag)))
216218 else if (true)
217219 then throw(toString(ap(an(ah, ag))))
218220 else if (!(ap(an(ah, ag))))
219221 then throw(("Artwork status is :" + an(ah, ag)))
220222 else {
221223 let ak = ai(ag)
222224 if ((size(ak) == 0))
223225 then throw("This artist didn't allow crosschain transfer")
224226 else {
225227 let aB = B(v(w))
226228 if (if ((aB == l))
227229 then true
228230 else (aB == n))
229231 then throw("NFT already locked")
230232 else {
231233 let aC = N(z)
232234 let aD = N(A)
233235 let aE = if ((aB == m))
234236 then true
235237 else false
236238 if (if (!(isDefined(W.assetId)))
237239 then true
238240 else (toBase58String(value(W.assetId)) != J))
239241 then throw("Wrong payment asset")
240242 else if (if (aE)
241243 then (X > (aD + K))
242244 else false)
243245 then throw("Wrong payment amount to unlock")
244246 else if (if (!(aE))
245247 then (X > (aC + K))
246248 else false)
247249 then throw("Wrong payment amount to mint and unlock")
248250 else [StringEntry(v(w), n), StringEntry(((x(w, R) + "_") + n), ((((((((((((av + "_") + aw) + "_") + aa) + "_") + R) + "_") + value(assetInfo(value(U.assetId))).name) + "_") + toString(ay)) + "_") + toString(height)))]
249251 }
250252 }
251253 }
252254 }
253255 }
254256
255257
256258
257259 @Callable(T)
258260 func confirmLock (w,aF) = if (!(Y))
259261 then throw("dApp not ready")
260262 else if (Z(T))
261263 then {
262264 let aB = B(v(w))
263265 if ((aB != n))
264266 then throw("NFT not pending")
265267 else {
266268 let aG = B(((x(w, aF) + "_") + n))
267269 let aH = ((x(w, aF) + "_") + o)
268270 [DeleteEntry(((x(w, aF) + "_") + n)), StringEntry(aH, aG), StringEntry(v(w), l)]
269271 }
270272 }
271273 else throw("Not allowed")
272274
273275
274276
275277 @Callable(T)
276278 func unlock (av,w) = if (!(Y))
277279 then throw("dApp not ready")
278280 else if (Z(T))
279281 then {
280282 let aB = B(v(w))
281283 if ((aB != l))
282284 then throw("NFT not locked, finalize first if pending")
283285 else [StringEntry(v(w), m), ScriptTransfer(Address(fromBase58String(av)), 1, fromBase58String(w))]
284286 }
285287 else throw("Not allowed")
286288
287289
288290
289291 @Callable(T)
290292 func appRunning (aI,aJ) = if (!(Y))
291293 then throw("dApp not ready")
292294 else if (Z(T))
293295 then [BooleanEntry(h, aI), StringEntry(i, aJ)]
294296 else throw("You are not allowed to change this")
295297
296298
297299
298300 @Callable(T)
299301 func deleteEntry (aK) = if (Z(T))
300302 then [DeleteEntry(aK)]
301303 else throw("no")
302304
303305

github/deemru/w8io/169f3d6 
64.26 ms