tx · AJ8u6LzVsNKamjW31VAMTKj8KXSfvzEcxd3ZtEfAMNyq

3NBwZbvD45CscLGF78qTaDRBZ7mDBHt3Yib:  -0.00800000 Waves

2022.08.10 09:31 [2177990] smart account 3NBwZbvD45CscLGF78qTaDRBZ7mDBHt3Yib > SELF 0.00000000 Waves

{ "type": 13, "id": "AJ8u6LzVsNKamjW31VAMTKj8KXSfvzEcxd3ZtEfAMNyq", "fee": 800000, "feeAssetId": null, "timestamp": 1660113104113, "version": 2, "chainId": 84, "sender": "3NBwZbvD45CscLGF78qTaDRBZ7mDBHt3Yib", "senderPublicKey": "3q3N8Kv49DbzNHyTB4A87UYz2DdquXCgP3GNCcD9Zj66", "proofs": [ "2QWw6DV6gLA365ZzaHLu4YY4sFaC5AESNML8Jnc2xgUidaEpDaxqXUNDCc81aoCHoUimp3hthFqARPwHKe5QRHNJ" ], "script": "base64:BgIvCAISCAoGCAgICAgBEgQKAggBEgQKAggIEgQKAggIEgQKAggIEgQKAgQIEgMKAQgyAAd2ZXJzaW9uAgMxLjAAC0NPTkZfSU5JVF9LAgtjb25maWdfaW5pdAALQ09ORl9BTUlOX0sCDGNvbmZpZ19hZG1pbgANQ09ORl9PUkFDTEVfSwINY29uZmlnX29yYWNsZQATQ09ORl9BUlRXT1JLX0RBUFBfSwITY29uZmlnX2FydHdvcmtfZGFwcAARQ09ORl9VU0VSU19EQVBQX0sCEWNvbmZpZ191c2Vyc19kYXBwABBDT05GX0ZFRV9BU1NFVF9LAhBjb25maWdfZmVlX2Fzc2V0ABFDT05GX0ZFRV9BTU9VTlRfSwIRY29uZmlnX2ZlZV9hbW91bnQADmRhcHBSdW5uaW5nS2V5AhRjb25mX2RhcHBfaXNfcnVubmluZwARbWFpbnRlbmFuY2VNU0dLZXkCFGNvbmZfbWFpbnRlbmFuY2VfbXNnAAtkYXBwUnVubmluZwkBC3ZhbHVlT3JFbHNlAgkAmwgCBQR0aGlzBQ5kYXBwUnVubmluZ0tleQYADm1haW50ZW5hbmN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RhdHVzAQUFbmZ0SWQDCQECIT0CBQluZnRTdGF0dXMFDXN0YXR1c19MT0NLRUQJAAIBAilORlQgbm90IGxvY2tlZCwgZmluYWxpemUgZmlyc3QgaWYgcGVuZGluZwkAzAgCCQELU3RyaW5nRW50cnkCCQEMa2V5TkZUc3RhdHVzAQUFbmZ0SWQFD3N0YXR1c19VTkxPQ0tFRAkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCQEHQWRkcmVzcwEJANkEAQUJcmVjaXBpZW50AAEJANkEAQUFbmZ0SWQFA25pbAkAAgECC05vdCBhbGxvd2VkAWkBCmFwcFJ1bm5pbmcCBmlzTGl2ZQdtZXNzYWdlAwkBASEBBQZpc0luaXQJAAIBAg5kQXBwIG5vdCByZWFkeQMJAQlvd25lck9ubHkBBQFpCQDMCAIJAQxCb29sZWFuRW50cnkCBQ5kYXBwUnVubmluZ0tleQUGaXNMaXZlCQDMCAIJAQtTdHJpbmdFbnRyeQIFEW1haW50ZW5hbmNlTVNHS2V5BQdtZXNzYWdlBQNuaWwJAAIBAiJZb3UgYXJlIG5vdCBhbGxvd2VkIHRvIGNoYW5nZSB0aGlzAWkBC2RlbGV0ZUVudHJ5AQVlbnRyeQMJAQlvd25lck9ubHkBBQFpCQDMCAIJAQtEZWxldGVFbnRyeQEFBWVudHJ5BQNuaWwJAAIBAgJubwB2hkVa", "height": 2177990, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6YaVbxpLSqPwhWiE4KsT1NeAREGiniRXsjQsB1Xcdspq Next: F7m79Gp3sp4KEaYRBtYVET62vDShyAVDQYMwW7ED1VVJ 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 = "conf_dapp_is_running"
2121
2222 let j = "conf_maintenance_msg"
2323
2424 let k = valueOrElse(getBoolean(this, i), true)
2525
2626 let l = valueOrElse(getString(this, j), "")
2727
2828 let m = "LOCKED"
2929
3030 let n = "UNLOCKED"
3131
3232 let o = "PENDING"
3333
3434 let p = "CLOSED"
3535
3636 let q = "REGISTERED"
3737
3838 let r = "VERIFIED"
3939
4040 let s = "FLAGGED"
4141
4242 let t = "ILLEGAL"
4343
4444 let u = "CHANGE_REQUIRED"
4545
4646 let v = ["ETH", "POLYGON"]
4747
4848 func w (x) = (("nft_" + x) + "_status")
4949
5050
5151 func y (x,z) = ((("transfer_" + x) + "_") + z)
5252
5353
5454 let A = "cost_non_minted"
5555
5656 let B = "cost_minted"
5757
5858 func C (D) = valueOrElse(getString(this, D), "")
5959
6060
6161 func E (D) = valueOrElse(getInteger(this, D), 0)
6262
6363
6464 func F (D) = valueOrElse(getBoolean(this, D), false)
6565
6666
6767 let G = value(addressFromString(C(c)))
6868
6969 let H = value(addressFromString(C(e)))
7070
7171 let I = value(addressFromString(C(f)))
7272
7373 let J = value(addressFromString(C(d)))
7474
7575 let K = C(g)
7676
7777 let L = E(h)
7878
7979 func M (D) = valueOrElse(getString(I, D), "")
8080
8181
8282 func N (D) = valueOrElse(getString(H, D), "")
8383
8484
8585 func O (D) = valueOrErrorMessage(getInteger(J, D), "Integer undefine or 0 in oracle")
8686
8787
8888 func P (Q) = if (if (if ((Q.quantity == 1))
8989 then (Q.decimals == 0)
9090 else false)
9191 then (Q.reissuable == false)
9292 else false)
9393 then (Q.issuer == H)
9494 else false
9595
9696
9797 func R (S) = {
9898 let Q = value(assetInfo(S))
9999 P(Q)
100100 }
101101
102102
103103 func T (U) = if ((size(U.payments) == 0))
104104 then throw("No payment attached")
105105 else {
106106 let V = value(U.payments[0])
107107 let W = value(V.amount)
108108 let X = value(U.payments[1])
109109 let Y = value(X.amount)
110110 $Tuple4(V, W, X, Y)
111111 }
112112
113113
114114 let Z = valueOrElse(F(b), false)
115115
116116 func aa (U) = {
117117 let ab = toString(U.caller)
118118 let S = toBase58String(U.transactionId)
119119 let ac = if (Z)
120120 then [toString(G), toString(this)]
121121 else [toString(this)]
122122 if (containsElement(ac, ab))
123123 then true
124124 else false
125125 }
126126
127127
128128 func ad (U) = if (!(k))
129129 then throw(l)
130130 else $Tuple3(toBase58String(U.transactionId), toBase58String(U.caller.bytes), lastBlock.timestamp)
131131
132132
133133 func ae (af) = {
134134 let ag = N(("nft_" + af))
135135 let ah = split(ag, "_")[6]
136136 let ai = split(ag, "_")[5]
137137 $Tuple2(ah, ai)
138138 }
139139
140140
141141 func aj (ak) = {
142142 let al = M(("user_ERC20_" + ak))
143143 al
144144 }
145145
146146
147147 func am (ak) = {
148148 let an = M(("user_status_" + ak))
149149 an
150150 }
151151
152152
153153 func ao (ai,ak) = {
154154 let an = N(((("art_flag_" + ai) + "_") + ak))
155155 an
156156 }
157157
158158
159159 func ap (an) = if ((an == q))
160160 then true
161161 else (an == r)
162162
163163
164164 func aq (an) = if (if ((an != s))
165165 then (an != t)
166166 else false)
167167 then (an != u)
168168 else false
169169
170170
171171 @Callable(U)
172172 func init (ar,J,H,I,as,at) = if (aa(U))
173173 then {
174174 let au = invoke(this, "setFee", [as, at], nil)
175175 if ((au == au))
176176 then [StringEntry(c, ar), StringEntry(d, J), StringEntry(e, H), StringEntry(f, I), BooleanEntry(b, true)]
177177 else throw("Strict value is not equal to itself.")
178178 }
179179 else throw("Not allowed")
180180
181181
182182
183183 @Callable(U)
184184 func setFee (as,at) = {
185185 let Q = assetInfo(fromBase58String(as))
186186 let av = value(Q).decimals
187187 let aw = pow(at, 0, 10, 1, av, HALFUP)
188188 if (aa(U))
189189 then [StringEntry(g, as), IntegerEntry(h, aw)]
190190 else throw("Not allowed")
191191 }
192192
193193
194194
195195 @Callable(U)
196196 func lock (ax,ay) = if (!(Z))
197197 then throw("dApp not ready")
198198 else if (!(containsElement(v, ay)))
199199 then throw("Network not supported")
200200 else {
201201 let az = ad(U)
202202 let S = az._1
203203 let ab = az._2
204204 let aA = az._3
205205 let aB = T(U)
206206 let V = aB._1
207207 let W = aB._2
208208 let X = aB._3
209209 let Y = aB._4
210210 if ((W != 1))
211211 then throw("No NFT attached")
212212 else {
213213 let x = if (if (isDefined(V.assetId))
214214 then R(value(V.assetId))
215215 else false)
216216 then toBase58String(value(V.assetId))
217217 else throw("Only SIGN Art NFT accepted.")
218218 let aC = ae(x)
219219 let ah = aC._1
220220 let ai = aC._2
221221 if (!(ap(am(ah))))
222222 then throw(("Creator status is :" + am(ah)))
223223 else if (!(aq(ao(ai, ah))))
224224 then throw(("Artwork status is :" + ao(ai, ah)))
225225 else {
226226 let al = aj(ah)
227227 if ((size(al) == 0))
228228 then throw("This artist didn't allow crosschain transfer")
229229 else {
230230 let aD = C(w(x))
231231 if (if ((aD == m))
232232 then true
233233 else (aD == o))
234234 then throw("NFT already locked")
235235 else {
236236 let aE = O(A)
237237 let aF = O(B)
238238 let aG = if ((aD == n))
239239 then true
240240 else false
241241 if (if (!(isDefined(X.assetId)))
242242 then true
243243 else (toBase58String(value(X.assetId)) != K))
244244 then throw("Wrong payment asset")
245245 else if (if (aG)
246246 then (Y > (aF + L))
247247 else false)
248248 then throw("Wrong payment amount to unlock")
249249 else if (if (!(aG))
250250 then (Y > (aE + L))
251251 else false)
252252 then throw("Wrong payment amount to mint and unlock")
253253 else [StringEntry(w(x), o), StringEntry(((y(x, S) + "_") + o), ((((((((((((ax + "_") + ay) + "_") + ab) + "_") + S) + "_") + value(assetInfo(value(V.assetId))).name) + "_") + toString(aA)) + "_") + toString(height)))]
254254 }
255255 }
256256 }
257257 }
258258 }
259259
260260
261261
262262 @Callable(U)
263263 func confirmLock (x,aH) = if (!(Z))
264264 then throw("dApp not ready")
265265 else if (aa(U))
266266 then {
267267 let aD = C(w(x))
268268 if ((aD != o))
269269 then throw("NFT not pending")
270270 else {
271271 let aI = C(((y(x, aH) + "_") + o))
272272 let aJ = ((y(x, aH) + "_") + p)
273273 [DeleteEntry(((y(x, aH) + "_") + o)), StringEntry(aJ, aI), StringEntry(w(x), m)]
274274 }
275275 }
276276 else throw("Not allowed")
277277
278278
279279
280280 @Callable(U)
281281 func unlock (ax,x) = if (!(Z))
282282 then throw("dApp not ready")
283283 else if (aa(U))
284284 then {
285285 let aD = C(w(x))
286286 if ((aD != m))
287287 then throw("NFT not locked, finalize first if pending")
288288 else [StringEntry(w(x), n), ScriptTransfer(Address(fromBase58String(ax)), 1, fromBase58String(x))]
289289 }
290290 else throw("Not allowed")
291291
292292
293293
294294 @Callable(U)
295295 func appRunning (aK,aL) = if (!(Z))
296296 then throw("dApp not ready")
297297 else if (aa(U))
298298 then [BooleanEntry(i, aK), StringEntry(j, aL)]
299299 else throw("You are not allowed to change this")
300300
301301
302302
303303 @Callable(U)
304304 func deleteEntry (aM) = if (aa(U))
305305 then [DeleteEntry(aM)]
306306 else throw("no")
307307
308308

github/deemru/w8io/169f3d6 
42.74 ms