tx · 6WMiVHmTfSYNELXSaxZTLpatC1oBFViW96Thf4CNb9F7

3NB5N2sZzeeXumQavrLSnySaDhLEtAjDhoj:  -0.05000000 Waves

2019.11.22 07:20 [775912] smart account 3NB5N2sZzeeXumQavrLSnySaDhLEtAjDhoj > SELF 0.00000000 Waves

{ "type": 13, "id": "6WMiVHmTfSYNELXSaxZTLpatC1oBFViW96Thf4CNb9F7", "fee": 5000000, "feeAssetId": null, "timestamp": 1574396424088, "version": 1, "sender": "3NB5N2sZzeeXumQavrLSnySaDhLEtAjDhoj", "senderPublicKey": "J6uUrhmBcnvdu5KYxCr6uY5XoFb6bK1CdjWR8CMBst8o", "proofs": [ "2nJprw2ifmL6Bbvju1pwBE6QC3eRzAzUkddtm7w2BM3xP6VV1QR4iueNZ3xfRuvJxMS9xDcCFzYY7dda7mY9pY56" ], "script": "base64:AAIDAAAAAAAAAAwIARIECgIICBIAEgAAAAACAAAAAAROT05FAgAAAARub25lAQAAAAVtZXJnZQAAAAIAAAABYQAAAAFiCQABLAAAAAIJAAEsAAAAAgUAAAABYQIAAAABfAUAAAABYgAAAAMAAAABaQEAAAALZGVmU2NhbHBpbmcAAAACAAAABmdyaWRJRAAAAARvQXNrBAAAAA9zdXBwbGllckFkZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAAGZ3JpZElEBQAAAA9zdXBwbGllckFkZHJlc3MJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAAGZ3JpZElEAgAAAAVfb0FzawUAAAAEb0FzawUAAAADbmlsAAAAAWkBAAAADGxpc3RTY2FscGluZwAAAAAEAAAAD3N1cHBsaWVyQWRkcmVzcwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAhvQXNrTGlzdAkBAAAAEUBleHRyTmF0aXZlKD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AAAACBQAAAAwkYWNjMTA2NTc2ODkJAAGRAAAAAgUAAAALJGxpc3Q2NTc2ODkAAAAAAAAAAAoJAAACAAAAAQIAAAATTGlzdCBzaXplIGV4Y2VlZCAxMAkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAMVGVzdGVfMV9MaXN0BQAAAAFzBQAAAANuaWwAAAABaQEAAAANc3RhcnRTY2FscGluZwAAAAAEAAAAD3N1cHBsaWVyQWRkcmVzcwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAANhcnIJAQAAAAV2YWx1ZQAAAAEJAAQdAAAAAgUAAAAEdGhpcwIAAAAMVGVzdGVfMV9vQXNrCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAICAAAACFRlc3RlXzFfBQAAAA9zdXBwbGllckFkZHJlc3MFAAAAA2FycgUAAAADbmlsAAAAAG4WM/Y=", "chainId": 84, "height": 775912, "spentComplexity": 0 } View: original | compacted Prev: GKCCosiMtVE6Yf2M8uQwjtKQqNU3BtFMWE9Ut75BqZ9A Next: 7ieuXnzBKppYsUDmvjC2LDL3uV1MmyVLfXQbgzBiUqgQ Diff:
OldNewDifferences
2121 let spl = split(oAskList, "|")
2222 let newspl = "5" :: spl
2323 let s = {
24- let $list657683 = newspl
25- let $size657683 = size($list657683)
26- let $acc0657683 = "0"
27- if (($size657683 == 0))
28- then $acc0657683
24+ let $list657689 = newspl
25+ let $size657689 = size($list657689)
26+ let $acc0657689 = newspl[0]
27+ if (($size657689 == 0))
28+ then $acc0657689
2929 else {
30- let $acc1657683 = merge($acc0657683, $list657683[0])
31- if (($size657683 == 1))
32- then $acc1657683
30+ let $acc1657689 = merge($acc0657689, $list657689[0])
31+ if (($size657689 == 1))
32+ then $acc1657689
3333 else {
34- let $acc2657683 = merge($acc1657683, $list657683[1])
35- if (($size657683 == 2))
36- then $acc2657683
34+ let $acc2657689 = merge($acc1657689, $list657689[1])
35+ if (($size657689 == 2))
36+ then $acc2657689
3737 else {
38- let $acc3657683 = merge($acc2657683, $list657683[2])
39- if (($size657683 == 3))
40- then $acc3657683
38+ let $acc3657689 = merge($acc2657689, $list657689[2])
39+ if (($size657689 == 3))
40+ then $acc3657689
4141 else {
42- let $acc4657683 = merge($acc3657683, $list657683[3])
43- if (($size657683 == 4))
44- then $acc4657683
42+ let $acc4657689 = merge($acc3657689, $list657689[3])
43+ if (($size657689 == 4))
44+ then $acc4657689
4545 else {
46- let $acc5657683 = merge($acc4657683, $list657683[4])
47- if (($size657683 == 5))
48- then $acc5657683
46+ let $acc5657689 = merge($acc4657689, $list657689[4])
47+ if (($size657689 == 5))
48+ then $acc5657689
4949 else {
50- let $acc6657683 = merge($acc5657683, $list657683[5])
51- if (($size657683 == 6))
52- then $acc6657683
50+ let $acc6657689 = merge($acc5657689, $list657689[5])
51+ if (($size657689 == 6))
52+ then $acc6657689
5353 else {
54- let $acc7657683 = merge($acc6657683, $list657683[6])
55- if (($size657683 == 7))
56- then $acc7657683
54+ let $acc7657689 = merge($acc6657689, $list657689[6])
55+ if (($size657689 == 7))
56+ then $acc7657689
5757 else {
58- let $acc8657683 = merge($acc7657683, $list657683[7])
59- if (($size657683 == 8))
60- then $acc8657683
58+ let $acc8657689 = merge($acc7657689, $list657689[7])
59+ if (($size657689 == 8))
60+ then $acc8657689
6161 else {
62- let $acc9657683 = merge($acc8657683, $list657683[8])
63- if (($size657683 == 9))
64- then $acc9657683
62+ let $acc9657689 = merge($acc8657689, $list657689[8])
63+ if (($size657689 == 9))
64+ then $acc9657689
6565 else {
66- let $acc10657683 = merge($acc9657683, $list657683[9])
67- if (($size657683 == 10))
68- then $acc10657683
66+ let $acc10657689 = merge($acc9657689, $list657689[9])
67+ if (($size657689 == 10))
68+ then $acc10657689
6969 else {
70- let $acc11657683 = merge($acc10657683, $list657683[10])
70+ let $acc11657689 = merge($acc10657689, $list657689[10])
7171 throw("List size exceed 10")
7272 }
7373 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let NONE = "none"
55
66 func merge (a,b) = ((a + "|") + b)
77
88
99 @Callable(i)
1010 func defScalping (gridID,oAsk) = {
1111 let supplierAddress = toBase58String(i.caller.bytes)
1212 WriteSet([DataEntry(gridID, supplierAddress), DataEntry((gridID + "_oAsk"), oAsk)])
1313 }
1414
1515
1616
1717 @Callable(i)
1818 func listScalping () = {
1919 let supplierAddress = toBase58String(i.caller.bytes)
2020 let oAskList = getStringValue(this, "Teste_1_oAsk")
2121 let spl = split(oAskList, "|")
2222 let newspl = "5" :: spl
2323 let s = {
24- let $list657683 = newspl
25- let $size657683 = size($list657683)
26- let $acc0657683 = "0"
27- if (($size657683 == 0))
28- then $acc0657683
24+ let $list657689 = newspl
25+ let $size657689 = size($list657689)
26+ let $acc0657689 = newspl[0]
27+ if (($size657689 == 0))
28+ then $acc0657689
2929 else {
30- let $acc1657683 = merge($acc0657683, $list657683[0])
31- if (($size657683 == 1))
32- then $acc1657683
30+ let $acc1657689 = merge($acc0657689, $list657689[0])
31+ if (($size657689 == 1))
32+ then $acc1657689
3333 else {
34- let $acc2657683 = merge($acc1657683, $list657683[1])
35- if (($size657683 == 2))
36- then $acc2657683
34+ let $acc2657689 = merge($acc1657689, $list657689[1])
35+ if (($size657689 == 2))
36+ then $acc2657689
3737 else {
38- let $acc3657683 = merge($acc2657683, $list657683[2])
39- if (($size657683 == 3))
40- then $acc3657683
38+ let $acc3657689 = merge($acc2657689, $list657689[2])
39+ if (($size657689 == 3))
40+ then $acc3657689
4141 else {
42- let $acc4657683 = merge($acc3657683, $list657683[3])
43- if (($size657683 == 4))
44- then $acc4657683
42+ let $acc4657689 = merge($acc3657689, $list657689[3])
43+ if (($size657689 == 4))
44+ then $acc4657689
4545 else {
46- let $acc5657683 = merge($acc4657683, $list657683[4])
47- if (($size657683 == 5))
48- then $acc5657683
46+ let $acc5657689 = merge($acc4657689, $list657689[4])
47+ if (($size657689 == 5))
48+ then $acc5657689
4949 else {
50- let $acc6657683 = merge($acc5657683, $list657683[5])
51- if (($size657683 == 6))
52- then $acc6657683
50+ let $acc6657689 = merge($acc5657689, $list657689[5])
51+ if (($size657689 == 6))
52+ then $acc6657689
5353 else {
54- let $acc7657683 = merge($acc6657683, $list657683[6])
55- if (($size657683 == 7))
56- then $acc7657683
54+ let $acc7657689 = merge($acc6657689, $list657689[6])
55+ if (($size657689 == 7))
56+ then $acc7657689
5757 else {
58- let $acc8657683 = merge($acc7657683, $list657683[7])
59- if (($size657683 == 8))
60- then $acc8657683
58+ let $acc8657689 = merge($acc7657689, $list657689[7])
59+ if (($size657689 == 8))
60+ then $acc8657689
6161 else {
62- let $acc9657683 = merge($acc8657683, $list657683[8])
63- if (($size657683 == 9))
64- then $acc9657683
62+ let $acc9657689 = merge($acc8657689, $list657689[8])
63+ if (($size657689 == 9))
64+ then $acc9657689
6565 else {
66- let $acc10657683 = merge($acc9657683, $list657683[9])
67- if (($size657683 == 10))
68- then $acc10657683
66+ let $acc10657689 = merge($acc9657689, $list657689[9])
67+ if (($size657689 == 10))
68+ then $acc10657689
6969 else {
70- let $acc11657683 = merge($acc10657683, $list657683[10])
70+ let $acc11657689 = merge($acc10657689, $list657689[10])
7171 throw("List size exceed 10")
7272 }
7373 }
7474 }
7575 }
7676 }
7777 }
7878 }
7979 }
8080 }
8181 }
8282 }
8383 }
8484 WriteSet([DataEntry("Teste_1_List", s)])
8585 }
8686
8787
8888
8989 @Callable(i)
9090 func startScalping () = {
9191 let supplierAddress = toBase58String(i.caller.bytes)
9292 let arr = value(getString(this, "Teste_1_oAsk"))
9393 WriteSet([DataEntry(("Teste_1_" + supplierAddress), arr)])
9494 }
9595
9696

github/deemru/w8io/026f985 
80.40 ms