tx · 6xRwMSnWQRGhZs7AB5PEiBttajjzCxdU86UR8uLGcCqc

3NB5N2sZzeeXumQavrLSnySaDhLEtAjDhoj:  -0.05000000 Waves

2019.11.22 07:29 [775924] smart account 3NB5N2sZzeeXumQavrLSnySaDhLEtAjDhoj > SELF 0.00000000 Waves

{ "type": 13, "id": "6xRwMSnWQRGhZs7AB5PEiBttajjzCxdU86UR8uLGcCqc", "fee": 5000000, "feeAssetId": null, "timestamp": 1574396923014, "version": 1, "sender": "3NB5N2sZzeeXumQavrLSnySaDhLEtAjDhoj", "senderPublicKey": "J6uUrhmBcnvdu5KYxCr6uY5XoFb6bK1CdjWR8CMBst8o", "proofs": [ "4c2tgu9G9kcPvzjyMw4ePMGecvoBMP3UcSexSEfDDvHrn6UMzuEbMGaELdcBHnj8wQQv98m22p8JnKY6x1M7osc2" ], "script": "base64:AAIDAAAAAAAAAAwIARIECgIICBIAEgAAAAACAAAAAAROT05FAgAAAARub25lAQAAAAVtZXJnZQAAAAIAAAABYQAAAAFiAwkAAAAAAAACBQAAAAFhBQAAAAROT05FBQAAAAFiCQABLAAAAAIJAAEsAAAAAgUAAAABYQIAAAABfAUAAAABYgAAAAMAAAABaQEAAAALZGVmU2NhbHBpbmcAAAACAAAABmdyaWRJRAAAAARvQXNrBAAAAA9zdXBwbGllckFkZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAAGZ3JpZElEBQAAAA9zdXBwbGllckFkZHJlc3MJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgUAAAAGZ3JpZElEAgAAAAVfb0FzawUAAAAEb0FzawUAAAADbmlsAAAAAWkBAAAADGxpc3RTY2FscGluZwAAAAAEAAAAD3N1cHBsaWVyQWRkcmVzcwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAA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AAALJGFjYzU2OTI3MTgJAQAAAAVtZXJnZQAAAAIFAAAACyRhY2M0NjkyNzE4CQABkQAAAAIFAAAACyRsaXN0NjkyNzE4AAAAAAAAAAAEAwkAAAAAAAACBQAAAAskc2l6ZTY5MjcxOAAAAAAAAAAABQUAAAALJGFjYzU2OTI3MTgEAAAACyRhY2M2NjkyNzE4CQEAAAAFbWVyZ2UAAAACBQAAAAskYWNjNTY5MjcxOAkAAZEAAAACBQAAAAskbGlzdDY5MjcxOAAAAAAAAAAABQkAAAIAAAABAgAAABJMaXN0IHNpemUgZXhjZWVkIDUJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAADFRlc3RlXzFfTGlzdAUAAAABcwUAAAADbmlsAAAAAWkBAAAADXN0YXJ0U2NhbHBpbmcAAAAABAAAAA9zdXBwbGllckFkZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAADYXJyCQEAAAAFdmFsdWUAAAABCQAEHQAAAAIFAAAABHRoaXMCAAAADFRlc3RlXzFfb0FzawkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACAgAAAAhUZXN0ZV8xXwUAAAAPc3VwcGxpZXJBZGRyZXNzBQAAAANhcnIFAAAAA25pbAAAAAAnpc1t", "chainId": 84, "height": 775924, "spentComplexity": 0 } View: original | compacted Prev: 7ieuXnzBKppYsUDmvjC2LDL3uV1MmyVLfXQbgzBiUqgQ Next: 5Pmqu4pzHrPof44qanV42gjiacuoHDB7HgaHxkEyLiTu Diff:
OldNewDifferences
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "none"
55
6-func b (c,d) = ((c + "|") + d)
6+func b (c,d) = if ((c == a))
7+ then d
8+ else ((c + "|") + d)
79
810
911 @Callable(e)
2325 let l = {
2426 let m = k
2527 let n = size(m)
26- let o = ""
28+ let o = a
2729 if ((n == 0))
2830 then o
2931 else {
4850 then t
4951 else {
5052 let u = b(t, m[5])
51- if ((n == 6))
52- then u
53- else {
54- let v = b(u, m[6])
55- if ((n == 7))
56- then v
57- else {
58- let w = b(v, m[7])
59- if ((n == 8))
60- then w
61- else {
62- let x = b(w, m[8])
63- if ((n == 9))
64- then x
65- else {
66- let y = b(x, m[9])
67- if ((n == 10))
68- then y
69- else {
70- let z = b(y, m[10])
71- throw("List size exceed 10")
72- }
73- }
74- }
75- }
76- }
53+ throw("List size exceed 5")
7754 }
7855 }
7956 }
8966 @Callable(e)
9067 func startScalping () = {
9168 let h = toBase58String(e.caller.bytes)
92- let A = value(getString(this, "Teste_1_oAsk"))
93- WriteSet([DataEntry(("Teste_1_" + h), A)])
69+ let v = value(getString(this, "Teste_1_oAsk"))
70+ WriteSet([DataEntry(("Teste_1_" + h), v)])
9471 }
9572
9673
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "none"
55
6-func b (c,d) = ((c + "|") + d)
6+func b (c,d) = if ((c == a))
7+ then d
8+ else ((c + "|") + d)
79
810
911 @Callable(e)
1012 func defScalping (f,g) = {
1113 let h = toBase58String(e.caller.bytes)
1214 WriteSet([DataEntry(f, h), DataEntry((f + "_oAsk"), g)])
1315 }
1416
1517
1618
1719 @Callable(e)
1820 func listScalping () = {
1921 let h = toBase58String(e.caller.bytes)
2022 let i = getStringValue(this, "Teste_1_oAsk")
2123 let j = split(i, "|")
2224 let k = "5" :: j
2325 let l = {
2426 let m = k
2527 let n = size(m)
26- let o = ""
28+ let o = a
2729 if ((n == 0))
2830 then o
2931 else {
3032 let p = b(o, m[0])
3133 if ((n == 1))
3234 then p
3335 else {
3436 let q = b(p, m[1])
3537 if ((n == 2))
3638 then q
3739 else {
3840 let r = b(q, m[2])
3941 if ((n == 3))
4042 then r
4143 else {
4244 let s = b(r, m[3])
4345 if ((n == 4))
4446 then s
4547 else {
4648 let t = b(s, m[4])
4749 if ((n == 5))
4850 then t
4951 else {
5052 let u = b(t, m[5])
51- if ((n == 6))
52- then u
53- else {
54- let v = b(u, m[6])
55- if ((n == 7))
56- then v
57- else {
58- let w = b(v, m[7])
59- if ((n == 8))
60- then w
61- else {
62- let x = b(w, m[8])
63- if ((n == 9))
64- then x
65- else {
66- let y = b(x, m[9])
67- if ((n == 10))
68- then y
69- else {
70- let z = b(y, m[10])
71- throw("List size exceed 10")
72- }
73- }
74- }
75- }
76- }
53+ throw("List size exceed 5")
7754 }
7855 }
7956 }
8057 }
8158 }
8259 }
8360 }
8461 WriteSet([DataEntry("Teste_1_List", l)])
8562 }
8663
8764
8865
8966 @Callable(e)
9067 func startScalping () = {
9168 let h = toBase58String(e.caller.bytes)
92- let A = value(getString(this, "Teste_1_oAsk"))
93- WriteSet([DataEntry(("Teste_1_" + h), A)])
69+ let v = value(getString(this, "Teste_1_oAsk"))
70+ WriteSet([DataEntry(("Teste_1_" + h), v)])
9471 }
9572
9673

github/deemru/w8io/169f3d6 
38.63 ms