tx · Hr8KgEr3GTp6ordk7CyVW1N3cpmy1rdzUgs16CgY6UEr
3Mqhk2t6EZZt9Kew2w4J55JihWZadNffzBQ: -0.01000000 Waves
2023.03.01 11:10 [2470745] smart account 3Mqhk2t6EZZt9Kew2w4J55JihWZadNffzBQ > SELF 0.00000000 Waves
{
"type": 13,
"id": "Hr8KgEr3GTp6ordk7CyVW1N3cpmy1rdzUgs16CgY6UEr",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1677658222129,
"version": 2,
"chainId": 84,
"sender": "3Mqhk2t6EZZt9Kew2w4J55JihWZadNffzBQ",
"senderPublicKey": "A8TH6dNbNo7KSojkXTRdR78cGa6d9oModHh52Pyuje6h",
"proofs": [
"3AoR8sxSZmtj13A3pZJVkoQBCG7P2UBaKb1gyyNuWzC7rkoJJc7fHkmomecBriMjtFqtDyc2xM4soRQg3DjnCDW2"
],
"script": "base64:AAIFAAAAAAAAAAYIAhIAEgAAAAAAAAAAAgAAAAFpAQAAAARjYWxsAAAAAAQAAAADcmVzCQAD/AAAAAQFAAAABHRoaXMCAAAAEGludGVybmFsRnVuY3Rpb24FAAAAA25pbAUAAAADbmlsAwkAAAAAAAACBQAAAANyZXMFAAAAA3JlcwQAAAAGcmVzdWx0CQAAaAAAAAIJAABpAAAAAgAAAAAAAGrPwAAAAAAAAC3GwAAAAAAAAAAD6AQAAAAHcmVzdWx0MQkAAGkAAAACCQAAaAAAAAIAAAAAAABqz8AAAAAAAAAAA+gAAAAAAAAtxsAJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAABlRlc3QgMQUAAAAGcmVzdWx0CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAAZUZXN0IDIFAAAAB3Jlc3VsdDEFAAAAA25pbAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAABaQEAAAAQaW50ZXJuYWxGdW5jdGlvbgAAAAADCQAAAAAAAAIIBQAAAAFpAAAABmNhbGxlcgUAAAAEdGhpcwkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAAdDYWxsZWQyAgAAAANZRVMFAAAAA25pbAkAAAIAAAABAgAAABFJbnRlcm5hbCBmdW5jdGlvbgAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5JpKuhQ==",
"height": 2470745,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: AHekxNJDgV26jXxPHeq3WfkY39a8Me74VSBy8nzUPuUh
Next: DN7MGWBAXTxuHwwDFVbC7TSFqsUCrVBpUTymHXu38tAt
Diff:
Old | New | | Differences |
---|
9 | 9 | | if ((res == res)) |
---|
10 | 10 | | then { |
---|
11 | 11 | | let result = ((7000000 / 3000000) * 1000) |
---|
12 | | - | let result1 = ((7000000 * 100) / 3000000) |
---|
| 12 | + | let result1 = ((7000000 * 1000) / 3000000) |
---|
13 | 13 | | [IntegerEntry("Test 1", result), IntegerEntry("Test 2", result1)] |
---|
14 | 14 | | } |
---|
15 | 15 | | else throw("Strict value is not equal to itself.") |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func call () = { |
---|
8 | 8 | | let res = invoke(this, "internalFunction", nil, nil) |
---|
9 | 9 | | if ((res == res)) |
---|
10 | 10 | | then { |
---|
11 | 11 | | let result = ((7000000 / 3000000) * 1000) |
---|
12 | | - | let result1 = ((7000000 * 100) / 3000000) |
---|
| 12 | + | let result1 = ((7000000 * 1000) / 3000000) |
---|
13 | 13 | | [IntegerEntry("Test 1", result), IntegerEntry("Test 2", result1)] |
---|
14 | 14 | | } |
---|
15 | 15 | | else throw("Strict value is not equal to itself.") |
---|
16 | 16 | | } |
---|
17 | 17 | | |
---|
18 | 18 | | |
---|
19 | 19 | | |
---|
20 | 20 | | @Callable(i) |
---|
21 | 21 | | func internalFunction () = if ((i.caller == this)) |
---|
22 | 22 | | then [StringEntry("Called2", "YES")] |
---|
23 | 23 | | else throw("Internal function") |
---|
24 | 24 | | |
---|
25 | 25 | | |
---|
26 | 26 | | @Verifier(tx) |
---|
27 | 27 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
28 | 28 | | |
---|