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 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 = ((min([finishHeight, height]) - lastHeight) * blockReward)
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 {
6969 let fullAmount = i.payments[0].amount
7070 if ((1440 > (fullAmount / days)))
7171 then throw((("boosting amount too small, minimum is " + toString((1440 * days))) + " of the smallest unit of payment asset"))
7272 else {
7373 let assetId = getAssetString(i.payments[0].assetId)
7474 if ((height == tryGetInteger("height")))
7575 then throw("wait 1 minute")
7676 else {
7777 let entry = invoke(this, "entryEnded", nil, nil)
7878 if ((entry == entry))
7979 then {
8080 let get = invoke(this, "firstEndedBoostingId", nil, nil)
8181 if ((get == get))
8282 then {
8383 let boostingId = toString(tryGetInteger("first"))
8484 if ((addressFromString(poolId) == unit))
8585 then throw("incorrect pool address")
8686 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) + ","))]
8787 }
8888 else throw("Strict value is not equal to itself.")
8989 }
9090 else throw("Strict value is not equal to itself.")
9191 }
9292 }
9393 }
9494
9595
9696
9797 @Callable(i)
9898 func payBoosting (boostingId) = payBoostingResult(boostingId)
9999
100100
101101
102102 @Callable(i)
103103 func payBoostings () = {
104104 func f (accum,next) = {
105105 let in = invoke(this, "payBoosting", [next], nil)
106106 if ((in == in))
107107 then in
108108 else throw("Strict value is not equal to itself.")
109109 }
110110
111111 let payments = {
112112 let $l = li
113113 let $s = size($l)
114114 let $acc0 = 0
115115 func $f0_1 ($a,$i) = if (($i >= $s))
116116 then $a
117117 else f($a, $l[$i])
118118
119119 func $f0_2 ($a,$i) = if (($i >= $s))
120120 then $a
121121 else throw("List size exceeds 56")
122122
123123 $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)
124124 }
125125 if ((payments == payments))
126126 then nil
127127 else throw("Strict value is not equal to itself.")
128128 }
129129
130130
131131
132132 @Callable(i)
133133 func endedBoostings (boostingId) = endedBoostingIds(boostingId)
134134
135135
136136
137137 @Callable(i)
138138 func entryEnded () = {
139139 func f (accum,next) = {
140140 let in = invoke(this, "endedBoostings", [next], nil)
141141 if ((in == in))
142142 then in
143143 else throw("Strict value is not equal to itself.")
144144 }
145145
146146 let end = {
147147 let $l = li
148148 let $s = size($l)
149149 let $acc0 = 0
150150 func $f0_1 ($a,$i) = if (($i >= $s))
151151 then $a
152152 else f($a, $l[$i])
153153
154154 func $f0_2 ($a,$i) = if (($i >= $s))
155155 then $a
156156 else throw("List size exceeds 56")
157157
158158 $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)
159159 }
160160 if ((end == end))
161161 then [IntegerEntry("height", height)]
162162 else throw("Strict value is not equal to itself.")
163163 }
164164
165165
166166
167167 @Callable(i)
168168 func firstEndedBoostingId () = {
169169 func fold (accum,next) = (accum :+ parseIntValue(next))
170170
171171 let StringValue = dropRight(tryGetString((("list ended " + toString(height)) + " boostingIds")), 1)
172172 let list = {
173173 let $l = split(StringValue, ",")
174174 let $s = size($l)
175175 let $acc0 = nil
176176 func $f0_1 ($a,$i) = if (($i >= $s))
177177 then $a
178178 else fold($a, $l[$i])
179179
180180 func $f0_2 ($a,$i) = if (($i >= $s))
181181 then $a
182182 else throw("List size exceeds 56")
183183
184184 $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)
185185 }
186186 let firstOfList = list[0]
187187 [IntegerEntry("first", firstOfList)]
188188 }
189189
190190

github/deemru/w8io/026f985 
41.06 ms