tx · G1MuvMVT8JoFXfs9GkhPY4W3sJBigK4g5BBKtTxa7iLC

3NBwZbvD45CscLGF78qTaDRBZ7mDBHt3Yib:  -0.00900000 Waves

2022.08.20 12:37 [2192620] smart account 3NBwZbvD45CscLGF78qTaDRBZ7mDBHt3Yib > SELF 0.00000000 Waves

{ "type": 13, "id": "G1MuvMVT8JoFXfs9GkhPY4W3sJBigK4g5BBKtTxa7iLC", "fee": 900000, "feeAssetId": null, "timestamp": 1660988293474, "version": 2, "chainId": 84, "sender": "3NBwZbvD45CscLGF78qTaDRBZ7mDBHt3Yib", "senderPublicKey": "3q3N8Kv49DbzNHyTB4A87UYz2DdquXCgP3GNCcD9Zj66", "proofs": [ "FpY83t139okrkNN3S6TAAPwAWGjmRPDT3FRo5Lb92GngtNs3FSzoU1ebyaqWJ9MSQ1SwzNs1Y3z9GAMBiDF2j6u" ], "script": "base64:BgI3CAISCgoICAgICAgBCAgSBAoCCAgSBAoCCAESBAoCCAgSBAoCCAgSBAoCCAgSBAoCBAgSAwoBCDUAB3ZlcnNpb24CAzEuMAALQ09ORl9JTklUX0sCC2NvbmZpZ19pbml0AAtDT05GX0FNSU5fSwIMY29uZmlnX2FkbWluAA1DT05GX09SQUNMRV9LAg1jb25maWdfb3JhY2xlABNDT05GX0FSVFdPUktfREFQUF9LAhNjb25maWdfYXJ0d29ya19kYXBwABFDT05GX1VTRVJTX0RBUFBfSwIRY29uZmlnX3VzZXJzX2RhcHAAEENPTkZfRkVFX0FTU0VUX0sCEGNvbmZpZ19mZWVfYXNzZXQAEUNPTkZfRkVFX0FNT1VOVF9LAhFjb25maWdfZmVlX2Ftb3VudAAVQ09ORl9TV09QX1NJR05fREFQUF9LAhVjb25maWdfc3dvcF9zaWduX2RhcHAAFENPTkZfU1dPUF9FVEhfREFQUF9LAhRjb25maWdfc3dvcF9ldGhfZGFwcAAOZGFwcFJ1bm5pbmdLZXkCFGNvbmZfZGFwcF9pc19ydW5uaW5nABFtYWludGVuYW5jZU1TR0t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BWVudHJ5AwkBCW93bmVyT25seQEFAWkJAMwIAgkBC0RlbGV0ZUVudHJ5AQUFZW50cnkFA25pbAkAAgECAm5vAIuQ248=", "height": 2192620, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3gH8THxNKMtCmgJBNM3bAJx5Prwo7vgz4QETMUymaVRt Next: 4Pj6rF4A3wq8AbSABHpiF1gxAANVr8wETSkMjMwTBv8V Diff:
OldNewDifferences
172172 else false
173173
174174
175+func at (am) = if ((size(am) == 42))
176+ then (take(am, 2) == "0x")
177+ else false
178+
179+
175180 @Callable(W)
176-func init (at,L,J,K,au,av,aw,ax) = if (ac(W))
181+func init (au,L,J,K,av,aw,ax,ay) = if (ac(W))
177182 then {
178- let ay = invoke(this, "setFee", [au, av], nil)
179- if ((ay == ay))
183+ let az = invoke(this, "setFee", [av, aw], nil)
184+ if ((az == az))
180185 then {
181- let az = invoke(this, "setSwopDapps", [aw, ax], nil)
182- if ((az == az))
183- then [StringEntry(c, at), StringEntry(d, L), StringEntry(e, J), StringEntry(f, K), BooleanEntry(b, true)]
186+ let aA = invoke(this, "setSwopDapps", [ax, ay], nil)
187+ if ((aA == aA))
188+ then [StringEntry(c, au), StringEntry(d, L), StringEntry(e, J), StringEntry(f, K), BooleanEntry(b, true)]
184189 else throw("Strict value is not equal to itself.")
185190 }
186191 else throw("Strict value is not equal to itself.")
190195
191196
192197 @Callable(W)
193-func setSwopDapps (aw,ax) = if (ac(W))
194- then [StringEntry(i, aw), StringEntry(j, ax)]
198+func setSwopDapps (ax,ay) = if (ac(W))
199+ then [StringEntry(i, ax), StringEntry(j, ay)]
195200 else throw("Not allowed")
196201
197202
198203
199204 @Callable(W)
200-func setFee (au,av) = {
201- let S = assetInfo(fromBase58String(au))
202- let aA = value(S).decimals
203- let aB = pow(av, 0, 10, 1, aA, HALFUP)
205+func setFee (av,aw) = {
206+ let S = assetInfo(fromBase58String(av))
207+ let aB = value(S).decimals
208+ let aC = pow(aw, 0, 10, 1, aB, HALFUP)
204209 if (ac(W))
205- then [StringEntry(g, au), IntegerEntry(h, aB)]
210+ then [StringEntry(g, av), IntegerEntry(h, aC)]
206211 else throw("Not allowed")
207212 }
208213
209214
210215
211216 @Callable(W)
212-func lock (aC,aD) = if (!(ab))
217+func lock (aD,aE) = if (!(ab))
213218 then throw("dApp not ready")
214- else if (!(containsElement(x, aD)))
219+ else if (!(containsElement(x, aE)))
215220 then throw("Network not supported")
216- else {
217- let aE = af(W)
218- let U = aE._1
219- let ad = aE._2
220- let aF = aE._3
221- let aG = V(W)
222- let X = aG._1
223- let Y = aG._2
224- let Z = aG._3
225- let aa = aG._4
226- if ((Y != 1))
227- then throw("No NFT attached")
228- else {
229- let z = if (if (isDefined(X.assetId))
230- then T(value(X.assetId))
231- else false)
232- then toBase58String(value(X.assetId))
233- else throw("Only SIGN Art NFT accepted.")
234- let aH = ag(z)
235- let aj = aH._1
236- let ak = aH._2
237- if (!(ar(ao(aj))))
238- then throw(("Creator status is :" + ao(aj)))
239- else if (!(as(aq(ak, aj))))
240- then throw(("Artwork status is :" + aq(ak, aj)))
241- else {
242- let an = al(aj)
243- if ((size(an) == 0))
244- then throw("This artist didn't allow crosschain transfer")
245- else {
246- let aI = E(y(z))
247- if (if ((aI == o))
248- then true
249- else (aI == q))
250- then throw("NFT already locked")
251- else {
252- let aJ = Q(C)
253- let aK = Q(D)
254- let aL = if ((aI == p))
255- then true
256- else false
257- if (if (!(isDefined(Z.assetId)))
258- then true
259- else (toBase58String(value(Z.assetId)) != M))
260- then throw("Wrong payment asset")
261- else if (if (aL)
262- then (aa > (aK + N))
263- else false)
264- then throw("Wrong payment amount to unlock")
265- else if (if (!(aL))
266- then (aa > (aJ + N))
221+ else if (!(at(aD)))
222+ then throw("Wrong recipient address")
223+ else {
224+ let aF = af(W)
225+ let U = aF._1
226+ let ad = aF._2
227+ let aG = aF._3
228+ let aH = V(W)
229+ let X = aH._1
230+ let Y = aH._2
231+ let Z = aH._3
232+ let aa = aH._4
233+ if ((Y != 1))
234+ then throw("No NFT attached")
235+ else {
236+ let z = if (if (isDefined(X.assetId))
237+ then T(value(X.assetId))
238+ else false)
239+ then toBase58String(value(X.assetId))
240+ else throw("Only SIGN Art NFT accepted.")
241+ let aI = ag(z)
242+ let aj = aI._1
243+ let ak = aI._2
244+ if (!(ar(ao(aj))))
245+ then throw(("Creator status is :" + ao(aj)))
246+ else if (!(as(aq(ak, aj))))
247+ then throw(("Artwork status is :" + aq(ak, aj)))
248+ else {
249+ let an = al(aj)
250+ if ((size(an) == 0))
251+ then throw("This artist didn't allow crosschain transfer")
252+ else {
253+ let aJ = E(y(z))
254+ if (if ((aJ == o))
255+ then true
256+ else (aJ == q))
257+ then throw("NFT already locked")
258+ else {
259+ let aK = Q(C)
260+ let aL = Q(D)
261+ let aM = if ((aJ == p))
262+ then true
263+ else false
264+ if (if (!(isDefined(Z.assetId)))
265+ then true
266+ else (toBase58String(value(Z.assetId)) != M))
267+ then throw("Wrong payment asset")
268+ else if (if (aM)
269+ then (aa > (aL + N))
267270 else false)
268- then throw("Wrong payment amount to mint and unlock")
269- else {
270- let aM = if (aL)
271- then aK
272- else aJ
273- let aN = invoke(addressFromStringValue(E(i)), "exchange", [1], [AttachedPayment(fromBase58String(M), N)])
274- if ((aN == aN))
275- then {
276- let aO = invoke(addressFromStringValue(E(j)), "exchange", [1], [AttachedPayment(fromBase58String(M), aM)])
277- if ((aO == aO))
278- then [StringEntry(y(z), q), StringEntry(((A(z, U) + "_") + q), ((((((((((((aC + "_") + aD) + "_") + ad) + "_") + U) + "_") + value(assetInfo(value(X.assetId))).name) + "_") + toString(aF)) + "_") + toString(height)))]
279- else throw("Strict value is not equal to itself.")
280- }
281- else throw("Strict value is not equal to itself.")
282- }
283- }
284- }
285- }
286- }
287- }
271+ then throw("Wrong payment amount to unlock")
272+ else if (if (!(aM))
273+ then (aa > (aK + N))
274+ else false)
275+ then throw("Wrong payment amount to mint and unlock")
276+ else {
277+ let aN = if (aM)
278+ then aL
279+ else aK
280+ let aO = invoke(addressFromStringValue(E(i)), "exchange", [1], [AttachedPayment(fromBase58String(M), N)])
281+ if ((aO == aO))
282+ then {
283+ let aP = invoke(addressFromStringValue(E(j)), "exchange", [1], [AttachedPayment(fromBase58String(M), aN)])
284+ if ((aP == aP))
285+ then [StringEntry(y(z), q), StringEntry(((A(z, U) + "_") + q), ((((((((((((aD + "_") + aE) + "_") + ad) + "_") + U) + "_") + value(assetInfo(value(X.assetId))).name) + "_") + toString(aG)) + "_") + toString(height)))]
286+ else throw("Strict value is not equal to itself.")
287+ }
288+ else throw("Strict value is not equal to itself.")
289+ }
290+ }
291+ }
292+ }
293+ }
294+ }
288295
289296
290297
291298 @Callable(W)
292-func confirmLock (z,aP) = if (!(ab))
299+func confirmLock (z,aQ) = if (!(ab))
293300 then throw("dApp not ready")
294301 else if (ac(W))
295302 then {
296- let aI = E(y(z))
297- if ((aI != q))
303+ let aJ = E(y(z))
304+ if ((aJ != q))
298305 then throw("NFT not pending")
299306 else {
300- let aQ = E(((A(z, aP) + "_") + q))
301- let aR = ((A(z, aP) + "_") + r)
302-[DeleteEntry(((A(z, aP) + "_") + q)), StringEntry(aR, aQ), StringEntry(y(z), o)]
307+ let aR = E(((A(z, aQ) + "_") + q))
308+ let aS = ((A(z, aQ) + "_") + r)
309+[DeleteEntry(((A(z, aQ) + "_") + q)), StringEntry(aS, aR), StringEntry(y(z), o)]
303310 }
304311 }
305312 else throw("Not allowed")
307314
308315
309316 @Callable(W)
310-func unlock (aC,z) = if (!(ab))
317+func unlock (aD,z) = if (!(ab))
311318 then throw("dApp not ready")
312319 else if (ac(W))
313320 then {
314- let aI = E(y(z))
315- if ((aI != o))
321+ let aJ = E(y(z))
322+ if ((aJ != o))
316323 then throw("NFT not locked, finalize first if pending")
317- else [StringEntry(y(z), p), ScriptTransfer(Address(fromBase58String(aC)), 1, fromBase58String(z))]
324+ else [StringEntry(y(z), p), ScriptTransfer(Address(fromBase58String(aD)), 1, fromBase58String(z))]
318325 }
319326 else throw("Not allowed")
320327
321328
322329
323330 @Callable(W)
324-func appRunning (aS,aT) = if (!(ab))
331+func appRunning (aT,aU) = if (!(ab))
325332 then throw("dApp not ready")
326333 else if (ac(W))
327- then [BooleanEntry(k, aS), StringEntry(l, aT)]
334+ then [BooleanEntry(k, aT), StringEntry(l, aU)]
328335 else throw("You are not allowed to change this")
329336
330337
331338
332339 @Callable(W)
333-func deleteEntry (aU) = if (ac(W))
334- then [DeleteEntry(aU)]
340+func deleteEntry (aV) = if (ac(W))
341+ then [DeleteEntry(aV)]
335342 else throw("no")
336343
337344
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "1.0"
55
66 let b = "config_init"
77
88 let c = "config_admin"
99
1010 let d = "config_oracle"
1111
1212 let e = "config_artwork_dapp"
1313
1414 let f = "config_users_dapp"
1515
1616 let g = "config_fee_asset"
1717
1818 let h = "config_fee_amount"
1919
2020 let i = "config_swop_sign_dapp"
2121
2222 let j = "config_swop_eth_dapp"
2323
2424 let k = "conf_dapp_is_running"
2525
2626 let l = "conf_maintenance_msg"
2727
2828 let m = valueOrElse(getBoolean(this, k), true)
2929
3030 let n = valueOrElse(getString(this, l), "")
3131
3232 let o = "LOCKED"
3333
3434 let p = "UNLOCKED"
3535
3636 let q = "PENDING"
3737
3838 let r = "CLOSED"
3939
4040 let s = "REGISTERED"
4141
4242 let t = "VERIFIED"
4343
4444 let u = "FLAGGED"
4545
4646 let v = "ILLEGAL"
4747
4848 let w = "CHANGE_REQUIRED"
4949
5050 let x = ["ETH"]
5151
5252 func y (z) = (("nft_" + z) + "_status")
5353
5454
5555 func A (z,B) = ((("transfer_" + z) + "_") + B)
5656
5757
5858 let C = "cost_non_minted"
5959
6060 let D = "cost_minted"
6161
6262 func E (F) = valueOrElse(getString(this, F), "")
6363
6464
6565 func G (F) = valueOrElse(getInteger(this, F), 0)
6666
6767
6868 func H (F) = valueOrElse(getBoolean(this, F), false)
6969
7070
7171 let I = value(addressFromString(E(c)))
7272
7373 let J = value(addressFromString(E(e)))
7474
7575 let K = value(addressFromString(E(f)))
7676
7777 let L = value(addressFromString(E(d)))
7878
7979 let M = E(g)
8080
8181 let N = G(h)
8282
8383 func O (F) = valueOrElse(getString(K, F), "")
8484
8585
8686 func P (F) = valueOrElse(getString(J, F), "")
8787
8888
8989 func Q (F) = valueOrErrorMessage(getInteger(L, F), "Integer undefine or 0 in oracle")
9090
9191
9292 func R (S) = if (if (if ((S.quantity == 1))
9393 then (S.decimals == 0)
9494 else false)
9595 then (S.reissuable == false)
9696 else false)
9797 then (S.issuer == J)
9898 else false
9999
100100
101101 func T (U) = {
102102 let S = value(assetInfo(U))
103103 R(S)
104104 }
105105
106106
107107 func V (W) = if ((size(W.payments) == 0))
108108 then throw("No payment attached")
109109 else {
110110 let X = value(W.payments[0])
111111 let Y = value(X.amount)
112112 let Z = value(W.payments[1])
113113 let aa = value(Z.amount)
114114 $Tuple4(X, Y, Z, aa)
115115 }
116116
117117
118118 let ab = valueOrElse(H(b), false)
119119
120120 func ac (W) = {
121121 let ad = toString(W.caller)
122122 let U = toBase58String(W.transactionId)
123123 let ae = if (ab)
124124 then [toString(I), toString(this)]
125125 else [toString(this)]
126126 if (containsElement(ae, ad))
127127 then true
128128 else false
129129 }
130130
131131
132132 func af (W) = if (!(m))
133133 then throw(n)
134134 else $Tuple3(toBase58String(W.transactionId), toBase58String(W.caller.bytes), lastBlock.timestamp)
135135
136136
137137 func ag (ah) = {
138138 let ai = P(("nft_" + ah))
139139 let aj = split(ai, "_")[6]
140140 let ak = split(ai, "_")[5]
141141 $Tuple2(aj, ak)
142142 }
143143
144144
145145 func al (am) = {
146146 let an = O(("user_ERC20_" + am))
147147 an
148148 }
149149
150150
151151 func ao (am) = {
152152 let ap = O(("user_status_" + am))
153153 ap
154154 }
155155
156156
157157 func aq (ak,am) = {
158158 let ap = P(((("art_flag_" + ak) + "_") + am))
159159 ap
160160 }
161161
162162
163163 func ar (ap) = if ((ap == s))
164164 then true
165165 else (ap == t)
166166
167167
168168 func as (ap) = if (if ((ap != u))
169169 then (ap != v)
170170 else false)
171171 then (ap != w)
172172 else false
173173
174174
175+func at (am) = if ((size(am) == 42))
176+ then (take(am, 2) == "0x")
177+ else false
178+
179+
175180 @Callable(W)
176-func init (at,L,J,K,au,av,aw,ax) = if (ac(W))
181+func init (au,L,J,K,av,aw,ax,ay) = if (ac(W))
177182 then {
178- let ay = invoke(this, "setFee", [au, av], nil)
179- if ((ay == ay))
183+ let az = invoke(this, "setFee", [av, aw], nil)
184+ if ((az == az))
180185 then {
181- let az = invoke(this, "setSwopDapps", [aw, ax], nil)
182- if ((az == az))
183- then [StringEntry(c, at), StringEntry(d, L), StringEntry(e, J), StringEntry(f, K), BooleanEntry(b, true)]
186+ let aA = invoke(this, "setSwopDapps", [ax, ay], nil)
187+ if ((aA == aA))
188+ then [StringEntry(c, au), StringEntry(d, L), StringEntry(e, J), StringEntry(f, K), BooleanEntry(b, true)]
184189 else throw("Strict value is not equal to itself.")
185190 }
186191 else throw("Strict value is not equal to itself.")
187192 }
188193 else throw("Not allowed")
189194
190195
191196
192197 @Callable(W)
193-func setSwopDapps (aw,ax) = if (ac(W))
194- then [StringEntry(i, aw), StringEntry(j, ax)]
198+func setSwopDapps (ax,ay) = if (ac(W))
199+ then [StringEntry(i, ax), StringEntry(j, ay)]
195200 else throw("Not allowed")
196201
197202
198203
199204 @Callable(W)
200-func setFee (au,av) = {
201- let S = assetInfo(fromBase58String(au))
202- let aA = value(S).decimals
203- let aB = pow(av, 0, 10, 1, aA, HALFUP)
205+func setFee (av,aw) = {
206+ let S = assetInfo(fromBase58String(av))
207+ let aB = value(S).decimals
208+ let aC = pow(aw, 0, 10, 1, aB, HALFUP)
204209 if (ac(W))
205- then [StringEntry(g, au), IntegerEntry(h, aB)]
210+ then [StringEntry(g, av), IntegerEntry(h, aC)]
206211 else throw("Not allowed")
207212 }
208213
209214
210215
211216 @Callable(W)
212-func lock (aC,aD) = if (!(ab))
217+func lock (aD,aE) = if (!(ab))
213218 then throw("dApp not ready")
214- else if (!(containsElement(x, aD)))
219+ else if (!(containsElement(x, aE)))
215220 then throw("Network not supported")
216- else {
217- let aE = af(W)
218- let U = aE._1
219- let ad = aE._2
220- let aF = aE._3
221- let aG = V(W)
222- let X = aG._1
223- let Y = aG._2
224- let Z = aG._3
225- let aa = aG._4
226- if ((Y != 1))
227- then throw("No NFT attached")
228- else {
229- let z = if (if (isDefined(X.assetId))
230- then T(value(X.assetId))
231- else false)
232- then toBase58String(value(X.assetId))
233- else throw("Only SIGN Art NFT accepted.")
234- let aH = ag(z)
235- let aj = aH._1
236- let ak = aH._2
237- if (!(ar(ao(aj))))
238- then throw(("Creator status is :" + ao(aj)))
239- else if (!(as(aq(ak, aj))))
240- then throw(("Artwork status is :" + aq(ak, aj)))
241- else {
242- let an = al(aj)
243- if ((size(an) == 0))
244- then throw("This artist didn't allow crosschain transfer")
245- else {
246- let aI = E(y(z))
247- if (if ((aI == o))
248- then true
249- else (aI == q))
250- then throw("NFT already locked")
251- else {
252- let aJ = Q(C)
253- let aK = Q(D)
254- let aL = if ((aI == p))
255- then true
256- else false
257- if (if (!(isDefined(Z.assetId)))
258- then true
259- else (toBase58String(value(Z.assetId)) != M))
260- then throw("Wrong payment asset")
261- else if (if (aL)
262- then (aa > (aK + N))
263- else false)
264- then throw("Wrong payment amount to unlock")
265- else if (if (!(aL))
266- then (aa > (aJ + N))
221+ else if (!(at(aD)))
222+ then throw("Wrong recipient address")
223+ else {
224+ let aF = af(W)
225+ let U = aF._1
226+ let ad = aF._2
227+ let aG = aF._3
228+ let aH = V(W)
229+ let X = aH._1
230+ let Y = aH._2
231+ let Z = aH._3
232+ let aa = aH._4
233+ if ((Y != 1))
234+ then throw("No NFT attached")
235+ else {
236+ let z = if (if (isDefined(X.assetId))
237+ then T(value(X.assetId))
238+ else false)
239+ then toBase58String(value(X.assetId))
240+ else throw("Only SIGN Art NFT accepted.")
241+ let aI = ag(z)
242+ let aj = aI._1
243+ let ak = aI._2
244+ if (!(ar(ao(aj))))
245+ then throw(("Creator status is :" + ao(aj)))
246+ else if (!(as(aq(ak, aj))))
247+ then throw(("Artwork status is :" + aq(ak, aj)))
248+ else {
249+ let an = al(aj)
250+ if ((size(an) == 0))
251+ then throw("This artist didn't allow crosschain transfer")
252+ else {
253+ let aJ = E(y(z))
254+ if (if ((aJ == o))
255+ then true
256+ else (aJ == q))
257+ then throw("NFT already locked")
258+ else {
259+ let aK = Q(C)
260+ let aL = Q(D)
261+ let aM = if ((aJ == p))
262+ then true
263+ else false
264+ if (if (!(isDefined(Z.assetId)))
265+ then true
266+ else (toBase58String(value(Z.assetId)) != M))
267+ then throw("Wrong payment asset")
268+ else if (if (aM)
269+ then (aa > (aL + N))
267270 else false)
268- then throw("Wrong payment amount to mint and unlock")
269- else {
270- let aM = if (aL)
271- then aK
272- else aJ
273- let aN = invoke(addressFromStringValue(E(i)), "exchange", [1], [AttachedPayment(fromBase58String(M), N)])
274- if ((aN == aN))
275- then {
276- let aO = invoke(addressFromStringValue(E(j)), "exchange", [1], [AttachedPayment(fromBase58String(M), aM)])
277- if ((aO == aO))
278- then [StringEntry(y(z), q), StringEntry(((A(z, U) + "_") + q), ((((((((((((aC + "_") + aD) + "_") + ad) + "_") + U) + "_") + value(assetInfo(value(X.assetId))).name) + "_") + toString(aF)) + "_") + toString(height)))]
279- else throw("Strict value is not equal to itself.")
280- }
281- else throw("Strict value is not equal to itself.")
282- }
283- }
284- }
285- }
286- }
287- }
271+ then throw("Wrong payment amount to unlock")
272+ else if (if (!(aM))
273+ then (aa > (aK + N))
274+ else false)
275+ then throw("Wrong payment amount to mint and unlock")
276+ else {
277+ let aN = if (aM)
278+ then aL
279+ else aK
280+ let aO = invoke(addressFromStringValue(E(i)), "exchange", [1], [AttachedPayment(fromBase58String(M), N)])
281+ if ((aO == aO))
282+ then {
283+ let aP = invoke(addressFromStringValue(E(j)), "exchange", [1], [AttachedPayment(fromBase58String(M), aN)])
284+ if ((aP == aP))
285+ then [StringEntry(y(z), q), StringEntry(((A(z, U) + "_") + q), ((((((((((((aD + "_") + aE) + "_") + ad) + "_") + U) + "_") + value(assetInfo(value(X.assetId))).name) + "_") + toString(aG)) + "_") + toString(height)))]
286+ else throw("Strict value is not equal to itself.")
287+ }
288+ else throw("Strict value is not equal to itself.")
289+ }
290+ }
291+ }
292+ }
293+ }
294+ }
288295
289296
290297
291298 @Callable(W)
292-func confirmLock (z,aP) = if (!(ab))
299+func confirmLock (z,aQ) = if (!(ab))
293300 then throw("dApp not ready")
294301 else if (ac(W))
295302 then {
296- let aI = E(y(z))
297- if ((aI != q))
303+ let aJ = E(y(z))
304+ if ((aJ != q))
298305 then throw("NFT not pending")
299306 else {
300- let aQ = E(((A(z, aP) + "_") + q))
301- let aR = ((A(z, aP) + "_") + r)
302-[DeleteEntry(((A(z, aP) + "_") + q)), StringEntry(aR, aQ), StringEntry(y(z), o)]
307+ let aR = E(((A(z, aQ) + "_") + q))
308+ let aS = ((A(z, aQ) + "_") + r)
309+[DeleteEntry(((A(z, aQ) + "_") + q)), StringEntry(aS, aR), StringEntry(y(z), o)]
303310 }
304311 }
305312 else throw("Not allowed")
306313
307314
308315
309316 @Callable(W)
310-func unlock (aC,z) = if (!(ab))
317+func unlock (aD,z) = if (!(ab))
311318 then throw("dApp not ready")
312319 else if (ac(W))
313320 then {
314- let aI = E(y(z))
315- if ((aI != o))
321+ let aJ = E(y(z))
322+ if ((aJ != o))
316323 then throw("NFT not locked, finalize first if pending")
317- else [StringEntry(y(z), p), ScriptTransfer(Address(fromBase58String(aC)), 1, fromBase58String(z))]
324+ else [StringEntry(y(z), p), ScriptTransfer(Address(fromBase58String(aD)), 1, fromBase58String(z))]
318325 }
319326 else throw("Not allowed")
320327
321328
322329
323330 @Callable(W)
324-func appRunning (aS,aT) = if (!(ab))
331+func appRunning (aT,aU) = if (!(ab))
325332 then throw("dApp not ready")
326333 else if (ac(W))
327- then [BooleanEntry(k, aS), StringEntry(l, aT)]
334+ then [BooleanEntry(k, aT), StringEntry(l, aU)]
328335 else throw("You are not allowed to change this")
329336
330337
331338
332339 @Callable(W)
333-func deleteEntry (aU) = if (ac(W))
334- then [DeleteEntry(aU)]
340+func deleteEntry (aV) = if (ac(W))
341+ then [DeleteEntry(aV)]
335342 else throw("no")
336343
337344

github/deemru/w8io/169f3d6 
67.97 ms