tx · Abx553A48RhWokDnYebkgZJYmo3BezxaS7ajyA5qbPp2

3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez:  -0.01200000 Waves

2023.11.01 12:22 [2824070] smart account 3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez > SELF 0.00000000 Waves

{ "type": 13, "id": "Abx553A48RhWokDnYebkgZJYmo3BezxaS7ajyA5qbPp2", "fee": 1200000, "feeAssetId": null, "timestamp": 1698830631912, "version": 2, "chainId": 84, "sender": "3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez", "senderPublicKey": "Brp6cacBXyKUcZr5Uc6VDKsnFcaEeQ8nQzrZQyobDsuf", "proofs": [ "4LxMbvtJ47cF6aqF8nBTW7qAkCNtwPu8HBVNZE1g24RoU5pTbu7aaDMjTuGyFdkdV88dpi4wTWogZ2zLEzXuwdB5" ], "script": "base64:AAIFAAAAAAAAABgIAhIECgIIARIDCgEIEgASAwoBCBIAEgAAAAAJAAAAAAJsaQkABEwAAAACAgAAAAExCQAETAAAAAICAAAAATIJAARMAAAAAgIAAAABMwkABEwAAAACAgAAAAE0CQAETAAAAAICAAAAATUJAARMAAAAAgIAAAABNgkABEwAAAACAgAAAAE3CQAETAAAAAICAAAAATgJAARMAAAAAgIAAAABOQkABEwAAAACAgAAAAIxMAkABEwAAAACAgAAAAIxMQkABEwAAAACAgAAAAIxMgkABEwAAAACAgAAAAIxMwkABEwAAAACAgAAAAIxNAkABEwAAAACAgAAAAIxNQkABEwAAAACAgAAAAIxNgkABEwAAAACAgAAAAIxNwkABEwAAAACAgAAAAIxOAkABEwAAAACAgAAAAIxOQkABEwAAAACAgAAAAIyMAkABEwAAAACAgAAAAIyMQkABEwAAAACAgAAAAIyMgkABEwAAAACAgAAAAIyMwkABEwAAAACAgAAAAIyNAkABEwAAAACAgAAAAIyNQkABEwAAAACAgAAAAIyNgkABEwAAAACAgAAAAIyNwkABEwAAAACAgAAAAIyOAkABEwAAAACAgAAAAIyOQkABEwAAAACA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AAAAr9446", "height": 2824070, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2sds4u3WhpPAqVkViygwzBFxMegH9G7zknoZ8DK1nzpn Next: 41fKokXwTHvJ65Lw7ajxqmLAX9bnqN8BrUGS9wCz3ft7 Diff:
OldNewDifferences
6666 else if ((days > 365))
6767 then throw("amount of days has to be between 1 and 365")
6868 else if (if ((i.caller != this))
69- then (i.caller != Address(base58'3P8qVX189qpoTJZQQQdKS9endHK5sxWsvrd'))
69+ then (i.caller != Address(base58'3N3y7nQfqDc7rBUExjKQi5ZbspWRh9q8PYH'))
7070 else false)
7171 then throw("under maintenance until further notice")
7272 else {
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let li = ["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 hours = 1
77
88 let minutes = 10
99
1010 func tryGetInteger (key) = match getInteger(this, key) {
1111 case b: Int =>
1212 b
1313 case _ =>
1414 0
1515 }
1616
1717
1818 func tryGetString (key) = match getString(this, key) {
1919 case b: String =>
2020 b
2121 case _ =>
2222 ""
2323 }
2424
2525
2626 func getAssetString (assetId) = match assetId {
2727 case b: ByteVector =>
2828 toBase58String(b)
2929 case _ =>
3030 "WAVES"
3131 }
3232
3333
3434 func getAssetBytes (assetIdStr) = if ((assetIdStr == "WAVES"))
3535 then unit
3636 else fromBase58String(assetIdStr)
3737
3838
3939 func payBoostingResult (boostingId) = {
4040 let lastHeight = tryGetInteger((("boosting_" + boostingId) + "_lastHeight"))
4141 let finishHeight = tryGetInteger((("boosting_" + boostingId) + "_finishHeight"))
4242 if (if ((lastHeight != 0))
4343 then (finishHeight > lastHeight)
4444 else false)
4545 then {
4646 let blockReward = (tryGetInteger((("boosting_" + boostingId) + "_totalAmount")) / ((tryGetInteger((("boosting_" + boostingId) + "_days")) * hours) * minutes))
4747 let toPay = fraction((min([finishHeight, height]) - lastHeight), blockReward, 1)
4848 [IntegerEntry((("boosting_" + boostingId) + "_lastHeight"), height), ScriptTransfer(addressFromStringValue(tryGetString((("boosting_" + boostingId) + "_poolId"))), toPay, getAssetBytes(tryGetString((("boosting_" + boostingId) + "_assetId"))))]
4949 }
5050 else nil
5151 }
5252
5353
5454 func endedBoostingIds (boostingId) = {
5555 let lastHeight = tryGetInteger((("boosting_" + boostingId) + "_lastHeight"))
5656 let finishHeight = tryGetInteger((("boosting_" + boostingId) + "_finishHeight"))
5757 if ((lastHeight >= finishHeight))
5858 then [StringEntry((("list ended " + toString(height)) + " boostingIds"), ((tryGetString((("list ended " + toString(height)) + " boostingIds")) + boostingId) + ","))]
5959 else nil
6060 }
6161
6262
6363 @Callable(i)
6464 func addBoosting (poolId,days) = if ((1 > days))
6565 then throw("amount of days has to be between 1 and 365")
6666 else if ((days > 365))
6767 then throw("amount of days has to be between 1 and 365")
6868 else if (if ((i.caller != this))
69- then (i.caller != Address(base58'3P8qVX189qpoTJZQQQdKS9endHK5sxWsvrd'))
69+ then (i.caller != Address(base58'3N3y7nQfqDc7rBUExjKQi5ZbspWRh9q8PYH'))
7070 else false)
7171 then throw("under maintenance until further notice")
7272 else {
7373 let fullAmount = i.payments[0].amount
7474 if ((1440 > (fullAmount / days)))
7575 then throw((("boosting amount too small, minimum is " + toString((1440 * days))) + " of the smallest unit of payment asset"))
7676 else {
7777 let assetId = getAssetString(i.payments[0].assetId)
7878 if ((height == tryGetInteger("height")))
7979 then throw("wait 1 minute")
8080 else {
8181 let entry = invoke(this, "entryEnded", nil, nil)
8282 if ((entry == entry))
8383 then {
8484 let get = invoke(this, "firstEndedBoostingId", nil, nil)
8585 if ((get == get))
8686 then {
8787 let boostingId = toString(tryGetInteger("first"))
8888 if ((addressFromString(poolId) == unit))
8989 then throw("incorrect pool address")
9090 else [IntegerEntry((("boosting_" + boostingId) + "_days"), days), IntegerEntry((("boosting_" + boostingId) + "_totalAmount"), fullAmount), IntegerEntry((("boosting_" + boostingId) + "_dailyAmount"), (fullAmount / days)), IntegerEntry((("boosting_" + boostingId) + "_startHeight"), height), IntegerEntry((("boosting_" + boostingId) + "_finishHeight"), (height + ((days * hours) * minutes))), IntegerEntry((("boosting_" + boostingId) + "_finishTimestamp"), (lastBlock.timestamp + ((((days * hours) * minutes) * 60) * 1000))), IntegerEntry((("boosting_" + boostingId) + "_lastHeight"), height), StringEntry((("boosting_" + boostingId) + "_assetId"), assetId), StringEntry((("boosting_" + boostingId) + "_owner"), toString(i.caller)), StringEntry((("boosting_" + boostingId) + "_poolId"), poolId), StringEntry((("pool_" + poolId) + "_boostings"), ((tryGetString((("pool_" + poolId) + "_boostings")) + boostingId) + ","))]
9191 }
9292 else throw("Strict value is not equal to itself.")
9393 }
9494 else throw("Strict value is not equal to itself.")
9595 }
9696 }
9797 }
9898
9999
100100
101101 @Callable(i)
102102 func payBoosting (boostingId) = payBoostingResult(boostingId)
103103
104104
105105
106106 @Callable(i)
107107 func payBoostings () = {
108108 func f (accum,next) = {
109109 let in = invoke(this, "payBoosting", [next], nil)
110110 if ((in == in))
111111 then in
112112 else throw("Strict value is not equal to itself.")
113113 }
114114
115115 let payments = {
116116 let $l = li
117117 let $s = size($l)
118118 let $acc0 = 0
119119 func $f0_1 ($a,$i) = if (($i >= $s))
120120 then $a
121121 else f($a, $l[$i])
122122
123123 func $f0_2 ($a,$i) = if (($i >= $s))
124124 then $a
125125 else throw("List size exceeds 56")
126126
127127 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 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)
128128 }
129129 if ((payments == payments))
130130 then nil
131131 else throw("Strict value is not equal to itself.")
132132 }
133133
134134
135135
136136 @Callable(i)
137137 func endedBoostings (boostingId) = endedBoostingIds(boostingId)
138138
139139
140140
141141 @Callable(i)
142142 func entryEnded () = {
143143 func f (accum,next) = {
144144 let in = invoke(this, "endedBoostings", [next], nil)
145145 if ((in == in))
146146 then in
147147 else throw("Strict value is not equal to itself.")
148148 }
149149
150150 let end = {
151151 let $l = li
152152 let $s = size($l)
153153 let $acc0 = 0
154154 func $f0_1 ($a,$i) = if (($i >= $s))
155155 then $a
156156 else f($a, $l[$i])
157157
158158 func $f0_2 ($a,$i) = if (($i >= $s))
159159 then $a
160160 else throw("List size exceeds 56")
161161
162162 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 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)
163163 }
164164 if ((end == end))
165165 then [IntegerEntry("height", height)]
166166 else throw("Strict value is not equal to itself.")
167167 }
168168
169169
170170
171171 @Callable(i)
172172 func firstEndedBoostingId () = {
173173 func fold (accum,next) = (accum :+ parseIntValue(next))
174174
175175 let StringValue = dropRight(tryGetString((("list ended " + toString(height)) + " boostingIds")), 1)
176176 let list = {
177177 let $l = split(StringValue, ",")
178178 let $s = size($l)
179179 let $acc0 = nil
180180 func $f0_1 ($a,$i) = if (($i >= $s))
181181 then $a
182182 else fold($a, $l[$i])
183183
184184 func $f0_2 ($a,$i) = if (($i >= $s))
185185 then $a
186186 else throw("List size exceeds 56")
187187
188188 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 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)
189189 }
190190 let firstOfList = list[0]
191191 [IntegerEntry("first", firstOfList)]
192192 }
193193
194194

github/deemru/w8io/026f985 
44.89 ms