tx · AGNVGwVtDXZqie5MyPjARiiDG2qgkEnEtyivQ87VFcS6 3MpcyLdYAQ6Z14cs1Fy3o7XK1cAHajK5g5N: -0.01000000 Waves 2022.04.27 14:48 [2026850] smart account 3MpcyLdYAQ6Z14cs1Fy3o7XK1cAHajK5g5N > SELF 0.00000000 Waves
{ "type": 13, "id": "AGNVGwVtDXZqie5MyPjARiiDG2qgkEnEtyivQ87VFcS6", "fee": 1000000, "feeAssetId": null, "timestamp": 1651060156459, "version": 2, "chainId": 84, "sender": "3MpcyLdYAQ6Z14cs1Fy3o7XK1cAHajK5g5N", "senderPublicKey": "CpN2UR96CYA49vvxNChb3NFpAE9TK2nyuCptRU4VkHzS", "proofs": [ "54UEEYSHunkyMWCv4RMNgaGMvZcUYtDUKQo17428KKgjNqQpQJXozNKxW5fF9CVSBwkibCDveYsH7KW3pFdsfTnP" ], "script": "base64:AAIFAAAAAAAAACYIAhIECgIBARIDCgEIEgMKAQgSBwoFAQEBAQgSAwoBARIAEgASAAAAABsAAAAAA3ZlcgIAAAADMS4wAAAAAAR5ZWFyAAAAAAAACAUgAAAAAAlzZXBhcmF0b3ICAAAAAl9fAAAAAApXQVZFU0lEU1RSAgAAAAVXQVZFUwAAAAAHV0FWRVNJRAkAAlkAAAABBQAAAApXQVZFU0lEU1RSAAAAAAxtYXhJbnZlc3RLZXkCAAAADSVzX19tYXhJbnZlc3QAAAAADnRvdGFsSW52ZXN0S2V5AgAAAA8lc19fdG90YWxJbnZlc3QAAAAADmludmVzdEFzc2V0S2V5AgAAABElc19faW52ZXN0QXNzZXRJZAAAAAAKYXB5RnJvbUtleQIAAAALJXNfX2FweUZyb20AAAAACGFweVRvS2V5AgAAAAklc19fYXB5VG8AAAAAFGludmVzdEludGVydmFsTWluS2V5AgAAAA8lc19faW50ZXJ2YWxNaW4AAAAADm1heEludGVydmFsS2V5AgAAAA4lX19tYXhJbnRlcnZhbAEAAAAQZ2V0VXNlckludmVzdEtleQAAAAEAAAAEdXNlcgkABLk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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAA25pbAAAAAFpAQAAAAxkZWxldGVBbW91bnQAAAAAAwkBAAAAAiE9AAAAAggFAAAAAWkAAAAGY2FsbGVyBQAAAAR0aGlzCQAAAgAAAAECAAAACU5vdCBvd25lcgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgUAAAAOdG90YWxJbnZlc3RLZXkAAAAAAAAAAAAFAAAAA25pbAAAAACoPsnI", "height": 2026850, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: vRkEPpDxqRXJLtKKStEmhHBw9NbH6GzJHymKQaKdivC Next: 7ToLhrUZefvWhNQjNw8Zq98EhR7Mf61EaHptAYMBMMmp Diff:
Old | New | Differences | |
---|---|---|---|
108 | 108 | } | |
109 | 109 | ||
110 | 110 | ||
111 | - | @Callable(ac) | |
111 | + | func ac (O,P,Q,R,S,T,U) = { | |
112 | + | let X = O | |
113 | + | let Y = r(P, height) | |
114 | + | let Z = (Y - X) | |
115 | + | let aa = fraction(U, Z, b) | |
116 | + | let ab = fraction(aa, R, 100000000) | |
117 | + | let ad = (P - Y) | |
118 | + | let ae = fraction((U * 2), Z, b) | |
119 | + | let af = fraction(ae, R, 100000000) | |
120 | + | (ab + af) | |
121 | + | } | |
122 | + | ||
123 | + | ||
124 | + | @Callable(ag) | |
112 | 125 | func getApyReaOnly (E,F) = { | |
113 | - | let | |
114 | - | $Tuple2(nil, | |
126 | + | let ah = D(E, F) | |
127 | + | $Tuple2(nil, ah) | |
115 | 128 | } | |
116 | 129 | ||
117 | 130 | ||
118 | 131 | ||
119 | - | @Callable( | |
132 | + | @Callable(ag) | |
120 | 133 | func claimReadonly (n) = { | |
121 | 134 | let N = M(n) | |
122 | 135 | let S = W(N[0], N[1], N[2], N[3], N[4], N[5], N[6]) | |
125 | 138 | ||
126 | 139 | ||
127 | 140 | ||
128 | - | @Callable(ac) | |
129 | - | func setParams (H,G,ae,af,ag) = if ((ac.caller != this)) | |
130 | - | then throw("Not owner") | |
131 | - | else [StringEntry(h, ag), IntegerEntry(j, G), IntegerEntry(i, H), IntegerEntry(l, ae), IntegerEntry(f, af)] | |
141 | + | @Callable(ag) | |
142 | + | func forfaitReadonly (n) = { | |
143 | + | let N = M(n) | |
144 | + | let ai = ac(N[0], N[1], N[2], N[3], N[4], N[5], N[6]) | |
145 | + | $Tuple2(nil, ai) | |
146 | + | } | |
132 | 147 | ||
133 | 148 | ||
134 | 149 | ||
135 | - | @Callable(ac) | |
150 | + | @Callable(ag) | |
151 | + | func setParams (H,G,aj,ak,al) = if ((ag.caller != this)) | |
152 | + | then throw("Not owner") | |
153 | + | else [StringEntry(h, al), IntegerEntry(j, G), IntegerEntry(i, H), IntegerEntry(l, aj), IntegerEntry(f, ak)] | |
154 | + | ||
155 | + | ||
156 | + | ||
157 | + | @Callable(ag) | |
136 | 158 | func deposit (E) = { | |
137 | - | let | |
138 | - | let | |
139 | - | let | |
140 | - | let | |
141 | - | let | |
142 | - | let | |
159 | + | let am = x(k, 43200) | |
160 | + | let ak = v(f) | |
161 | + | let an = v(g) | |
162 | + | let al = A(h) | |
163 | + | let ao = ag.caller | |
164 | + | let ap = toString(ao) | |
143 | 165 | let F = v(l) | |
144 | - | let | |
145 | - | let | |
146 | - | let | |
166 | + | let aq = height | |
167 | + | let ar = (aq + (am * E)) | |
168 | + | let as = (("Invalid asset. " + al) + " is expected") | |
147 | 169 | if (if ((1 > E)) | |
148 | 170 | then true | |
149 | 171 | else (E > F)) | |
150 | 172 | then throw("Wrong interval") | |
151 | - | else if ((size( | |
173 | + | else if ((size(ag.payments) != 1)) | |
152 | 174 | then throw("Invalid payments size") | |
153 | 175 | else { | |
154 | - | let | |
155 | - | let R = | |
156 | - | let | |
157 | - | if ((toBase58String( | |
158 | - | then throw( | |
159 | - | else if (((R + | |
176 | + | let at = ag.payments[0] | |
177 | + | let R = at.amount | |
178 | + | let au = valueOrErrorMessage(at.assetId, as) | |
179 | + | if ((toBase58String(au) != al)) | |
180 | + | then throw(as) | |
181 | + | else if (((R + an) > ak)) | |
160 | 182 | then throw("The max invest limit has been reached") | |
161 | 183 | else { | |
162 | - | let | |
163 | - | let | |
164 | - | let | |
165 | - | let | |
166 | - | let T = | |
167 | - | let S = | |
168 | - | [V( | |
184 | + | let ah = D(E, F) | |
185 | + | let av = M(ap) | |
186 | + | let aw = W(av[0], av[1], av[2], av[3], av[4], av[5], av[6]) | |
187 | + | let ax = (R + av[3]) | |
188 | + | let T = av[4] | |
189 | + | let S = av[5] | |
190 | + | [V(ap, aq, ar, aq, ax, aw, T, ah), IntegerEntry(g, (R + an))] | |
169 | 191 | } | |
170 | 192 | } | |
171 | 193 | } | |
172 | 194 | ||
173 | 195 | ||
174 | 196 | ||
175 | - | @Callable( | |
197 | + | @Callable(ag) | |
176 | 198 | func claim () = { | |
177 | - | let | |
178 | - | let N = M(toString( | |
199 | + | let al = A(h) | |
200 | + | let N = M(toString(ag.caller)) | |
179 | 201 | if ((7 > size(N))) | |
180 | 202 | then throw("User has't invest") | |
181 | 203 | else { | |
184 | 206 | let Q = height | |
185 | 207 | if ((S == 0)) | |
186 | 208 | then throw("Nothing to claim") | |
187 | - | else [ScriptTransfer( | |
209 | + | else [ScriptTransfer(ag.caller, S, fromBase58String(al)), V(toString(ag.caller), N[0], N[1], Q, N[3], 0, T, N[6])] | |
188 | 210 | } | |
189 | 211 | } | |
190 | 212 | ||
191 | 213 | ||
192 | 214 | ||
193 | - | @Callable(ac) | |
194 | - | func deleteAmount () = if ((ac.caller != this)) | |
215 | + | @Callable(ag) | |
216 | + | func cancelInvest () = { | |
217 | + | let al = A(h) | |
218 | + | let av = M(toString(ag.caller)) | |
219 | + | if ((7 > size(av))) | |
220 | + | then throw("User has't invest") | |
221 | + | else { | |
222 | + | let S = W(av[0], av[1], av[2], av[3], av[4], av[5], av[6]) | |
223 | + | let ay = ac(av[0], av[1], av[2], av[3], av[4], av[5], av[6]) | |
224 | + | let R = av[3] | |
225 | + | let az = ((S + R) - ay) | |
226 | + | [ScriptTransfer(ag.caller, S, fromBase58String(al)), V(toString(ag.caller), 0, 0, 0, 0, 0, 0, 0)] | |
227 | + | } | |
228 | + | } | |
229 | + | ||
230 | + | ||
231 | + | ||
232 | + | @Callable(ag) | |
233 | + | func deleteAmount () = if ((ag.caller != this)) | |
195 | 234 | then throw("Not owner") | |
196 | 235 | else [IntegerEntry(g, 0)] | |
197 | 236 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "1.0" | |
5 | 5 | ||
6 | 6 | let b = 525600 | |
7 | 7 | ||
8 | 8 | let c = "__" | |
9 | 9 | ||
10 | 10 | let d = "WAVES" | |
11 | 11 | ||
12 | 12 | let e = fromBase58String(d) | |
13 | 13 | ||
14 | 14 | let f = "%s__maxInvest" | |
15 | 15 | ||
16 | 16 | let g = "%s__totalInvest" | |
17 | 17 | ||
18 | 18 | let h = "%s__investAssetId" | |
19 | 19 | ||
20 | 20 | let i = "%s__apyFrom" | |
21 | 21 | ||
22 | 22 | let j = "%s__apyTo" | |
23 | 23 | ||
24 | 24 | let k = "%s__intervalMin" | |
25 | 25 | ||
26 | 26 | let l = "%__maxInterval" | |
27 | 27 | ||
28 | 28 | func m (n) = makeString(["%s%s$d", "clrcInvest", n], c) | |
29 | 29 | ||
30 | 30 | ||
31 | 31 | func o (p,q) = if ((valueOrElse(p, 0) != 0)) | |
32 | 32 | then p | |
33 | 33 | else q | |
34 | 34 | ||
35 | 35 | ||
36 | 36 | func r (s,t) = if ((s > t)) | |
37 | 37 | then t | |
38 | 38 | else s | |
39 | 39 | ||
40 | 40 | ||
41 | 41 | func u (s,t) = if ((t > s)) | |
42 | 42 | then t | |
43 | 43 | else s | |
44 | 44 | ||
45 | 45 | ||
46 | 46 | func v (w) = valueOrElse(getInteger(this, w), 0) | |
47 | 47 | ||
48 | 48 | ||
49 | 49 | func x (w,q) = valueOrElse(getInteger(this, w), q) | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | func y (w) = valueOrErrorMessage(getInteger(this, w), (("Mandatory this." + w) + " is not defined")) | |
53 | 53 | ||
54 | 54 | ||
55 | 55 | func z (w,q) = valueOrElse(getString(this, w), q) | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | func A (w) = valueOrErrorMessage(getString(this, w), (("Mandatory this." + w) + " is not defined")) | |
59 | 59 | ||
60 | 60 | ||
61 | 61 | func B (C) = if ((C == d)) | |
62 | 62 | then unit | |
63 | 63 | else fromBase58String(C) | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | func D (E,F) = { | |
67 | 67 | let G = v(j) | |
68 | 68 | let H = v(i) | |
69 | 69 | let I = ((G - H) * 1000000) | |
70 | 70 | let J = (F - 1) | |
71 | 71 | let K = ((I * (E - 1)) / J) | |
72 | 72 | let L = (K + (H * 1000000)) | |
73 | 73 | L | |
74 | 74 | } | |
75 | 75 | ||
76 | 76 | ||
77 | 77 | func M (n) = { | |
78 | 78 | let N = split(z(m(n), ""), c) | |
79 | 79 | if ((7 > size(N))) | |
80 | 80 | then [0, 0, 0, 0, 0, 0, 0] | |
81 | 81 | else { | |
82 | 82 | let O = valueOrElse(parseInt(N[1]), 0) | |
83 | 83 | let P = valueOrElse(parseInt(N[2]), 0) | |
84 | 84 | let Q = valueOrElse(parseInt(N[3]), 0) | |
85 | 85 | let R = valueOrElse(parseInt(N[4]), 0) | |
86 | 86 | let S = valueOrElse(parseInt(N[5]), 0) | |
87 | 87 | let T = valueOrElse(parseInt(N[6]), 0) | |
88 | 88 | let U = valueOrElse(parseInt(N[7]), 0) | |
89 | 89 | [O, P, Q, R, S, T, U] | |
90 | 90 | } | |
91 | 91 | } | |
92 | 92 | ||
93 | 93 | ||
94 | 94 | func V (n,O,P,Q,R,S,T,U) = { | |
95 | 95 | let w = m(n) | |
96 | 96 | let N = makeString(["%d%d%d%d%d%d", toString(O), toString(P), toString(Q), toString(R), toString(S), toString(T), toString(U)], c) | |
97 | 97 | StringEntry(w, N) | |
98 | 98 | } | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func W (O,P,Q,R,S,T,U) = { | |
102 | 102 | let X = u(Q, O) | |
103 | 103 | let Y = r(P, height) | |
104 | 104 | let Z = (Y - X) | |
105 | 105 | let aa = fraction(U, Z, b) | |
106 | 106 | let ab = fraction(aa, R, 100000000) | |
107 | 107 | (ab + S) | |
108 | 108 | } | |
109 | 109 | ||
110 | 110 | ||
111 | - | @Callable(ac) | |
111 | + | func ac (O,P,Q,R,S,T,U) = { | |
112 | + | let X = O | |
113 | + | let Y = r(P, height) | |
114 | + | let Z = (Y - X) | |
115 | + | let aa = fraction(U, Z, b) | |
116 | + | let ab = fraction(aa, R, 100000000) | |
117 | + | let ad = (P - Y) | |
118 | + | let ae = fraction((U * 2), Z, b) | |
119 | + | let af = fraction(ae, R, 100000000) | |
120 | + | (ab + af) | |
121 | + | } | |
122 | + | ||
123 | + | ||
124 | + | @Callable(ag) | |
112 | 125 | func getApyReaOnly (E,F) = { | |
113 | - | let | |
114 | - | $Tuple2(nil, | |
126 | + | let ah = D(E, F) | |
127 | + | $Tuple2(nil, ah) | |
115 | 128 | } | |
116 | 129 | ||
117 | 130 | ||
118 | 131 | ||
119 | - | @Callable( | |
132 | + | @Callable(ag) | |
120 | 133 | func claimReadonly (n) = { | |
121 | 134 | let N = M(n) | |
122 | 135 | let S = W(N[0], N[1], N[2], N[3], N[4], N[5], N[6]) | |
123 | 136 | $Tuple2(nil, S) | |
124 | 137 | } | |
125 | 138 | ||
126 | 139 | ||
127 | 140 | ||
128 | - | @Callable(ac) | |
129 | - | func setParams (H,G,ae,af,ag) = if ((ac.caller != this)) | |
130 | - | then throw("Not owner") | |
131 | - | else [StringEntry(h, ag), IntegerEntry(j, G), IntegerEntry(i, H), IntegerEntry(l, ae), IntegerEntry(f, af)] | |
141 | + | @Callable(ag) | |
142 | + | func forfaitReadonly (n) = { | |
143 | + | let N = M(n) | |
144 | + | let ai = ac(N[0], N[1], N[2], N[3], N[4], N[5], N[6]) | |
145 | + | $Tuple2(nil, ai) | |
146 | + | } | |
132 | 147 | ||
133 | 148 | ||
134 | 149 | ||
135 | - | @Callable(ac) | |
150 | + | @Callable(ag) | |
151 | + | func setParams (H,G,aj,ak,al) = if ((ag.caller != this)) | |
152 | + | then throw("Not owner") | |
153 | + | else [StringEntry(h, al), IntegerEntry(j, G), IntegerEntry(i, H), IntegerEntry(l, aj), IntegerEntry(f, ak)] | |
154 | + | ||
155 | + | ||
156 | + | ||
157 | + | @Callable(ag) | |
136 | 158 | func deposit (E) = { | |
137 | - | let | |
138 | - | let | |
139 | - | let | |
140 | - | let | |
141 | - | let | |
142 | - | let | |
159 | + | let am = x(k, 43200) | |
160 | + | let ak = v(f) | |
161 | + | let an = v(g) | |
162 | + | let al = A(h) | |
163 | + | let ao = ag.caller | |
164 | + | let ap = toString(ao) | |
143 | 165 | let F = v(l) | |
144 | - | let | |
145 | - | let | |
146 | - | let | |
166 | + | let aq = height | |
167 | + | let ar = (aq + (am * E)) | |
168 | + | let as = (("Invalid asset. " + al) + " is expected") | |
147 | 169 | if (if ((1 > E)) | |
148 | 170 | then true | |
149 | 171 | else (E > F)) | |
150 | 172 | then throw("Wrong interval") | |
151 | - | else if ((size( | |
173 | + | else if ((size(ag.payments) != 1)) | |
152 | 174 | then throw("Invalid payments size") | |
153 | 175 | else { | |
154 | - | let | |
155 | - | let R = | |
156 | - | let | |
157 | - | if ((toBase58String( | |
158 | - | then throw( | |
159 | - | else if (((R + | |
176 | + | let at = ag.payments[0] | |
177 | + | let R = at.amount | |
178 | + | let au = valueOrErrorMessage(at.assetId, as) | |
179 | + | if ((toBase58String(au) != al)) | |
180 | + | then throw(as) | |
181 | + | else if (((R + an) > ak)) | |
160 | 182 | then throw("The max invest limit has been reached") | |
161 | 183 | else { | |
162 | - | let | |
163 | - | let | |
164 | - | let | |
165 | - | let | |
166 | - | let T = | |
167 | - | let S = | |
168 | - | [V( | |
184 | + | let ah = D(E, F) | |
185 | + | let av = M(ap) | |
186 | + | let aw = W(av[0], av[1], av[2], av[3], av[4], av[5], av[6]) | |
187 | + | let ax = (R + av[3]) | |
188 | + | let T = av[4] | |
189 | + | let S = av[5] | |
190 | + | [V(ap, aq, ar, aq, ax, aw, T, ah), IntegerEntry(g, (R + an))] | |
169 | 191 | } | |
170 | 192 | } | |
171 | 193 | } | |
172 | 194 | ||
173 | 195 | ||
174 | 196 | ||
175 | - | @Callable( | |
197 | + | @Callable(ag) | |
176 | 198 | func claim () = { | |
177 | - | let | |
178 | - | let N = M(toString( | |
199 | + | let al = A(h) | |
200 | + | let N = M(toString(ag.caller)) | |
179 | 201 | if ((7 > size(N))) | |
180 | 202 | then throw("User has't invest") | |
181 | 203 | else { | |
182 | 204 | let S = W(N[0], N[1], N[2], N[3], N[4], N[5], N[6]) | |
183 | 205 | let T = (N[4] + S) | |
184 | 206 | let Q = height | |
185 | 207 | if ((S == 0)) | |
186 | 208 | then throw("Nothing to claim") | |
187 | - | else [ScriptTransfer( | |
209 | + | else [ScriptTransfer(ag.caller, S, fromBase58String(al)), V(toString(ag.caller), N[0], N[1], Q, N[3], 0, T, N[6])] | |
188 | 210 | } | |
189 | 211 | } | |
190 | 212 | ||
191 | 213 | ||
192 | 214 | ||
193 | - | @Callable(ac) | |
194 | - | func deleteAmount () = if ((ac.caller != this)) | |
215 | + | @Callable(ag) | |
216 | + | func cancelInvest () = { | |
217 | + | let al = A(h) | |
218 | + | let av = M(toString(ag.caller)) | |
219 | + | if ((7 > size(av))) | |
220 | + | then throw("User has't invest") | |
221 | + | else { | |
222 | + | let S = W(av[0], av[1], av[2], av[3], av[4], av[5], av[6]) | |
223 | + | let ay = ac(av[0], av[1], av[2], av[3], av[4], av[5], av[6]) | |
224 | + | let R = av[3] | |
225 | + | let az = ((S + R) - ay) | |
226 | + | [ScriptTransfer(ag.caller, S, fromBase58String(al)), V(toString(ag.caller), 0, 0, 0, 0, 0, 0, 0)] | |
227 | + | } | |
228 | + | } | |
229 | + | ||
230 | + | ||
231 | + | ||
232 | + | @Callable(ag) | |
233 | + | func deleteAmount () = if ((ag.caller != this)) | |
195 | 234 | then throw("Not owner") | |
196 | 235 | else [IntegerEntry(g, 0)] | |
197 | 236 | ||
198 | 237 |
github/deemru/w8io/026f985 58.04 ms ◑