tx · 443Ag56RHsFWQAGEg3gxKU4XGghnRcQsRZKKmqojUYxy
3N3fWNbJVcZyxCQjpMJLwwrVddKFd1SMc91: -0.00100000 Waves
2022.09.16 23:03 [2232115] smart account 3N3fWNbJVcZyxCQjpMJLwwrVddKFd1SMc91 > SELF 0.00000000 Waves
{
"type": 13,
"id": "443Ag56RHsFWQAGEg3gxKU4XGghnRcQsRZKKmqojUYxy",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1663358652405,
"version": 2,
"chainId": 84,
"sender": "3N3fWNbJVcZyxCQjpMJLwwrVddKFd1SMc91",
"senderPublicKey": "GypMGxbQ4XTzLQC4dL8QfQoxb5XcuZcYzWeRuWhNNvpf",
"proofs": [
"23HR57fC6JfUoSY8KosdAP4e4fFfhwcjh5jsWkPsK9JWMxctiS5FS16X7YJLL246Qnw3xZ8wgXcRsSewx451iveD"
],
"script": "base64:BgIHCAISAwoBCAEBDXRyeUdldEludGVnZXIBA2tleQQHJG1hdGNoMAkAmggCBQR0aGlzBQNrZXkDCQABAgUHJG1hdGNoMAIDSW50BAFiBQckbWF0Y2gwBQFiAAABAWkBCXNhdmVfZGF0YQEEZGF0YQQCaWQJAQ10cnlHZXRJbnRlZ2VyAQICaWQEBm5ld19pZAkBDEludGVnZXJFbnRyeQICAmlkCQBkAgUCaWQAAQMJAAACBQZuZXdfaWQFBm5ld19pZAQKc2F2ZWRfZGF0YQkBC1N0cmluZ0VudHJ5AgkArAICAgNJRF8JAKQDAQUCaWQFBGRhdGEJAMwIAgUKc2F2ZWRfZGF0YQUDbmlsCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAQJ0eAEGdmVyaWZ5AAkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleR8Kbl4=",
"height": 2232115,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: DXY8TCXWozBjngRbSJaRhUd8SfqQRXcP48GVdMY9JjVf
Next: Ch31hmk9An2BqFxeua1dwTcsXrdUB8m79i8mis9xPW8c
Diff:
Old | New | | Differences |
---|
16 | 16 | | func save_data (f) = { |
---|
17 | 17 | | let g = a("id") |
---|
18 | 18 | | let h = IntegerEntry("id", (g + 1)) |
---|
19 | | - | let i = StringEntry(("ID_" + toString(g)), f) |
---|
| 19 | + | if ((h == h)) |
---|
| 20 | + | then { |
---|
| 21 | + | let i = StringEntry(("ID_" + toString(g)), f) |
---|
20 | 22 | | [i] |
---|
| 23 | + | } |
---|
| 24 | + | else throw("Strict value is not equal to itself.") |
---|
21 | 25 | | } |
---|
22 | 26 | | |
---|
23 | 27 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | func a (b) = { |
---|
5 | 5 | | let c = getInteger(this, b) |
---|
6 | 6 | | if ($isInstanceOf(c, "Int")) |
---|
7 | 7 | | then { |
---|
8 | 8 | | let d = c |
---|
9 | 9 | | d |
---|
10 | 10 | | } |
---|
11 | 11 | | else 0 |
---|
12 | 12 | | } |
---|
13 | 13 | | |
---|
14 | 14 | | |
---|
15 | 15 | | @Callable(e) |
---|
16 | 16 | | func save_data (f) = { |
---|
17 | 17 | | let g = a("id") |
---|
18 | 18 | | let h = IntegerEntry("id", (g + 1)) |
---|
19 | | - | let i = StringEntry(("ID_" + toString(g)), f) |
---|
| 19 | + | if ((h == h)) |
---|
| 20 | + | then { |
---|
| 21 | + | let i = StringEntry(("ID_" + toString(g)), f) |
---|
20 | 22 | | [i] |
---|
| 23 | + | } |
---|
| 24 | + | else throw("Strict value is not equal to itself.") |
---|
21 | 25 | | } |
---|
22 | 26 | | |
---|
23 | 27 | | |
---|
24 | 28 | | @Verifier(j) |
---|
25 | 29 | | func k () = sigVerify(j.bodyBytes, j.proofs[0], j.senderPublicKey) |
---|
26 | 30 | | |
---|