tx · E33eTYgeRTcfaEdiF7fj54GAmjPuC8ZvWZtvG1BoaWSY

3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez:  -0.01500000 Waves

2023.10.31 13:05 [2822675] smart account 3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez > SELF 0.00000000 Waves

{ "type": 13, "id": "E33eTYgeRTcfaEdiF7fj54GAmjPuC8ZvWZtvG1BoaWSY", "fee": 1500000, "feeAssetId": null, "timestamp": 1698746758969, "version": 2, "chainId": 84, "sender": "3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez", "senderPublicKey": "Brp6cacBXyKUcZr5Uc6VDKsnFcaEeQ8nQzrZQyobDsuf", "proofs": [ "JNKVfMo6Uj9Ldp6i3Cs5SgLJ72NEefHdH1rN7vd9mhQjn4oxckW9JMSGahncr9wjqVBU9rRmH5pKabhRnMzp7EK" ], "script": "base64:AAIFAAAAAAAAAB0IAhIECgIIARIDCgEIEgASAwoBCBIAEgASAwoBGAAAAAkAAAAAAmxpCQAETAAAAAICAAAAATEJAARMAAAAAgIAAAABMgkABEwAAAACAgAAAAEzCQAETAAAAAICAAAAATQJAARMAAAAAgIAAAABNQkABEwAAAACAgAAAAE2CQAETAAAAAICAAAAATcJAARMAAAAAgIAAAABOAkABEwAAAACAgAAAAE5CQAETAAAAAICAAAAAjEwCQAETAAAAAICAAAAAjExCQAETAAAAAICAAAAAjEyCQAETAAAAAICAAAAAjEzCQAETAAAAAICAAAAAjE0CQAETAAAAAICAAAAAjE1CQAETAAAAAICAAAAAjE2CQAETAAAAAICAAAAAjE3CQAETAAAAAICAAAAAjE4CQAETAAAAAICAAAAAjE5CQAETAAAAAICAAAAAjIwCQAETAAAAAICAAAAAjIxCQAETAAAAAICAAAAAjIyCQAETAAAAAICAAAAAjIzCQAETAAAAAICAAAAAjI0CQAETAAAAAICAAAAAjI1CQAETAAAAAICAAAAAjI2CQAETAAAAAICAAAAAjI3CQAETAAAAAICAAAAAjI4CQAETAAAAAICAA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AABIAAAAAAAAAABJAAAAAAAAAABKAAAAAAAAAABLAAAAAAAAAABMAAAAAAAAAABNAAAAAAAAAABOAAAAAAAAAABPAAAAAAAAAABQAAAAAAAAAABRAAAAAAAAAABSAAAAAAAAAABTAAAAAAAAAABUAAAAAAAAAABVAAAAAAAAAABWAAAAAAAAAABXAAAAAAAAAABYAAAAAAAAAABZAAAAAAAAAABaAAAAAAAAAABbAAAAAAAAAABcAAAAAAAAAABdAAAAAAAAAABeAAAAAAAAAABfAAAAAAAAAABgAAAAAAAAAABhAAAAAAAAAABiAAAAAAAAAABjAAAAAAAAAABkAAAAAJAjJg8=", "height": 2822675, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Df35hG4mdrz2YzPrc7t5NqVwzJUaGi7rYBo3JpQjuvTk Next: 3imdpSzRea7RiSknvGsKqQswwuzXiTjuY1UxoLY4uwQK Diff:
OldNewDifferences
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 }
50+ else nil
51+ }
52+
53+
54+func endedList (boostingId) = {
55+ let lastHeight = tryGetInteger((("boosting_" + boostingId) + "_lastHeight"))
56+ let finishHeight = tryGetInteger((("boosting_" + boostingId) + "_finishHeight"))
57+ if ((lastHeight >= finishHeight))
58+ then [StringEntry((("list ended " + toString(height)) + " boostingIds"), ((tryGetString((("list ended " + toString(height)) + " boostingIds")) + boostingId) + ","))]
5059 else nil
5160 }
5261
105114
106115
107116 @Callable(i)
108-func ended () = {
109- func f (accum,boostingId) = [StringEntry(("list ended boostingIds" + toString(height)), boostingId)]
117+func getEndedList (boostingId) = endedList(boostingId)
110118
111- let $l = li
119+
120+
121+@Callable(i)
122+func getList () = {
123+ func f (accum,next) = {
124+ let in = invoke(this, "getEndedList", [next], nil)
125+ if ((in == in))
126+ then in
127+ else throw("Strict value is not equal to itself.")
128+ }
129+
130+ let end = {
131+ let $l = li
132+ let $s = size($l)
133+ let $acc0 = 0
134+ func $f0_1 ($a,$i) = if (($i >= $s))
135+ then $a
136+ else f($a, $l[$i])
137+
138+ func $f0_2 ($a,$i) = if (($i >= $s))
139+ then $a
140+ else throw("List size exceeds 100")
141+
142+ $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)
143+ }
144+ if ((end == end))
145+ then nil
146+ else throw("Strict value is not equal to itself.")
147+ }
148+
149+
150+
151+@Callable(i)
152+func stringlist () = [StringEntry(("list ended boostingIds" + toString(height)), makeString(li, ","))]
153+
154+
155+
156+@Callable(i)
157+func transfer (addresses) = {
158+ let assetId = i.payments[0].assetId
159+ let amount = i.payments[0].amount
160+ let amountPerAddress = (amount / size(addresses))
161+ func f (accum,address) = (accum ++ [ScriptTransfer(addressFromStringValue(address), amountPerAddress, assetId)])
162+
163+ let $l = addresses
112164 let $s = size($l)
113165 let $acc0 = nil
114166 func $f0_1 ($a,$i) = if (($i >= $s))
123175 }
124176
125177
126-
127-@Callable(i)
128-func stringlist () = [StringEntry(("list ended boostingIds" + toString(height)), makeString(li, ","))]
129-
130-
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 }
50+ else nil
51+ }
52+
53+
54+func endedList (boostingId) = {
55+ let lastHeight = tryGetInteger((("boosting_" + boostingId) + "_lastHeight"))
56+ let finishHeight = tryGetInteger((("boosting_" + boostingId) + "_finishHeight"))
57+ if ((lastHeight >= finishHeight))
58+ then [StringEntry((("list ended " + toString(height)) + " boostingIds"), ((tryGetString((("list ended " + toString(height)) + " boostingIds")) + boostingId) + ","))]
5059 else nil
5160 }
5261
5362
5463 @Callable(i)
5564 func addBoosting (poolId,days) = {
5665 let fullAmount = i.payments[0].amount
5766 let assetId = getAssetString(i.payments[0].assetId)
5867 let inv = invoke(this, "findEndedBoosting", nil, nil)
5968 if ((inv == inv))
6069 then {
6170 let newBoostingsAmount = (tryGetInteger("global_boostingsAmount") + 1)
6271 let boostingId = toString(newBoostingsAmount)
6372 if ((addressFromString(poolId) == unit))
6473 then throw("incorrect pool address")
6574 else [IntegerEntry("global_boostingsAmount", newBoostingsAmount), 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) + ","))]
6675 }
6776 else throw("Strict value is not equal to itself.")
6877 }
6978
7079
7180
7281 @Callable(i)
7382 func payBoosting (boostingId) = payBoostingResult(boostingId)
7483
7584
7685
7786 @Callable(i)
7887 func payBoostings () = {
7988 func f (accum,next) = {
8089 let in = invoke(this, "payBoosting", [next], nil)
8190 if ((in == in))
8291 then in
8392 else throw("Strict value is not equal to itself.")
8493 }
8594
8695 let payments = {
8796 let $l = li
8897 let $s = size($l)
8998 let $acc0 = 0
9099 func $f0_1 ($a,$i) = if (($i >= $s))
91100 then $a
92101 else f($a, $l[$i])
93102
94103 func $f0_2 ($a,$i) = if (($i >= $s))
95104 then $a
96105 else throw("List size exceeds 100")
97106
98107 $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)
99108 }
100109 if ((payments == payments))
101110 then nil
102111 else throw("Strict value is not equal to itself.")
103112 }
104113
105114
106115
107116 @Callable(i)
108-func ended () = {
109- func f (accum,boostingId) = [StringEntry(("list ended boostingIds" + toString(height)), boostingId)]
117+func getEndedList (boostingId) = endedList(boostingId)
110118
111- let $l = li
119+
120+
121+@Callable(i)
122+func getList () = {
123+ func f (accum,next) = {
124+ let in = invoke(this, "getEndedList", [next], nil)
125+ if ((in == in))
126+ then in
127+ else throw("Strict value is not equal to itself.")
128+ }
129+
130+ let end = {
131+ let $l = li
132+ let $s = size($l)
133+ let $acc0 = 0
134+ func $f0_1 ($a,$i) = if (($i >= $s))
135+ then $a
136+ else f($a, $l[$i])
137+
138+ func $f0_2 ($a,$i) = if (($i >= $s))
139+ then $a
140+ else throw("List size exceeds 100")
141+
142+ $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)
143+ }
144+ if ((end == end))
145+ then nil
146+ else throw("Strict value is not equal to itself.")
147+ }
148+
149+
150+
151+@Callable(i)
152+func stringlist () = [StringEntry(("list ended boostingIds" + toString(height)), makeString(li, ","))]
153+
154+
155+
156+@Callable(i)
157+func transfer (addresses) = {
158+ let assetId = i.payments[0].assetId
159+ let amount = i.payments[0].amount
160+ let amountPerAddress = (amount / size(addresses))
161+ func f (accum,address) = (accum ++ [ScriptTransfer(addressFromStringValue(address), amountPerAddress, assetId)])
162+
163+ let $l = addresses
112164 let $s = size($l)
113165 let $acc0 = nil
114166 func $f0_1 ($a,$i) = if (($i >= $s))
115167 then $a
116168 else f($a, $l[$i])
117169
118170 func $f0_2 ($a,$i) = if (($i >= $s))
119171 then $a
120172 else throw("List size exceeds 100")
121173
122174 $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)
123175 }
124176
125177
126-
127-@Callable(i)
128-func stringlist () = [StringEntry(("list ended boostingIds" + toString(height)), makeString(li, ","))]
129-
130-

github/deemru/w8io/026f985 
49.81 ms