tx · 6WvhMhG8Vfp6xSG24sf3AcQDE6MLH16f6pKoJtsR2S2X
3NCjacRe6BwQqhXxk5xJVUz6ANwwfUpn6Lj: -0.01400000 Waves
2021.09.01 23:18 [1684437] smart account 3NCjacRe6BwQqhXxk5xJVUz6ANwwfUpn6Lj > SELF 0.00000000 Waves
{
"type": 13,
"id": "6WvhMhG8Vfp6xSG24sf3AcQDE6MLH16f6pKoJtsR2S2X",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1630527493915,
"version": 2,
"chainId": 84,
"sender": "3NCjacRe6BwQqhXxk5xJVUz6ANwwfUpn6Lj",
"senderPublicKey": "B3kVAcfHfuwyGJTvyUjyTdUnJYmkZJs1QYHmQNiXXXEX",
"proofs": [
"ncrYyi3pxRMbfpcduDooZ5bwP183PtEJ4uknxf2vGZdZ3Gy2SpMJ5ycuUodooCiCqpYZXxyfJg9zJfPkd9M8EBN"
],
"script": "base64:AAIEAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAEY2FsbAAAAAAEAAAABGFyZzEJAABsAAAABgAAAAAB4DVGvQAAAAAAAAAABgAAAAAAAAAABQAAAAAAAAAAAQAAAAAAAAAABgUAAAACVVAEAAAABGFyZzIJAABsAAAABgAAAAAUAfSjGQAAAAAAAAAABwAAAAAAAAAABQAAAAAAAAAAAQAAAAAAAAAABwUAAAACVVAEAAAADXNoYXJlRGVjaW1hbHMJAABpAAAAAgkAAGQAAAACAAAAAAAAAAAGAAAAAAAAAAAHAAAAAAAAAAACBAAAAARhcmczCQAAbAAAAAYJAABpAAAAAgUAAAAEYXJnMQUAAAAEYXJnMgAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgUAAAACVVAJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAABWFyZ3MxBQAAAARhcmcxCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAAVhcmdzMgUAAAAEYXJnMgkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAFYXJnczMFAAAABGFyZzMFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5df84eg==",
"height": 1684437,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: BxUw4iw4whRPohVBN4iYzMnVKEMbGvpCEfFLLZ6MBHS9
Next: FJEq6oZhBuhFWBHQs4hPBfEyAUzCTrmTi3Hdehji2qND
Diff:
Old | New | | Differences |
---|
8 | 8 | | let arg1 = pow(8056555197, 6, 5, 1, 6, UP) |
---|
9 | 9 | | let arg2 = pow(85932155673, 7, 5, 1, 7, UP) |
---|
10 | 10 | | let shareDecimals = ((6 + 7) / 2) |
---|
11 | | - | let arg3 = fraction(arg1, 1, arg2) |
---|
| 11 | + | let arg3 = pow((arg1 / arg2), 6, 0, 0, 6, UP) |
---|
12 | 12 | | [IntegerEntry("args1", arg1), IntegerEntry("args2", arg2), IntegerEntry("args3", arg3)] |
---|
13 | 13 | | } |
---|
14 | 14 | | |
---|
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(8056555197, 6, 5, 1, 6, UP) |
---|
9 | 9 | | let arg2 = pow(85932155673, 7, 5, 1, 7, UP) |
---|
10 | 10 | | let shareDecimals = ((6 + 7) / 2) |
---|
11 | | - | let arg3 = fraction(arg1, 1, arg2) |
---|
| 11 | + | let arg3 = pow((arg1 / arg2), 6, 0, 0, 6, UP) |
---|
12 | 12 | | [IntegerEntry("args1", arg1), IntegerEntry("args2", arg2), IntegerEntry("args3", arg3)] |
---|
13 | 13 | | } |
---|
14 | 14 | | |
---|
15 | 15 | | |
---|
16 | 16 | | @Verifier(tx) |
---|
17 | 17 | | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
18 | 18 | | |
---|