tx · 6gc4bnV1j942jmAcfvX9aV2uxfs3RUimhwh9VnAB1oHU

3N1YKcwZLDXBpMV9xnAnygYwaYadkJGMjtW:  -0.01000000 Waves

2023.08.11 22:57 [2706368] smart account 3N1YKcwZLDXBpMV9xnAnygYwaYadkJGMjtW > SELF 0.00000000 Waves

{ "type": 13, "id": "6gc4bnV1j942jmAcfvX9aV2uxfs3RUimhwh9VnAB1oHU", "fee": 1000000, "feeAssetId": null, "timestamp": 1691783830858, "version": 2, "chainId": 84, "sender": "3N1YKcwZLDXBpMV9xnAnygYwaYadkJGMjtW", "senderPublicKey": "CGY8FZGBmQsh3yyEEt5jG2wtqv6bzkn4m7vBhd6efkgc", "proofs": [ "2BUFmxzb5jY9LgCz4iJjcvSoN7PQartSTxZkaWCpXcFJBrvNrZdsg7eQ6pSvTsFnmazygaPkzabheUHkHmhHgQth" ], "script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAgAAAAAJc3RhcnRUc01zAAAAAXYp4U2AAQAAABdjYWxjdWxhdGVEYXlzU2luY2VTdGFydAAAAAAEAAAABGRpZmYJAABlAAAAAggFAAAACWxhc3RCbG9jawAAAAl0aW1lc3RhbXAFAAAACXN0YXJ0VHNNcwQAAAAKZGF5c1Bhc3NlZAkAAGkAAAACBQAAAARkaWZmCQAAaAAAAAIAAAAAAAABUYAAAAAAAAAAA+gFAAAACmRheXNQYXNzZWQAAAABAAAAAWkBAAAACHB1c2hkYXlzAAAAAAQAAAAEZGF5cwkBAAAAF2NhbGN1bGF0ZURheXNTaW5jZVN0YXJ0AAAAAAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAERGF5cwUAAAAEZGF5cwUAAAADbmlsAAAAADAYmF0=", "height": 2706368, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HxdEqK7CsGi8Z7Lj75WUVncuvv1ZwyK929cVGjExXdzG Next: A9sbQrr1HPxLp1isDQvcggMJSPJFrMRRfM6uyYVMTkci Diff:
OldNewDifferences
1010 }
1111
1212
13+@Callable(i)
1314 func pushdays () = {
1415 let days = calculateDaysSinceStart()
1516 [IntegerEntry("Days", days)]
1617 }
1718
1819
19-
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let startTsMs = 1607020400000
55
66 func calculateDaysSinceStart () = {
77 let diff = (lastBlock.timestamp - startTsMs)
88 let daysPassed = (diff / (86400 * 1000))
99 daysPassed
1010 }
1111
1212
13+@Callable(i)
1314 func pushdays () = {
1415 let days = calculateDaysSinceStart()
1516 [IntegerEntry("Days", days)]
1617 }
1718
1819
19-

github/deemru/w8io/169f3d6 
52.35 ms