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:AAIFAAAAAAAAABgIAhIECgIIARIDCgEIEgASAwoBCBIAEgAAAAAJAAAAAAJsaQkABEwAAAACAgAAAAExCQAETAAAAAICAAAAATIJAARMAAAAAgIAAAABMwkABEwAAAACAgAAAAE0CQAETAAAAAICAAAAATUJAARMAAAAAgIAAAABNgkABEwAAAACAgAAAAE3CQAETAAAAAICAAAAATgJAARMAAAAAgIAAAABOQkABEwAAAACAgAAAAIxMAkABEwAAAACAgAAAAIxMQkABEwAAAACAgAAAAIxMgkABEwAAAACAgAAAAIxMwkABEwAAAACAgAAAAIxNAkABEwAAAACAgAAAAIxNQkABEwAAAACAgAAAAIxNgkABEwAAAACAgAAAAIxNwkABEwAAAACAgAAAAIxOAkABEwAAAACAgAAAAIxOQkABEwAAAACAgAAAAIyMAkABEwAAAACAgAAAAIyMQkABEwAAAACAgAAAAIyMgkABEwAAAACAgAAAAIyMwkABEwAAAACAgAAAAIyNAkABEwAAAACAgAAAAIyNQkABEwAAAACAgAAAAIyNgkABEwAAAACAgAAAAIyNwkABEwAAAACAgAAAAIyOAkABEwAAAACAgAAAAIyOQkABEwAAAACA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AAAAAAAAAABUAAAAAAAAAABYAAAAAAAAAABcAAAAAAAAAABgAAAAAAAAAABkAAAAAAAAAABoAAAAAAAAAABsAAAAAAAAAABwAAAAAAAAAAB0AAAAAAAAAAB4AAAAAAAAAAB8AAAAAAAAAACAAAAAAAAAAACEAAAAAAAAAACIAAAAAAAAAACMAAAAAAAAAACQAAAAAAAAAACUAAAAAAAAAACYAAAAAAAAAACcAAAAAAAAAACgAAAAAAAAAACkAAAAAAAAAACoAAAAAAAAAACsAAAAAAAAAACwAAAAAAAAAAC0AAAAAAAAAAC4AAAAAAAAAAC8AAAAAAAAAADAAAAAAAAAAADEAAAAAAAAAADIAAAAAAAAAADMAAAAAAAAAADQAAAAAAAAAADUAAAAAAAAAADYAAAAAAAAAADcAAAAAAAAAADgEAAAAC2ZpcnN0T2ZMaXN0CQABkQAAAAIFAAAABGxpc3QAAAAAAAAAAAAJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAABWZpcnN0BQAAAAtmaXJzdE9mTGlzdAUAAAADbmlsAAAAADPnwr4=", "height": 2824037, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2nHz4W1dxCdoyqZSBHt5AT7jro4vLtqnCExDnce34EAx Next: 2sds4u3WhpPAqVkViygwzBFxMegH9G7zknoZ8DK1nzpn Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 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"]
55
66 let b = 1
77
88 let c = 10
99
1010 func d (e) = {
1111 let f = getInteger(this, e)
1212 if ($isInstanceOf(f, "Int"))
1313 then {
1414 let g = f
1515 g
1616 }
1717 else 0
1818 }
1919
2020
2121 func h (e) = {
2222 let f = getString(this, e)
2323 if ($isInstanceOf(f, "String"))
2424 then {
2525 let g = f
2626 g
2727 }
2828 else ""
2929 }
3030
3131
3232 func i (j) = {
3333 let f = j
3434 if ($isInstanceOf(f, "ByteVector"))
3535 then {
3636 let g = f
3737 toBase58String(g)
3838 }
3939 else "WAVES"
4040 }
4141
4242
4343 func k (l) = if ((l == "WAVES"))
4444 then unit
4545 else fromBase58String(l)
4646
4747
4848 func m (n) = {
4949 let o = d((("boosting_" + n) + "_lastHeight"))
5050 let p = d((("boosting_" + n) + "_finishHeight"))
5151 if (if ((o != 0))
5252 then (p > o)
5353 else false)
5454 then {
5555 let q = (d((("boosting_" + n) + "_totalAmount")) / ((d((("boosting_" + n) + "_days")) * b) * c))
5656 let r = ((min([p, height]) - o) * q)
5757 [IntegerEntry((("boosting_" + n) + "_lastHeight"), height), ScriptTransfer(addressFromStringValue(h((("boosting_" + n) + "_poolId"))), r, k(h((("boosting_" + n) + "_assetId"))))]
5858 }
5959 else nil
6060 }
6161
6262
6363 func s (n) = {
6464 let o = d((("boosting_" + n) + "_lastHeight"))
6565 let p = d((("boosting_" + n) + "_finishHeight"))
6666 if ((o >= p))
6767 then [StringEntry((("list ended " + toString(height)) + " boostingIds"), ((h((("list ended " + toString(height)) + " boostingIds")) + n) + ","))]
6868 else nil
6969 }
7070
7171
7272 @Callable(t)
7373 func addBoosting (u,v) = if ((1 > v))
7474 then throw("amount of days has to be between 1 and 365")
7575 else if ((v > 365))
7676 then throw("amount of days has to be between 1 and 365")
7777 else {
7878 let w = t.payments[0].amount
7979 if ((1440 > (w / v)))
8080 then throw((("boosting amount too small, minimum is " + toString((1440 * v))) + " of the smallest unit of payment asset"))
8181 else {
8282 let j = i(t.payments[0].assetId)
8383 if ((height == d("height")))
8484 then throw("wait 1 minute")
8585 else {
8686 let x = invoke(this, "entryEnded", nil, nil)
8787 if ((x == x))
8888 then {
8989 let y = invoke(this, "firstEndedBoostingId", nil, nil)
9090 if ((y == y))
9191 then {
9292 let n = toString(d("first"))
9393 if ((addressFromString(u) == unit))
9494 then throw("incorrect pool address")
9595 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) + ","))]
9696 }
9797 else throw("Strict value is not equal to itself.")
9898 }
9999 else throw("Strict value is not equal to itself.")
100100 }
101101 }
102102 }
103103
104104
105105
106106 @Callable(t)
107107 func payBoosting (n) = m(n)
108108
109109
110110
111111 @Callable(t)
112112 func payBoostings () = {
113113 func z (A,B) = {
114114 let C = invoke(this, "payBoosting", [B], nil)
115115 if ((C == C))
116116 then C
117117 else throw("Strict value is not equal to itself.")
118118 }
119119
120120 let D = {
121121 let E = a
122122 let F = size(E)
123123 let G = 0
124124 func H (I,J) = if ((J >= F))
125125 then I
126126 else z(I, E[J])
127127
128128 func K (I,J) = if ((J >= F))
129129 then I
130130 else throw("List size exceeds 56")
131131
132132 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)
133133 }
134134 if ((D == D))
135135 then nil
136136 else throw("Strict value is not equal to itself.")
137137 }
138138
139139
140140
141141 @Callable(t)
142142 func endedBoostings (n) = s(n)
143143
144144
145145
146146 @Callable(t)
147147 func entryEnded () = {
148148 func z (A,B) = {
149149 let C = invoke(this, "endedBoostings", [B], nil)
150150 if ((C == C))
151151 then C
152152 else throw("Strict value is not equal to itself.")
153153 }
154154
155155 let L = {
156156 let E = a
157157 let F = size(E)
158158 let G = 0
159159 func H (I,J) = if ((J >= F))
160160 then I
161161 else z(I, E[J])
162162
163163 func K (I,J) = if ((J >= F))
164164 then I
165165 else throw("List size exceeds 56")
166166
167167 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)
168168 }
169169 if ((L == L))
170170 then [IntegerEntry("height", height)]
171171 else throw("Strict value is not equal to itself.")
172172 }
173173
174174
175175
176176 @Callable(t)
177177 func firstEndedBoostingId () = {
178178 func M (A,B) = (A :+ parseIntValue(B))
179179
180180 let N = dropRight(h((("list ended " + toString(height)) + " boostingIds")), 1)
181181 let O = {
182182 let E = split(N, ",")
183183 let F = size(E)
184184 let G = nil
185185 func H (I,J) = if ((J >= F))
186186 then I
187187 else M(I, E[J])
188188
189189 func K (I,J) = if ((J >= F))
190190 then I
191191 else throw("List size exceeds 56")
192192
193193 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)
194194 }
195195 let P = O[0]
196196 [IntegerEntry("first", P)]
197197 }
198198
199199

github/deemru/w8io/026f985 
45.93 ms