tx · GhH1VfWnbn6dRxbJJ7LG3uuPKB64J4FUE7AdLNFW1DEc

3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez:  -0.01300000 Waves

2023.10.31 16:34 [2822885] smart account 3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez > SELF 0.00000000 Waves

{ "type": 13, "id": "GhH1VfWnbn6dRxbJJ7LG3uuPKB64J4FUE7AdLNFW1DEc", "fee": 1300000, "feeAssetId": null, "timestamp": 1698759290359, "version": 2, "chainId": 84, "sender": "3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez", "senderPublicKey": "Brp6cacBXyKUcZr5Uc6VDKsnFcaEeQ8nQzrZQyobDsuf", "proofs": [ "CA34o2i7e6Tk2HacwppGmeJmFfNp6U6HadTPqtab4CdKPZ4NQnjyUedZpqijm7LJETzBQmqrmi3DjNQ9id1hWo2" ], "script": "base64:AAIFAAAAAAAAABgIAhIECgIIARIDCgEIEgASAwoBCBIAEgAAAAAJAAAAAAJsaQkABEwAAAACAgAAAAExCQAETAAAAAICAAAAATIJAARMAAAAAgIAAAABMwkABEwAAAACAgAAAAE0CQAETAAAAAICAAAAATUJAARMAAAAAgIAAAABNgkABEwAAAACAgAAAAE3CQAETAAAAAICAAAAATgJAARMAAAAAgIAAAABOQkABEwAAAACAgAAAAIxMAkABEwAAAACAgAAAAIxMQkABEwAAAACAgAAAAIxMgkABEwAAAACAgAAAAIxMwkABEwAAAACAgAAAAIxNAkABEwAAAACAgAAAAIxNQkABEwAAAACAgAAAAIxNgkABEwAAAACAgAAAAIxNwkABEwAAAACAgAAAAIxOAkABEwAAAACAgAAAAIxOQkABEwAAAACAgAAAAIyMAkABEwAAAACAgAAAAIyMQkABEwAAAACAgAAAAIyMgkABEwAAAACAgAAAAIyMwkABEwAAAACAgAAAAIyNAkABEwAAAACAgAAAAIyNQkABEwAAAACAgAAAAIyNgkABEwAAAACAgAAAAIyNwkABEwAAAACAgAAAAIyOAkABEwAAAACAgAAAAIyOQkAB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AAAAAAAAAAAAEAAAAAAAAAAAIAAAAAAAAAAAMAAAAAAAAAAAQAAAAAAAAAAAUAAAAAAAAAAAYAAAAAAAAAAAcAAAAAAAAAAAgAAAAAAAAAAAkAAAAAAAAAAAoAAAAAAAAAAAsAAAAAAAAAAAwAAAAAAAAAAA0AAAAAAAAAAA4AAAAAAAAAAA8AAAAAAAAAABAAAAAAAAAAABEAAAAAAAAAABIAAAAAAAAAABMAAAAAAAAAABQAAAAAAAAAABUAAAAAAAAAABYAAAAAAAAAABcAAAAAAAAAABgAAAAAAAAAABkAAAAAAAAAABoAAAAAAAAAABsAAAAAAAAAABwAAAAAAAAAAB0AAAAAAAAAAB4AAAAAAAAAAB8AAAAAAAAAACAAAAAAAAAAACEAAAAAAAAAACIAAAAAAAAAACMAAAAAAAAAACQAAAAAAAAAACUAAAAAAAAAACYAAAAAAAAAACcAAAAAAAAAACgAAAAAAAAAACkAAAAAAAAAACoAAAAAAAAAACsAAAAAAAAAACwAAAAAAAAAAC0AAAAAAAAAAC4AAAAAAAAAAC8AAAAAAAAAADAAAAAAAAAAADEAAAAAAAAAADIAAAAAAAAAADMAAAAAAAAAADQAAAAAAAAAADUAAAAAAAAAADYAAAAAAAAAADcAAAAAAAAAADgEAAAAC2ZpcnN0T2ZMaXN0CQABkQAAAAIFAAAABGxpc3QAAAAAAAAAAAAJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAABWZpcnN0BQAAAAtmaXJzdE9mTGlzdAUAAAADbmlsAAAAAOa1piU=", "height": 2822885, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2TVvfp9VDTCcGyDKhrqAUMUADHQzXrwJ3kHzNd1znKpy Next: 3d4ZwNofYhf5tdxH9VrvmcKffLPcC9aT7JEWUyuuLCzU Diff:
OldNewDifferences
156156 func makeListAndGetFirst () = {
157157 func fold (accum,next) = (accum :+ parseIntValue(next))
158158
159- let StringValue = "1,2,3,"
159+ let StringValue = dropRight("1,2,3,", 1)
160160 let list = {
161161 let $l = split(StringValue, ",")
162162 let $s = size($l)
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) + "_blockAmount"))
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 endedList (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) = {
6565 let fullAmount = i.payments[0].amount
6666 let assetId = getAssetString(i.payments[0].assetId)
6767 let entryEndedBoostingIds = invoke(this, "getList", nil, nil)
6868 if ((entryEndedBoostingIds == entryEndedBoostingIds))
6969 then {
7070 let entryEndedBoostingId = invoke(this, "makeListAndGetFirst", nil, nil)
7171 if ((entryEndedBoostingId == entryEndedBoostingId))
7272 then {
7373 let boostingId = toString(tryGetInteger("first"))
7474 if ((addressFromString(poolId) == unit))
7575 then throw("incorrect pool address")
7676 else [IntegerEntry((("boosting_" + boostingId) + "_days"), days), IntegerEntry((("boosting_" + boostingId) + "_totalAmount"), fullAmount), IntegerEntry((("boosting_" + boostingId) + "_dailyAmount"), (fullAmount / days)), IntegerEntry((("boosting_" + boostingId) + "_blockAmount"), (fullAmount / ((days * hours) * minutes))), 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) + ","))]
7777 }
7878 else throw("Strict value is not equal to itself.")
7979 }
8080 else throw("Strict value is not equal to itself.")
8181 }
8282
8383
8484
8585 @Callable(i)
8686 func payBoosting (boostingId) = payBoostingResult(boostingId)
8787
8888
8989
9090 @Callable(i)
9191 func payBoostings () = {
9292 func f (accum,next) = {
9393 let in = invoke(this, "payBoosting", [next], nil)
9494 if ((in == in))
9595 then in
9696 else throw("Strict value is not equal to itself.")
9797 }
9898
9999 let payments = {
100100 let $l = li
101101 let $s = size($l)
102102 let $acc0 = 0
103103 func $f0_1 ($a,$i) = if (($i >= $s))
104104 then $a
105105 else f($a, $l[$i])
106106
107107 func $f0_2 ($a,$i) = if (($i >= $s))
108108 then $a
109109 else throw("List size exceeds 100")
110110
111111 $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($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($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), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
112112 }
113113 if ((payments == payments))
114114 then nil
115115 else throw("Strict value is not equal to itself.")
116116 }
117117
118118
119119
120120 @Callable(i)
121121 func getEndedList (boostingId) = endedList(boostingId)
122122
123123
124124
125125 @Callable(i)
126126 func getList () = {
127127 func f (accum,next) = {
128128 let in = invoke(this, "getEndedList", [next], nil)
129129 if ((in == in))
130130 then in
131131 else throw("Strict value is not equal to itself.")
132132 }
133133
134134 let end = {
135135 let $l = li
136136 let $s = size($l)
137137 let $acc0 = 0
138138 func $f0_1 ($a,$i) = if (($i >= $s))
139139 then $a
140140 else f($a, $l[$i])
141141
142142 func $f0_2 ($a,$i) = if (($i >= $s))
143143 then $a
144144 else throw("List size exceeds 100")
145145
146146 $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($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($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), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
147147 }
148148 if ((end == end))
149149 then nil
150150 else throw("Strict value is not equal to itself.")
151151 }
152152
153153
154154
155155 @Callable(i)
156156 func makeListAndGetFirst () = {
157157 func fold (accum,next) = (accum :+ parseIntValue(next))
158158
159- let StringValue = "1,2,3,"
159+ let StringValue = dropRight("1,2,3,", 1)
160160 let list = {
161161 let $l = split(StringValue, ",")
162162 let $s = size($l)
163163 let $acc0 = nil
164164 func $f0_1 ($a,$i) = if (($i >= $s))
165165 then $a
166166 else fold($a, $l[$i])
167167
168168 func $f0_2 ($a,$i) = if (($i >= $s))
169169 then $a
170170 else throw("List size exceeds 56")
171171
172172 $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)
173173 }
174174 let firstOfList = list[0]
175175 [IntegerEntry("first", firstOfList)]
176176 }
177177
178178

github/deemru/w8io/026f985 
59.77 ms