tx · AHekxNJDgV26jXxPHeq3WfkY39a8Me74VSBy8nzUPuUh

3Mqhk2t6EZZt9Kew2w4J55JihWZadNffzBQ:  -0.01000000 Waves

2023.03.01 11:07 [2470741] smart account 3Mqhk2t6EZZt9Kew2w4J55JihWZadNffzBQ > SELF 0.00000000 Waves

{ "type": 13, "id": "AHekxNJDgV26jXxPHeq3WfkY39a8Me74VSBy8nzUPuUh", "fee": 1000000, "feeAssetId": null, "timestamp": 1677658062302, "version": 2, "chainId": 84, "sender": "3Mqhk2t6EZZt9Kew2w4J55JihWZadNffzBQ", "senderPublicKey": "A8TH6dNbNo7KSojkXTRdR78cGa6d9oModHh52Pyuje6h", "proofs": [ "59JeK6sc3dcTLrK6rJTHfNA9mtnXQzpcbDz3kVaaYEn27qKamw7tMozcZT1ufaRJuZMeejZUWFADsdEMTh9VoMrt" ], "script": "base64:AAIFAAAAAAAAAAYIAhIAEgAAAAAAAAAAAgAAAAFpAQAAAARjYWxsAAAAAAQAAAADcmVzCQAD/AAAAAQFAAAABHRoaXMCAAAAEGludGVybmFsRnVuY3Rpb24FAAAAA25pbAUAAAADbmlsAwkAAAAAAAACBQAAAANyZXMFAAAAA3JlcwQAAAAGcmVzdWx0CQAAaAAAAAIJAABpAAAAAgAAAAAAAGrPwAAAAAAAAC3GwAAAAAAAAAAD6AQAAAAHcmVzdWx0MQkAAGkAAAACCQAAaAAAAAIAAAAAAABqz8AAAAAAAAAAAGQAAAAAAAAtxsAJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAABlRlc3QgMQUAAAAGcmVzdWx0CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAAZUZXN0IDIFAAAAB3Jlc3VsdDEFAAAAA25pbAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAABaQEAAAAQaW50ZXJuYWxGdW5jdGlvbgAAAAADCQAAAAAAAAIIBQAAAAFpAAAABmNhbGxlcgUAAAAEdGhpcwkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAAdDYWxsZWQyAgAAAANZRVMFAAAAA25pbAkAAAIAAAABAgAAABFJbnRlcm5hbCBmdW5jdGlvbgAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5hsl2iA==", "height": 2470741, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 47QCzgKHXTu4dU32BjdCjUFYw8iyEMKD8Q9ibtgw1hwc Next: Hr8KgEr3GTp6ordk7CyVW1N3cpmy1rdzUgs16CgY6UEr Diff:
OldNewDifferences
77 func call () = {
88 let res = invoke(this, "internalFunction", nil, nil)
99 if ((res == res))
10- then nil
10+ then {
11+ let result = ((7000000 / 3000000) * 1000)
12+ let result1 = ((7000000 * 100) / 3000000)
13+[IntegerEntry("Test 1", result), IntegerEntry("Test 2", result1)]
14+ }
1115 else throw("Strict value is not equal to itself.")
1216 }
1317
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func call () = {
88 let res = invoke(this, "internalFunction", nil, nil)
99 if ((res == res))
10- then nil
10+ then {
11+ let result = ((7000000 / 3000000) * 1000)
12+ let result1 = ((7000000 * 100) / 3000000)
13+[IntegerEntry("Test 1", result), IntegerEntry("Test 2", result1)]
14+ }
1115 else throw("Strict value is not equal to itself.")
1216 }
1317
1418
1519
1620 @Callable(i)
1721 func internalFunction () = if ((i.caller == this))
1822 then [StringEntry("Called2", "YES")]
1923 else throw("Internal function")
2024
2125
2226 @Verifier(tx)
2327 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
2428

github/deemru/w8io/fabc49c 
26.01 ms