tx · DPGyJwiTZotnCSNMm9YXD9JRSrJxWtSBHymJ2qqBoRiF 3N61Cvq5XcnPk9rxpy2Rnp3bSr4syNGUJph: -0.01400000 Waves 2021.11.05 17:22 [1777799] smart account 3N61Cvq5XcnPk9rxpy2Rnp3bSr4syNGUJph > SELF 0.00000000 Waves
{ "type": 13, "id": "DPGyJwiTZotnCSNMm9YXD9JRSrJxWtSBHymJ2qqBoRiF", "fee": 1400000, "feeAssetId": null, "timestamp": 1636122139643, "version": 2, "chainId": 84, "sender": "3N61Cvq5XcnPk9rxpy2Rnp3bSr4syNGUJph", "senderPublicKey": "G7cNXePvAHUHmZfXa1eHnvFeH6DuykPC5wm9v9djTKgD", "proofs": [ "278DCBixxPa92U5wmD9qtGnMaZRHSGq7S54g8V3XFaN66AX7vx4uoBoLoiRdUN1W5SHH2kwdoKkDkfDvCiwZfbhy" ], "script": "base64:AAIFAAAAAAAAABkIAhIAEgYKBBgYGBESABIDCgEIEgQKAggBAAAAAwAAAAAKZGVwb3NpdEZlZQAAAAAAAAAD6AAAAAANY29udHJvbGxlckZlZQAAAAAAAAAnEAAAAAALcGxhdGZvcm1GZWUAAAAAAAAAJxAAAAAFAAAAAmE4AQAAAARpbml0AAAAAAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAxM1BQSDd4N2lxb2JXNXppeWlSQ2ljMTlyUXFLcjZuUFlhSzFfYXNzZXRfYmFsYW5jZQAAAAAAAG3UrQUAAAADbmlsAAAAAWkBAAAACGFkZFBvb2xzAAAABAAAAAVwb29scwAAAA9saXF1aWRpdHlUb2tlbnMAAAANc2VydmljZVRva2VucwAAABZsaXF1aWRpdHlUb2tlbkRlY2ltYWxzCgEAAAAQZ2VuZXJhdGVQb29sS2V5cwAAAAIAAAALYWNjdW11bGF0ZWQAAAAEcG9vbAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACBQAAAARwb29sAgAAAA5fYXNzZXRfYmFsYW5jZQAAAA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EFtb3VudAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgUAAAARdXNlclBvb2xBbW91bnRLZXkFAAAAEW5ld1VzZXJQb29sQW1vdW50CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACBQAAABF1c2VyUG9vbEVhcm5lZEtleQUAAAAPdXNlckVhcm5lZFRvdGFsBQAAAANuaWwJAAACAAAAAQIAAAAmWW91IGhhdmUgbm90IHN1Y2ggYmFsYW5jZSBmb3Igd2l0aGRyYXcAAAABAAAAAmI2AQAAAAJiNwAAAAAJAAH0AAAAAwgFAAAAAmI2AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACYjYAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACYjYAAAAPc2VuZGVyUHVibGljS2V53udBzw==", "height": 1777799, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AJtyQqfcBfweA2uoLAqTnXu8ZjtgDZothrZugZtC61Bi Next: HvJpmPVyW3XcxzFKSePh1FXWyvq3zmjMNnxf2HE6QTiD Diff:
Old | New | Differences | |
---|---|---|---|
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 | + | B | |
96 | 96 | } | |
97 | 97 | ||
98 | 98 |
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) | |
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) | |
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) | |
35 | 35 | } | |
36 | 36 | ||
37 | 37 | func r (k,l) = BooleanEntry((l + "_active"), true) | |
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 m(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 p(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 q(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 r(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 | + | B | |
96 | 96 | } | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | ||
100 | 100 | @Callable(d) | |
101 | 101 | func call () = { | |
102 | 102 | let D = Issue("Asset1", "Asset from dApp", 100000, 2, true, unit, 0) | |
103 | 103 | let E = calculateAssetId(D) | |
104 | 104 | [BinaryEntry("bin", base58''), BooleanEntry("bool", true), IntegerEntry("int", 1), StringEntry("str", ""), DeleteEntry("str"), D] | |
105 | 105 | } | |
106 | 106 | ||
107 | 107 | ||
108 | 108 | ||
109 | 109 | @Callable(e) | |
110 | 110 | func deposit (l) = { | |
111 | 111 | let F = e.payments[0].amount | |
112 | 112 | let G = e.payments[0].assetId | |
113 | 113 | let H = (l + "_asset_balance") | |
114 | 114 | let I = toString(e.caller) | |
115 | 115 | let J = (((l + "_") + I) + "_asset_balance") | |
116 | 116 | let K = getStringValue(this, (l + "_service_token")) | |
117 | 117 | let L = getIntegerValue(this, H) | |
118 | 118 | let M = { | |
119 | 119 | let N = getInteger(J) | |
120 | 120 | if ($isInstanceOf(N, "Int")) | |
121 | 121 | then { | |
122 | 122 | let O = N | |
123 | 123 | O | |
124 | 124 | } | |
125 | 125 | else { | |
126 | 126 | let P = N | |
127 | 127 | 0 | |
128 | 128 | } | |
129 | 129 | } | |
130 | 130 | let Q = (L + F) | |
131 | 131 | let R = ((F - fraction(F, 1, a, HALFUP)) - fraction(F, 1, b, HALFUP)) | |
132 | 132 | let S = (M + R) | |
133 | 133 | [Reissue(fromBase58String(K), R, true), ScriptTransfer(e.caller, R, fromBase58String(K)), IntegerEntry(H, Q), IntegerEntry(J, S)] | |
134 | 134 | } | |
135 | 135 | ||
136 | 136 | ||
137 | 137 | ||
138 | 138 | @Callable(e) | |
139 | 139 | func withdraw (l,T) = { | |
140 | 140 | let F = e.payments[0].amount | |
141 | 141 | let G = e.payments[0].assetId | |
142 | 142 | let H = (l + "_asset_balance") | |
143 | 143 | let I = toString(e.caller) | |
144 | 144 | let J = (((l + "_") + I) + "_asset_balance") | |
145 | 145 | let U = (((l + "_") + I) + "_earned") | |
146 | 146 | let L = getIntegerValue(this, H) | |
147 | 147 | let M = { | |
148 | 148 | let N = getInteger(J) | |
149 | 149 | if ($isInstanceOf(N, "Int")) | |
150 | 150 | then { | |
151 | 151 | let O = N | |
152 | 152 | O | |
153 | 153 | } | |
154 | 154 | else { | |
155 | 155 | let P = N | |
156 | 156 | 0 | |
157 | 157 | } | |
158 | 158 | } | |
159 | 159 | let V = { | |
160 | 160 | let N = getInteger(U) | |
161 | 161 | if ($isInstanceOf(N, "Int")) | |
162 | 162 | then { | |
163 | 163 | let O = N | |
164 | 164 | O | |
165 | 165 | } | |
166 | 166 | else { | |
167 | 167 | let P = N | |
168 | 168 | 0 | |
169 | 169 | } | |
170 | 170 | } | |
171 | 171 | let W = getStringValue(this, (l + "_liquidity_token")) | |
172 | 172 | let X = { | |
173 | 173 | let N = assetInfo(fromBase58String(W)) | |
174 | 174 | if ($isInstanceOf(N, "Asset")) | |
175 | 175 | then { | |
176 | 176 | let Y = N | |
177 | 177 | Y.decimals | |
178 | 178 | } | |
179 | 179 | else throw("Can't find asset") | |
180 | 180 | } | |
181 | 181 | let K = getStringValue(this, (l + "_service_token")) | |
182 | 182 | let Z = (T + V) | |
183 | 183 | let aa = ((F - fraction(F, 1, c, HALFUP)) - fraction(F, 1, b, HALFUP)) | |
184 | 184 | let Q = (L - aa) | |
185 | 185 | if ((M >= F)) | |
186 | 186 | then { | |
187 | 187 | let S = (M - aa) | |
188 | 188 | [Burn(fromBase58String(K), aa), ScriptTransfer(e.caller, aa, fromBase58String(W)), IntegerEntry(H, Q), IntegerEntry(J, S), IntegerEntry(U, Z)] | |
189 | 189 | } | |
190 | 190 | else throw("You have not such balance for withdraw") | |
191 | 191 | } | |
192 | 192 | ||
193 | 193 | ||
194 | 194 | @Verifier(ab) | |
195 | 195 | func ac () = sigVerify(ab.bodyBytes, ab.proofs[0], ab.senderPublicKey) | |
196 | 196 |
github/deemru/w8io/026f985 46.93 ms ◑