tx · 6KFPqwdM87N6MiFRyK97D1GoHmLuVrZqtPVdW1x8cYP5
3NCjacRe6BwQqhXxk5xJVUz6ANwwfUpn6Lj: -0.01400000 Waves
2021.09.02 00:59 [1684539] smart account 3NCjacRe6BwQqhXxk5xJVUz6ANwwfUpn6Lj > SELF 0.00000000 Waves
{
"type": 13,
"id": "6KFPqwdM87N6MiFRyK97D1GoHmLuVrZqtPVdW1x8cYP5",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1630533583608,
"version": 2,
"chainId": 84,
"sender": "3NCjacRe6BwQqhXxk5xJVUz6ANwwfUpn6Lj",
"senderPublicKey": "B3kVAcfHfuwyGJTvyUjyTdUnJYmkZJs1QYHmQNiXXXEX",
"proofs": [
"4x6fchc4PmWXERZAHEkPANNTJtn32uLkFfctxyp951zSEKyjP8cRDbNVT6BsQ9HbUYE1jz8A9Ab3t1QR82LEJTFY"
],
"script": "base64:AAIEAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAEY2FsbAAAAAAEAAAABGFyZzEJAABsAAAABgkAAGkAAAACAAAAAoFSWKmaCQAAbAAAAAYAAAAAAAAAAAoAAAAAAAAAAAYAAAAAAAAAAAYAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAlVQAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAABQAAAAJVUAQAAAAEYXJnMgkAAGwAAAAGCQAAaQAAAAIAAAAAAA77NksJAABsAAAABgAAAAAAAAAACgAAAAAAAAAABwAAAAAAAAAABwAAAAAAAAAAAAAAAAAAAAAAAAUAAAACVVAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAlVQBAAAAARhcmczCQAAbAAAAAYJAABoAAAAAgkAAGkAAAACBQAAAARhcmcxBQAAAARhcmcyCQAAbAAAAAYAAAAAAAAAAAoAAAAAAAAAAAAAAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAlVQAAAAAAAAAAAGAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAABQAAAAJVUAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAFYXJnczEFAAAABGFyZzEJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAABWFyZ3MyBQAAAARhcmcyCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAAVhcmdzMwUAAAAEYXJnMwUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXnWxGG/",
"height": 1684539,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 3h7R1PkwWM7SEpbGphUmbNELfvmU3oPTbVZ3GDGsL874
Next: DB2GW6pCpozRwA9hYRYGnGotcxHebZxby89Ys2MNzVUy
Diff:
Old | New | | Differences |
---|
7 | 7 | | func call () = { |
---|
8 | 8 | | let arg1 = pow((2754455579034 / pow(10, 6, 6, 0, 0, UP)), 0, 1, 0, 0, UP) |
---|
9 | 9 | | let arg2 = pow((251344459 / pow(10, 7, 7, 0, 0, UP)), 0, 1, 0, 0, UP) |
---|
10 | | - | let arg3 = pow((fraction(arg1, 1, arg2) * pow(10, 0, 7, 0, 0, UP)), 0, 1, 0, 0, UP) |
---|
| 10 | + | let arg3 = pow(((arg1 / arg2) * pow(10, 0, 7, 0, 0, UP)), 6, 1, 0, 0, UP) |
---|
11 | 11 | | [IntegerEntry("args1", arg1), IntegerEntry("args2", arg2), IntegerEntry("args3", arg3)] |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 4 #-} |
---|
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 arg1 = pow((2754455579034 / pow(10, 6, 6, 0, 0, UP)), 0, 1, 0, 0, UP) |
---|
9 | 9 | | let arg2 = pow((251344459 / pow(10, 7, 7, 0, 0, UP)), 0, 1, 0, 0, UP) |
---|
10 | | - | let arg3 = pow((fraction(arg1, 1, arg2) * pow(10, 0, 7, 0, 0, UP)), 0, 1, 0, 0, UP) |
---|
| 10 | + | let arg3 = pow(((arg1 / arg2) * pow(10, 0, 7, 0, 0, UP)), 6, 1, 0, 0, UP) |
---|
11 | 11 | | [IntegerEntry("args1", arg1), IntegerEntry("args2", arg2), IntegerEntry("args3", arg3)] |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
15 | 15 | | @Verifier(tx) |
---|
16 | 16 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
17 | 17 | | |
---|