tx · DKNNuzSYUmip3dxtcuf52bPi4wpgXs1xBSEYoxL3oLwT
3N8oN3yLcrZHa6DcDfqE9Rz8GkzudXjnmrx: -0.01000000 Waves
2023.04.04 15:10 [2519800] smart account 3N8oN3yLcrZHa6DcDfqE9Rz8GkzudXjnmrx > SELF 0.00000000 Waves
{
"type": 13,
"id": "DKNNuzSYUmip3dxtcuf52bPi4wpgXs1xBSEYoxL3oLwT",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1680610205561,
"version": 2,
"chainId": 84,
"sender": "3N8oN3yLcrZHa6DcDfqE9Rz8GkzudXjnmrx",
"senderPublicKey": "81tRXAgqfPdSG8kxEMcAuyLeBBRRrzyqQLXCtCj1dpk2",
"proofs": [
"5QyYSHiphy5CzZsjb9ZsRFChPkY49M372QmrZL1qZC3UjqZB21uL6TLUge5FvDCBKmMPYcWVDTERAXmnBa5i7v8x"
],
"script": "base64:BgIGCAISABIAAwAGa2V5QmFyAgRiYXJfAQliYXJPclplcm8ACQELdmFsdWVPckVsc2UCCQCfCAEFBmtleUJhcgAAAQdmdW5jQmFyAAkAzAgCCQEMSW50ZWdlckVudHJ5AgUGa2V5QmFyAAEFA25pbAIBaQELY2FsbGFibGVGb28ACQDMCAIJAQxJbnRlZ2VyRW50cnkCBQZrZXlCYXIJAGQCCQEJYmFyT3JaZXJvAAABBQNuaWwBaQEDZm9vAAQIc3RhdGVCYXIJAQdmdW5jQmFyAAMJAAACBQhzdGF0ZUJhcgUIc3RhdGVCYXIEBGNhbGwJAPwHBAUEdGhpcwILY2FsbGFibGVGb28FA25pbAUDbmlsBQhzdGF0ZUJhcgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgC9C2xp",
"height": 2519800,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: Dis8P3L5hRB3y8D9wwSyzund7cf2sv4eSXZRD12JUow7
Next: 9irZRyLgDUMkV44EZVAH1jd3MWicTH8JdG1hPJucoCZv
Diff:
Old | New | | Differences |
---|
20 | 20 | | if ((stateBar == stateBar)) |
---|
21 | 21 | | then { |
---|
22 | 22 | | let call = invoke(this, "callableFoo", nil, nil) |
---|
23 | | - | if ((call == call)) |
---|
24 | | - | then stateBar |
---|
25 | | - | else throw("Strict value is not equal to itself.") |
---|
| 23 | + | stateBar |
---|
26 | 24 | | } |
---|
27 | 25 | | else throw("Strict value is not equal to itself.") |
---|
28 | 26 | | } |
---|
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 | 9 | | func funcBar () = [IntegerEntry(keyBar, 1)] |
---|
10 | 10 | | |
---|
11 | 11 | | |
---|
12 | 12 | | @Callable(i) |
---|
13 | 13 | | func callableFoo () = [IntegerEntry(keyBar, (barOrZero() + 1))] |
---|
14 | 14 | | |
---|
15 | 15 | | |
---|
16 | 16 | | |
---|
17 | 17 | | @Callable(i) |
---|
18 | 18 | | func foo () = { |
---|
19 | 19 | | let stateBar = funcBar() |
---|
20 | 20 | | if ((stateBar == stateBar)) |
---|
21 | 21 | | then { |
---|
22 | 22 | | let call = invoke(this, "callableFoo", nil, nil) |
---|
23 | | - | if ((call == call)) |
---|
24 | | - | then stateBar |
---|
25 | | - | else throw("Strict value is not equal to itself.") |
---|
| 23 | + | stateBar |
---|
26 | 24 | | } |
---|
27 | 25 | | else throw("Strict value is not equal to itself.") |
---|
28 | 26 | | } |
---|
29 | 27 | | |
---|
30 | 28 | | |
---|