tx · 7YJJ2ukviDiUpLVaMDNHdLBGfmqzYpHfP4EAj9H9u4t9
3NCWFHDzdPHZC6636ZkMLNDup9mjpbTLs7h: -0.01000000 Waves
2023.05.22 10:20 [2588871] smart account 3NCWFHDzdPHZC6636ZkMLNDup9mjpbTLs7h > SELF 0.00000000 Waves
{
"type": 13,
"id": "7YJJ2ukviDiUpLVaMDNHdLBGfmqzYpHfP4EAj9H9u4t9",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1684740072726,
"version": 2,
"chainId": 84,
"sender": "3NCWFHDzdPHZC6636ZkMLNDup9mjpbTLs7h",
"senderPublicKey": "3z8Q6Zu3KppVmn6fJJvrLc1Wo3krVHSvfaNcerm82md2",
"proofs": [
"4nQRHSrxTU5SMEfWW5ivAWARJB7Njm7JHCqQhFPxgJsk5fuVjjWdgpUGnTHCL3upaB75spLVMxGH9BFZrDPst3JG"
],
"script": "base64:BgIHCAISAwoBAQABAWkBA2ZvbwEBbgQOc2V0dGVyQ29udHJhY3QJARFAZXh0ck5hdGl2ZSgxMDYyKQECIzNNdTVrYXNaODVWWTV4VUNwUFlvV3I2ZkJ6aDZlR1p3Y250BANudW0JARFAZXh0ck5hdGl2ZSgxMDUwKQIFDnNldHRlckNvbnRyYWN0AghudW1WYWx1ZQQCc2kJAPwHBAUOc2V0dGVyQ29udHJhY3QCBnNldHRlcgkAzAgCCQBkAgUDbnVtBQFuBQNuaWwFA25pbAMJAAACBQJzaQUCc2kFA25pbAkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgBz6ZyS",
"height": 2588871,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 7643eS45aCtax2Qtro5zb2sxbF9hF3Wky5HVjHqkwSpt
Next: FA8VMsWMtMDVNqo22HmMLWfxkUzQCqWJUBrgqqF2DNhD
Diff:
Old | New | | Differences |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func foo (n) = { |
---|
8 | 8 | | let setterContract = addressFromStringValue("3Mu5kasZ85VY5xUCpPYoWr6fBzh6eGZwcnt") |
---|
9 | | - | let si = invoke(setterContract, "setter", [n], nil) |
---|
| 9 | + | let num = getIntegerValue(setterContract, "numValue") |
---|
| 10 | + | let si = invoke(setterContract, "setter", [(num + n)], nil) |
---|
10 | 11 | | if ((si == si)) |
---|
11 | 12 | | then nil |
---|
12 | 13 | | else throw("Strict value is not equal to itself.") |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | 7 | | func foo (n) = { |
---|
8 | 8 | | let setterContract = addressFromStringValue("3Mu5kasZ85VY5xUCpPYoWr6fBzh6eGZwcnt") |
---|
9 | | - | let si = invoke(setterContract, "setter", [n], nil) |
---|
| 9 | + | let num = getIntegerValue(setterContract, "numValue") |
---|
| 10 | + | let si = invoke(setterContract, "setter", [(num + n)], nil) |
---|
10 | 11 | | if ((si == si)) |
---|
11 | 12 | | then nil |
---|
12 | 13 | | else throw("Strict value is not equal to itself.") |
---|
13 | 14 | | } |
---|
14 | 15 | | |
---|
15 | 16 | | |
---|