tx · 34MbqtiErEJKtWFAPBRSQ7BTG3F8GYDJ2bMWugRPCfwM
3NCjacRe6BwQqhXxk5xJVUz6ANwwfUpn6Lj: -0.01400000 Waves
2021.09.02 00:30 [1684508] smart account 3NCjacRe6BwQqhXxk5xJVUz6ANwwfUpn6Lj > SELF 0.00000000 Waves
{
"type": 13,
"id": "34MbqtiErEJKtWFAPBRSQ7BTG3F8GYDJ2bMWugRPCfwM",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1630531880611,
"version": 2,
"chainId": 84,
"sender": "3NCjacRe6BwQqhXxk5xJVUz6ANwwfUpn6Lj",
"senderPublicKey": "B3kVAcfHfuwyGJTvyUjyTdUnJYmkZJs1QYHmQNiXXXEX",
"proofs": [
"4UiGS96SECW2jXSVEi3shWeoFdeH6TLDsXgTJR9DcV1tvfzLWRdNj38zDuqUSJ3CHXwudxbj5ftCoKzuY4ppmcWS"
],
"script": "base64:AAIEAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAEY2FsbAAAAAAEAAAABGFyZzEJAQAAABN2YWx1ZU9yRXJyb3JNZXNzYWdlAAAAAgkAAGwAAAAGCQAAaQAAAAIAAAACgVJYqZoJAABsAAAABgAAAAAAAAAACgAAAAAAAAAABgAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAAAAAUAAAACVVAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAlVQAgAAAAlPdmVyZmxvYXQEAAAABGFyZzIJAABsAAAABgkAAGkAAAACAAAAAAAO+zZLCQAAbAAAAAYAAAAAAAAAAAoAAAAAAAAAAAcAAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAlVQAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAABQAAAAJVUAQAAAAEYXJnMwkAAGkAAAACCQAAaAAAAAIFAAAABGFyZzEJAABsAAAABgAAAAAAAAAACgAAAAAAAAAAAAAAAAAAAAAABwAAAAAAAAAAAAAAAAAAAAAAAAUAAAACVVAFAAAABGFyZzIJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAABWFyZ3MxBQAAAARhcmcxCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAAVhcmdzMgUAAAAEYXJnMgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAFYXJnczMFAAAABGFyZzMFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5pZ0xPQ==",
"height": 1684508,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 2ydZs4HCoUywJnaDEhdhD7fyVnJjwqh5wd2hmjNrALBn
Next: GTfT5ZkKPjmjq2TvW15jQDxAmnnVUU4fZvUdPNM8KTDx
Diff:
Old | New | | Differences |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func call () = { |
---|
8 | | - | let arg1 = pow((2754455579034 / pow(10, 6, 6, 0, 0, UP)), 0, 1, 0, 0, UP) |
---|
| 8 | + | let arg1 = valueOrErrorMessage(pow((2754455579034 / pow(10, 6, 6, 0, 0, UP)), 0, 1, 0, 0, UP), "Overfloat") |
---|
9 | 9 | | let arg2 = pow((251344459 / pow(10, 7, 7, 0, 0, UP)), 0, 1, 0, 0, UP) |
---|
10 | 10 | | let arg3 = ((arg1 * pow(10, 0, 7, 0, 0, UP)) / arg2) |
---|
11 | 11 | | [IntegerEntry("args1", arg1), IntegerEntry("args2", arg2), IntegerEntry("args3", arg3)] |
---|
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 | | - | let arg1 = pow((2754455579034 / pow(10, 6, 6, 0, 0, UP)), 0, 1, 0, 0, UP) |
---|
| 8 | + | let arg1 = valueOrErrorMessage(pow((2754455579034 / pow(10, 6, 6, 0, 0, UP)), 0, 1, 0, 0, UP), "Overfloat") |
---|
9 | 9 | | let arg2 = pow((251344459 / pow(10, 7, 7, 0, 0, UP)), 0, 1, 0, 0, UP) |
---|
10 | 10 | | let arg3 = ((arg1 * pow(10, 0, 7, 0, 0, UP)) / arg2) |
---|
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 | | |
---|