tx · DBprtJswhpzuF2F6XhPXjReUK2E2YDMGgUCfkwqvCXym

3NBwZbvD45CscLGF78qTaDRBZ7mDBHt3Yib:  -0.01000000 Waves

2022.08.10 09:04 [2177962] smart account 3NBwZbvD45CscLGF78qTaDRBZ7mDBHt3Yib > SELF 0.00000000 Waves

{ "type": 13, "id": "DBprtJswhpzuF2F6XhPXjReUK2E2YDMGgUCfkwqvCXym", "fee": 1000000, "feeAssetId": null, "timestamp": 1660111443883, "version": 2, "chainId": 84, "sender": "3NBwZbvD45CscLGF78qTaDRBZ7mDBHt3Yib", "senderPublicKey": "3q3N8Kv49DbzNHyTB4A87UYz2DdquXCgP3GNCcD9Zj66", "proofs": [ "4UYJ2V2XtcoKoANsKU6xGqdvCk6wHZM3Ux9zf6suhig4Tj2vbNKzVWMr4YagR3h12zvf4vvPfGAQYHV12qTVhmYH" ], "script": "base64:AAIFAAAAAAAAAC0IAhIGCgQICAgIEgQKAggBEgQKAggIEgQKAggIEgQKAggIEgQKAgQIEgMKAQgAAAAxAAAAAAtDT05GX0lOSVRfSwIAAAALY29uZmlnX2luaXQAAAAAC0NPTkZfQU1JTl9LAgAAAAxjb25maWdfYWRtaW4AAAAADUNPTkZfT1JBQ0xFX0sCAAAADWNvbmZpZ19vcmFjbGUAAAAAE0NPTkZfQVJUV09SS19EQVBQX0sCAAAAE2NvbmZpZ19hcnR3b3JrX2RhcHAAAAAAEUNPTkZfVVNFUlNfREFQUF9LAgAAABFjb25maWdfdXNlcnNfZGFwcAAAAAAQQ09ORl9GRUVfQVNTRVRfSwIAAAAQY29uZmlnX2ZlZV9hc3NldAAAAAARQ09ORl9GRUVfQU1PVU5UX0sCAAAAEWNvbmZpZ19mZWVfYW1vdW50AAAAAA5kYXBwUnVubmluZ0tleQIAAAAUY29uZl9kYXBwX2lzX3J1bm5pbmcAAAAAEW1haW50ZW5hbmNlTVNHS2V5AgAAABRjb25mX21haW50ZW5hbmNlX21zZwAAAAALZGFwcFJ1bm5pbmcJAQAAAA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Uc3RhdHVzAAAAAQUAAAAFbmZ0SWQFAAAAD3N0YXR1c19VTkxPQ0tFRAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCQEAAAAHQWRkcmVzcwAAAAEJAAJZAAAAAQUAAAAJcmVjaXBpZW50AAAAAAAAAAABCQACWQAAAAEFAAAABW5mdElkBQAAAANuaWwJAAACAAAAAQIAAAALTm90IGFsbG93ZWQAAAABaQEAAAAKYXBwUnVubmluZwAAAAIAAAAGaXNMaXZlAAAAB21lc3NhZ2UDCQEAAAABIQAAAAEFAAAABmlzSW5pdAkAAAIAAAABAgAAAA5kQXBwIG5vdCByZWFkeQMJAQAAAAlvd25lck9ubHkAAAABBQAAAAFpCQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACBQAAAA5kYXBwUnVubmluZ0tleQUAAAAGaXNMaXZlCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIFAAAAEW1haW50ZW5hbmNlTVNHS2V5BQAAAAdtZXNzYWdlBQAAAANuaWwJAAACAAAAAQIAAAAiWW91IGFyZSBub3QgYWxsb3dlZCB0byBjaGFuZ2UgdGhpcwAAAAFpAQAAAAtkZWxldGVFbnRyeQAAAAEAAAAFZW50cnkDCQEAAAAJb3duZXJPbmx5AAAAAQUAAAABaQkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABBQAAAAVlbnRyeQUAAAADbmlsCQAAAgAAAAECAAAAAm5vAAAAAHoRwBw=", "height": 2177962, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CJn5khfJLxxh7qYCpVLEw1a1hxVan2BatSoJeCZGmHDv Next: F3CtFi1mVHhGXxrFsQoPhBYHNqhdtZBzewBAS9QFFAFC Diff:
OldNewDifferences
150150
151151 func an (ah,aj) = {
152152 let am = M(((("art_status_" + ah) + "_") + aj))
153- if (true)
154- then throw(("status = " + am))
155- else am
153+ am
156154 }
157155
158156
164162 func ap (am) = if (true)
165163 then throw(("status = " + am))
166164 else if (if ((am != r))
167- then true
168- else (am != s))
169- then true
170- else (am != t)
165+ then (am != s)
166+ else false)
167+ then (am != t)
168+ else false
171169
172170
173171 @Callable(T)
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- if (true)
154- then throw(("status = " + am))
155- else am
153+ am
156154 }
157155
158156
159157 func ao (am) = if ((am == p))
160158 then true
161159 else (am == q)
162160
163161
164162 func ap (am) = if (true)
165163 then throw(("status = " + am))
166164 else if (if ((am != r))
167- then true
168- else (am != s))
169- then true
170- else (am != t)
165+ then (am != s)
166+ else false)
167+ then (am != t)
168+ else false
171169
172170
173171 @Callable(T)
174172 func init (aq,I,G,H) = if (Z(T))
175173 then [StringEntry(b, aq), StringEntry(c, I), StringEntry(d, G), StringEntry(e, H), BooleanEntry(a, true)]
176174 else throw("Not allowed")
177175
178176
179177
180178 @Callable(T)
181179 func setFee (ar,as) = {
182180 let P = assetInfo(fromBase58String(ar))
183181 let at = value(P).decimals
184182 let au = pow(as, 0, 10, 1, at, HALFUP)
185183 if (Z(T))
186184 then [StringEntry(f, ar), IntegerEntry(g, au)]
187185 else throw("Not allowed")
188186 }
189187
190188
191189
192190 @Callable(T)
193191 func lock (av,aw) = if (!(Y))
194192 then throw("dApp not ready")
195193 else if (!(containsElement(u, aw)))
196194 then throw("Network not supported")
197195 else {
198196 let ax = ac(T)
199197 let R = ax._1
200198 let aa = ax._2
201199 let ay = ax._3
202200 let az = S(T)
203201 let U = az._1
204202 let V = az._2
205203 let W = az._3
206204 let X = az._4
207205 if ((V != 1))
208206 then throw("No NFT attached")
209207 else {
210208 let w = if (if (isDefined(U.assetId))
211209 then Q(value(U.assetId))
212210 else false)
213211 then toBase58String(value(U.assetId))
214212 else throw("Only SIGN Art NFT accepted.")
215213 let aA = ad(w)
216214 let ag = aA._1
217215 let ah = aA._2
218216 if (!(ao(al(ag))))
219217 then throw(("Creator status is :" + al(ag)))
220218 else if (true)
221219 then throw(toString(ap(an(ah, ag))))
222220 else if (!(ap(an(ah, ag))))
223221 then throw(("Artwork status is :" + an(ah, ag)))
224222 else {
225223 let ak = ai(ag)
226224 if ((size(ak) == 0))
227225 then throw("This artist didn't allow crosschain transfer")
228226 else {
229227 let aB = B(v(w))
230228 if (if ((aB == l))
231229 then true
232230 else (aB == n))
233231 then throw("NFT already locked")
234232 else {
235233 let aC = N(z)
236234 let aD = N(A)
237235 let aE = if ((aB == m))
238236 then true
239237 else false
240238 if (if (!(isDefined(W.assetId)))
241239 then true
242240 else (toBase58String(value(W.assetId)) != J))
243241 then throw("Wrong payment asset")
244242 else if (if (aE)
245243 then (X > (aD + K))
246244 else false)
247245 then throw("Wrong payment amount to unlock")
248246 else if (if (!(aE))
249247 then (X > (aC + K))
250248 else false)
251249 then throw("Wrong payment amount to mint and unlock")
252250 else [StringEntry(v(w), n), StringEntry(((x(w, R) + "_") + n), ((((((((((((av + "_") + aw) + "_") + aa) + "_") + R) + "_") + value(assetInfo(value(U.assetId))).name) + "_") + toString(ay)) + "_") + toString(height)))]
253251 }
254252 }
255253 }
256254 }
257255 }
258256
259257
260258
261259 @Callable(T)
262260 func confirmLock (w,aF) = if (!(Y))
263261 then throw("dApp not ready")
264262 else if (Z(T))
265263 then {
266264 let aB = B(v(w))
267265 if ((aB != n))
268266 then throw("NFT not pending")
269267 else {
270268 let aG = B(((x(w, aF) + "_") + n))
271269 let aH = ((x(w, aF) + "_") + o)
272270 [DeleteEntry(((x(w, aF) + "_") + n)), StringEntry(aH, aG), StringEntry(v(w), l)]
273271 }
274272 }
275273 else throw("Not allowed")
276274
277275
278276
279277 @Callable(T)
280278 func unlock (av,w) = if (!(Y))
281279 then throw("dApp not ready")
282280 else if (Z(T))
283281 then {
284282 let aB = B(v(w))
285283 if ((aB != l))
286284 then throw("NFT not locked, finalize first if pending")
287285 else [StringEntry(v(w), m), ScriptTransfer(Address(fromBase58String(av)), 1, fromBase58String(w))]
288286 }
289287 else throw("Not allowed")
290288
291289
292290
293291 @Callable(T)
294292 func appRunning (aI,aJ) = if (!(Y))
295293 then throw("dApp not ready")
296294 else if (Z(T))
297295 then [BooleanEntry(h, aI), StringEntry(i, aJ)]
298296 else throw("You are not allowed to change this")
299297
300298
301299
302300 @Callable(T)
303301 func deleteEntry (aK) = if (Z(T))
304302 then [DeleteEntry(aK)]
305303 else throw("no")
306304
307305

github/deemru/w8io/169f3d6 
68.54 ms