tx · 7ieuXnzBKppYsUDmvjC2LDL3uV1MmyVLfXQbgzBiUqgQ

3NB5N2sZzeeXumQavrLSnySaDhLEtAjDhoj:  -0.05000000 Waves

2019.11.22 07:22 [775915] smart account 3NB5N2sZzeeXumQavrLSnySaDhLEtAjDhoj > SELF 0.00000000 Waves

{ "type": 13, "id": "7ieuXnzBKppYsUDmvjC2LDL3uV1MmyVLfXQbgzBiUqgQ", "fee": 5000000, "feeAssetId": null, "timestamp": 1574396550740, "version": 1, "sender": "3NB5N2sZzeeXumQavrLSnySaDhLEtAjDhoj", "senderPublicKey": "J6uUrhmBcnvdu5KYxCr6uY5XoFb6bK1CdjWR8CMBst8o", "proofs": [ "Qakhzu3sHLrVX3raNyDocgatbd7FFb8HkmR28vHVgvHLLk9oWnGbm1sDZFSquqDDBeYiRF9Ty6jUndkNdTrmw6a" ], "script": "base64:AAIDAAAAAAAAAAwIARIECgIICBIAEgAAAAACAAAAAAROT05FAgAAAARub25lAQAAAAVtZXJnZQAAAAIAAAABYQAAAAFiCQABLAAAAAIJAAEsAAAAAgUAAAABYQIAAAABfAUAAAABYgAAAAMAAAABaQEAAAALZGVmU2NhbHBpbmcAAAACAAAABmdyaWRJRAAAAARvQXNrBAAAAA9zdXBwbGllckFkZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAAGZ3JpZElEBQAAAA9zdXBwbGllckFkZHJlc3MJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAAGZ3JpZElEAgAAAAVfb0FzawUAAAAEb0FzawUAAAADbmlsAAAAAWkBAAAADGxpc3RTY2FscGluZwAAAAAEAAAAD3N1cHBsaWVyQWRkcmVzcwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAhvQXNrTGlzdAkBAAAAEUBleHRyTmF0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3NjgyCQABkQAAAAIFAAAACyRsaXN0NjU3NjgyAAAAAAAAAAAKCQAAAgAAAAECAAAAE0xpc3Qgc2l6ZSBleGNlZWQgMTAJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAADFRlc3RlXzFfTGlzdAUAAAABcwUAAAADbmlsAAAAAWkBAAAADXN0YXJ0U2NhbHBpbmcAAAAABAAAAA9zdXBwbGllckFkZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAADYXJyCQEAAAAFdmFsdWUAAAABCQAEHQAAAAIFAAAABHRoaXMCAAAADFRlc3RlXzFfb0FzawkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACAgAAAAhUZXN0ZV8xXwUAAAAPc3VwcGxpZXJBZGRyZXNzBQAAAANhcnIFAAAAA25pbAAAAAD6I/fj", "chainId": 84, "height": 775915, "spentComplexity": 0 } View: original | compacted Prev: 6WMiVHmTfSYNELXSaxZTLpatC1oBFViW96Thf4CNb9F7 Next: 6xRwMSnWQRGhZs7AB5PEiBttajjzCxdU86UR8uLGcCqc Diff:
OldNewDifferences
2121 let spl = split(oAskList, "|")
2222 let newspl = "5" :: spl
2323 let s = {
24- let $list657689 = newspl
25- let $size657689 = size($list657689)
26- let $acc0657689 = newspl[0]
27- if (($size657689 == 0))
28- then $acc0657689
24+ let $list657682 = newspl
25+ let $size657682 = size($list657682)
26+ let $acc0657682 = ""
27+ if (($size657682 == 0))
28+ then $acc0657682
2929 else {
30- let $acc1657689 = merge($acc0657689, $list657689[0])
31- if (($size657689 == 1))
32- then $acc1657689
30+ let $acc1657682 = merge($acc0657682, $list657682[0])
31+ if (($size657682 == 1))
32+ then $acc1657682
3333 else {
34- let $acc2657689 = merge($acc1657689, $list657689[1])
35- if (($size657689 == 2))
36- then $acc2657689
34+ let $acc2657682 = merge($acc1657682, $list657682[1])
35+ if (($size657682 == 2))
36+ then $acc2657682
3737 else {
38- let $acc3657689 = merge($acc2657689, $list657689[2])
39- if (($size657689 == 3))
40- then $acc3657689
38+ let $acc3657682 = merge($acc2657682, $list657682[2])
39+ if (($size657682 == 3))
40+ then $acc3657682
4141 else {
42- let $acc4657689 = merge($acc3657689, $list657689[3])
43- if (($size657689 == 4))
44- then $acc4657689
42+ let $acc4657682 = merge($acc3657682, $list657682[3])
43+ if (($size657682 == 4))
44+ then $acc4657682
4545 else {
46- let $acc5657689 = merge($acc4657689, $list657689[4])
47- if (($size657689 == 5))
48- then $acc5657689
46+ let $acc5657682 = merge($acc4657682, $list657682[4])
47+ if (($size657682 == 5))
48+ then $acc5657682
4949 else {
50- let $acc6657689 = merge($acc5657689, $list657689[5])
51- if (($size657689 == 6))
52- then $acc6657689
50+ let $acc6657682 = merge($acc5657682, $list657682[5])
51+ if (($size657682 == 6))
52+ then $acc6657682
5353 else {
54- let $acc7657689 = merge($acc6657689, $list657689[6])
55- if (($size657689 == 7))
56- then $acc7657689
54+ let $acc7657682 = merge($acc6657682, $list657682[6])
55+ if (($size657682 == 7))
56+ then $acc7657682
5757 else {
58- let $acc8657689 = merge($acc7657689, $list657689[7])
59- if (($size657689 == 8))
60- then $acc8657689
58+ let $acc8657682 = merge($acc7657682, $list657682[7])
59+ if (($size657682 == 8))
60+ then $acc8657682
6161 else {
62- let $acc9657689 = merge($acc8657689, $list657689[8])
63- if (($size657689 == 9))
64- then $acc9657689
62+ let $acc9657682 = merge($acc8657682, $list657682[8])
63+ if (($size657682 == 9))
64+ then $acc9657682
6565 else {
66- let $acc10657689 = merge($acc9657689, $list657689[9])
67- if (($size657689 == 10))
68- then $acc10657689
66+ let $acc10657682 = merge($acc9657682, $list657682[9])
67+ if (($size657682 == 10))
68+ then $acc10657682
6969 else {
70- let $acc11657689 = merge($acc10657689, $list657689[10])
70+ let $acc11657682 = merge($acc10657682, $list657682[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 $list657689 = newspl
25- let $size657689 = size($list657689)
26- let $acc0657689 = newspl[0]
27- if (($size657689 == 0))
28- then $acc0657689
24+ let $list657682 = newspl
25+ let $size657682 = size($list657682)
26+ let $acc0657682 = ""
27+ if (($size657682 == 0))
28+ then $acc0657682
2929 else {
30- let $acc1657689 = merge($acc0657689, $list657689[0])
31- if (($size657689 == 1))
32- then $acc1657689
30+ let $acc1657682 = merge($acc0657682, $list657682[0])
31+ if (($size657682 == 1))
32+ then $acc1657682
3333 else {
34- let $acc2657689 = merge($acc1657689, $list657689[1])
35- if (($size657689 == 2))
36- then $acc2657689
34+ let $acc2657682 = merge($acc1657682, $list657682[1])
35+ if (($size657682 == 2))
36+ then $acc2657682
3737 else {
38- let $acc3657689 = merge($acc2657689, $list657689[2])
39- if (($size657689 == 3))
40- then $acc3657689
38+ let $acc3657682 = merge($acc2657682, $list657682[2])
39+ if (($size657682 == 3))
40+ then $acc3657682
4141 else {
42- let $acc4657689 = merge($acc3657689, $list657689[3])
43- if (($size657689 == 4))
44- then $acc4657689
42+ let $acc4657682 = merge($acc3657682, $list657682[3])
43+ if (($size657682 == 4))
44+ then $acc4657682
4545 else {
46- let $acc5657689 = merge($acc4657689, $list657689[4])
47- if (($size657689 == 5))
48- then $acc5657689
46+ let $acc5657682 = merge($acc4657682, $list657682[4])
47+ if (($size657682 == 5))
48+ then $acc5657682
4949 else {
50- let $acc6657689 = merge($acc5657689, $list657689[5])
51- if (($size657689 == 6))
52- then $acc6657689
50+ let $acc6657682 = merge($acc5657682, $list657682[5])
51+ if (($size657682 == 6))
52+ then $acc6657682
5353 else {
54- let $acc7657689 = merge($acc6657689, $list657689[6])
55- if (($size657689 == 7))
56- then $acc7657689
54+ let $acc7657682 = merge($acc6657682, $list657682[6])
55+ if (($size657682 == 7))
56+ then $acc7657682
5757 else {
58- let $acc8657689 = merge($acc7657689, $list657689[7])
59- if (($size657689 == 8))
60- then $acc8657689
58+ let $acc8657682 = merge($acc7657682, $list657682[7])
59+ if (($size657682 == 8))
60+ then $acc8657682
6161 else {
62- let $acc9657689 = merge($acc8657689, $list657689[8])
63- if (($size657689 == 9))
64- then $acc9657689
62+ let $acc9657682 = merge($acc8657682, $list657682[8])
63+ if (($size657682 == 9))
64+ then $acc9657682
6565 else {
66- let $acc10657689 = merge($acc9657689, $list657689[9])
67- if (($size657689 == 10))
68- then $acc10657689
66+ let $acc10657682 = merge($acc9657682, $list657682[9])
67+ if (($size657682 == 10))
68+ then $acc10657682
6969 else {
70- let $acc11657689 = merge($acc10657689, $list657689[10])
70+ let $acc11657682 = merge($acc10657682, $list657682[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 
65.35 ms