tx · GJKQucaJxpvGSKW9PXakFKusttYosYYXoCxFNQcwthJQ

3Muh4FMqQEciR4eM8aRSHaeSsezQpwgsewY:  -0.01000000 Waves

2023.01.10 13:12 [2398711] smart account 3Muh4FMqQEciR4eM8aRSHaeSsezQpwgsewY > SELF 0.00000000 Waves

{ "type": 13, "id": "GJKQucaJxpvGSKW9PXakFKusttYosYYXoCxFNQcwthJQ", "fee": 1000000, "feeAssetId": null, "timestamp": 1673345612887, "version": 2, "chainId": 84, "sender": "3Muh4FMqQEciR4eM8aRSHaeSsezQpwgsewY", "senderPublicKey": "AbKSXC77cdmH8X3UJXcPzxsXqAX2mr2mkYZRjfRBQ7te", "proofs": [ "5LFFm9usSSAide8WqjxVAZogHuAGGpM2grVdW16LvomjKkayXmFbeYUqMvcMh2tPTb3PJMYK5dE8SvLvB4KD5XZt" ], "script": "base64:AAIFAAAAAAAAAAIIAgAAAAQAAAAADnN0YXJ0RW1pc3Npb25IAAAAAAAAHJH/AAAAABBzd29wWWVhckVtaXNzaW9uAAAAWvMQekAAAAAAAA1ibG9ja3NQZXJZZWFyAAAAAAAACAf6AQAAABJnZXRSZXdhcmRzUGVyQmxvY2sAAAAABAAAAA9lbWlzc2lvblBlcmlvZHMJAABpAAAAAgkAAGUAAAACBQAAAAZoZWlnaHQFAAAADnN0YXJ0RW1pc3Npb25IBQAAAA1ibG9ja3NQZXJZZWFyCgEAAAAMY2FsY0VtaXNzaW9uAAAAAgAAAANhY2MAAAABaQQAAAAJJHQwNDAzNDQwBQAAAANhY2MEAAAAC2N1ckVtaXNzaW9uCAUAAAAJJHQwNDAzNDQwAAAAAl8xBAAAAAxwcmV2RW1pc3Npb24IBQAAAAkkdDA0MDM0NDAAAAACXzIDCQAAZgAAAAIFAAAAD2VtaXNzaW9uUGVyaW9kcwUAAAABaQkABRQAAAACCQAAawAAAAMFAAAAC2N1ckVtaXNzaW9uAAAAAAAAAABLAAAAAAAAAABkBQAAAAtjdXJFbWlzc2lvbgkABRQAAAACBQ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xAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgUAAAAFJGFjYzAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAIAAAAAAAAAAAMAAAAAAAAAAAQAAAAAAAAAAAUAAAAAAAAAAAYAAAAAAAAAAAcAAAAAAAAAAAgAAAAAAAAAAAkAAAAAAAAAAAoAAAAAAAAAAAsAAAAAAAAAAAwAAAAAAAAAAA0AAAAAAAAAAA4AAAAAAAAAAA8AAAAAAAAAABAAAAAAAAAAABEAAAAAAAAAABIAAAAAAAAAABMAAAAAAAAAABQEAAAAC2N1ckVtaXNzaW9uCAUAAAAJJHQwNTk5NzY1AAAAAl8xBAAAAAxwcmV2RW1pc3Npb24IBQAAAAkkdDA1OTk3NjUAAAACXzIJAAUUAAAAAgkAAGkAAAACBQAAAAtjdXJFbWlzc2lvbgUAAAANYmxvY2tzUGVyWWVhcgkAAGkAAAACBQAAAAxwcmV2RW1pc3Npb24FAAAADWJsb2Nrc1BlclllYXIAAAAAAAAAAPUfVxo=", "height": 2398711, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HGQ7biNoVWuW69QqdJ8uGfKN5pPz2a1B3FbW2rRLxgGU Next: none Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let startEmissionH = 1872360
4+let startEmissionH = 1872383
55
66 let swopYearEmission = 100000000000000
77
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let startEmissionH = 1872360
4+let startEmissionH = 1872383
55
66 let swopYearEmission = 100000000000000
77
88 let blocksPerYear = 526330
99
1010 func getRewardsPerBlock () = {
1111 let emissionPeriods = ((height - startEmissionH) / blocksPerYear)
1212 func calcEmission (acc,i) = {
1313 let $t0403440 = acc
1414 let curEmission = $t0403440._1
1515 let prevEmission = $t0403440._2
1616 if ((emissionPeriods > i))
1717 then $Tuple2(fraction(curEmission, 75, 100), curEmission)
1818 else $Tuple2(curEmission, prevEmission)
1919 }
2020
2121 let $t0599765 = {
2222 let $l = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19]
2323 let $s = size($l)
2424 let $acc0 = $Tuple2(swopYearEmission, swopYearEmission)
2525 func $f0_1 ($a,$i) = if (($i >= $s))
2626 then $a
2727 else calcEmission($a, $l[$i])
2828
2929 func $f0_2 ($a,$i) = if (($i >= $s))
3030 then $a
3131 else throw("List size exceeds 20")
3232
3333 $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)
3434 }
3535 let curEmission = $t0599765._1
3636 let prevEmission = $t0599765._2
3737 $Tuple2((curEmission / blocksPerYear), (prevEmission / blocksPerYear))
3838 }
3939
4040
4141

github/deemru/w8io/169f3d6 
34.60 ms