tx · 9nZL2VYJXhhWKVCeQVo17YYD9HjGb5b52jSQHk9Lk73U

3N37eLdtWjhS31FGHvu2HpGLreF11i58Bv6:  -0.01000000 Waves

2023.03.16 13:35 [2492468] smart account 3N37eLdtWjhS31FGHvu2HpGLreF11i58Bv6 > SELF 0.00000000 Waves

{ "type": 13, "id": "9nZL2VYJXhhWKVCeQVo17YYD9HjGb5b52jSQHk9Lk73U", "fee": 1000000, "feeAssetId": null, "timestamp": 1678962917961, "version": 2, "chainId": 84, "sender": "3N37eLdtWjhS31FGHvu2HpGLreF11i58Bv6", "senderPublicKey": "3pW4h7e3NAcqGkvc1AyziZLMPSsG2eXvCGU7vLxPXkaq", "proofs": [ "2CP7kTcvCKr4T6kteM9FZngXFPYNpzqKtBrNssRRJFLgcxTjVVJ5n6h45byquyPzHqpkoY58JA983BqHbipcZjZL" ], "script": "base64:AAIFAAAAAAAAAAkIAhIFCgMBAQEAAAAAAAAAAQAAAAFpAQAAAARjYWxsAAAAAwAAAAtmaXJzdE51bWJlcgAAAAxzZWNvbmROdW1iZXIAAAAIbXVsdGlwbHkEAAAADGJpZ0ludFJlc3VsdAkAAToAAAACCQABOQAAAAIJAAE2AAAAAQUAAAALZmlyc3ROdW1iZXIJAAE2AAAAAQUAAAAIbXVsdGlwbHkJAAE2AAAAAQUAAAAMc2Vjb25kTnVtYmVyBAAAAAZyZXN1bHQJAAGgAAAAAQUAAAAMYmlnSW50UmVzdWx0BAAAAAhiYWNrd2FyZAkAAToAAAACCQABOQAAAAIFAAAADGJpZ0ludFJlc3VsdAkAATYAAAABBQAAAAxzZWNvbmROdW1iZXIJAAE2AAAAAQUAAAAIbXVsdGlwbHkJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAABnJlc3VsdAUAAAAGcmVzdWx0CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAA5iYWNrd2FyZFJlc3VsdAkAAaAAAAABBQAAAAhiYWNrd2FyZAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkaX4zF", "height": 2492468, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2V6JEWnj7NfZBPdBHPgTJNn2Tste5tL3YHPQbtMKT9Yk Next: 8SpGJhg2w2nLTCuYgpnMcvzY7Q96p9CZMYeu65JKbp32 Diff:
OldNewDifferences
55
66 @Callable(i)
77 func call (firstNumber,secondNumber,multiply) = {
8- let bigIntResult = ((toBigInt(firstNumber) * toBigInt(multiply)) / (toBigInt(secondNumber) * toBigInt(multiply)))
8+ let bigIntResult = ((toBigInt(firstNumber) * toBigInt(multiply)) / toBigInt(secondNumber))
99 let result = toInt(bigIntResult)
10-[IntegerEntry("result", result)]
10+ let backward = ((bigIntResult * toBigInt(secondNumber)) / toBigInt(multiply))
11+[IntegerEntry("result", result), IntegerEntry("backwardResult", toInt(backward))]
1112 }
1213
1314
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func call (firstNumber,secondNumber,multiply) = {
8- let bigIntResult = ((toBigInt(firstNumber) * toBigInt(multiply)) / (toBigInt(secondNumber) * toBigInt(multiply)))
8+ let bigIntResult = ((toBigInt(firstNumber) * toBigInt(multiply)) / toBigInt(secondNumber))
99 let result = toInt(bigIntResult)
10-[IntegerEntry("result", result)]
10+ let backward = ((bigIntResult * toBigInt(secondNumber)) / toBigInt(multiply))
11+[IntegerEntry("result", result), IntegerEntry("backwardResult", toInt(backward))]
1112 }
1213
1314
1415 @Verifier(tx)
1516 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
1617

github/deemru/w8io/026f985 
22.96 ms