tx · 7m9SnfNNCoqtU8xoWVg8SasNJsMXTGBKZUB7qfBpnTbi 3NBbFNBed9tcU5AmsJAuExWvgJyNmJxqjWq: -0.01000000 Waves 2023.07.25 15:16 [2681367] smart account 3NBbFNBed9tcU5AmsJAuExWvgJyNmJxqjWq > SELF 0.00000000 Waves
{ "type": 13, "id": "7m9SnfNNCoqtU8xoWVg8SasNJsMXTGBKZUB7qfBpnTbi", "fee": 1000000, "feeAssetId": null, "timestamp": 1690287443034, "version": 2, "chainId": 84, "sender": "3NBbFNBed9tcU5AmsJAuExWvgJyNmJxqjWq", "senderPublicKey": "ERewvWFUFQfR1eCnipNAv9n7SdQhof2ESP6PGVjTueLd", "proofs": [ "4FLDoiukGvaxQeFQqxfeK1omaQnCargrCpz8h3cUoAYzxu9Ch1DCswkxtmutT2TNz1DHLj7E9nByNXipe3P3b7eU" ], "script": "base64:BgIyCAISBAoCAQgSABIAEgASABIDCgEBEgMKAQESAwoBARIECgIIARIAEgQKAggBEgMKAQgNAAl3YXZlczFMSWQJAQdBZGRyZXNzAQEgsfXkVqM/0+6J9kArnDxMgAk2oJh4WqfkxR9uWw/pRoUACXdhdmVzM0xJZAkBB0FkZHJlc3MBASB3Vww16jaU307TFdx6AQCZu00QR9cMiqtX4etxi+C4ZAAJd2F2ZXM1TElkCQEHQWRkcmVzcwEBIBtGaJJlOVgU0G5tRCLl1N4g5dbuu+aJfhfESzP16GakAANhcnIJAMwIAgABCQDMCAIAAgkAzAgCAAMJAMwIAgAECQDMCAIABQUDbmlsAARhcnIyCQDMCAIAAQkAzAgCAAIFA25pbAAEYXJyMwkAzAgCAAEJAMwIAgACCQDMCAIAAwUDbmlsAQNzdW0CAWEBYgkA/AcECQERQGV4dHJOYXRpdmUoMTA2MikBAiMzTjNEblZmZm5VeVp0ejJNUmJrNVU3Z2lOMTEyV2VtcE1OZAIGYm9ycm93CQDMCAICLDI1RkVxRWpSa3FLNnlDa2lUN0x6NlNBWXo3Z1VGQ3R4ZkNDaG5yV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HJlc3MCDHN1cHBseV93YXZlcwDAhD0FA25pbAkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgFpAQh3aXRoZHJhdwIKYXNzZXRJZFN0cgthc3NldEFtb3VudAQHYWRkcmVzcwkApQgBCAUBaQZjYWxsZXIEA3JlcwkA/AcECQERQGV4dHJOYXRpdmUoMTA2MikBAiMzTjNEblZmZm5VeVp0ejJNUmJrNVU3Z2lOMTEyV2VtcE1OZAIId2l0aGRyYXcJAMwIAgUKYXNzZXRJZFN0cgkAzAgCBQthc3NldEFtb3VudAUDbmlsBQNuaWwDCQAAAgUDcmVzBQNyZXMJAMwIAgkBDEludGVnZXJFbnRyeQIJAKwCAgkArAICBQdhZGRyZXNzAgpfd2l0aGRyZXdfBQphc3NldElkU3RyBQthc3NldEFtb3VudAUDbmlsCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAWkBDGNoZWNrQmFsYW5jZQEKYXNzZXRJZFN0cgQHYWRkcmVzcwgFAWkGY2FsbGVyAwkAAAIFCmFzc2V0SWRTdHICBVdBVkVTCQDMCAIJAQxJbnRlZ2VyRW50cnkCAg1XYXZlcyBCYWxhbmNlCAkA7wcBBQdhZGRyZXNzCWF2YWlsYWJsZQUDbmlsCQDMCAIJAQxJbnRlZ2VyRW50cnkCAg1Bc3NldCBCYWxhbmNlCQDwBwIFB2FkZHJlc3MJANkEAQUKYXNzZXRJZFN0cgUDbmlsAQJ0eAEGdmVyaWZ5AAkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleV5rnt0=", "height": 2681367, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9wzU42qWFWCYDpdLaxMqwaiS1iX4XTsuvbyRoY4PR8rV Next: 5vMCNu1aaGE33ht45m29qtKdjC5Xg1yZomKQfPubqBvL Diff:
Old | New | Differences | |
---|---|---|---|
100 | 100 | ||
101 | 101 | K(H(H(H(G, 0), 1), 2), 3) | |
102 | 102 | } | |
103 | - | let L = ( | |
103 | + | let L = (D / p()) | |
104 | 104 | [IntegerEntry((l + "_deposited_WAVES"), v), IntegerEntry(((l + "_borrowed_") + "25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT"), D), ScriptTransfer(s.caller, L, base58'92rW5ucGkH84YeXLnLs8dMN1P7RAFocmR8zfBqUy4gPM')] | |
105 | 105 | } | |
106 | 106 | else throw("Strict value is not equal to itself.") |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = Address(base58'CygdaJKZfxRrHyYMwkNdz9ZgSD5FpJLtk5s5B4q1DKV6') | |
5 | 5 | ||
6 | 6 | let b = Address(base58'92rW5ucGkH84YeXLnLs8dMN1P7RAFocmR8zfBqUy4gPM') | |
7 | 7 | ||
8 | 8 | let c = Address(base58'2qUH6Nh6cgC8dxj8fwH3bTJi261PNr5nMQKRbBXBuwmM') | |
9 | 9 | ||
10 | 10 | let d = [1, 2, 3, 4, 5] | |
11 | 11 | ||
12 | 12 | let e = [1, 2] | |
13 | 13 | ||
14 | 14 | let f = [1, 2, 3] | |
15 | 15 | ||
16 | 16 | func g (h,i) = invoke(addressFromStringValue("3N3DnVffnUyZtz2MRbk5U7giN112WempMNd"), "borrow", ["25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT", 1000000], nil) | |
17 | 17 | ||
18 | 18 | ||
19 | 19 | func j (k,l) = if ((k == "WAVES")) | |
20 | 20 | then wavesBalance(l).available | |
21 | 21 | else assetBalance(l, fromBase58String(k)) | |
22 | 22 | ||
23 | 23 | ||
24 | 24 | func m (k) = if ((k == "WAVES")) | |
25 | 25 | then 2 | |
26 | 26 | else throw("Error") | |
27 | 27 | ||
28 | 28 | ||
29 | 29 | func n () = 2000000 | |
30 | 30 | ||
31 | 31 | ||
32 | 32 | func o () = 1500000 | |
33 | 33 | ||
34 | 34 | ||
35 | 35 | func p () = 1200000 | |
36 | 36 | ||
37 | 37 | ||
38 | 38 | func q (k,r,l) = [IntegerEntry(((l + "_deposited_") + k), r)] | |
39 | 39 | ||
40 | 40 | ||
41 | 41 | @Callable(s) | |
42 | 42 | func transferWaves (r,t) = if ((s.caller != this)) | |
43 | 43 | then throw("only for internal smart contract invocations") | |
44 | 44 | else [ScriptTransfer(this, r, unit), IntegerEntry((t + "_deposited_WAVES"), r)] | |
45 | 45 | ||
46 | 46 | ||
47 | 47 | ||
48 | 48 | @Callable(s) | |
49 | 49 | func issue3xLong () = [Issue("WAVES3L", "WAVES_USDN_LONG3X Token", 1000000000, 6, true)] | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | ||
53 | 53 | @Callable(s) | |
54 | 54 | func transferWavesTest () = if (if ((size(s.payments) != 1)) | |
55 | 55 | then true | |
56 | 56 | else (s.payments[0].amount == 0)) | |
57 | 57 | then throw("1 payment has to be attached") | |
58 | 58 | else { | |
59 | 59 | let k = "WAVES" | |
60 | 60 | let r = s.payments[0].amount | |
61 | 61 | q(k, r, toString(s.caller)) | |
62 | 62 | } | |
63 | 63 | ||
64 | 64 | ||
65 | 65 | ||
66 | 66 | @Callable(s) | |
67 | 67 | func mintWaves3L () = if (if ((size(s.payments) != 1)) | |
68 | 68 | then true | |
69 | 69 | else (s.payments[0].amount == 0)) | |
70 | 70 | then throw("1 payment has to be attached") | |
71 | 71 | else { | |
72 | 72 | let l = toString(s.caller) | |
73 | 73 | let u = (s.payments[0].amount * 1000000) | |
74 | 74 | let v = ((u / n()) * 100000000) | |
75 | 75 | let w = j("WAVES", s.caller) | |
76 | 76 | if ((w > v)) | |
77 | 77 | then { | |
78 | 78 | let x = invoke(addressFromStringValue("3N3DnVffnUyZtz2MRbk5U7giN112WempMNd"), "supply", nil, [AttachedPayment(unit, v)]) | |
79 | 79 | if ((x == x)) | |
80 | 80 | then { | |
81 | 81 | func y (z,A) = { | |
82 | 82 | let B = invoke(addressFromStringValue("3N3DnVffnUyZtz2MRbk5U7giN112WempMNd"), "borrow", ["25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT", u], nil) | |
83 | 83 | if ((B == B)) | |
84 | 84 | then (z + A) | |
85 | 85 | else throw("Strict value is not equal to itself.") | |
86 | 86 | } | |
87 | 87 | ||
88 | 88 | let C = [u, u, u] | |
89 | 89 | let D = { | |
90 | 90 | let E = C | |
91 | 91 | let F = size(E) | |
92 | 92 | let G = 0 | |
93 | 93 | func H (I,J) = if ((J >= F)) | |
94 | 94 | then I | |
95 | 95 | else y(I, E[J]) | |
96 | 96 | ||
97 | 97 | func K (I,J) = if ((J >= F)) | |
98 | 98 | then I | |
99 | 99 | else throw("List size exceeds 3") | |
100 | 100 | ||
101 | 101 | K(H(H(H(G, 0), 1), 2), 3) | |
102 | 102 | } | |
103 | - | let L = ( | |
103 | + | let L = (D / p()) | |
104 | 104 | [IntegerEntry((l + "_deposited_WAVES"), v), IntegerEntry(((l + "_borrowed_") + "25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT"), D), ScriptTransfer(s.caller, L, base58'92rW5ucGkH84YeXLnLs8dMN1P7RAFocmR8zfBqUy4gPM')] | |
105 | 105 | } | |
106 | 106 | else throw("Strict value is not equal to itself.") | |
107 | 107 | } | |
108 | 108 | else throw("Not enough WAVES to deposit!") | |
109 | 109 | } | |
110 | 110 | ||
111 | 111 | ||
112 | 112 | ||
113 | 113 | @Callable(s) | |
114 | 114 | func long3x_v2 () = if (if ((size(s.payments) != 1)) | |
115 | 115 | then true | |
116 | 116 | else (s.payments[0].amount == 0)) | |
117 | 117 | then throw("1 payment has to be attached") | |
118 | 118 | else { | |
119 | 119 | let l = toString(s.caller) | |
120 | 120 | let k = "WAVES" | |
121 | 121 | let M = s.payments[0].amount | |
122 | 122 | let N = j(k, s.caller) | |
123 | 123 | if ((N > M)) | |
124 | 124 | then { | |
125 | 125 | let x = invoke(addressFromStringValue("3N3DnVffnUyZtz2MRbk5U7giN112WempMNd"), "supply", nil, [AttachedPayment(unit, M)]) | |
126 | 126 | if ((x == x)) | |
127 | 127 | then { | |
128 | 128 | func y (z,A) = { | |
129 | 129 | let B = invoke(addressFromStringValue("3N3DnVffnUyZtz2MRbk5U7giN112WempMNd"), "borrow", ["25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT", ((M * m("WAVES")) / 100)], nil) | |
130 | 130 | if ((B == B)) | |
131 | 131 | then (z + A) | |
132 | 132 | else throw("Strict value is not equal to itself.") | |
133 | 133 | } | |
134 | 134 | ||
135 | 135 | let C = [M, M] | |
136 | 136 | let D = { | |
137 | 137 | let E = C | |
138 | 138 | let F = size(E) | |
139 | 139 | let G = 0 | |
140 | 140 | func H (I,J) = if ((J >= F)) | |
141 | 141 | then I | |
142 | 142 | else y(I, E[J]) | |
143 | 143 | ||
144 | 144 | func K (I,J) = if ((J >= F)) | |
145 | 145 | then I | |
146 | 146 | else throw("List size exceeds 3") | |
147 | 147 | ||
148 | 148 | K(H(H(H(G, 0), 1), 2), 3) | |
149 | 149 | } | |
150 | 150 | [IntegerEntry((l + "_deposited_WAVES"), M), IntegerEntry(((l + "_borrowed_") + "25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT"), (M * m("WAVES"))), ScriptTransfer(s.caller, ((D * m("WAVES")) / 100), base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT')] | |
151 | 151 | } | |
152 | 152 | else throw("Strict value is not equal to itself.") | |
153 | 153 | } | |
154 | 154 | else throw("Not enough WAVES to deposit!") | |
155 | 155 | } | |
156 | 156 | ||
157 | 157 | ||
158 | 158 | ||
159 | 159 | @Callable(s) | |
160 | 160 | func long2x (r) = { | |
161 | 161 | let l = toString(s.caller) | |
162 | 162 | let O = j("WAVES", s.caller) | |
163 | 163 | if ((O > r)) | |
164 | 164 | then { | |
165 | 165 | func y (z,A) = { | |
166 | 166 | let P = invoke(this, "transferWaves", [r, s.caller], nil) | |
167 | 167 | if ((P == P)) | |
168 | 168 | then { | |
169 | 169 | let Q = invoke(addressFromStringValue("3N3DnVffnUyZtz2MRbk5U7giN112WempMNd"), "supply", nil, [AttachedPayment(unit, r)]) | |
170 | 170 | if ((Q == Q)) | |
171 | 171 | then { | |
172 | 172 | let B = invoke(addressFromStringValue("3N3DnVffnUyZtz2MRbk5U7giN112WempMNd"), "borrow", ["25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT", ((r * m("WAVES")) / 100)], nil) | |
173 | 173 | if ((B == B)) | |
174 | 174 | then (z + A) | |
175 | 175 | else throw("Strict value is not equal to itself.") | |
176 | 176 | } | |
177 | 177 | else throw("Strict value is not equal to itself.") | |
178 | 178 | } | |
179 | 179 | else throw("Strict value is not equal to itself.") | |
180 | 180 | } | |
181 | 181 | ||
182 | 182 | let C = [r, r] | |
183 | 183 | let D = { | |
184 | 184 | let E = C | |
185 | 185 | let F = size(E) | |
186 | 186 | let G = 0 | |
187 | 187 | func H (I,J) = if ((J >= F)) | |
188 | 188 | then I | |
189 | 189 | else y(I, E[J]) | |
190 | 190 | ||
191 | 191 | func K (I,J) = if ((J >= F)) | |
192 | 192 | then I | |
193 | 193 | else throw("List size exceeds 2") | |
194 | 194 | ||
195 | 195 | K(H(H(G, 0), 1), 2) | |
196 | 196 | } | |
197 | 197 | [IntegerEntry(((l + "_borrowed_") + "25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT"), (r * m("WAVES"))), ScriptTransfer(s.caller, ((D * m("WAVES")) / 100), base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT'), ScriptTransfer(this, D, unit)] | |
198 | 198 | } | |
199 | 199 | else throw("Error!") | |
200 | 200 | } | |
201 | 201 | ||
202 | 202 | ||
203 | 203 | ||
204 | 204 | @Callable(s) | |
205 | 205 | func borrow (r) = { | |
206 | 206 | let l = toString(s.caller) | |
207 | 207 | let D = invoke(addressFromStringValue("3N3DnVffnUyZtz2MRbk5U7giN112WempMNd"), "borrow", ["25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT", r], nil) | |
208 | 208 | if ((D == D)) | |
209 | 209 | then [ScriptTransfer(s.caller, r, base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT'), IntegerEntry(((l + "_borrowed_") + "25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT"), r)] | |
210 | 210 | else throw("Strict value is not equal to itself.") | |
211 | 211 | } | |
212 | 212 | ||
213 | 213 | ||
214 | 214 | ||
215 | 215 | @Callable(s) | |
216 | 216 | func borrow2 (r) = { | |
217 | 217 | let l = toString(s.caller) | |
218 | 218 | func y (z,A) = { | |
219 | 219 | let R = invoke(addressFromStringValue("3N3DnVffnUyZtz2MRbk5U7giN112WempMNd"), "borrow", ["25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT", r], nil) | |
220 | 220 | if ((R == R)) | |
221 | 221 | then (z + A) | |
222 | 222 | else throw("Strict value is not equal to itself.") | |
223 | 223 | } | |
224 | 224 | ||
225 | 225 | let C = [r, r] | |
226 | 226 | let D = { | |
227 | 227 | let E = C | |
228 | 228 | let F = size(E) | |
229 | 229 | let G = 0 | |
230 | 230 | func H (I,J) = if ((J >= F)) | |
231 | 231 | then I | |
232 | 232 | else y(I, E[J]) | |
233 | 233 | ||
234 | 234 | func K (I,J) = if ((J >= F)) | |
235 | 235 | then I | |
236 | 236 | else throw("List size exceeds 2") | |
237 | 237 | ||
238 | 238 | K(H(H(G, 0), 1), 2) | |
239 | 239 | } | |
240 | 240 | [IntegerEntry(((l + "_borrowed_") + "25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT"), r), ScriptTransfer(s.caller, D, base58'25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT')] | |
241 | 241 | } | |
242 | 242 | ||
243 | 243 | ||
244 | 244 | ||
245 | 245 | @Callable(s) | |
246 | 246 | func borrow5 (k,r) = { | |
247 | 247 | let l = toString(s.caller) | |
248 | 248 | let D = { | |
249 | 249 | let E = d | |
250 | 250 | let F = size(E) | |
251 | 251 | let G = 0 | |
252 | 252 | func H (I,J) = if ((J >= F)) | |
253 | 253 | then I | |
254 | 254 | else g(I, E[J]) | |
255 | 255 | ||
256 | 256 | func K (I,J) = if ((J >= F)) | |
257 | 257 | then I | |
258 | 258 | else throw("List size exceeds 5") | |
259 | 259 | ||
260 | 260 | K(H(H(H(H(H(G, 0), 1), 2), 3), 4), 5) | |
261 | 261 | } | |
262 | 262 | if ((D == D)) | |
263 | 263 | then [IntegerEntry(((l + "_borrowed_") + k), r)] | |
264 | 264 | else throw("Strict value is not equal to itself.") | |
265 | 265 | } | |
266 | 266 | ||
267 | 267 | ||
268 | 268 | ||
269 | 269 | @Callable(s) | |
270 | 270 | func deposit () = { | |
271 | 271 | let l = toString(s.caller) | |
272 | 272 | let D = invoke(addressFromStringValue("3N3DnVffnUyZtz2MRbk5U7giN112WempMNd"), "supply", nil, [AttachedPayment(unit, 1000000)]) | |
273 | 273 | if ((D == D)) | |
274 | 274 | then [IntegerEntry((l + "supply_waves"), 1000000)] | |
275 | 275 | else throw("Strict value is not equal to itself.") | |
276 | 276 | } | |
277 | 277 | ||
278 | 278 | ||
279 | 279 | ||
280 | 280 | @Callable(s) | |
281 | 281 | func withdraw (k,r) = { | |
282 | 282 | let l = toString(s.caller) | |
283 | 283 | let D = invoke(addressFromStringValue("3N3DnVffnUyZtz2MRbk5U7giN112WempMNd"), "withdraw", [k, r], nil) | |
284 | 284 | if ((D == D)) | |
285 | 285 | then [IntegerEntry(((l + "_withdrew_") + k), r)] | |
286 | 286 | else throw("Strict value is not equal to itself.") | |
287 | 287 | } | |
288 | 288 | ||
289 | 289 | ||
290 | 290 | ||
291 | 291 | @Callable(s) | |
292 | 292 | func checkBalance (k) = { | |
293 | 293 | let l = s.caller | |
294 | 294 | if ((k == "WAVES")) | |
295 | 295 | then [IntegerEntry("Waves Balance", wavesBalance(l).available)] | |
296 | 296 | else [IntegerEntry("Asset Balance", assetBalance(l, fromBase58String(k)))] | |
297 | 297 | } | |
298 | 298 | ||
299 | 299 | ||
300 | 300 | @Verifier(S) | |
301 | 301 | func T () = sigVerify(S.bodyBytes, S.proofs[0], S.senderPublicKey) | |
302 | 302 |
github/deemru/w8io/026f985 40.41 ms ◑