tx · AnuAwBZvRchaA5YGQ9ZnYGAtUHBnY6ELhmtbLdngRQLt

3NBwZbvD45CscLGF78qTaDRBZ7mDBHt3Yib:  -0.01000000 Waves

2022.08.10 08:56 [2177954] smart account 3NBwZbvD45CscLGF78qTaDRBZ7mDBHt3Yib > SELF 0.00000000 Waves

{ "type": 13, "id": "AnuAwBZvRchaA5YGQ9ZnYGAtUHBnY6ELhmtbLdngRQLt", "fee": 1000000, "feeAssetId": null, "timestamp": 1660111004584, "version": 2, "chainId": 84, "sender": "3NBwZbvD45CscLGF78qTaDRBZ7mDBHt3Yib", "senderPublicKey": "3q3N8Kv49DbzNHyTB4A87UYz2DdquXCgP3GNCcD9Zj66", "proofs": [ "4TKxuBjAy5g7BucM6TYMrkYe6VZbz95pZ3dnmGZn4xbeX3dm2vtAcxSYiQooeNoy56qPKSuoTXMvQrAdbA8idy2P" ], "script": "base64:AAIFAAAAAAAAAC0IAhIGCgQICAgIEgQKAggBEgQKAggIEgQKAggIEgQKAggIEgQKAgQIEgMKAQgAAAAxAAAAAAtDT05GX0lOSVRfSwIAAAALY29uZmlnX2luaXQAAAAAC0NPTkZfQU1JTl9LAgAAAAxjb25maWdfYWRtaW4AAAAADUNPTkZfT1JBQ0xFX0sCAAAADWNvbmZpZ19vcmFjbGUAAAAAE0NPTkZfQVJUV09SS19EQVBQX0sCAAAAE2NvbmZpZ19hcnR3b3JrX2RhcHAAAAAAEUNPTkZfVVNFUlNfREFQUF9LAgAAABFjb25maWdfdXNlcnNfZGFwcAAAAAAQQ09ORl9GRUVfQVNTRVRfSwIAAAAQY29uZmlnX2ZlZV9hc3NldAAAAAARQ09ORl9GRUVfQU1PVU5UX0sCAAAAEWNvbmZpZ19mZWVfYW1vdW50AAAAAA5kYXBwUnVubmluZ0tleQIAAAAUY29uZl9kYXBwX2lzX3J1bm5pbmcAAAAAEW1haW50ZW5hbmNlTVNHS2V5AgAAABRjb25mX21haW50ZW5hbmNlX21zZwAAAAALZGFwcFJ1bm5pbmc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AAAAAAAEJAAJZAAAAAQUAAAAFbmZ0SWQFAAAAA25pbAkAAAIAAAABAgAAAAtOb3QgYWxsb3dlZAAAAAFpAQAAAAphcHBSdW5uaW5nAAAAAgAAAAZpc0xpdmUAAAAHbWVzc2FnZQMJAQAAAAEhAAAAAQUAAAAGaXNJbml0CQAAAgAAAAECAAAADmRBcHAgbm90IHJlYWR5AwkBAAAACW93bmVyT25seQAAAAEFAAAAAWkJAARMAAAAAgkBAAAADEJvb2xlYW5FbnRyeQAAAAIFAAAADmRhcHBSdW5uaW5nS2V5BQAAAAZpc0xpdmUJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgUAAAARbWFpbnRlbmFuY2VNU0dLZXkFAAAAB21lc3NhZ2UFAAAAA25pbAkAAAIAAAABAgAAACJZb3UgYXJlIG5vdCBhbGxvd2VkIHRvIGNoYW5nZSB0aGlzAAAAAWkBAAAAC2RlbGV0ZUVudHJ5AAAAAQAAAAVlbnRyeQMJAQAAAAlvd25lck9ubHkAAAABBQAAAAFpCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEFAAAABWVudHJ5BQAAAANuaWwJAAACAAAAAQIAAAACbm8AAAAAnxH6DQ==", "height": 2177954, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HAhBNbjKC8kMyZkoGtN86pYQpWhvLQaKem4cwdkgXVz1 Next: gWF33UQmWApxhQJwh3r2jDT87URXuujiV5kYicekNy3 Diff:
OldNewDifferences
213213 let ah = aA._2
214214 if (!(ao(al(ag))))
215215 then throw(("Creator status is :" + al(ag)))
216- else if (!(ap(an(ah))))
217- then throw(("Artwork status is :" + an(ah)))
218- else {
219- let ak = ai(ag)
220- if ((size(ak) == 0))
221- then throw("This artist didn't allow crosschain transfer")
222- else {
223- let aB = B(v(w))
224- if (if ((aB == l))
225- then true
226- else (aB == n))
227- then throw("NFT already locked")
228- else {
229- let aC = N(z)
230- let aD = N(A)
231- let aE = if ((aB == m))
232- then true
233- else false
234- if (if (!(isDefined(W.assetId)))
235- then true
236- else (toBase58String(value(W.assetId)) != J))
237- then throw("Wrong payment asset")
238- else if (if (aE)
239- then (X > (aD + K))
240- else false)
241- then throw("Wrong payment amount to unlock")
242- else if (if (!(aE))
243- then (X > (aC + K))
216+ else if (true)
217+ then throw(toString(ap(an(ah))))
218+ else if (!(ap(an(ah))))
219+ then throw(("Artwork status is :" + an(ah)))
220+ else {
221+ let ak = ai(ag)
222+ if ((size(ak) == 0))
223+ then throw("This artist didn't allow crosschain transfer")
224+ else {
225+ let aB = B(v(w))
226+ if (if ((aB == l))
227+ then true
228+ else (aB == n))
229+ then throw("NFT already locked")
230+ else {
231+ let aC = N(z)
232+ let aD = N(A)
233+ let aE = if ((aB == m))
234+ then true
235+ else false
236+ if (if (!(isDefined(W.assetId)))
237+ then true
238+ else (toBase58String(value(W.assetId)) != J))
239+ then throw("Wrong payment asset")
240+ else if (if (aE)
241+ then (X > (aD + K))
244242 else false)
245- then throw("Wrong payment amount to mint and unlock")
246- else [StringEntry(v(w), n), StringEntry(((x(w, R) + "_") + n), ((((((((((((av + "_") + aw) + "_") + aa) + "_") + R) + "_") + value(assetInfo(value(U.assetId))).name) + "_") + toString(ay)) + "_") + toString(height)))]
247- }
248- }
249- }
243+ then throw("Wrong payment amount to unlock")
244+ else if (if (!(aE))
245+ then (X > (aC + K))
246+ else false)
247+ then throw("Wrong payment amount to mint and unlock")
248+ else [StringEntry(v(w), n), StringEntry(((x(w, R) + "_") + n), ((((((((((((av + "_") + aw) + "_") + aa) + "_") + R) + "_") + value(assetInfo(value(U.assetId))).name) + "_") + toString(ay)) + "_") + toString(height)))]
249+ }
250+ }
251+ }
250252 }
251253 }
252254
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) = {
152152 let am = M(("user_status_" + ah))
153153 am
154154 }
155155
156156
157157 func ao (am) = if ((am == p))
158158 then true
159159 else (am == q)
160160
161161
162162 func ap (ah) = if (if ((ah != r))
163163 then true
164164 else (ah != s))
165165 then true
166166 else (ah != t)
167167
168168
169169 @Callable(T)
170170 func init (aq,I,G,H) = if (Z(T))
171171 then [StringEntry(b, aq), StringEntry(c, I), StringEntry(d, G), StringEntry(e, H), BooleanEntry(a, true)]
172172 else throw("Not allowed")
173173
174174
175175
176176 @Callable(T)
177177 func setFee (ar,as) = {
178178 let P = assetInfo(fromBase58String(ar))
179179 let at = value(P).decimals
180180 let au = pow(as, 0, 10, 1, at, HALFUP)
181181 if (Z(T))
182182 then [StringEntry(f, ar), IntegerEntry(g, au)]
183183 else throw("Not allowed")
184184 }
185185
186186
187187
188188 @Callable(T)
189189 func lock (av,aw) = if (!(Y))
190190 then throw("dApp not ready")
191191 else if (!(containsElement(u, aw)))
192192 then throw("Network not supported")
193193 else {
194194 let ax = ac(T)
195195 let R = ax._1
196196 let aa = ax._2
197197 let ay = ax._3
198198 let az = S(T)
199199 let U = az._1
200200 let V = az._2
201201 let W = az._3
202202 let X = az._4
203203 if ((V != 1))
204204 then throw("No NFT attached")
205205 else {
206206 let w = if (if (isDefined(U.assetId))
207207 then Q(value(U.assetId))
208208 else false)
209209 then toBase58String(value(U.assetId))
210210 else throw("Only SIGN Art NFT accepted.")
211211 let aA = ad(w)
212212 let ag = aA._1
213213 let ah = aA._2
214214 if (!(ao(al(ag))))
215215 then throw(("Creator status is :" + al(ag)))
216- else if (!(ap(an(ah))))
217- then throw(("Artwork status is :" + an(ah)))
218- else {
219- let ak = ai(ag)
220- if ((size(ak) == 0))
221- then throw("This artist didn't allow crosschain transfer")
222- else {
223- let aB = B(v(w))
224- if (if ((aB == l))
225- then true
226- else (aB == n))
227- then throw("NFT already locked")
228- else {
229- let aC = N(z)
230- let aD = N(A)
231- let aE = if ((aB == m))
232- then true
233- else false
234- if (if (!(isDefined(W.assetId)))
235- then true
236- else (toBase58String(value(W.assetId)) != J))
237- then throw("Wrong payment asset")
238- else if (if (aE)
239- then (X > (aD + K))
240- else false)
241- then throw("Wrong payment amount to unlock")
242- else if (if (!(aE))
243- then (X > (aC + K))
216+ else if (true)
217+ then throw(toString(ap(an(ah))))
218+ else if (!(ap(an(ah))))
219+ then throw(("Artwork status is :" + an(ah)))
220+ else {
221+ let ak = ai(ag)
222+ if ((size(ak) == 0))
223+ then throw("This artist didn't allow crosschain transfer")
224+ else {
225+ let aB = B(v(w))
226+ if (if ((aB == l))
227+ then true
228+ else (aB == n))
229+ then throw("NFT already locked")
230+ else {
231+ let aC = N(z)
232+ let aD = N(A)
233+ let aE = if ((aB == m))
234+ then true
235+ else false
236+ if (if (!(isDefined(W.assetId)))
237+ then true
238+ else (toBase58String(value(W.assetId)) != J))
239+ then throw("Wrong payment asset")
240+ else if (if (aE)
241+ then (X > (aD + K))
244242 else false)
245- then throw("Wrong payment amount to mint and unlock")
246- else [StringEntry(v(w), n), StringEntry(((x(w, R) + "_") + n), ((((((((((((av + "_") + aw) + "_") + aa) + "_") + R) + "_") + value(assetInfo(value(U.assetId))).name) + "_") + toString(ay)) + "_") + toString(height)))]
247- }
248- }
249- }
243+ then throw("Wrong payment amount to unlock")
244+ else if (if (!(aE))
245+ then (X > (aC + K))
246+ else false)
247+ then throw("Wrong payment amount to mint and unlock")
248+ else [StringEntry(v(w), n), StringEntry(((x(w, R) + "_") + n), ((((((((((((av + "_") + aw) + "_") + aa) + "_") + R) + "_") + value(assetInfo(value(U.assetId))).name) + "_") + toString(ay)) + "_") + toString(height)))]
249+ }
250+ }
251+ }
250252 }
251253 }
252254
253255
254256
255257 @Callable(T)
256258 func confirmLock (w,aF) = if (!(Y))
257259 then throw("dApp not ready")
258260 else if (Z(T))
259261 then {
260262 let aB = B(v(w))
261263 if ((aB != n))
262264 then throw("NFT not pending")
263265 else {
264266 let aG = B(((x(w, aF) + "_") + n))
265267 let aH = ((x(w, aF) + "_") + o)
266268 [DeleteEntry(((x(w, aF) + "_") + n)), StringEntry(aH, aG), StringEntry(v(w), l)]
267269 }
268270 }
269271 else throw("Not allowed")
270272
271273
272274
273275 @Callable(T)
274276 func unlock (av,w) = if (!(Y))
275277 then throw("dApp not ready")
276278 else if (Z(T))
277279 then {
278280 let aB = B(v(w))
279281 if ((aB != l))
280282 then throw("NFT not locked, finalize first if pending")
281283 else [StringEntry(v(w), m), ScriptTransfer(Address(fromBase58String(av)), 1, fromBase58String(w))]
282284 }
283285 else throw("Not allowed")
284286
285287
286288
287289 @Callable(T)
288290 func appRunning (aI,aJ) = if (!(Y))
289291 then throw("dApp not ready")
290292 else if (Z(T))
291293 then [BooleanEntry(h, aI), StringEntry(i, aJ)]
292294 else throw("You are not allowed to change this")
293295
294296
295297
296298 @Callable(T)
297299 func deleteEntry (aK) = if (Z(T))
298300 then [DeleteEntry(aK)]
299301 else throw("no")
300302
301303

github/deemru/w8io/169f3d6 
42.70 ms