tx · HDPiqkgCseAd7ufnAYvpbs2oy2nE5VTP3mvateh6Ekvo 3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez: -0.01200000 Waves 2023.11.01 11:52 [2824037] smart account 3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez > SELF 0.00000000 Waves
{ "type": 13, "id": "HDPiqkgCseAd7ufnAYvpbs2oy2nE5VTP3mvateh6Ekvo", "fee": 1200000, "feeAssetId": null, "timestamp": 1698828774498, "version": 2, "chainId": 84, "sender": "3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez", "senderPublicKey": "Brp6cacBXyKUcZr5Uc6VDKsnFcaEeQ8nQzrZQyobDsuf", "proofs": [ "4CkhRfSERp3nsAMf46wbT3qDXY57EzS5awo8MV2hVpSwJmcE69sLfHqTVjx97EtraPC7Givs7aJfavKVP1GENMAt" ], "script": "base64:AAIFAAAAAAAAABgIAhIECgIIARIDCgEIEgASAwoBCBIAEgAAAAAJAAAAAAJsaQkABEwAAAACAgAAAAExCQAETAAAAAICAAAAATIJAARMAAAAAgIAAAABMwkABEwAAAACAgAAAAE0CQAETAAAAAICAAAAATUJAARMAAAAAgIAAAABNgkABEwAAAACAgAAAAE3CQAETAAAAAICAAAAATgJAARMAAAAAgIAAAABOQkABEwAAAACAgAAAAIxMAkABEwAAAACAgAAAAIxMQkABEwAAAACAgAAAAIxMgkABEwAAAACAgAAAAIxMwkABEwAAAACAgAAAAIxNAkABEwAAAACAgAAAAIxNQkABEwAAAACAgAAAAIxNgkABEwAAAACAgAAAAIxNwkABEwAAAACAgAAAAIxOAkABEwAAAACAgAAAAIxOQkABEwAAAACAgAAAAIyMAkABEwAAAACAgAAAAIyMQkABEwAAAACAgAAAAIyMgkABEwAAAACAgAAAAIyMwkABEwAAAACAgAAAAIyNAkABEwAAAACAgAAAAIyNQkABEwAAAACAgAAAAIyNgkABEwAAAACAgAAAAIyNwkABEwAAAACAgAAAAIyOAkABEwAAAACAgAAAAIyOQkABEwAAAACAg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AAAAAAAAABUAAAAAAAAAABYAAAAAAAAAABcAAAAAAAAAABgAAAAAAAAAABkAAAAAAAAAABoAAAAAAAAAABsAAAAAAAAAABwAAAAAAAAAAB0AAAAAAAAAAB4AAAAAAAAAAB8AAAAAAAAAACAAAAAAAAAAACEAAAAAAAAAACIAAAAAAAAAACMAAAAAAAAAACQAAAAAAAAAACUAAAAAAAAAACYAAAAAAAAAACcAAAAAAAAAACgAAAAAAAAAACkAAAAAAAAAACoAAAAAAAAAACsAAAAAAAAAACwAAAAAAAAAAC0AAAAAAAAAAC4AAAAAAAAAAC8AAAAAAAAAADAAAAAAAAAAADEAAAAAAAAAADIAAAAAAAAAADMAAAAAAAAAADQAAAAAAAAAADUAAAAAAAAAADYAAAAAAAAAADcAAAAAAAAAADgEAAAAC2ZpcnN0T2ZMaXN0CQABkQAAAAIFAAAABGxpc3QAAAAAAAAAAAAJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAABWZpcnN0BQAAAAtmaXJzdE9mTGlzdAUAAAADbmlsAAAAADPnwr4=", "height": 2824037, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2nHz4W1dxCdoyqZSBHt5AT7jro4vLtqnCExDnce34EAx Next: 2sds4u3WhpPAqVkViygwzBFxMegH9G7zknoZ8DK1nzpn Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "55", "56"] | |
5 | 5 | ||
6 | 6 | let b = 1 | |
7 | 7 | ||
8 | 8 | let c = 10 | |
9 | 9 | ||
10 | 10 | func d (e) = { | |
11 | 11 | let f = getInteger(this, e) | |
12 | 12 | if ($isInstanceOf(f, "Int")) | |
13 | 13 | then { | |
14 | 14 | let g = f | |
15 | 15 | g | |
16 | 16 | } | |
17 | 17 | else 0 | |
18 | 18 | } | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | func h (e) = { | |
22 | 22 | let f = getString(this, e) | |
23 | 23 | if ($isInstanceOf(f, "String")) | |
24 | 24 | then { | |
25 | 25 | let g = f | |
26 | 26 | g | |
27 | 27 | } | |
28 | 28 | else "" | |
29 | 29 | } | |
30 | 30 | ||
31 | 31 | ||
32 | 32 | func i (j) = { | |
33 | 33 | let f = j | |
34 | 34 | if ($isInstanceOf(f, "ByteVector")) | |
35 | 35 | then { | |
36 | 36 | let g = f | |
37 | 37 | toBase58String(g) | |
38 | 38 | } | |
39 | 39 | else "WAVES" | |
40 | 40 | } | |
41 | 41 | ||
42 | 42 | ||
43 | 43 | func k (l) = if ((l == "WAVES")) | |
44 | 44 | then unit | |
45 | 45 | else fromBase58String(l) | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | func m (n) = { | |
49 | 49 | let o = d((("boosting_" + n) + "_lastHeight")) | |
50 | 50 | let p = d((("boosting_" + n) + "_finishHeight")) | |
51 | 51 | if (if ((o != 0)) | |
52 | 52 | then (p > o) | |
53 | 53 | else false) | |
54 | 54 | then { | |
55 | 55 | let q = (d((("boosting_" + n) + "_totalAmount")) / ((d((("boosting_" + n) + "_days")) * b) * c)) | |
56 | 56 | let r = ((min([p, height]) - o) * q) | |
57 | 57 | [IntegerEntry((("boosting_" + n) + "_lastHeight"), height), ScriptTransfer(addressFromStringValue(h((("boosting_" + n) + "_poolId"))), r, k(h((("boosting_" + n) + "_assetId"))))] | |
58 | 58 | } | |
59 | 59 | else nil | |
60 | 60 | } | |
61 | 61 | ||
62 | 62 | ||
63 | 63 | func s (n) = { | |
64 | 64 | let o = d((("boosting_" + n) + "_lastHeight")) | |
65 | 65 | let p = d((("boosting_" + n) + "_finishHeight")) | |
66 | 66 | if ((o >= p)) | |
67 | 67 | then [StringEntry((("list ended " + toString(height)) + " boostingIds"), ((h((("list ended " + toString(height)) + " boostingIds")) + n) + ","))] | |
68 | 68 | else nil | |
69 | 69 | } | |
70 | 70 | ||
71 | 71 | ||
72 | 72 | @Callable(t) | |
73 | 73 | func addBoosting (u,v) = if ((1 > v)) | |
74 | 74 | then throw("amount of days has to be between 1 and 365") | |
75 | 75 | else if ((v > 365)) | |
76 | 76 | then throw("amount of days has to be between 1 and 365") | |
77 | 77 | else { | |
78 | 78 | let w = t.payments[0].amount | |
79 | 79 | if ((1440 > (w / v))) | |
80 | 80 | then throw((("boosting amount too small, minimum is " + toString((1440 * v))) + " of the smallest unit of payment asset")) | |
81 | 81 | else { | |
82 | 82 | let j = i(t.payments[0].assetId) | |
83 | 83 | if ((height == d("height"))) | |
84 | 84 | then throw("wait 1 minute") | |
85 | 85 | else { | |
86 | 86 | let x = invoke(this, "entryEnded", nil, nil) | |
87 | 87 | if ((x == x)) | |
88 | 88 | then { | |
89 | 89 | let y = invoke(this, "firstEndedBoostingId", nil, nil) | |
90 | 90 | if ((y == y)) | |
91 | 91 | then { | |
92 | 92 | let n = toString(d("first")) | |
93 | 93 | if ((addressFromString(u) == unit)) | |
94 | 94 | then throw("incorrect pool address") | |
95 | 95 | else [IntegerEntry((("boosting_" + n) + "_days"), v), IntegerEntry((("boosting_" + n) + "_totalAmount"), w), IntegerEntry((("boosting_" + n) + "_dailyAmount"), (w / v)), IntegerEntry((("boosting_" + n) + "_startHeight"), height), IntegerEntry((("boosting_" + n) + "_finishHeight"), (height + ((v * b) * c))), IntegerEntry((("boosting_" + n) + "_finishTimestamp"), (lastBlock.timestamp + ((((v * b) * c) * 60) * 1000))), IntegerEntry((("boosting_" + n) + "_lastHeight"), height), StringEntry((("boosting_" + n) + "_assetId"), j), StringEntry((("boosting_" + n) + "_owner"), toString(t.caller)), StringEntry((("boosting_" + n) + "_poolId"), u), StringEntry((("pool_" + u) + "_boostings"), ((h((("pool_" + u) + "_boostings")) + n) + ","))] | |
96 | 96 | } | |
97 | 97 | else throw("Strict value is not equal to itself.") | |
98 | 98 | } | |
99 | 99 | else throw("Strict value is not equal to itself.") | |
100 | 100 | } | |
101 | 101 | } | |
102 | 102 | } | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | ||
106 | 106 | @Callable(t) | |
107 | 107 | func payBoosting (n) = m(n) | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | ||
111 | 111 | @Callable(t) | |
112 | 112 | func payBoostings () = { | |
113 | 113 | func z (A,B) = { | |
114 | 114 | let C = invoke(this, "payBoosting", [B], nil) | |
115 | 115 | if ((C == C)) | |
116 | 116 | then C | |
117 | 117 | else throw("Strict value is not equal to itself.") | |
118 | 118 | } | |
119 | 119 | ||
120 | 120 | let D = { | |
121 | 121 | let E = a | |
122 | 122 | let F = size(E) | |
123 | 123 | let G = 0 | |
124 | 124 | func H (I,J) = if ((J >= F)) | |
125 | 125 | then I | |
126 | 126 | else z(I, E[J]) | |
127 | 127 | ||
128 | 128 | func K (I,J) = if ((J >= F)) | |
129 | 129 | then I | |
130 | 130 | else throw("List size exceeds 56") | |
131 | 131 | ||
132 | 132 | K(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(G, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56) | |
133 | 133 | } | |
134 | 134 | if ((D == D)) | |
135 | 135 | then nil | |
136 | 136 | else throw("Strict value is not equal to itself.") | |
137 | 137 | } | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | ||
141 | 141 | @Callable(t) | |
142 | 142 | func endedBoostings (n) = s(n) | |
143 | 143 | ||
144 | 144 | ||
145 | 145 | ||
146 | 146 | @Callable(t) | |
147 | 147 | func entryEnded () = { | |
148 | 148 | func z (A,B) = { | |
149 | 149 | let C = invoke(this, "endedBoostings", [B], nil) | |
150 | 150 | if ((C == C)) | |
151 | 151 | then C | |
152 | 152 | else throw("Strict value is not equal to itself.") | |
153 | 153 | } | |
154 | 154 | ||
155 | 155 | let L = { | |
156 | 156 | let E = a | |
157 | 157 | let F = size(E) | |
158 | 158 | let G = 0 | |
159 | 159 | func H (I,J) = if ((J >= F)) | |
160 | 160 | then I | |
161 | 161 | else z(I, E[J]) | |
162 | 162 | ||
163 | 163 | func K (I,J) = if ((J >= F)) | |
164 | 164 | then I | |
165 | 165 | else throw("List size exceeds 56") | |
166 | 166 | ||
167 | 167 | K(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(G, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56) | |
168 | 168 | } | |
169 | 169 | if ((L == L)) | |
170 | 170 | then [IntegerEntry("height", height)] | |
171 | 171 | else throw("Strict value is not equal to itself.") | |
172 | 172 | } | |
173 | 173 | ||
174 | 174 | ||
175 | 175 | ||
176 | 176 | @Callable(t) | |
177 | 177 | func firstEndedBoostingId () = { | |
178 | 178 | func M (A,B) = (A :+ parseIntValue(B)) | |
179 | 179 | ||
180 | 180 | let N = dropRight(h((("list ended " + toString(height)) + " boostingIds")), 1) | |
181 | 181 | let O = { | |
182 | 182 | let E = split(N, ",") | |
183 | 183 | let F = size(E) | |
184 | 184 | let G = nil | |
185 | 185 | func H (I,J) = if ((J >= F)) | |
186 | 186 | then I | |
187 | 187 | else M(I, E[J]) | |
188 | 188 | ||
189 | 189 | func K (I,J) = if ((J >= F)) | |
190 | 190 | then I | |
191 | 191 | else throw("List size exceeds 56") | |
192 | 192 | ||
193 | 193 | K(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(H(G, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56) | |
194 | 194 | } | |
195 | 195 | let P = O[0] | |
196 | 196 | [IntegerEntry("first", P)] | |
197 | 197 | } | |
198 | 198 | ||
199 | 199 |
github/deemru/w8io/026f985 45.93 ms ◑