tx · 3WKh9HnV5MWXDfwPnQoiFCfY9a2KhoFmvFy1D2a1xFpj
3N8oN3yLcrZHa6DcDfqE9Rz8GkzudXjnmrx: -0.01000000 Waves
2023.04.04 15:48 [2519836] smart account 3N8oN3yLcrZHa6DcDfqE9Rz8GkzudXjnmrx > SELF 0.00000000 Waves
{
"type": 13,
"id": "3WKh9HnV5MWXDfwPnQoiFCfY9a2KhoFmvFy1D2a1xFpj",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1680612518247,
"version": 2,
"chainId": 84,
"sender": "3N8oN3yLcrZHa6DcDfqE9Rz8GkzudXjnmrx",
"senderPublicKey": "81tRXAgqfPdSG8kxEMcAuyLeBBRRrzyqQLXCtCj1dpk2",
"proofs": [
"2i5AhDKEimTZczBN6k1kRiooW82VDxheJdEFfHqf4vs1CPg4ujfX89rmA9uvPMLvhqcgm5aA9AAmt7TrCjnDZdCX"
],
"script": "base64:BgIGCAISABIAAwAGa2V5QmFyAgRiYXJfAQliYXJPclplcm8ACQELdmFsdWVPckVsc2UCCQCfCAEFBmtleUJhcgAAAQdmdW5jQmFyAAkAzAgCCQEMSW50ZWdlckVudHJ5AgUGa2V5QmFyCQBkAgkBCWJhck9yWmVybwAAAgUDbmlsAgFpAQtjYWxsYWJsZUZvbwAJAMwIAgkBDEludGVnZXJFbnRyeQIFBmtleUJhcgkAZAIJAQliYXJPclplcm8AAAMFA25pbAFpAQNmb28ABAFiCQEHZnVuY0JhcgADCQAAAgUBYgUBYgQBYQkA/AcEBQR0aGlzAgtjYWxsYWJsZUZvbwUDbmlsBQNuaWwDCQAAAgUBYQUBYQUBYgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgA1sqfg",
"height": 2519836,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 3vYgJh6VfcyF32sNtqiX2CpPztrKgnYS6s3C5R5nr8kT
Next: G4rcnGBSLfCXdAfZWZeHZ13EYuUWYaftqQVyHST2KTik
Diff:
Old | New | | Differences |
---|
6 | 6 | | func barOrZero () = valueOrElse(getInteger(keyBar), 0) |
---|
7 | 7 | | |
---|
8 | 8 | | |
---|
9 | | - | func funcBar () = [IntegerEntry(keyBar, 1)] |
---|
| 9 | + | func funcBar () = [IntegerEntry(keyBar, (barOrZero() + 2))] |
---|
10 | 10 | | |
---|
11 | 11 | | |
---|
12 | 12 | | @Callable(i) |
---|
13 | | - | func callableFoo () = [IntegerEntry(keyBar, (barOrZero() + 2))] |
---|
| 13 | + | func callableFoo () = [IntegerEntry(keyBar, (barOrZero() + 3))] |
---|
14 | 14 | | |
---|
15 | 15 | | |
---|
16 | 16 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let keyBar = "bar_" |
---|
5 | 5 | | |
---|
6 | 6 | | func barOrZero () = valueOrElse(getInteger(keyBar), 0) |
---|
7 | 7 | | |
---|
8 | 8 | | |
---|
9 | | - | func funcBar () = [IntegerEntry(keyBar, 1)] |
---|
| 9 | + | func funcBar () = [IntegerEntry(keyBar, (barOrZero() + 2))] |
---|
10 | 10 | | |
---|
11 | 11 | | |
---|
12 | 12 | | @Callable(i) |
---|
13 | | - | func callableFoo () = [IntegerEntry(keyBar, (barOrZero() + 2))] |
---|
| 13 | + | func callableFoo () = [IntegerEntry(keyBar, (barOrZero() + 3))] |
---|
14 | 14 | | |
---|
15 | 15 | | |
---|
16 | 16 | | |
---|
17 | 17 | | @Callable(i) |
---|
18 | 18 | | func foo () = { |
---|
19 | 19 | | let b = funcBar() |
---|
20 | 20 | | if ((b == b)) |
---|
21 | 21 | | then { |
---|
22 | 22 | | let a = invoke(this, "callableFoo", nil, nil) |
---|
23 | 23 | | if ((a == a)) |
---|
24 | 24 | | then b |
---|
25 | 25 | | else throw("Strict value is not equal to itself.") |
---|
26 | 26 | | } |
---|
27 | 27 | | else throw("Strict value is not equal to itself.") |
---|
28 | 28 | | } |
---|
29 | 29 | | |
---|
30 | 30 | | |
---|