tx · BsTRcwfFnAp7nzp6mDB92k5PmDQPy5GybQXCuXhiVYSt

3N61Cvq5XcnPk9rxpy2Rnp3bSr4syNGUJph:  -0.01400000 Waves

2021.11.07 20:57 [1780919] smart account 3N61Cvq5XcnPk9rxpy2Rnp3bSr4syNGUJph > SELF 0.00000000 Waves

{ "type": 13, "id": "BsTRcwfFnAp7nzp6mDB92k5PmDQPy5GybQXCuXhiVYSt", "fee": 1400000, "feeAssetId": null, "timestamp": 1636307869417, "version": 2, "chainId": 84, "sender": "3N61Cvq5XcnPk9rxpy2Rnp3bSr4syNGUJph", "senderPublicKey": "G7cNXePvAHUHmZfXa1eHnvFeH6DuykPC5wm9v9djTKgD", "proofs": [ "3n22ATbSRLcfxZGekg6V7V32ZqWvo14nCBgCZpyqfcZUcNdZU3Rpyuxv1mgvuQZNJhWvYKgezpaGMmwYozHiRmfp" ], "script": "base64:AAIFAAAAAAAAABkIAhIAEgYKBBgYGBESABIDCgEIEgQKAggBAAAAAwAAAAAKZGVwb3NpdEZlZQAAAAAAAAAD6AAAAAANY29udHJvbGxlckZlZQAAAAAAAAAnEAAAAAALcGxhdGZvcm1GZWUAAAAAAAAAJxAAAAAFAAAAAmE4AQAAAARpbml0AAAAAAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAxM1BQSDd4N2lxb2JXNXppeWlSQ2ljMTlyUXFLcjZuUFlhSzFfYXNzZXRfYmFsYW5jZQAAAAAAAG3UrQUAAAADbmlsAAAAAWkBAAAACGFkZFBvb2xzAAAABAAAAAVwb29scwAAAA9saXF1aWRpdHlUb2tlbnMAAAANc2VydmljZVRva2VucwAAABZsaXF1aWRpdHlUb2tlbkRlY2ltYWxzCgEAAAAQZ2VuZXJhdGVQb29sS2V5cwAAAAIAAAALYWNjdW11bGF0ZWQAAAAEcG9vbAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACBQAAAARwb29sAgAAAA5fYXNzZXRfYmFsYW5jZQAAA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ZWUJAAJZAAAAAQUAAAAVbGlxdWlkdXR5QXNzZXRBZGRyZXNzCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACBQAAAA1wb29sQW1vdW50S2V5BQAAAA1uZXdQb29sQW1vdW50CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACBQAAABF1c2VyUG9vbEFtb3VudEtleQUAAAARbmV3VXNlclBvb2xBbW91bnQJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIFAAAAEXVzZXJQb29sRWFybmVkS2V5BQAAAA91c2VyRWFybmVkVG90YWwFAAAAA25pbAkAAAIAAAABAgAAACZZb3UgaGF2ZSBub3Qgc3VjaCBiYWxhbmNlIGZvciB3aXRoZHJhdwAAAAEAAAACYjYBAAAAAmI3AAAAAAkAAfQAAAADCAUAAAACYjYAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJiNgAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJiNgAAAA9zZW5kZXJQdWJsaWNLZXnaaitB", "height": 1780919, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GynaDwFtznPBH3sNGNqLgtbaBeBekz5nYV2yW5QMLnWD Next: 3TcKfYhbq3uMgf8NuW71biaCCZ56uzE5ZH6gSQ3q2zoK Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 1000
55
66 let b = 10000
77
88 let c = 10000
99
1010 @Callable(d)
1111 func init () = [IntegerEntry("3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1_asset_balance", 7197869)]
1212
1313
1414
1515 @Callable(e)
1616 func addPools (f,g,h,i) = {
1717 func j (k,l) = IntegerEntry((l + "_asset_balance"), 0) :: k
1818
1919 func m (k,l) = {
2020 let n = value(indexOf(f, l))
2121 let o = g[n]
2222 StringEntry((l + "_liquidity_token"), o) :: k
2323 }
2424
2525 func p (k,l) = {
2626 let n = value(indexOf(f, l))
2727 let o = h[n]
2828 StringEntry((l + "_service_token"), o) :: k
2929 }
3030
3131 func q (k,l) = {
3232 let n = value(indexOf(f, l))
3333 let o = i[n]
3434 IntegerEntry((l + "_service_token"), o) :: k
3535 }
3636
3737 func r (k,l) = BooleanEntry((l + "_active"), true) :: k
3838
3939 let s = {
4040 let t = f
4141 let u = size(t)
4242 let v = nil
4343 func w (x,y) = if ((y >= u))
4444 then x
4545 else j(x, t[y])
4646
4747 func z (x,y) = if ((y >= u))
4848 then x
4949 else throw("List size exceeds 20")
5050
5151 z(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(v, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20)
5252 }
5353 let A = {
5454 let t = f
5555 let u = size(t)
5656 let v = nil
5757 func w (x,y) = if ((y >= u))
5858 then x
5959 else m(x, t[y])
6060
6161 func z (x,y) = if ((y >= u))
6262 then x
6363 else throw("List size exceeds 20")
6464
6565 z(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(v, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20)
6666 }
6767 let B = {
6868 let t = f
6969 let u = size(t)
7070 let v = nil
7171 func w (x,y) = if ((y >= u))
7272 then x
7373 else p(x, t[y])
7474
7575 func z (x,y) = if ((y >= u))
7676 then x
7777 else throw("List size exceeds 20")
7878
7979 z(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(v, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20)
8080 }
8181 let C = {
8282 let t = f
8383 let u = size(t)
8484 let v = nil
8585 func w (x,y) = if ((y >= u))
8686 then x
8787 else q(x, t[y])
8888
8989 func z (x,y) = if ((y >= u))
9090 then x
9191 else throw("List size exceeds 20")
9292
9393 z(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(v, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20)
9494 }
9595 let D = {
9696 let t = f
9797 let u = size(t)
9898 let v = nil
9999 func w (x,y) = if ((y >= u))
100100 then x
101101 else r(x, t[y])
102102
103103 func z (x,y) = if ((y >= u))
104104 then x
105105 else throw("List size exceeds 20")
106106
107107 z(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(w(v, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20)
108108 }
109109 ((((s ++ A) ++ B) ++ C) ++ D)
110110 }
111111
112112
113113
114114 @Callable(d)
115115 func call () = {
116116 let E = Issue("Asset1", "Asset from dApp", 100000, 2, true, unit, 0)
117117 let F = calculateAssetId(E)
118118 [BinaryEntry("bin", base58''), BooleanEntry("bool", true), IntegerEntry("int", 1), StringEntry("str", ""), DeleteEntry("str"), E]
119119 }
120120
121121
122122
123123 @Callable(e)
124124 func deposit (l) = {
125125 let G = e.payments[0].amount
126126 let H = e.payments[0].assetId
127127 let I = (l + "_asset_balance")
128128 let J = toString(e.caller)
129129 let K = (((l + "_") + J) + "_asset_balance")
130130 let L = getStringValue(this, (l + "_service_token"))
131131 let M = getIntegerValue(this, I)
132132 let N = {
133133 let O = getInteger(K)
134134 if ($isInstanceOf(O, "Int"))
135135 then {
136136 let P = O
137137 P
138138 }
139139 else {
140140 let Q = O
141141 0
142142 }
143143 }
144144 let R = (M + G)
145145 let S = ((G - fraction(G, 1, a, HALFUP)) - fraction(G, 1, b, HALFUP))
146146 let T = (N + S)
147147 [Reissue(fromBase58String(L), S, true), ScriptTransfer(e.caller, S, fromBase58String(L)), IntegerEntry(I, R), IntegerEntry(K, T)]
148148 }
149149
150150
151151
152152 @Callable(e)
153153 func withdraw (l,U) = {
154154 let G = e.payments[0].amount
155155 let H = e.payments[0].assetId
156156 let I = (l + "_asset_balance")
157157 let J = toString(e.caller)
158158 let K = (((l + "_") + J) + "_asset_balance")
159159 let V = (((l + "_") + J) + "_earned")
160160 let M = getIntegerValue(this, I)
161161 let N = {
162162 let O = getInteger(K)
163163 if ($isInstanceOf(O, "Int"))
164164 then {
165165 let P = O
166166 P
167167 }
168168 else {
169169 let Q = O
170170 0
171171 }
172172 }
173173 let W = {
174174 let O = getInteger(V)
175175 if ($isInstanceOf(O, "Int"))
176176 then {
177177 let P = O
178178 P
179179 }
180180 else {
181181 let Q = O
182182 0
183183 }
184184 }
185185 let X = getStringValue(this, (l + "_liquidity_token"))
186186 let Y = {
187187 let O = assetInfo(fromBase58String(X))
188188 if ($isInstanceOf(O, "Asset"))
189189 then {
190190 let Z = O
191191 Z.decimals
192192 }
193193 else throw("Can't find asset")
194194 }
195195 let L = getStringValue(this, (l + "_service_token"))
196196 let aa = (U + W)
197197 let ab = ((G - fraction(G, 1, c, HALFUP)) - fraction(G, 1, b, HALFUP))
198198 let R = (M - ab)
199199 if ((N >= G))
200200 then {
201201 let T = (N - ab)
202202 [Burn(fromBase58String(L), ab), ScriptTransfer(e.caller, ab, fromBase58String(X)), IntegerEntry(I, R), IntegerEntry(K, T), IntegerEntry(V, aa)]
203203 }
204204 else throw("You have not such balance for withdraw")
205205 }
206206
207207
208208 @Verifier(ac)
209209 func ad () = sigVerify(ac.bodyBytes, ac.proofs[0], ac.senderPublicKey)
210210

github/deemru/w8io/026f985 
54.51 ms