tx · G1hGBY1RUws1wpec24yn6bk1cy1PPXb6WbpR91Vb6mTq 3MvenppyAqkqbJvpemDnU6P5dvSJ9fvRxRg: -0.01400000 Waves 2020.12.12 16:46 [1305523] smart account 3MvenppyAqkqbJvpemDnU6P5dvSJ9fvRxRg > SELF 0.00000000 Waves
{ "type": 13, "id": "G1hGBY1RUws1wpec24yn6bk1cy1PPXb6WbpR91Vb6mTq", "fee": 1400000, "feeAssetId": null, "timestamp": 1607780831168, "version": 1, "sender": "3MvenppyAqkqbJvpemDnU6P5dvSJ9fvRxRg", "senderPublicKey": "38RJPSAs2g6F7P5zT5FJ6BAc1DyReFGja2vkw8rSz3ga", "proofs": [ "5bdCWdeepxmBnRJpkNtuzTfDpHyWjE5z62PB93GeuGNdXjeH6nSSu7t2gDfXzfuWkERmEdNYnWmBPK8hzNTvZXTN" ], "script": "base64:AAIEAAAAAAAAABcIAhIDCgEIEgMKAQgSBAoCCAESAwoBCAAAABsAAAAADGFkbWluUHViS2V5MQEAAAAgELDi6uQgdVvao3EGz2pOOnWzKruRdXrpd4DobbWyZx8AAAAADGFkbWluUHViS2V5MgEAAAAgELDi6uQgdVvao3EGz2pOOnWzKruRdXrpd4DobbWyZx8AAAAADGFkbWluUHViS2V5MwEAAAAgELDi6uQgdVvao3EGz2pOOnWzKruRdXrpd4DobbWyZx8AAAAAFGFkbWluUHViS2V5U3RhcnRTdG9wAQAAACAQsOLq5CB1W9qjcQbPak46dbMqu5F1eul3gOhttbJnHwAAAAASYWRtaW5QdWJLZXlTdGFraW5nAQAAACAQsOLq5CB1W9qjcQbPak46dbMqu5F1eul3gOhttbJnHwAAAAAUa2V5U2hhcmVUb2tlbnNMb2NrZWQCAAAAGl90b3RhbF9zaGFyZV90b2tlbnNfbG9ja2VkAAAAABBrZXlDdXJyZW50UmV3YXJkAgAAAA9fY3VycmVudF9yZXdhcmQAAAAAFWtleVJld2FyZFVwZGF0ZUhlaWdodAIAAAAVX3Jld2FyZF91cGRhdGVfaGVpZ2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naHQFAAAABmhlaWdodAkABEwAAAACCQEAAAAHUmVpc3N1ZQAAAAMFAAAABFNXT1AFAAAAC2NsYWltQW1vdW50BgkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIFAAAAC2NsYWltQW1vdW50BQAAAARTV09QBQAAAANuaWwAAAAAbpO51w==", "chainId": 84, "height": 1305523, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4oSjnik2Lg7jFYxa7iEt2YJSfWNBGoSFTBsj5WgYJR91 Next: MEHQBDdbEUf9oTLidacksBrnhqrBjrYmvLAGbV8gWGr Diff:
Old | New | Differences | |
---|---|---|---|
43 | 43 | func t () = throw("DApp is already active") | |
44 | 44 | ||
45 | 45 | ||
46 | - | func u (v) = valueOrErrorMessage(getInteger(this, (v + l)), (("No data on the key: " + v) + | |
46 | + | func u (v) = valueOrErrorMessage(getInteger(this, (v + l)), (("No data on the key: " + v) + f)) | |
47 | 47 | ||
48 | 48 | ||
49 | 49 | func w (v) = { | |
55 | 55 | ||
56 | 56 | ||
57 | 57 | func A (v) = { | |
58 | - | let B = valueOrErrorMessage( | |
59 | - | let C = valueOrErrorMessage( | |
58 | + | let B = valueOrErrorMessage(getInteger(this, (v + j)), (((("No data on the key: " + v) + "_") + v) + j)) | |
59 | + | let C = valueOrErrorMessage(getInteger(this, (v + k)), (("No data on the key: " + v) + k)) | |
60 | 60 | $Tuple2(C, B) | |
61 | 61 | } | |
62 | 62 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'289xpUrYrKbLjaKkqH3XNhfecukcYRaDRT3JDrvkvQRU' | |
5 | 5 | ||
6 | 6 | let b = base58'289xpUrYrKbLjaKkqH3XNhfecukcYRaDRT3JDrvkvQRU' | |
7 | 7 | ||
8 | 8 | let c = base58'289xpUrYrKbLjaKkqH3XNhfecukcYRaDRT3JDrvkvQRU' | |
9 | 9 | ||
10 | 10 | let d = base58'289xpUrYrKbLjaKkqH3XNhfecukcYRaDRT3JDrvkvQRU' | |
11 | 11 | ||
12 | 12 | let e = base58'289xpUrYrKbLjaKkqH3XNhfecukcYRaDRT3JDrvkvQRU' | |
13 | 13 | ||
14 | 14 | let f = "_total_share_tokens_locked" | |
15 | 15 | ||
16 | 16 | let g = "_current_reward" | |
17 | 17 | ||
18 | 18 | let h = "_reward_update_height" | |
19 | 19 | ||
20 | 20 | let i = "_previous_reward" | |
21 | 21 | ||
22 | 22 | let j = "_last_interest" | |
23 | 23 | ||
24 | 24 | let k = "_last_interest_height" | |
25 | 25 | ||
26 | 26 | let l = "_share_tokens_locked" | |
27 | 27 | ||
28 | 28 | let m = "_last_index" | |
29 | 29 | ||
30 | 30 | let n = "_address" | |
31 | 31 | ||
32 | 32 | let o = Address(base58'3N5F5DCmWNzT8ZPe1tBfiXaVYzWJriaJZ9E') | |
33 | 33 | ||
34 | 34 | let p = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p' | |
35 | 35 | ||
36 | 36 | let q = 100000000 | |
37 | 37 | ||
38 | 38 | let r = getIntegerValue(this, "height_reward_update") | |
39 | 39 | ||
40 | 40 | func s () = throw("Only admin can call this function") | |
41 | 41 | ||
42 | 42 | ||
43 | 43 | func t () = throw("DApp is already active") | |
44 | 44 | ||
45 | 45 | ||
46 | - | func u (v) = valueOrErrorMessage(getInteger(this, (v + l)), (("No data on the key: " + v) + | |
46 | + | func u (v) = valueOrErrorMessage(getInteger(this, (v + l)), (("No data on the key: " + v) + f)) | |
47 | 47 | ||
48 | 48 | ||
49 | 49 | func w (v) = { | |
50 | 50 | let x = valueOrErrorMessage(getInteger(o, (v + g)), (((("No data on the key: " + v) + g) + " at address ") + toString(o))) | |
51 | 51 | let y = valueOrErrorMessage(getInteger(o, (v + h)), (((("No data on the key: " + v) + h) + " at address ") + toString(o))) | |
52 | 52 | let z = valueOrErrorMessage(getInteger(o, (v + h)), (((("No data on the key: " + v) + i) + " at address ") + toString(o))) | |
53 | 53 | $Tuple3(x, y, z) | |
54 | 54 | } | |
55 | 55 | ||
56 | 56 | ||
57 | 57 | func A (v) = { | |
58 | - | let B = valueOrErrorMessage( | |
59 | - | let C = valueOrErrorMessage( | |
58 | + | let B = valueOrErrorMessage(getInteger(this, (v + j)), (((("No data on the key: " + v) + "_") + v) + j)) | |
59 | + | let C = valueOrErrorMessage(getInteger(this, (v + k)), (("No data on the key: " + v) + k)) | |
60 | 60 | $Tuple2(C, B) | |
61 | 61 | } | |
62 | 62 | ||
63 | 63 | ||
64 | 64 | func D (v,E) = { | |
65 | 65 | let F = getInteger(this, (((v + "_") + toString(E)) + m)) | |
66 | 66 | let G = getInteger(this, (((v + "_") + toString(E)) + l)) | |
67 | 67 | let H = { | |
68 | 68 | let I = F | |
69 | 69 | if ($isInstanceOf(I, "Int")) | |
70 | 70 | then { | |
71 | 71 | let F = I | |
72 | 72 | F | |
73 | 73 | } | |
74 | 74 | else 0 | |
75 | 75 | } | |
76 | 76 | let J = { | |
77 | 77 | let I = G | |
78 | 78 | if ($isInstanceOf(I, "Int")) | |
79 | 79 | then { | |
80 | 80 | let G = I | |
81 | 81 | G | |
82 | 82 | } | |
83 | 83 | else 0 | |
84 | 84 | } | |
85 | 85 | $Tuple2(H, J) | |
86 | 86 | } | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func K (C,y,B,L,M,N) = if ((C > y)) | |
90 | 90 | then { | |
91 | 91 | let O = (L * (height - C)) | |
92 | 92 | ((B * q) + fraction(O, q, M)) | |
93 | 93 | } | |
94 | 94 | else { | |
95 | 95 | let P = (N * (y - C)) | |
96 | 96 | let Q = ((B * q) + fraction(P, q, M)) | |
97 | 97 | let O = (L * (height - y)) | |
98 | 98 | ((Q * q) + fraction(O, q, M)) | |
99 | 99 | } | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | func R (v,S) = { | |
103 | 103 | let M = u(v) | |
104 | 104 | let T = A(v) | |
105 | 105 | let C = T._1 | |
106 | 106 | let B = T._2 | |
107 | 107 | let U = w(v) | |
108 | 108 | let L = U._1 | |
109 | 109 | let y = U._2 | |
110 | 110 | let N = U._3 | |
111 | 111 | let V = D(v, S) | |
112 | 112 | let F = V._1 | |
113 | 113 | let J = V._2 | |
114 | 114 | let W = K(C, y, B, L, M, N) | |
115 | 115 | let X = fraction(J, (W - (F * q)), q) | |
116 | 116 | let Y = W | |
117 | 117 | $Tuple4(Y, W, X, J) | |
118 | 118 | } | |
119 | 119 | ||
120 | 120 | ||
121 | 121 | func Z (v,aa) = { | |
122 | 122 | let ab = value(addressFromString(getStringValue(this, (v + n)))) | |
123 | 123 | let ac = fromBase58String(getStringValue(ab, "share_asset_id")) | |
124 | 124 | if ((aa == ac)) | |
125 | 125 | then true | |
126 | 126 | else false | |
127 | 127 | } | |
128 | 128 | ||
129 | 129 | ||
130 | 130 | @Callable(ad) | |
131 | 131 | func initPoolShareLocking (v) = if (!(containsElement([a, b, c], ad.callerPublicKey))) | |
132 | 132 | then throw("Only admin can call this function") | |
133 | 133 | else { | |
134 | 134 | let ae = w(v) | |
135 | 135 | let x = ae._1 | |
136 | 136 | let y = ae._2 | |
137 | 137 | let N = ae._3 | |
138 | 138 | [StringEntry((v + n), v), IntegerEntry((v + f), 0), IntegerEntry((v + g), 0), IntegerEntry((v + j), 0), IntegerEntry((v + k), height), IntegerEntry((v + h), y), IntegerEntry((v + i), N)] | |
139 | 139 | } | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | ||
143 | 143 | @Callable(ad) | |
144 | 144 | func lockShareTokens (v) = { | |
145 | 145 | let af = $Tuple2(ad.payments[0].amount, ad.payments[0].assetId) | |
146 | 146 | let ag = af._1 | |
147 | 147 | let aa = af._2 | |
148 | 148 | if (!(Z(v, aa))) | |
149 | 149 | then throw("Incorrect pmtAssetId") | |
150 | 150 | else { | |
151 | 151 | let ah = R(v, ad.caller) | |
152 | 152 | let Y = ah._1 | |
153 | 153 | let W = ah._2 | |
154 | 154 | let X = ah._3 | |
155 | 155 | let J = ah._4 | |
156 | 156 | let ai = (J + ag) | |
157 | 157 | [IntegerEntry((((v + "_") + toString(ad.caller)) + m), Y), IntegerEntry((((v + "_") + toString(ad.caller)) + l), ai), IntegerEntry((v + j), W), IntegerEntry((v + k), height), Reissue(p, X, true), ScriptTransfer(ad.caller, X, p)] | |
158 | 158 | } | |
159 | 159 | } | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | ||
163 | 163 | @Callable(ad) | |
164 | 164 | func withdrawShareTokens (v,aj) = { | |
165 | 165 | let ak = R(v, ad.caller) | |
166 | 166 | let Y = ak._1 | |
167 | 167 | let W = ak._2 | |
168 | 168 | let X = ak._3 | |
169 | 169 | let J = ak._4 | |
170 | 170 | if ((aj > J)) | |
171 | 171 | then throw("Withdraw amount more then user locked amount") | |
172 | 172 | else { | |
173 | 173 | let ai = (J - aj) | |
174 | 174 | let al = fromBase58String(getStringValue(this, (v + "share_asset_id"))) | |
175 | 175 | [IntegerEntry((((v + "_") + toString(ad.caller)) + m), Y), IntegerEntry((((v + "_") + toString(ad.caller)) + l), ai), IntegerEntry((v + j), W), IntegerEntry((v + k), height), Reissue(p, X, true), ScriptTransfer(ad.caller, X, p), ScriptTransfer(ad.caller, aj, al)] | |
176 | 176 | } | |
177 | 177 | } | |
178 | 178 | ||
179 | 179 | ||
180 | 180 | ||
181 | 181 | @Callable(ad) | |
182 | 182 | func claim (v) = { | |
183 | 183 | let M = u(v) | |
184 | 184 | let am = A(v) | |
185 | 185 | let C = am._1 | |
186 | 186 | let B = am._2 | |
187 | 187 | let an = w(v) | |
188 | 188 | let L = an._1 | |
189 | 189 | let y = an._2 | |
190 | 190 | let N = an._3 | |
191 | 191 | let ao = D(v, ad.caller) | |
192 | 192 | let F = ao._1 | |
193 | 193 | let G = ao._2 | |
194 | 194 | let W = K(C, y, B, L, M, N) | |
195 | 195 | let X = fraction(G, (W - (F * q)), q) | |
196 | 196 | let Y = W | |
197 | 197 | [IntegerEntry((((v + "_") + toString(ad.caller)) + m), Y), IntegerEntry(((v + "_") + j), W), IntegerEntry(((v + "_") + k), height), Reissue(p, X, true), ScriptTransfer(ad.caller, X, p)] | |
198 | 198 | } | |
199 | 199 | ||
200 | 200 |
github/deemru/w8io/169f3d6 47.76 ms ◑