tx · 4bDDSP3dw5mWGwDXLqg2Mv7CgXnYrVhhvxFU4Uxa6M9e

3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez:  -0.00800000 Waves

2023.11.01 11:36 [2824022] smart account 3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez > SELF 0.00000000 Waves

{ "type": 13, "id": "4bDDSP3dw5mWGwDXLqg2Mv7CgXnYrVhhvxFU4Uxa6M9e", "fee": 800000, "feeAssetId": null, "timestamp": 1698827825045, "version": 2, "chainId": 84, "sender": "3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez", "senderPublicKey": "Brp6cacBXyKUcZr5Uc6VDKsnFcaEeQ8nQzrZQyobDsuf", "proofs": [ "3xyCE1NPuJiEz1hGZD6DebAv4mcLzyLyd7kjT66ZVwbvhkQ1CGGZMPbaFEhFKtQCCYELCFCU7n7HeSqyFafSp6yw" ], "script": "base64:BgIYCAISBAoCCAESAwoBCBIAEgMKAQgSABIACQACbGkJAMwIAgIBMQkAzAgCAgEyCQDMCAICATMJAMwIAgIBNAkAzAgCAgE1CQDMCAICATYJAMwIAgIBNwkAzAgCAgE4CQDMCAICATkJAMwIAgICMTAJAMwIAgICMTEJAMwIAgICMTIJAMwIAgICMTMJAMwIAgICMTQJAMwIAgICMTUJAMwIAgICMTYJAMwIAgICMTcJAMwIAgICMTgJAMwIAgICMTkJAMwIAgICMjAJAMwIAgICMjEJAMwIAgICMjIJAMwIAgICMjMJAMwIAgICMjQJAMwIAgICMjUJAMwIAgICMjYJAMwIAgICMjcJAMwIAgICMjgJAMwIAgICMjkJAMwIAgICMzAJAMwIAgICMzEJAMwIAgICMzIJAMwIAgICMzMJAMwIAgICMzQJAMwIAgICMzUJAMwIAgICMzYJAMwIAgICMzcJAMwIAgICMzgJAMwIAgICMzkJAMwIAgICNDAJAMwIAgICNDEJAMwIAgICNDIJAMwIAgICNDMJAMwIAgICNDQJAMwIAgICNDUJAMwIAgICNDYJAMwIAgICNDcJAMwIAgICNDg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2VyRW50cnkCAgZoZWlnaHQFBmhlaWdodAUDbmlsCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAWkBFGZpcnN0RW5kZWRCb29zdGluZ0lkAAoBBGZvbGQCBWFjY3VtBG5leHQJAM0IAgUFYWNjdW0JAQ1wYXJzZUludFZhbHVlAQUEbmV4dAQLU3RyaW5nVmFsdWUJALMCAgkBDHRyeUdldFN0cmluZwEJAKwCAgkArAICAgtsaXN0IGVuZGVkIAkApAMBBQZoZWlnaHQCDCBib29zdGluZ0lkcwABBARsaXN0CgACJGwJALUJAgULU3RyaW5nVmFsdWUCASwKAAIkcwkAkAMBBQIkbAoABSRhY2MwBQNuaWwKAQUkZjBfMQICJGECJGkDCQBnAgUCJGkFAiRzBQIkYQkBBGZvbGQCBQIkYQkAkQMCBQIkbAUCJGkKAQUkZjBfMgICJGECJGkDCQBnAgUCJGkFAiRzBQIkYQkAAgECFExpc3Qgc2l6ZSBleGNlZWRzIDIwCQEFJGYwXzICCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECBQUkYWNjMAAAAAEAAgADAAQABQAGAAcACAAJAAoACwAMAA0ADgAPABAAEQASABMAFAQLZmlyc3RPZkxpc3QJAJEDAgUEbGlzdAAACQDMCAIJAQxJbnRlZ2VyRW50cnkCAgVmaXJzdAULZmlyc3RPZkxpc3QFA25pbADYzxic", "height": 2824022, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: F1cNKMw6SKHZanEzzbiMd8GvJhEjTncp1vzZx8toDeq2 Next: ApjFP352GgVSSACYxd4Jcc74TMpPtq9MvuSammuEyMDg Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-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", "57", "58", "59", "60", "61", "62", "63", "65", "66", "67", "68", "69", "70", "71", "72", "73", "75", "76", "77", "78", "79", "80", "81", "82", "83", "85", "86", "87", "88"]
4+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
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-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", "57", "58", "59", "60", "61", "62", "63", "65", "66", "67", "68", "69", "70", "71", "72", "73", "75", "76", "77", "78", "79", "80", "81", "82", "83", "85", "86", "87", "88"]
4+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 100")
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($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($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)
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 100")
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($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($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)
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 20")
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($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20)
185185 }
186186 let firstOfList = list[0]
187187 [IntegerEntry("first", firstOfList)]
188188 }
189189
190190

github/deemru/w8io/026f985 
71.09 ms