tx · 8toDnibUaJnm2cx7in1wvvk951T8yiFvE1FmSUSVVdA6
3MpDfDT359qSSmNFZnMeoPQpyJA2U1K51u5: -0.00100000 Waves
2022.06.20 02:48 [2103928] smart account 3MpDfDT359qSSmNFZnMeoPQpyJA2U1K51u5 > SELF 0.00000000 Waves
{
"type": 13,
"id": "8toDnibUaJnm2cx7in1wvvk951T8yiFvE1FmSUSVVdA6",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1655682546778,
"version": 2,
"chainId": 84,
"sender": "3MpDfDT359qSSmNFZnMeoPQpyJA2U1K51u5",
"senderPublicKey": "4HvXfbbYdzoa25fmF92mrAKoyF4WnjbjTz9YtT1mhSoz",
"proofs": [
"5F3PKRmJHQ5gcD3Lr6Y8x6hgXdhxqkJJuH4zc4VWo2zJBfQrZ7N8TbqgjU9Ct5z2JMTGBMW6XkdU4ScN5cpcSmMH"
],
"script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAwAAAAABYQkABEwAAAACAAAAAAAAAAABCQAETAAAAAIAAAAAAAAAAAIJAARMAAAAAgAAAAAAAAAAAwkABEwAAAACAAAAAAAAAAAECQAETAAAAAIAAAAAAAAAAAUFAAAAA25pbAEAAAADYWRkAAAAAgAAAAF4AAAAAXkJAABkAAAAAgUAAAABeAUAAAABeQAAAAAEdGVzdAoAAAAAAiRsBQAAAAFhCgAAAAACJHMJAAGQAAAAAQUAAAACJGwKAAAAAAUkYWNjMAAAAAAAAAAAAwoBAAAABSRmMF8xAAAAAgAAAAIkYQAAAAIkaQMJAABnAAAAAgUAAAACJGkFAAAAAiRzBQAAAAIkYQkBAAAAA2FkZAAAAAIFAAAAAiRhCQABkQAAAAIFAAAAAiRsBQAAAAIkaQoBAAAABSRmMF8yAAAAAgAAAAIkYQAAAAIkaQMJAABnAAAAAgUAAAACJGkFAAAAAiRzBQAAAAIkYQkAAAIAAAABAgAAABNMaXN0IHNpemUgZXhjZWVkcyA1CQEAAAAFJGYwXzIAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACCQEAAAAFJGYwXzEAAAACBQAAAAUkYWNjMAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAgAAAAAAAAAAAwAAAAAAAAAABAAAAAAAAAAABQAAAAEAAAABaQEAAAADc2FtAAAAAAQAAAAGZW50cmV5CQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAGcmVzdWx0BQAAAAR0ZXN0CQAETAAAAAIFAAAABmVudHJleQUAAAADbmlsAAAAAJjJjMY=",
"height": 2103928,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: J5fKvaQi9rTPfTMZtcuKaqD1aLNrm5WdyiY223ddhaiT
Next: DsuSuSxqWftmzUC5NozXCyhjSmN4cJJe3YiqMjTgSZvr
Diff:
Old | New | | Differences |
---|
21 | 21 | | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5) |
---|
22 | 22 | | } |
---|
23 | 23 | | |
---|
24 | | - | let entrey = IntegerEntry("result", test) |
---|
| 24 | + | @Callable(i) |
---|
| 25 | + | func sam () = { |
---|
| 26 | + | let entrey = IntegerEntry("result", test) |
---|
| 27 | + | [entrey] |
---|
| 28 | + | } |
---|
25 | 29 | | |
---|
26 | 30 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let a = [1, 2, 3, 4, 5] |
---|
5 | 5 | | |
---|
6 | 6 | | func add (x,y) = (x + y) |
---|
7 | 7 | | |
---|
8 | 8 | | |
---|
9 | 9 | | let test = { |
---|
10 | 10 | | let $l = a |
---|
11 | 11 | | let $s = size($l) |
---|
12 | 12 | | let $acc0 = 3 |
---|
13 | 13 | | func $f0_1 ($a,$i) = if (($i >= $s)) |
---|
14 | 14 | | then $a |
---|
15 | 15 | | else add($a, $l[$i]) |
---|
16 | 16 | | |
---|
17 | 17 | | func $f0_2 ($a,$i) = if (($i >= $s)) |
---|
18 | 18 | | then $a |
---|
19 | 19 | | else throw("List size exceeds 5") |
---|
20 | 20 | | |
---|
21 | 21 | | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5) |
---|
22 | 22 | | } |
---|
23 | 23 | | |
---|
24 | | - | let entrey = IntegerEntry("result", test) |
---|
| 24 | + | @Callable(i) |
---|
| 25 | + | func sam () = { |
---|
| 26 | + | let entrey = IntegerEntry("result", test) |
---|
| 27 | + | [entrey] |
---|
| 28 | + | } |
---|
25 | 29 | | |
---|
26 | 30 | | |
---|