tx · 4kXDvNED49fjZ2AfNQAL1WGV8LQJqq3HgUEFvzyV49dD

3N6D2nVttodJL3Sos3t1ui6DhrF6e79GAUB:  -0.01000000 Waves

2023.09.23 09:08 [2767643] smart account 3N6D2nVttodJL3Sos3t1ui6DhrF6e79GAUB > SELF 0.00000000 Waves

{ "type": 13, "id": "4kXDvNED49fjZ2AfNQAL1WGV8LQJqq3HgUEFvzyV49dD", "fee": 1000000, "feeAssetId": null, "timestamp": 1695449408137, "version": 2, "chainId": 84, "sender": "3N6D2nVttodJL3Sos3t1ui6DhrF6e79GAUB", "senderPublicKey": "6xBTQKYXNv2nHWCVJnDxb8afEksqZW8U6Bg1hjxcTj2", "proofs": [ "5P1iyy1T2LvaxarZ4BMdyya3jMmMaVsC8QhEycwJzfST5F6mDxUc2AnTtk8Xr3ukRiDRwcvV1gropnQh2y2KCPzA" ], "script": "base64:BgIJCAISBQoDAQEBAAEBaQEMdGVzdEZyYWN0aW9uAwZudW1iZXIKbnVtZXJhdG9yMgxkZW5vbWluYXRvcjIEC3Jlc3VsdF9kb3duCQBuBAUGbnVtYmVyBQpudW1lcmF0b3IyBQxkZW5vbWluYXRvcjIFBERPV04EDXJlc3VsdF9oYWxmdXAJAG4EBQZudW1iZXIFCm51bWVyYXRvcjIFDGRlbm9taW5hdG9yMgUGSEFMRlVQBA9yZXN1bHRfaGFsZkV2ZW4JAG4EBQZudW1iZXIFCm51bWVyYXRvcjIFDGRlbm9taW5hdG9yMgUISEFMRkVWRU4EDnJlc3VsdF9jZWlsaW5nCQBuBAUGbnVtYmVyBQpudW1lcmF0b3IyBQxkZW5vbWluYXRvcjIFB0NFSUxJTkcEDHJlc3VsdF9mbG9vcgkAbgQFBm51bWJlcgUKbnVtZXJhdG9yMgUMZGVub21pbmF0b3IyBQVGTE9PUgkAzAgCCQEMSW50ZWdlckVudHJ5AgILcmVzdWx0X2Rvd24FC3Jlc3VsdF9kb3duCQDMCAIJAQxJbnRlZ2VyRW50cnkCAg1yZXN1bHRfaGFsZnVwBQ1yZXN1bHRfaGFsZnVwCQDMCAIJAQxJbnRlZ2VyRW50cnkCAg9yZXN1bHRfaGFsZmV2ZW4FD3Jlc3VsdF9oYWxmRXZlbgkAzAgCCQEMSW50ZWdlckVudHJ5AgIOcmVzdWx0X2NlaWxpbmcFDnJlc3VsdF9jZWlsaW5nCQDMCAIJAQxJbnRlZ2VyRW50cnkCAgxyZXN1bHRfZmxvb3IFDHJlc3VsdF9mbG9vcgUDbmlsAQJ0eAEGdmVyaWZ5AAkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleRT5e2c=", "height": 2767643, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: 3B3AJK74Ho7SrQVCeyfLCGa8NdtQCandCyUzWvU8t5hJ Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 6 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+
5+
6+@Callable(i)
7+func testFraction (number,numerator2,denominator2) = {
8+ let result_down = fraction(number, numerator2, denominator2, DOWN)
9+ let result_halfup = fraction(number, numerator2, denominator2, HALFUP)
10+ let result_halfEven = fraction(number, numerator2, denominator2, HALFEVEN)
11+ let result_ceiling = fraction(number, numerator2, denominator2, CEILING)
12+ let result_floor = fraction(number, numerator2, denominator2, FLOOR)
13+[IntegerEntry("result_down", result_down), IntegerEntry("result_halfup", result_halfup), IntegerEntry("result_halfeven", result_halfEven), IntegerEntry("result_ceiling", result_ceiling), IntegerEntry("result_floor", result_floor)]
14+ }
15+
16+
17+@Verifier(tx)
18+func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
19+

github/deemru/w8io/169f3d6 
12.93 ms