tx · CNnzQaBHNRiW3JUtG5zPncmtU8Hh7woDo7WoAubm6Tt7

3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN:  -0.01000000 Waves

2021.12.03 19:36 [1818344] smart account 3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN > SELF 0.00000000 Waves

{ "type": 13, "id": "CNnzQaBHNRiW3JUtG5zPncmtU8Hh7woDo7WoAubm6Tt7", "fee": 1000000, "feeAssetId": null, "timestamp": 1638549405139, "version": 2, "chainId": 84, "sender": "3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN", "senderPublicKey": "3TJhvM5a7VSAiRyvEVwygRkiPC9ow5nM4LQ252H4vxWK", "proofs": [ "2JEF5FS36c9ur4NfphVRdpmS8vwhE6mySUWq8qXJbXdBTC5AMwGEb1SA71nEwFxvdAF9QLPkAUT2NkgJxAjtHbxN" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAAAgAAAAAGbWFzdGVyAgAAACMzTXVXNHQxakNYSHQ4V1JzSFZMVWFyMzJFbnZKeFphUVdBeAAAAAAFc2VwYXICAAAABXx8fHx8AAAAAQAAAAFpAQAAAAVwYWludAAAAAEAAAAFaWRhdGEEAAAABG1heGkAAAAAAAAAAAEEAAAABHBpeGkAAAAAAAAAAAAEAAAADGNhbGxlckFkcmVzcwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAVwaXh4eQkABLUAAAACBQAAAAVpZGF0YQUAAAAFc2VwYXIEAAAABG1lc3MJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAABm1hc3RlcgUAAAAFc2VwYXICAAAABzEwMDAwMDAFAAAABXNlcGFyAgAAAAEwBQAAAAVzZXBhcgIAAAADdXJsCgEAAAAJaXN2YWxpZHh5AAAAAQAAAAF4BAAAAAckbWF0Y2gwCQAEtgAAAAEJAAGRAAAAAgUAAAAFcGl4eHkFAAAAAXgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMAkABLYAAAABCQABkQAAAAIFAAAABXBpeHh5BQAAAAF4BwoBAAAACWdldHJlY29yZAAAAAEAAAABeAQAAAAHJG1hdGNoMAkABCIAAAABCQABkQAAAAIFAAAABXBpeHh5BQAAAAF4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEHAwkAAAAAAAACCQEAAAAJaXN2YWxpZHh5AAAAAQAAAAAAAAAAAAcJAAACAAAAAQIAAAARbm90IGNvcnJlY3QgY29vcmQEAAAAB3h5Y29vcmQJAQAAAA1wYXJzZUludFZhbHVlAAAAAQkAAZEAAAACBQAAAAVwaXh4eQAAAAAAAAAAAAMDCQAAZgAAAAIFAAAAB3h5Y29vcmQA//////////8JAABmAAAAAgAAAAAAAAAD6AUAAAAHeHljb29yZAcDCQAAAAAAAAIJAQAAAAlnZXRyZWNvcmQAAAABAAAAAAAAAAAABwkABRQAAAACCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAGkAAAAAQUAAAAHeHljb29yZAUAAAAEbWVzcwUAAAADbmlsBQAAAAR1bml0CQAAAgAAAAECAAAABmV4aXN0cwkAAAIAAAABAgAAAAxvdXQgb2YgcmFuZ2UAAAAAnN3N7w==", "height": 1818344, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FWxPDDDqRkEURy9dQgywux4n7NXY3MVUZBn4MckZJcfe Next: Dw5RnSGvs7v8jz76KMewNAS473Fwxx6hW7uaJFvmDgso Diff:
OldNewDifferences
3434 then (1000 > xycoord)
3535 else false)
3636 then if ((getrecord(0) == false))
37- then throw("not exists")
37+ then $Tuple2([StringEntry(toString(xycoord), mess)], unit)
3838 else throw("exists")
39- else throw("uot of range")
39+ else throw("out of range")
4040 }
4141 }
4242
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 maxi = 1
1111 let pixi = 0
1212 let callerAdress = toBase58String(i.caller.bytes)
1313 let pixxy = split(idata, separ)
1414 let mess = ((((((master + separ) + "1000000") + separ) + "0") + separ) + "url")
1515 func isvalidxy (x) = match parseInt(pixxy[x]) {
1616 case a: Int =>
1717 parseInt(pixxy[x])
1818 case _ =>
1919 false
2020 }
2121
2222 func getrecord (x) = match getString(pixxy[x]) {
2323 case a: String =>
2424 a
2525 case _ =>
2626 false
2727 }
2828
2929 if ((isvalidxy(0) == false))
3030 then throw("not correct coord")
3131 else {
3232 let xycoord = parseIntValue(pixxy[0])
3333 if (if ((xycoord > -1))
3434 then (1000 > xycoord)
3535 else false)
3636 then if ((getrecord(0) == false))
37- then throw("not exists")
37+ then $Tuple2([StringEntry(toString(xycoord), mess)], unit)
3838 else throw("exists")
39- else throw("uot of range")
39+ else throw("out of range")
4040 }
4141 }
4242
4343

github/deemru/w8io/026f985 
48.90 ms