tx · Ar3H2sJ4TLB8wKZQGsxDKes1EkfphC8XQwSnwPZgLWWS 3N8oN3yLcrZHa6DcDfqE9Rz8GkzudXjnmrx: -0.01000000 Waves 2023.08.14 10:11 [2709911] smart account 3N8oN3yLcrZHa6DcDfqE9Rz8GkzudXjnmrx > SELF 0.00000000 Waves
{ "type": 13, "id": "Ar3H2sJ4TLB8wKZQGsxDKes1EkfphC8XQwSnwPZgLWWS", "fee": 1000000, "feeAssetId": null, "timestamp": 1691997137459, "version": 2, "chainId": 84, "sender": "3N8oN3yLcrZHa6DcDfqE9Rz8GkzudXjnmrx", "senderPublicKey": "81tRXAgqfPdSG8kxEMcAuyLeBBRRrzyqQLXCtCj1dpk2", "proofs": [ "AFSeWMEZyxNfV1o2g8YdffypuWb8TEcausV9HNKenRNR7k1knc1ViALoea49bQq2gsmhUVYhoDt19BySJZ6mpTN" ], "script": "base64:BgIKCAISBAoCCAESAAEBBHRlc3QABARsaXN0CQDMCAIJAJQKAgIBYQAACQDMCAIJAJQKAgIBYgABCQDMCAIJAJQKAgIBYwACBQNuaWwKAQNiYXICA2FjYwRuZXh0BAkkdDAxOTEyMDgFBG5leHQEAWEIBQkkdDAxOTEyMDgCXzEEAWIIBQkkdDAxOTEyMDgCXzIEAWMJAPwHBAUEdGhpcwIDZm9vCQDMCAIFAWEJAMwIAgUBYgUDbmlsBQNuaWwDCQAAAgUBYwUBYwAACQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuCgACJGwFBGxpc3QKAAIkcwkAkAMBBQIkbAoABSRhY2MwAAAKAQUkZjBfMQICJGECJGkDCQBnAgUCJGkFAiRzBQIkYQkBA2JhcgIFAiRhCQCRAwIFAiRsBQIkaQoBBSRmMF8yAgIkYQIkaQMJAGcCBQIkaQUCJHMFAiRhCQACAQIUTGlzdCBzaXplIGV4Y2VlZHMgMTAJAQUkZjBfMgIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIFBSRhY2MwAAAAAQACAAMABAAFAAYABwAIAAkACgIBaQEDZm9vAgFhAWIJAMwIAgkBDEludGVnZXJFbnRyeQIFAWEFAWIFA25pbAFpAQFhAAQBYQkBBHRlc3QAAwkAAAIFAWEFAWEFA25pbAkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgARkt5a", "height": 2709911, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9PSozigb6iG8TeV7sJkhiDtXiiqagBaRN5jn7CDmKGCX Next: FFbUBZ9w35FxZuUvKJZ7wcUnJvBM7QnRwrtVtn7fcMDS Diff:
Old | New | Differences | |
---|---|---|---|
32 | 32 | func foo (a,b) = [IntegerEntry(a, b)] | |
33 | 33 | ||
34 | 34 | ||
35 | + | ||
36 | + | @Callable(i) | |
37 | + | func a () = { | |
38 | + | let a = test() | |
39 | + | if ((a == a)) | |
40 | + | then nil | |
41 | + | else throw("Strict value is not equal to itself.") | |
42 | + | } | |
43 | + | ||
44 | + |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | func test () = { | |
5 | 5 | let list = [$Tuple2("a", 0), $Tuple2("b", 1), $Tuple2("c", 2)] | |
6 | 6 | func bar (acc,next) = { | |
7 | 7 | let $t0191208 = next | |
8 | 8 | let a = $t0191208._1 | |
9 | 9 | let b = $t0191208._2 | |
10 | 10 | let c = invoke(this, "foo", [a, b], nil) | |
11 | 11 | if ((c == c)) | |
12 | 12 | then 0 | |
13 | 13 | else throw("Strict value is not equal to itself.") | |
14 | 14 | } | |
15 | 15 | ||
16 | 16 | let $l = list | |
17 | 17 | let $s = size($l) | |
18 | 18 | let $acc0 = 0 | |
19 | 19 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
20 | 20 | then $a | |
21 | 21 | else bar($a, $l[$i]) | |
22 | 22 | ||
23 | 23 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
24 | 24 | then $a | |
25 | 25 | else throw("List size exceeds 10") | |
26 | 26 | ||
27 | 27 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
28 | 28 | } | |
29 | 29 | ||
30 | 30 | ||
31 | 31 | @Callable(i) | |
32 | 32 | func foo (a,b) = [IntegerEntry(a, b)] | |
33 | 33 | ||
34 | 34 | ||
35 | + | ||
36 | + | @Callable(i) | |
37 | + | func a () = { | |
38 | + | let a = test() | |
39 | + | if ((a == a)) | |
40 | + | then nil | |
41 | + | else throw("Strict value is not equal to itself.") | |
42 | + | } | |
43 | + | ||
44 | + |
github/deemru/w8io/026f985 20.51 ms ◑