tx · Gy7Y5SYuuvQe2xccvSYvgv5c4VnwGC4oGwqWieDQ4zFE

3N9ZoipEVJyQhhijNYxkcomvgGrrEeDhPvN:  -0.01000000 Waves

2023.01.21 14:19 [2414669] smart account 3N9ZoipEVJyQhhijNYxkcomvgGrrEeDhPvN > SELF 0.00000000 Waves

{ "type": 13, "id": "Gy7Y5SYuuvQe2xccvSYvgv5c4VnwGC4oGwqWieDQ4zFE", "fee": 1000000, "feeAssetId": null, "timestamp": 1674299965719, "version": 2, "chainId": 84, "sender": "3N9ZoipEVJyQhhijNYxkcomvgGrrEeDhPvN", "senderPublicKey": "2Gtgx295VLiew3CzXqh9eXfFZBTEpDW2nLsrJZ1C4i9J", "proofs": [ "22xgCqquUCYWv6d3jVKRqsr226z3RGiMpxXmEfiVJmfCPNF2ZUDvibiApu7SLe2mNKLohYZxDWMtQkN911XReMd4" ], "script": "base64:AAIFAAAAAAAAACMIAhIGCgQIBAgEEgMKAQgSBwoFCAgIAQgSAwoBCBIECgIICAAAAAwAAAAAD2V4dGVybmFsT3JhY2xlcwkABEwAAAACAgAAACMzTjlRWm5YZnU4b0doc3ZaOUJkaXpOdVZKUDd0clh5TVVwNQkABEwAAAACAgAAACMzTkQ2ZVdjTWlHTVgxNVg0SDRXbUdUVGROd0xodFdoUTJEUgUAAAADbmlsAQAAABR0cnlHZXRTdHJpbmdFeHRlcm5hbAAAAAIAAAAHYWRkcmVzcwAAAANrZXkEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAHYWRkcmVzcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWECAAAAAAEAAAAVdHJ5R2V0SW50ZWdlckV4dGVybmFsAAAAAgAAAAdhZGRyZXNzAAAAA2tleQQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAdhZGRyZXNzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYgU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AgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACCQABLAAAAAICAAAAA3R4XwUAAAAEdHhJZAIAAAAIX290aGVySWQFAAAACW90aGVyVHhJZAUAAAADbmlsAAAAAA/QTzo=", "height": 2414669, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: H6mJ7TjZEhbmP9jg2zUQMiQKMUQTMJeEm5viKyvzCmvf Next: AKSCSCJwTuswKBcAoWTagfNTz3b4aryhS7wPvLvP53Et Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-func a (b,c) = {
5- let d = getString(b, c)
6- if ($isInstanceOf(d, "String"))
4+let a = ["3N9QZnXfu8oGhsvZ9BdizNuVJP7trXyMUp5", "3ND6eWcMiGMX15X4H4WmGTTdNwLhtWhQ2DR"]
5+
6+func b (c,d) = {
7+ let e = getString(c, d)
8+ if ($isInstanceOf(e, "String"))
79 then {
8- let e = d
9- e
10+ let f = e
11+ f
1012 }
1113 else ""
1214 }
1315
1416
15-func f (b,c) = {
16- let d = getInteger(b, c)
17- if ($isInstanceOf(d, "Int"))
17+func g (c,d) = {
18+ let e = getInteger(c, d)
19+ if ($isInstanceOf(e, "Int"))
1820 then {
19- let g = d
20- g
21+ let h = e
22+ h
2123 }
2224 else 0
2325 }
2426
2527
26-func h (c) = a(this, c)
28+func i (d) = b(this, d)
2729
2830
29-func i (c) = f(this, c)
31+func j (d) = g(this, d)
3032
3133
32-func j (c) = {
33- let d = getBoolean(this, c)
34- if ($isInstanceOf(d, "Boolean"))
34+func k (d) = {
35+ let e = getBoolean(this, d)
36+ if ($isInstanceOf(e, "Boolean"))
3537 then {
36- let g = d
37- g
38+ let h = e
39+ h
3840 }
3941 else false
4042 }
4143
4244
43-func k (l) = toBase58String(value(l))
45+func l (m) = toBase58String(value(m))
4446
4547
46-func m (n) = ("nativeAsset_" + n)
48+func n (o) = ("nativeAsset_" + o)
4749
4850
49-func o (p) = ("otherChainAsset_" + p)
51+func p (q) = ("otherChainAsset_" + q)
5052
5153
52-func q (r) = ("reissueable_" + r)
54+func r (s) = ("reissueable_" + s)
5355
5456
55-func s (t) = {
56- let u = value(t)
57- if (!(isDefined(u.assetId)))
57+func t (u) = {
58+ let v = value(u)
59+ if (!(isDefined(v.assetId)))
5860 then throw("It needs to be an asset")
5961 else {
60- let v = value(assetInfo(value(u.assetId)))
61- if ((1 > u.amount))
62+ let w = value(assetInfo(value(v.assetId)))
63+ if ((1 > v.amount))
6264 then throw("You didnt attached a payment!")
63- else k(u.assetId)
65+ else l(v.assetId)
6466 }
6567 }
6668
6769
68-@Callable(w)
69-func initiateAssets (n,x,p,y) = if ((h(m(n)) != ""))
70- then throw("Native Asset already listed!")
71- else if ((h(o(p)) != ""))
72- then throw("Other Asset already listed!")
73- else [StringEntry(m(n), p), StringEntry(o(p), n), BooleanEntry(q(n), x), BooleanEntry(q(p), y)]
70+func x (d,y) = {
71+ func z (A,B) = {
72+ let e = y
73+ if ($isInstanceOf(e, "String"))
74+ then {
75+ let h = e
76+ let C = b(addressFromStringValue(B), d)
77+ if ((C != y))
78+ then throw(("String Key not matching in " + B))
79+ else true
80+ }
81+ else if ($isInstanceOf(e, "Int"))
82+ then {
83+ let h = e
84+ let C = g(addressFromStringValue(B), d)
85+ if ((C != y))
86+ then throw(("Integer Key not matching in " + B))
87+ else true
88+ }
89+ else throw("Invalid Value!")
90+ }
91+
92+ let D = a
93+ let E = size(D)
94+ let F = true
95+ func G (H,I) = if ((I >= E))
96+ then H
97+ else z(H, D[I])
98+
99+ func J (H,I) = if ((I >= E))
100+ then H
101+ else throw("List size exceeds 5")
102+
103+ J(G(G(G(G(G(F, 0), 1), 2), 3), 4), 5)
104+ }
105+
106+
107+@Callable(K)
108+func initiateAssets (o,L,q,M) = if ((K.caller != this))
109+ then throw("Only the owner dapp can add additional assets!")
110+ else if ((i(n(o)) != ""))
111+ then throw("Native Asset already listed!")
112+ else if ((i(p(q)) != ""))
113+ then throw("Other Asset already listed!")
114+ else [StringEntry(n(o), q), StringEntry(p(q), o), BooleanEntry(r(o), L), BooleanEntry(r(q), M)]
74115
75116
76117
77-@Callable(w)
78-func initiateOutGoingTx (z) = {
79- let t = w.payments
80- if ((size(t) != 1))
118+@Callable(K)
119+func initiateOutGoingTx (N) = {
120+ let u = K.payments
121+ if ((size(u) != 1))
81122 then throw("Invalid payment added!")
82- else if ((1 > t[0].amount))
123+ else if ((1 > u[0].amount))
83124 then throw("Invalid amount added!")
84125 else {
85- let l = s(t[0])
86- let A = if (j(q(l)))
87- then [Burn(fromBase58String(l), t[0].amount), StringEntry((("tx_" + toBase58String(w.transactionId)) + "_asset_to_receive"), h(o(l)))]
88- else [StringEntry((("tx_" + toBase58String(w.transactionId)) + "_asset_to_receive"), h(m(l)))]
89- ([StringEntry((("tx_" + toBase58String(w.transactionId)) + "_dest"), z), StringEntry((("tx_" + toBase58String(w.transactionId)) + "_status"), "UNPROCESSED")] ++ A)
126+ let m = t(u[0])
127+ let O = if (k(r(m)))
128+ then [Burn(fromBase58String(m), u[0].amount), StringEntry((("tx_" + toBase58String(K.transactionId)) + "_asset_to_receive"), i(p(m)))]
129+ else [StringEntry((("tx_" + toBase58String(K.transactionId)) + "_asset_to_receive"), i(n(m)))]
130+ ([StringEntry((("tx_" + toBase58String(K.transactionId)) + "_dest"), N), StringEntry((("tx_" + toBase58String(K.transactionId)) + "_status"), "UNPROCESSED")] ++ O)
90131 }
91132 }
92133
93134
94135
95-@Callable(w)
96-func storeDataIncomingTx (B,z,l,C,D) = if (if ((h((("tx_" + B) + "_status")) != ""))
136+@Callable(K)
137+func storeDataIncomingTx (P,N,m,Q,R) = if (if ((i((("tx_" + P) + "_status")) != ""))
97138 then true
98- else (h((("tx_" + B) + "_dest")) != ""))
99- then throw((B + " is already stored!"))
100- else if ((w.caller != this))
101- then throw("Dirty hacker")
102- else [StringEntry((("tx_" + B) + "_dest"), z), StringEntry((("tx_" + B) + "_status"), "UNPROCESSED"), StringEntry((("tx_" + B) + "_assetId"), l), StringEntry((("tx_" + B) + "_assetId_to_receive"), D), IntegerEntry((("tx_" + B) + "_amount"), C)]
139+ else (i((("tx_" + P) + "_dest")) != ""))
140+ then throw((P + " is already stored!"))
141+ else {
142+ let S = x((("tx_" + P) + "_dest"), N)
143+ let T = x((("tx_" + P) + "_status"), "UNPROCESSED")
144+ let U = x((("tx_" + P) + "_assetId"), m)
145+ let V = x((("tx_" + P) + "_assetId_to_receive"), R)
146+ let W = x((("tx_" + P) + "_amount"), Q)
147+ if (!(if (if (if (if (S)
148+ then T
149+ else false)
150+ then U
151+ else false)
152+ then V
153+ else false)
154+ then W
155+ else false))
156+ then throw("Dirty hacker!")
157+ else [StringEntry((("tx_" + P) + "_dest"), N), StringEntry((("tx_" + P) + "_status"), "UNPROCESSED"), StringEntry((("tx_" + P) + "_assetId"), m), StringEntry((("tx_" + P) + "_assetId_to_receive"), R), IntegerEntry((("tx_" + P) + "_amount"), Q)]
158+ }
103159
104160
105161
106-@Callable(w)
107-func releaseIncomingTx (B) = {
108- let E = h((("tx_" + B) + "_status"))
109- if ((E == ""))
162+@Callable(K)
163+func releaseIncomingTx (P) = {
164+ let X = i((("tx_" + P) + "_status"))
165+ if ((X == ""))
110166 then throw("No such txid found!")
111- else if ((E == "PROCESSED"))
167+ else if ((X == "PROCESSED"))
112168 then throw("Already processed!")
113169 else {
114- let D = h((("tx_" + B) + "_assetId_to_receive"))
115- let z = h((("tx_" + B) + "_dest"))
116- let C = i((("tx_" + B) + "_amount"))
117- let l = h((("tx_" + B) + "_assetId"))
118- let A = if (j(q(D)))
119- then if ((h(m(l)) != D))
170+ let R = i((("tx_" + P) + "_assetId_to_receive"))
171+ let N = i((("tx_" + P) + "_dest"))
172+ let Q = j((("tx_" + P) + "_amount"))
173+ let m = i((("tx_" + P) + "_assetId"))
174+ let O = if (k(r(R)))
175+ then if ((i(n(m)) != R))
120176 then throw("RE: Skipping tx, corrupt data!")
121- else [Reissue(fromBase58String(D), C, true)]
122- else if ((h(o(l)) != D))
177+ else [Reissue(fromBase58String(R), Q, true)]
178+ else if ((i(p(m)) != R))
123179 then throw("URE: Skipping tx, corrupt data!")
124180 else nil
125- (A ++ [ScriptTransfer(addressFromStringValue(z), C, fromBase58String(D)), StringEntry((("tx_" + B) + "_status"), "PROCESSED"), StringEntry((("tx_" + B) + "_otherId"), toBase58String(w.transactionId))])
181+ (O ++ [ScriptTransfer(addressFromStringValue(N), Q, fromBase58String(R)), StringEntry((("tx_" + P) + "_status"), "PROCESSED"), StringEntry((("tx_" + P) + "_otherId"), toBase58String(K.transactionId))])
126182 }
127183 }
128184
129185
130186
131-@Callable(w)
132-func finalizeOutgoingTx (B,F) = if ((h((("tx_" + B) + "_otherId")) != ""))
133- then throw((B + " is already fully processed!"))
134- else if ((w.caller != this))
135- then throw("Dirty hacker!")
136- else [StringEntry((("tx_" + B) + "_status"), "PROCESSED"), StringEntry((("tx_" + B) + "_otherId"), F)]
187+@Callable(K)
188+func finalizeOutgoingTx (P,Y) = {
189+ let S = x((("tx_" + P) + "_otherId"), Y)
190+ let T = x((("tx_" + P) + "_status"), "PROCESSED")
191+ if ((i((("tx_" + P) + "_otherId")) != ""))
192+ then throw((P + " is already fully processed!"))
193+ else if (!(if (S)
194+ then T
195+ else false))
196+ then throw("Dirty hacker!")
197+ else [StringEntry((("tx_" + P) + "_status"), "PROCESSED"), StringEntry((("tx_" + P) + "_otherId"), Y)]
198+ }
137199
138200

github/deemru/w8io/169f3d6 
59.14 ms