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:AAIFAAAAAAAAABkIAhIAEgYKBBgYGBESABIDCgEIEgQKAggBAAAAAwAAAAAKZGVwb3NpdEZlZQAAAAAAAAAD6AAAAAANY29udHJvbGxlckZlZQAAAAAAAAAnEAAAAAALcGxhdGZvcm1GZWUAAAAAAAAAJxAAAAAFAAAAAmE4AQAAAARpbml0AAAAAAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAxM1BQSDd4N2lxb2JXNXppeWlSQ2ljMTlyUXFLcjZuUFlhSzFfYXNzZXRfYmFsYW5jZQAAAAAAAG3UrQUAAAADbmlsAAAAAWkBAAAACGFkZFBvb2xzAAAABAAAAAVwb29scwAAAA9saXF1aWRpdHlUb2tlbnMAAAANc2VydmljZVRva2VucwAAABZsaXF1aWRpdHlUb2tlbkRlY2ltYWxzCgEAAAAQZ2VuZXJhdGVQb29sS2V5cwAAAAIAAAALYWNjdW11bGF0ZWQAAAAEcG9vbAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACBQAAAARwb29sAgAAAA5fYXNzZXRfYmFsYW5jZQAAAA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WUJAAJZAAAAAQUAAAAVbGlxdWlkdXR5QXNzZXRBZGRyZXNzCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACBQAAAA1wb29sQW1vdW50S2V5BQAAAA1uZXdQb29sQW1vdW50CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACBQAAABF1c2VyUG9vbEFtb3VudEtleQUAAAARbmV3VXNlclBvb2xBbW91bnQJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIFAAAAEXVzZXJQb29sRWFybmVkS2V5BQAAAA91c2VyRWFybmVkVG90YWwFAAAAA25pbAkAAAIAAAABAgAAACZZb3UgaGF2ZSBub3Qgc3VjaCBiYWxhbmNlIGZvciB3aXRoZHJhdwAAAAEAAAACYjYBAAAAAmI3AAAAAAkAAfQAAAADCAUAAAACYjYAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJiNgAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJiNgAAAA9zZW5kZXJQdWJsaWNLZXnaaitB", "height": 1780919, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GynaDwFtznPBH3sNGNqLgtbaBeBekz5nYV2yW5QMLnWD Next: 3TcKfYhbq3uMgf8NuW71biaCCZ56uzE5ZH6gSQ3q2zoK Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 1000 | |
5 | 5 | ||
6 | 6 | let b = 10000 | |
7 | 7 | ||
8 | 8 | let c = 10000 | |
9 | 9 | ||
10 | 10 | @Callable(d) | |
11 | 11 | func init () = [IntegerEntry("3PPH7x7iqobW5ziyiRCic19rQqKr6nPYaK1_asset_balance", 7197869)] | |
12 | 12 | ||
13 | 13 | ||
14 | 14 | ||
15 | 15 | @Callable(e) | |
16 | 16 | func addPools (f,g,h,i) = { | |
17 | 17 | func j (k,l) = IntegerEntry((l + "_asset_balance"), 0) :: k | |
18 | 18 | ||
19 | 19 | func m (k,l) = { | |
20 | 20 | let n = value(indexOf(f, l)) | |
21 | 21 | let o = g[n] | |
22 | 22 | StringEntry((l + "_liquidity_token"), o) :: k | |
23 | 23 | } | |
24 | 24 | ||
25 | 25 | func p (k,l) = { | |
26 | 26 | let n = value(indexOf(f, l)) | |
27 | 27 | let o = h[n] | |
28 | 28 | StringEntry((l + "_service_token"), o) :: k | |
29 | 29 | } | |
30 | 30 | ||
31 | 31 | func q (k,l) = { | |
32 | 32 | let n = value(indexOf(f, l)) | |
33 | 33 | let o = i[n] | |
34 | 34 | IntegerEntry((l + "_service_token"), o) :: k | |
35 | 35 | } | |
36 | 36 | ||
37 | 37 | func r (k,l) = BooleanEntry((l + "_active"), true) :: k | |
38 | 38 | ||
39 | 39 | let s = { | |
40 | 40 | let t = f | |
41 | 41 | let u = size(t) | |
42 | 42 | let v = nil | |
43 | 43 | func w (x,y) = if ((y >= u)) | |
44 | 44 | then x | |
45 | 45 | else j(x, t[y]) | |
46 | 46 | ||
47 | 47 | func z (x,y) = if ((y >= u)) | |
48 | 48 | then x | |
49 | 49 | else throw("List size exceeds 20") | |
50 | 50 | ||
51 | 51 | 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) | |
52 | 52 | } | |
53 | 53 | let A = { | |
54 | 54 | let t = f | |
55 | 55 | let u = size(t) | |
56 | 56 | let v = nil | |
57 | 57 | func w (x,y) = if ((y >= u)) | |
58 | 58 | then x | |
59 | 59 | else m(x, t[y]) | |
60 | 60 | ||
61 | 61 | func z (x,y) = if ((y >= u)) | |
62 | 62 | then x | |
63 | 63 | else throw("List size exceeds 20") | |
64 | 64 | ||
65 | 65 | 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) | |
66 | 66 | } | |
67 | 67 | let B = { | |
68 | 68 | let t = f | |
69 | 69 | let u = size(t) | |
70 | 70 | let v = nil | |
71 | 71 | func w (x,y) = if ((y >= u)) | |
72 | 72 | then x | |
73 | 73 | else p(x, t[y]) | |
74 | 74 | ||
75 | 75 | func z (x,y) = if ((y >= u)) | |
76 | 76 | then x | |
77 | 77 | else throw("List size exceeds 20") | |
78 | 78 | ||
79 | 79 | 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) | |
80 | 80 | } | |
81 | 81 | let C = { | |
82 | 82 | let t = f | |
83 | 83 | let u = size(t) | |
84 | 84 | let v = nil | |
85 | 85 | func w (x,y) = if ((y >= u)) | |
86 | 86 | then x | |
87 | 87 | else q(x, t[y]) | |
88 | 88 | ||
89 | 89 | func z (x,y) = if ((y >= u)) | |
90 | 90 | then x | |
91 | 91 | else throw("List size exceeds 20") | |
92 | 92 | ||
93 | 93 | 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) | |
94 | 94 | } | |
95 | 95 | let D = { | |
96 | 96 | let t = f | |
97 | 97 | let u = size(t) | |
98 | 98 | let v = nil | |
99 | 99 | func w (x,y) = if ((y >= u)) | |
100 | 100 | then x | |
101 | 101 | else r(x, t[y]) | |
102 | 102 | ||
103 | 103 | func z (x,y) = if ((y >= u)) | |
104 | 104 | then x | |
105 | 105 | else throw("List size exceeds 20") | |
106 | 106 | ||
107 | 107 | 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) | |
108 | 108 | } | |
109 | 109 | ((((s ++ A) ++ B) ++ C) ++ D) | |
110 | 110 | } | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | ||
114 | 114 | @Callable(d) | |
115 | 115 | func call () = { | |
116 | 116 | let E = Issue("Asset1", "Asset from dApp", 100000, 2, true, unit, 0) | |
117 | 117 | let F = calculateAssetId(E) | |
118 | 118 | [BinaryEntry("bin", base58''), BooleanEntry("bool", true), IntegerEntry("int", 1), StringEntry("str", ""), DeleteEntry("str"), E] | |
119 | 119 | } | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | ||
123 | 123 | @Callable(e) | |
124 | 124 | func deposit (l) = { | |
125 | 125 | let G = e.payments[0].amount | |
126 | 126 | let H = e.payments[0].assetId | |
127 | 127 | let I = (l + "_asset_balance") | |
128 | 128 | let J = toString(e.caller) | |
129 | 129 | let K = (((l + "_") + J) + "_asset_balance") | |
130 | 130 | let L = getStringValue(this, (l + "_service_token")) | |
131 | 131 | let M = getIntegerValue(this, I) | |
132 | 132 | let N = { | |
133 | 133 | let O = getInteger(K) | |
134 | 134 | if ($isInstanceOf(O, "Int")) | |
135 | 135 | then { | |
136 | 136 | let P = O | |
137 | 137 | P | |
138 | 138 | } | |
139 | 139 | else { | |
140 | 140 | let Q = O | |
141 | 141 | 0 | |
142 | 142 | } | |
143 | 143 | } | |
144 | 144 | let R = (M + G) | |
145 | 145 | let S = ((G - fraction(G, 1, a, HALFUP)) - fraction(G, 1, b, HALFUP)) | |
146 | 146 | let T = (N + S) | |
147 | 147 | [Reissue(fromBase58String(L), S, true), ScriptTransfer(e.caller, S, fromBase58String(L)), IntegerEntry(I, R), IntegerEntry(K, T)] | |
148 | 148 | } | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | ||
152 | 152 | @Callable(e) | |
153 | 153 | func withdraw (l,U) = { | |
154 | 154 | let G = e.payments[0].amount | |
155 | 155 | let H = e.payments[0].assetId | |
156 | 156 | let I = (l + "_asset_balance") | |
157 | 157 | let J = toString(e.caller) | |
158 | 158 | let K = (((l + "_") + J) + "_asset_balance") | |
159 | 159 | let V = (((l + "_") + J) + "_earned") | |
160 | 160 | let M = getIntegerValue(this, I) | |
161 | 161 | let N = { | |
162 | 162 | let O = getInteger(K) | |
163 | 163 | if ($isInstanceOf(O, "Int")) | |
164 | 164 | then { | |
165 | 165 | let P = O | |
166 | 166 | P | |
167 | 167 | } | |
168 | 168 | else { | |
169 | 169 | let Q = O | |
170 | 170 | 0 | |
171 | 171 | } | |
172 | 172 | } | |
173 | 173 | let W = { | |
174 | 174 | let O = getInteger(V) | |
175 | 175 | if ($isInstanceOf(O, "Int")) | |
176 | 176 | then { | |
177 | 177 | let P = O | |
178 | 178 | P | |
179 | 179 | } | |
180 | 180 | else { | |
181 | 181 | let Q = O | |
182 | 182 | 0 | |
183 | 183 | } | |
184 | 184 | } | |
185 | 185 | let X = getStringValue(this, (l + "_liquidity_token")) | |
186 | 186 | let Y = { | |
187 | 187 | let O = assetInfo(fromBase58String(X)) | |
188 | 188 | if ($isInstanceOf(O, "Asset")) | |
189 | 189 | then { | |
190 | 190 | let Z = O | |
191 | 191 | Z.decimals | |
192 | 192 | } | |
193 | 193 | else throw("Can't find asset") | |
194 | 194 | } | |
195 | 195 | let L = getStringValue(this, (l + "_service_token")) | |
196 | 196 | let aa = (U + W) | |
197 | 197 | let ab = ((G - fraction(G, 1, c, HALFUP)) - fraction(G, 1, b, HALFUP)) | |
198 | 198 | let R = (M - ab) | |
199 | 199 | if ((N >= G)) | |
200 | 200 | then { | |
201 | 201 | let T = (N - ab) | |
202 | 202 | [Burn(fromBase58String(L), ab), ScriptTransfer(e.caller, ab, fromBase58String(X)), IntegerEntry(I, R), IntegerEntry(K, T), IntegerEntry(V, aa)] | |
203 | 203 | } | |
204 | 204 | else throw("You have not such balance for withdraw") | |
205 | 205 | } | |
206 | 206 | ||
207 | 207 | ||
208 | 208 | @Verifier(ac) | |
209 | 209 | func ad () = sigVerify(ac.bodyBytes, ac.proofs[0], ac.senderPublicKey) | |
210 | 210 |
github/deemru/w8io/026f985 54.51 ms ◑