tx · DqY5Nk3RU6yEqEJGQ2sHtc73FRuELBsErfxn7BbUwTN5

3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN:  -0.01000000 Waves

2021.12.03 20:58 [1818435] smart account 3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN > SELF 0.00000000 Waves

{ "type": 13, "id": "DqY5Nk3RU6yEqEJGQ2sHtc73FRuELBsErfxn7BbUwTN5", "fee": 1000000, "feeAssetId": null, "timestamp": 1638554355534, "version": 2, "chainId": 84, "sender": "3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN", "senderPublicKey": "3TJhvM5a7VSAiRyvEVwygRkiPC9ow5nM4LQ252H4vxWK", "proofs": [ "BwNFytyhVUhJN2SgUy7xfUdXtmuWjPMm8tQkvnEfB8e2oBV5inRwAgiCGLwcmsyN5yww4FSi1kL6ZH5RhZ5Ln7e" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAAAgAAAAAGbWFzdGVyAgAAACMzTXVXNHQxakNYSHQ4V1JzSFZMVWFyMzJFbnZKeFphUVdBeAAAAAAFc2VwYXICAAAABXx8fHx8AAAAAQAAAAFpAQAAAAVwYWludAAAAAEAAAAFaWRhdGEEAAAADGNhbGxlckFkcmVzcwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAVwaXh4eQkABLUAAAACBQAAAAVpZGF0YQUAAAAFc2VwYXIEAAAAB3JlY29yZHMFAAAAA25pbAoBAAAAB3ZhbGlkeHkAAAABAAAAAXgEAAAAByRtYXRjaDAJAAS2AAAAAQkAAZEAAAACBQAAAAVwaXh4eQUAAAABeAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFhBQAAAAckbWF0Y2gwAwMJAABmAAAAAgkBAAAADXBhcnNlSW50VmFsdWUAAAABCQABkQAAAAIFAAAABXBpeHh5BQAAAAF4AP//////////CQAAZgAAAAIAAAAAAAAAA+gJAQAAAA1wYXJzZUludFZhbHVlA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AAAAAAAAAAAkABEwAAAACCQEAAAAKbWFrZXJlY29yZAAAAAEAAAAAAAAAAAEFAAAAA25pbAkABRQAAAACCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAGRAAAAAgkAAZEAAAACBQAAAANhbGwAAAAAAAAAAAAAAAAAAAAAAAAJAAGRAAAAAgkAAZEAAAACBQAAAANhbGwAAAAAAAAAAAAAAAAAAAAAAAEJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAAZEAAAACCQABkQAAAAIFAAAAA2FsbAAAAAAAAAAAAQAAAAAAAAAAAAkAAZEAAAACCQABkQAAAAIFAAAAA2FsbAAAAAAAAAAAAQAAAAAAAAAAAQUAAAADbmlsBQAAAAR1bml0AAAAAM3tC+U=", "height": 1818435, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: TQKTJ8wgKfTtVbLRFw36MGWQk6d3oaSAs3awBvXMk9e Next: E6VmVzusyxqNG875Sz1xGZkEbWiMD1K2BkfVZa7tp5QZ Diff:
OldNewDifferences
3838 }
3939
4040 let x = 0
41- let res = makerecord(x)
42- let all = [res]
43- $Tuple2([StringEntry(all[0][0], all[0][1])], unit)
41+ let all = [makerecord(0), makerecord(1)]
42+ $Tuple2([StringEntry(all[0][0], all[0][1]), StringEntry(all[1][0], all[1][1])], unit)
4443 }
4544
4645
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let master = "3MuW4t1jCXHt8WRsHVLUar32EnvJxZaQWAx"
55
66 let separ = "|||||"
77
88 @Callable(i)
99 func paint (idata) = {
1010 let callerAdress = toBase58String(i.caller.bytes)
1111 let pixxy = split(idata, separ)
1212 let records = nil
1313 func validxy (x) = match parseInt(pixxy[x]) {
1414 case a: Int =>
1515 if (if ((parseIntValue(pixxy[x]) > -1))
1616 then (1000 > parseIntValue(pixxy[x]))
1717 else false)
1818 then parseInt(pixxy[x])
1919 else false
2020 case _ =>
2121 false
2222 }
2323
2424 func getrecord (x) = match getString(pixxy[x]) {
2525 case a: String =>
2626 a
2727 case _ =>
2828 false
2929 }
3030
3131 func makerecord (x) = if ((validxy(x) == false))
3232 then ["--", "--"]
3333 else if ((getrecord(x) == false))
3434 then [pixxy[x], makeString([callerAdress, "100", "color", "url"], separ)]
3535 else {
3636 let price = (parseIntValue(split(getStringValue(pixxy[x]), separ)[1]) + 100)
3737 [pixxy[x], makeString([callerAdress, toString(price), "color", "url"], separ)]
3838 }
3939
4040 let x = 0
41- let res = makerecord(x)
42- let all = [res]
43- $Tuple2([StringEntry(all[0][0], all[0][1])], unit)
41+ let all = [makerecord(0), makerecord(1)]
42+ $Tuple2([StringEntry(all[0][0], all[0][1]), StringEntry(all[1][0], all[1][1])], unit)
4443 }
4544
4645

github/deemru/w8io/026f985 
19.72 ms